/* 0.6.60 — Homepage HERO media only. The lower Banner Slider keeps its original container. */
body.home .hs-home-main .hs-widget-hero.hs-hero--home:not([data-hs-hero-video-root]) {
  width:100vw; max-width:none; margin-inline:calc(50% - 50vw); border-radius:0;
  position:relative; overflow:hidden; isolation:isolate; box-sizing:border-box;
  background:var(--hs-hero-media-bg,#122923);
}
/* Ratio mode: frame height responds to desktop/mobile artwork or the selected preset. */
body.home .hs-home-main .hs-widget-hero.hs-hero-size--auto:not([data-hs-hero-video-root]) {
  aspect-ratio:var(--hs-hero-ratio-desktop,16 / 7);
  height:auto; min-height:0; max-height:none;
}
body.home .hs-home-main .hs-widget-hero:is(.hs-hero-size--fixed-cover,.hs-hero-size--fixed-contain):not([data-hs-hero-video-root]) {
  aspect-ratio:auto; height:var(--hs-hero-height-desktop,620px); min-height:0;
}
body.home .hs-home-main .hs-widget-hero.hs-hero-size--screen-cover:not([data-hs-hero-video-root]) {
  aspect-ratio:auto; height:100svh; min-height:0;
}
/* Background and Swiper slides fill the frame, not the content container. */
body.home .hs-home-main .hs-widget-hero .hs-hero__background,
body.home .hs-home-main .hs-widget-hero .hs-hero__slide-deck,
body.home .hs-home-main .hs-widget-hero .hs-hero__slide-deck picture {
  position:absolute; inset:0; width:100%; height:100%;
}
body.home .hs-home-main .hs-widget-hero .hs-hero__background img,
body.home .hs-home-main .hs-widget-hero .hs-hero__slide-deck img {
  display:block; width:100%; height:100%; max-width:100%;
  object-fit:var(--hs-hero-fit-desktop,contain)!important;
  object-position:var(--hs-hero-pos-x-desktop,50%) var(--hs-hero-pos-y-desktop,50%)!important;
}
body.home .hs-home-main .hs-widget-hero .hs-hero__slide-deck .swiper-slide {
  background:var(--hs-hero-media-bg,#122923);
}
/* Keep legacy video full-bleed behavior intact — Hero image fit does not change video. */
@media (max-width:782px) {
  body.home .hs-home-main .hs-widget-hero.hs-hero-size--auto:not([data-hs-hero-video-root]) {
    aspect-ratio:var(--hs-hero-ratio-mobile,var(--hs-hero-ratio-desktop,4 / 5));
    height:auto; min-height:0;
  }
  body.home .hs-home-main .hs-widget-hero:is(.hs-hero-size--fixed-cover,.hs-hero-size--fixed-contain):not([data-hs-hero-video-root]) {
    aspect-ratio:auto; height:var(--hs-hero-height-mobile,520px); min-height:0;
  }
  body.home .hs-home-main .hs-widget-hero .hs-hero__background img,
  body.home .hs-home-main .hs-widget-hero .hs-hero__slide-deck img {
    object-fit:var(--hs-hero-fit-mobile,var(--hs-hero-fit-desktop,contain))!important;
    object-position:var(--hs-hero-pos-x-mobile,50%) var(--hs-hero-pos-y-mobile,50%)!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.home .hs-home-main .hs-widget-hero .hs-hero__slide-deck img {animation:none!important;}
}
/* Regression guard: the promotional Banner Slider BELOW the hero must stay boxed. */
body.home .hs-home-main .hs-widget-banner-slider > .hs-container {
  width:min(calc(100% - 40px),var(--hs-container));
  max-width:var(--hs-container); margin-inline:auto; padding-inline:0;
}
@media (max-width:782px) {
  body.home .hs-home-main .hs-widget-banner-slider > .hs-container {
    width:min(calc(100% - 24px),var(--hs-container));
  }
}
