/*
 * Elementor hero: add comodo-home-hero to the SECTION (Advanced > CSS classes).
 * The element ID also targets the existing section without an editor change.
 * Structure: two columns, one Image widget left, two Image widgets right.
 */
.elementor .elementor-section:is(.comodo-home-hero, .elementor-element-u9860ax) {
  --comodo-hero-gap: 10px;
  padding: 0;
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) > .elementor-container {
  width: 100%;
  max-width: none;
  padding: 0;
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) > .elementor-container > .elementor-row {
  display: grid;
  grid-template-columns: minmax(0, 930fr) minmax(0, 425fr);
  gap: var(--comodo-hero-gap);
  width: 100%;
  margin: 0;
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) > .elementor-container > .elementor-row > .elementor-column {
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) > .elementor-container > .elementor-row > .elementor-column:first-child {
  aspect-ratio: 930 / 368;
}
/* Take intrinsic image dimensions out of row sizing, so replacement images
   cannot change the height of the composition. */
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) > .elementor-container > .elementor-row > .elementor-column > .elementor-column-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) .elementor-column-wrap > .elementor-widget-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  gap: var(--comodo-hero-gap);
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) > .elementor-container > .elementor-row > .elementor-column:last-child > .elementor-column-wrap > .elementor-widget-wrap {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) .elementor-widget-image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) .elementor-widget-image :is(.elementor-widget-container, .elementor-image, a, picture) {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) .elementor-widget-image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.elementor :is(.comodo-home-hero, .elementor-element-u9860ax) a:focus-visible {
  outline: 3px solid #ff7900;
  outline-offset: -3px;
}
/* The home already has a separate tablet/mobile carousel. */
@media (max-width: 1023px) {
  .elementor .elementor-section:is(.comodo-home-hero, .elementor-element-u9860ax) {
    display: none;
  }
}

/* Home categories: eight complete icons on desktop. */
@media (min-width: 1024px) {
  #index .c9-categories .c9-categories__item {
    flex-basis: calc((100% - 7 * var(--c9-gap)) / 8);
  }
}
