/* Preserve homepage geometry with real, selectable Elementor widget boxes. */
body.wb-elementor-native .wb-custom-home main .hero-slide.e-con {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  width:100%; height:100%; max-width:none; gap:0;
}
body.wb-elementor-native .wb-custom-home main .hero-copy.e-con {
  display:flex; flex-direction:row; flex-wrap:wrap; align-content:center;
  align-items:center; justify-content:center; gap:0; text-align:center;
  width:var(--wb-content-width); max-width:var(--wb-content-max);
  padding:110px 0 80px;
}
body.wb-elementor-native .wb-custom-home .hero-copy > .wb-native-leaf {
  display:block; position:relative; min-width:0; max-width:100%; text-align:center;
}
body.wb-elementor-native .wb-custom-home .hero-copy > :is(.wb-native-heading,.wb-native-text-editor) {
  flex:0 0 100%; width:100%;
}
body.wb-elementor-native .wb-custom-home .hero-copy > .wb-native-button {
  display:inline-flex; flex:0 1 auto; width:auto;
}
body.wb-elementor-native .wb-custom-home .hero-copy :is(h1,h2,p) { color:#fff; }
body.wb-elementor-native .wb-custom-home .hero-copy p { margin-inline:auto; }
body.wb-elementor-native .wb-custom-home .hero-controls.e-con {
  display:flex; justify-content:center; width:auto; height:auto;
}
body.wb-elementor-native .wb-custom-home .hero-dots.e-con {
  display:flex; flex-direction:row; justify-content:center; width:auto;
}
body.wb-elementor-native .wb-custom-home .hero-dots > .wb-native-button {
  display:block; flex:0 0 auto; width:auto;
}

/* Position the Image widget itself, not only its inner img, against the card. */
body.wb-elementor-native .wb-custom-home .family > .wb-native-image {
  display:block; position:absolute; inset:0; width:100%; height:100%;
  max-width:none; margin:0; z-index:0;
}
body.wb-elementor-native .wb-custom-home .family > .wb-native-image > .elementor-widget-container {
  display:block; width:100%; height:100%;
}
body.wb-elementor-native .wb-custom-home .family > .wb-native-image img {
  display:block; position:static; width:100%; height:100%; max-width:none;
  object-fit:cover; margin:0;
}
body.wb-elementor-native .wb-custom-home .family::after { z-index:1; pointer-events:none; }
body.wb-elementor-native .wb-custom-home .family > .wb-native-button {
  display:block; position:absolute; inset:0; width:100%; height:100%; z-index:2;
}
body.wb-elementor-native .wb-custom-home .family > .wb-native-button .elementor-button {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  width:100%; height:100%; padding:15px 7px; border:0; background:transparent;
  color:#fff; font-size:14px; font-weight:600; line-height:1.6;
}
body.wb-elementor-native .wb-custom-home .family.active > .wb-native-button .elementor-button-text { visibility:hidden; }
body.wb-elementor-native .wb-custom-home .family-copy.e-con {
  z-index:3; width:auto; height:auto; display:block; color:#fff;
}
body.wb-elementor-native .wb-custom-home .family-copy :is(h3,p,a,.elementor-button) { color:#fff; }
body.wb-elementor-native .wb-custom-home .family-copy .elementor-button { border-bottom:1px solid currentColor; }

/* Flex and grid placement belongs to widget boxes in the editor as well. */
body.wb-elementor-native .wb-custom-home :is(.featured-resource,.resource-tile,.product) > .wb-native-image {
  display:block; min-width:0; width:100%;
}
body.wb-elementor-native .wb-custom-home .resource-tile-copy > .wb-native-text-editor:has(.resource-more) {
  display:block; margin-top:auto;
}
body.wb-elementor-native .wb-custom-home .story-track > .elementor-element-overlay { flex:none; }
@media (min-width:761px) {
  body.wb-elementor-native .wb-custom-home .resources .section-head > .wb-native-button {
    display:block; grid-column:3; justify-self:end; width:auto;
  }
}
@media (max-width:1100px) {
  body.wb-elementor-native .wb-custom-home .family > .wb-native-button { display:none; }
}
@media (max-width:760px) {
  body.wb-elementor-native .wb-custom-home main .hero-copy.e-con { padding:100px 0 90px; }
}

/* Keep images selectable without a full-card button covering the editor canvas. */
body.wb-elementor-native.elementor-editor-active .wb-custom-home .family > .wb-native-button {
  inset:50% 0 auto; height:auto; transform:translateY(-50%);
}
body.wb-elementor-native.elementor-editor-active .wb-custom-home .family > .wb-native-button .elementor-button {
  position:relative; height:auto;
}

body.wb-elementor-native.elementor-editor-active .wb-custom-home .family.active > .wb-native-button { pointer-events:none; }

/* Elementor mobile wrapping must not turn horizontal carousels into short rows. */
body.wb-elementor-native .wb-custom-home :is(.families,.story-track).e-con { flex-wrap:nowrap;align-items:stretch; }
body.wb-elementor-native .wb-custom-home .families > .family.e-con { height:100%; }
@media (max-width:760px) {
  body.wb-elementor-native .wb-custom-home .product-grid.e-con { flex-wrap:nowrap; }
}

/* Carousel titles share typography while the page keeps a single H1. */
body.wb-elementor-native .wb-custom-home main .hero-copy :is(h1,h2).elementor-heading-title { font-size:clamp(30px,2.65vw,42px) !important; font-weight:700 !important; line-height:1.25 !important; }
