/* The optional link and slide controls do not alter existing single banners. */
#hero :is(#public-hero-title,#public-hero-subtitle){white-space:pre-wrap}
#hero .hero-banner-link{position:absolute;inset:0;z-index:1;border-radius:0}
#hero .hero-banner-link:focus-visible{outline:4px solid #fff;outline-offset:-6px}
#hero.is-hero-linked>.container{z-index:2;pointer-events:none}
#hero.is-hero-linked>.container :is(a,button){pointer-events:auto}
#hero.is-slider-banner,#hero.is-caption-positioned{align-items:var(--hero-content-align,center)!important}
#hero.is-slider-banner>.container,#hero.is-caption-positioned>.container{padding-top:clamp(80px,14vh,130px);padding-bottom:80px;z-index:3}
#hero.is-slider-banner:before{z-index:1}
#hero.is-slider-banner .hero-banner-link{z-index:2}
#hero .hero-banner-transition{position:absolute;inset:0;z-index:0;background-size:cover;background-repeat:no-repeat;opacity:0;pointer-events:none;transition:opacity .65s ease}
#hero .hero-banner-controls{position:absolute;inset:0;z-index:5;pointer-events:none;word-break:keep-all}
#hero .hero-banner-controls button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border:0;padding:0;font:inherit;cursor:pointer;pointer-events:auto}
#hero .hero-banner-controls svg{width:20px;height:20px;pointer-events:none}
#hero .hero-banner-controls :is([data-banner-previous],[data-banner-next]){position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.88);color:#36424a;box-shadow:0 1px 5px #0002}
#hero .hero-banner-controls [data-banner-previous]{left:12px}
#hero .hero-banner-controls [data-banner-next]{right:12px}
#hero .hero-banner-controls :is([data-banner-previous],[data-banner-next]):hover{background:#fff;color:#111827}
#hero .hero-banner-pagination{position:absolute;top:100%;left:0;right:0;height:36px;display:flex;align-items:center;justify-content:center;gap:4px;background:#fff;color:#667085;pointer-events:auto}
#hero .hero-banner-dots{display:flex;align-items:center;justify-content:center}
#hero .hero-banner-controls [data-banner-index]{width:24px;height:32px;background:transparent;border-radius:6px}
#hero .hero-banner-controls [data-banner-index]:before{content:"";display:block;width:8px;height:8px;border-radius:8px;background:#8b929a}
#hero .hero-banner-controls [data-banner-index].active:before{width:20px;background:var(--color-primary,#3d53b6)}
#hero .hero-banner-controls [data-banner-index]:hover:before{background:#667085}
#hero .hero-banner-controls [data-banner-play]{width:30px;height:32px;background:transparent;color:inherit;border-radius:6px}
#hero .hero-banner-controls [data-banner-play] svg{width:14px;height:14px}
#hero .hero-banner-controls button:focus-visible{outline:3px solid #3d53b6;outline-offset:2px}
#hero .hero-banner-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#hero .hero-device-frame:has(>.hero-banner-controls:not([hidden])){margin-bottom:36px}
#hero.is-slider-banner{touch-action:pan-y pinch-zoom}
html[data-theme="dark"] #hero .hero-banner-pagination{background:#17212b;color:#d1d7df}
html[data-theme="dark"] #hero .hero-banner-controls [data-banner-index]:before{background:#76818f}
html[data-theme="dark"] #hero .hero-banner-controls [data-banner-index].active:before{background:#a9c2ff}
#hero :is(.hero-banner-link,.hero-banner-controls)[hidden]{display:none!important}
@media(max-width:576px){#hero .hero-banner-controls :is([data-banner-previous],[data-banner-next]){width:36px;height:36px}#hero .hero-banner-controls [data-banner-previous]{left:8px}#hero .hero-banner-controls [data-banner-next]{right:8px}}
@media(prefers-reduced-motion:reduce){#hero .hero-banner-transition{transition:none}}
#hero>.hero-device-frame[hidden]{display:none!important}
body #hero.has-mobile-image{display:block!important;height:auto!important;min-height:0!important;padding:var(--hero-header-height,80px) 0 0!important;background-image:none!important}
#hero .hero-device-frame{position:relative;width:100%;aspect-ratio:8/3;background:#233d45}
#hero .hero-device-frame>.hero-mobile-image{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:var(--hero-desktop-fit,contain);object-position:var(--hero-desktop-position,var(--hero-background-position,center))}
#hero .hero-device-frame>.hero-mobile-image[hidden]{display:none!important}
#hero .hero-photo-status{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:6;display:flex;align-items:center;justify-content:center;gap:10px;width:max-content;max-width:calc(100% - 24px);box-sizing:border-box;padding:10px 14px;border-radius:10px;background:#152b32;color:#fff;font-size:14px;line-height:1.5;word-break:keep-all;box-shadow:0 2px 12px #0003}
#hero .hero-photo-status[hidden],#hero .hero-photo-status button[hidden]{display:none!important}
#hero .hero-photo-status button{flex:none;border:1px solid #fff;border-radius:6px;background:#fff;color:#183b2d;font:inherit;padding:7px 10px;min-height:36px;cursor:pointer}
#hero .hero-photo-status button:focus-visible{outline:3px solid #fbbf24;outline-offset:3px}
#hero.has-mobile-image>.hero-banner-transition{display:none}
body #hero.has-mobile-image>.container{position:absolute;inset:var(--hero-header-height,80px) 0 0;display:flex;align-items:var(--hero-content-align,center);justify-content:center;max-height:calc(100% - var(--hero-header-height,80px));padding:20px!important;overflow:auto;z-index:3}
/* A flex caption container must not shrink its Bootstrap row to text width. */
@media(min-width:768px){body #hero.has-mobile-image>.container>.row{flex:1 1 0;min-width:0}}
@media(min-width:768px){body #hero.has-mobile-image:has(.hero-banner-controls:not([hidden]))>.container{bottom:36px;max-height:calc(100% - var(--hero-header-height,80px) - 36px)}}
#hero.has-mobile-image:before{top:var(--hero-header-height,80px);z-index:1}
#hero.has-mobile-image>.container[hidden],#hero.has-mobile-image>.container:has(#public-hero-title[hidden]):has(#public-hero-subtitle[hidden]):has(#public-hero-cta[hidden]):has(#public-hero-certifications[hidden]){display:none!important}
#hero.has-mobile-image:has(>.container[hidden]):before{display:none}
/* Each device has one photo frame; image aspect ratio never determines slide height. */
@media(max-width:767.98px){
 #hero.is-mobile-cover{--hero-overlay-caption-padding:10px 20px}
 #hero:is(.is-mobile-cover,.has-mobile-cover-slide){--hero-mobile-cover-height:clamp(360px,125vw,640px)}
 #hero .hero-device-frame{aspect-ratio:4/3}
 #hero:is(.is-mobile-cover,.has-mobile-cover-slide) .hero-device-frame{aspect-ratio:auto;height:var(--hero-mobile-cover-height)}
 #hero .hero-device-frame>.hero-mobile-image{object-fit:var(--hero-mobile-fit,contain);object-position:var(--hero-mobile-position,center)}
 #hero.has-mobile-image:before,#hero.has-mobile-image>.hero-banner-transition{display:none}
 body #hero.has-mobile-image>.container{position:relative;inset:auto;display:block;max-height:none;box-sizing:border-box;padding:28px 20px!important;margin:0 auto;width:100%;text-align:var(--hero-text-align,center)}
 #hero.has-mobile-image>.container[hidden]{display:none!important}
 #hero.has-mobile-image>.container:has(#public-hero-title[hidden]):has(#public-hero-subtitle[hidden]):has(#public-hero-cta[hidden]):has(#public-hero-certifications[hidden]){display:none!important}
 /* Whole view keeps its caption below; cover shares the fixed photo frame. */
 body #hero.has-mobile-image.is-mobile-cover>.container{position:absolute;inset:var(--hero-header-height,80px) 0 auto;display:flex;align-items:var(--hero-content-align,center);justify-content:center;aspect-ratio:auto;height:var(--hero-mobile-cover-height);max-width:none;margin:0;padding:var(--hero-overlay-caption-padding,20px)!important;overflow:auto}
 body #hero.has-mobile-image.is-mobile-cover>.container>.row{flex:1 1 0;min-width:0;max-height:100%}
 #hero.has-mobile-image.is-mobile-cover>.hero-device-frame:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,var(--hero-overlay-opacity,.5));pointer-events:none}
 #hero.has-mobile-image.is-mobile-cover:has(>.container[hidden])>.hero-device-frame:after,
 #hero.has-mobile-image.is-mobile-cover:not(:has(>.container :is(#public-hero-title,#public-hero-subtitle,#public-hero-cta,#public-hero-certifications):not([hidden])))>.hero-device-frame:after{display:none}
}
/* Only overflowing overlay captions move below the unchanged device photo frame. */
body #hero.has-mobile-image.is-caption-overflow>.container:not([hidden]){position:relative;inset:auto;display:flex;aspect-ratio:auto;height:auto;max-height:none;margin:0 auto;padding:var(--hero-overlay-caption-padding,20px)!important;overflow:visible}
body #hero.has-mobile-image.is-caption-overflow>.container>.row{max-height:none}
#hero.has-mobile-image.is-caption-overflow:before,
#hero.has-mobile-image.is-caption-overflow>.hero-device-frame:after{display:none}
/* Reserve the same text space for the group, not for each current slide. */
body #hero.has-mobile-image.has-stable-caption{min-height:var(--hero-slide-min-height,0px)!important}
#hero>.hero-layout-probe{position:absolute;inset:0 0 auto;width:100%;height:auto;visibility:hidden;pointer-events:none;overflow:visible;contain:layout style}
@media(min-width:768px){
 body #hero.has-mobile-image.has-stable-caption:not(.is-caption-overflow)>.container{bottom:auto;height:var(--hero-photo-height);max-height:var(--hero-photo-height)}
 #hero.has-mobile-image.has-stable-caption:before{bottom:auto;height:var(--hero-photo-height)}
}
/* Desktop homepage only: normal scrolling, mobile and horizontal gestures remain. */
@media(min-width:768px) and (hover:hover) and (pointer:fine){html[data-theme-page="index"]{overscroll-behavior-y:none}}
