/* Local hero, isolated from WooCommerce and other carousels. */
#page .py-home-hero{max-width:1280px;margin:20px auto 32px;position:relative;border:1px solid var(--py-c-border,#dae2ed);border-radius:10px;overflow:hidden;background:var(--py-c-surface,#fff);color:var(--py-c-text,#12233d);font-family:var(--hero-font),sans-serif;box-shadow:0 12px 30px #102a5608;--hero-title:var(--hero-title-desktop);--hero-text:var(--hero-text-desktop);--hero-button:var(--hero-button-desktop)}
.py-home-hero__stage{position:relative;overflow:hidden;touch-action:pan-y;isolation:isolate}
.py-home-hero__slide{position:relative;background:var(--py-c-surface,#fff);min-width:0;display:grid;--hero-copy-width:var(--hero-copy-width-desktop,58%)}
.py-home-hero [hidden]{display:none!important}
.py-home-hero__art{overflow:hidden;background:var(--py-c-raised,#f0f4fa)}
.py-home-hero__art picture{display:block;line-height:0}
#page .py-home-hero__art img{display:block;width:100%;height:auto;max-width:100%;object-fit:var(--hero-fit,contain);object-position:var(--hero-position,center);margin:0;user-select:none}
.py-home-hero__slide--banner .py-home-hero__art{aspect-ratio:24/5}
.py-home-hero__slide--banner .py-home-hero__art picture,.py-home-hero__slide--banner .py-home-hero__art img{height:100%}
.py-home-hero__copy{padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0;background:var(--py-c-surface,#fff)}
#page .py-home-hero h2{font:var(--hero-title-weight) var(--hero-title)/1.6 var(--hero-font),sans-serif;color:var(--py-c-text,#12233d);margin:0 0 6px;overflow-wrap:anywhere;letter-spacing:-.025em}
#page .py-home-hero p{font:var(--hero-text-weight) var(--hero-text)/1.9 var(--hero-font),sans-serif;color:var(--py-c-muted,#526176);margin:0;max-width:none;overflow-wrap:anywhere;text-align:justify;text-align-last:right}
#page .py-home-hero__cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;background:var(--py-c-link,#1e4f91);color:var(--py-c-surface,#fff);font:var(--hero-button-weight) var(--hero-button)/1.6 var(--hero-font),sans-serif;border-radius:6px;padding:12px 20px;min-height:44px;text-decoration:none;border:1px solid transparent;position:relative;z-index:2;transition:filter .2s}
.py-home-hero__cta-label{min-width:0;overflow-wrap:anywhere}.py-home-hero__cta svg{width:20px;height:20px;flex:none}.py-home-hero__cover-link{position:absolute;inset:0;z-index:3;border-radius:inherit}.py-home-hero__cover-link:hover~*{filter:brightness(1.05)}
.py-home-hero__slide--split{grid-template-columns:1fr 1fr}.py-home-hero__slide--split .py-home-hero__copy{flex-direction:column;align-items:flex-start;justify-content:center;padding:40px}.py-home-hero__slide--split .py-home-hero__art{min-height:300px;display:grid;align-items:center}.py-home-hero__slide--split[data-tone=blue] .py-home-hero__copy{background:var(--py-c-raised,#edf4ff)}.py-home-hero__slide--split[data-tone=slate] .py-home-hero__copy{background:var(--py-c-bg,#f3f5f8)}
.py-home-hero__controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 24px;border-top:1px solid var(--py-c-border,#dae2ed);background:var(--py-c-raised,#f1f4fa)}
.py-home-hero__arrows,.py-home-hero__dots{display:flex;align-items:center;gap:4px}
#page .py-home-hero__controls button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--py-c-text,#12233d);font:600 12px/1.4 var(--hero-font),sans-serif;cursor:pointer;box-shadow:none}
#page .py-home-hero__controls button:hover{background:var(--py-c-surface,#fff);border-color:var(--py-c-border,#dae2ed)}
.py-home-hero__controls svg{width:20px;height:20px}.py-home-hero[dir=ltr] .py-home-hero__arrows svg{transform:rotate(180deg)}
#page .py-home-hero__dots button{min-width:28px;padding:6px}.py-home-hero__dots span{display:block;width:6px;height:6px;border-radius:8px;background:var(--py-c-control,#8291a7);transition:width .25s,background .25s}.py-home-hero__dots [aria-current=true] span{width:24px;background:var(--py-c-link,#1e4f91)}
#page .py-home-hero :focus-visible{outline:3px solid var(--py-c-link,#1e4f91);outline-offset:-4px}
@media(min-width:1024px){.py-home-hero[data-desktop=hidden]{display:none!important}}
@media(min-width:600px) and (max-width:1023px){.py-home-hero[data-tablet=hidden]{display:none!important}#page .py-home-hero{--hero-title:var(--hero-title-tablet);--hero-text:var(--hero-text-tablet);--hero-button:var(--hero-button-tablet);margin:16px auto 24px}.py-home-hero__copy{padding:20px;gap:16px}.py-home-hero__slide--split .py-home-hero__copy{padding:24px}.py-home-hero__slide--split .py-home-hero__art{min-height:260px}}
@media(max-width:599px){.py-home-hero[data-mobile=hidden]{display:none!important}#page .py-home-hero{--hero-title:var(--hero-title-mobile);--hero-text:var(--hero-text-mobile);--hero-button:var(--hero-button-mobile);margin:12px auto 24px;border-radius:8px}.py-home-hero__copy{padding:16px;display:block}.py-home-hero__slide--split{grid-template-columns:1fr}.py-home-hero__slide--split .py-home-hero__copy{padding:18px}.py-home-hero__slide--split .py-home-hero__art{min-height:0}.py-home-hero__art:has(source){aspect-ratio:auto}.py-home-hero__art:has(source) img{height:auto!important}#page .py-home-hero__cta{margin-top:14px;min-height:44px;padding:9px 14px;gap:8px}.py-home-hero__controls{padding:5px 8px;gap:4px}.py-home-hero__arrows{gap:0}.py-home-hero__pause-text{display:none}.py-home-hero__dots{gap:0}#page .py-home-hero__dots button{min-width:22px;padding:4px}}
@media(prefers-reduced-motion:reduce){.py-home-hero *{transition:none!important;animation:none!important}}

/* Swiper integration and image-overlay Hero. */
.py-home-hero__stage.swiper{width:100%;margin:0}.py-home-hero__stage .swiper-wrapper{align-items:flex-start}.py-home-hero .swiper-slide{height:auto}.py-home-hero__dots{flex:1;min-width:0;justify-content:center;flex-wrap:wrap}.py-home-hero__arrows{flex:none}
#page .py-home-hero{--hero-height:var(--hero-height-desktop,480px)}
.py-home-hero__slide--overlay{min-height:var(--hero-height);height:auto!important;isolation:isolate;display:flex;align-items:center;background:#0a1b36}
.py-home-hero__slide--overlay .py-home-hero__art{position:absolute;inset:0;z-index:-2;background:#0a1b36;aspect-ratio:auto!important}
.py-home-hero__slide--overlay .py-home-hero__art picture,#page .py-home-hero__slide--overlay .py-home-hero__art img{height:100%!important;width:100%;object-fit:var(--hero-fit,cover)}
.py-home-hero__slide--overlay:before{content:'';position:absolute;inset:0 0 0 auto;width:min(100%,calc(var(--hero-copy-width) + 8%));z-index:-1;background:linear-gradient(270deg,rgba(5,20,43,.96),rgba(5,20,43,.88) 70%,rgba(5,20,43,0) 100%);pointer-events:none}
.py-home-hero__slide--overlay .py-home-hero__copy{width:var(--hero-copy-width);min-height:var(--hero-height);max-height:none;overflow:visible;background:transparent;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;padding:28px 32px 86px;text-align:start;box-sizing:border-box}
.py-home-hero__slide--overlay .py-home-hero__copy>div{width:100%;min-width:0}
#page .py-home-hero__slide--overlay h2{color:#fff!important;font-size:var(--hero-title);text-shadow:0 2px 15px #0003;margin:0 0 14px;line-height:1.65}
#page .py-home-hero__slide--overlay p{color:#e5edfa;line-height:1.95}
#page .py-home-hero__slide--overlay .py-home-hero__cta{position:absolute;right:32px;bottom:18px;max-width:calc(50% - 40px);min-height:44px;padding:8px 18px;box-sizing:border-box;background:#fff;color:#12355f;border:1px solid #ffffff40;box-shadow:0 6px 20px #00152b26;margin-top:0}
.py-home-hero__slide--overlay[data-tone=blue]:before{background:linear-gradient(270deg,#062553f5,#0c4175e0 70%,#102b5500)}
.py-home-hero__slide--overlay[data-tone=slate]:before{background:linear-gradient(270deg,#141e2df5,#192637e0 70%,#19263700)}
.py-home-hero[dir=ltr] .py-home-hero__slide--overlay:before{inset:0 auto 0 0;transform:scaleX(-1)}
.py-home-hero__slide--overlay .py-home-hero__copy{pointer-events:none}.py-home-hero__slide--overlay .py-home-hero__copy a{pointer-events:auto}
@media(min-width:600px) and (max-width:1023px){#page .py-home-hero{--hero-height:var(--hero-height-tablet,420px)}.py-home-hero__slide{--hero-copy-width:var(--hero-copy-width-tablet,74%)}.py-home-hero__slide--overlay .py-home-hero__copy{padding:28px 24px 86px}#page .py-home-hero__slide--overlay .py-home-hero__cta{right:24px}}
@media(max-width:599px){#page .py-home-hero{--hero-height:var(--hero-height-mobile,440px)}.py-home-hero__slide{--hero-copy-width:var(--hero-copy-width-mobile,100%)}.py-home-hero__slide--overlay{align-items:center}.py-home-hero__slide--overlay .py-home-hero__copy{padding:24px 20px 112px}#page .py-home-hero__slide--overlay h2{margin-bottom:10px}#page .py-home-hero__slide--overlay .py-home-hero__cta{right:16px;bottom:14px;max-width:calc(100% - 184px);height:44px;gap:6px;padding:4px 10px;font-size:13px;line-height:1.25}#page .py-home-hero__slide--overlay .py-home-hero__cta-label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.py-home-hero__slide--overlay .py-home-hero__art{aspect-ratio:auto}}

/* Floating controls: no separate footer strip. */
.py-home-hero__controls{position:absolute;inset:auto 20px 18px;z-index:10;display:flex;justify-content:flex-start;direction:ltr;gap:8px;padding:0;border:0;background:transparent;pointer-events:none;min-height:44px}
.py-home-hero__controls>*{pointer-events:auto}.py-home-hero__controls [data-hero-pause]{order:-1}.py-home-hero__controls .py-home-hero__arrows{direction:rtl;gap:8px}.py-home-hero[dir=ltr] .py-home-hero__arrows{direction:ltr}
#page .py-home-hero__controls button:not([data-hero-to]){width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #ffffff55;background:#ffffffeb;color:#173758;box-shadow:0 3px 12px #00152b26;border-radius:50%;backdrop-filter:blur(8px);transition:background .2s,transform .2s}
#page .py-home-hero__controls button:not([data-hero-to]):hover{background:#fff;transform:translateY(-2px)}.py-home-hero__pause-text{display:none}
.py-home-hero__dots{position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:max-content;max-width:calc(100% - 330px);padding:0 7px;border-radius:24px;background:#07182b80;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;backdrop-filter:blur(6px)}
#page .py-home-hero__dots button:hover{background:transparent;border-color:transparent}.py-home-hero__dots span{background:#ffffff70}.py-home-hero__dots [aria-current=true] span{background:#fff}
.py-home-hero__slide:not(.py-home-hero__slide--overlay) .py-home-hero__copy{padding-bottom:86px}
@media(max-width:599px){.py-home-hero__controls{inset:auto 16px 14px;gap:6px}.py-home-hero__controls .py-home-hero__arrows{gap:6px}.py-home-hero__dots{left:50%;right:auto;bottom:56px;transform:translateX(-50%);max-width:100%;padding:0 4px}#page .py-home-hero__controls button:not([data-hero-to]){box-shadow:0 2px 8px #00152b20}}

.py-home-hero__dots button{flex-shrink:0}

/* Mobile visual-first mode: preserve every edge of wide source banners. */
@media(max-width:599px){
#page .py-home-hero[data-mobile-style=image]{margin:8px auto 18px;background:var(--py-c-surface,#fff)}
.py-home-hero[data-mobile-style=image] .py-home-hero__slide{height:auto!important;aspect-ratio:var(--hero-mobile-ratio,4.8);min-height:84px;display:block;background:var(--py-c-raised,#edf2f8)}
.py-home-hero[data-mobile-style=image] .py-home-hero__slide:before{display:none}
.py-home-hero[data-mobile-style=image] .py-home-hero__copy{display:none!important}
.py-home-hero[data-mobile-style=image] .py-home-hero__art{position:absolute;inset:0;z-index:0;background:transparent;display:grid;align-items:center;aspect-ratio:auto!important;min-height:0}
.py-home-hero[data-mobile-style=image] .py-home-hero__art picture{height:100%;width:100%;display:block}
#page .py-home-hero[data-mobile-style=image] .py-home-hero__art img{height:100%!important;width:100%;object-fit:contain!important;object-position:center!important}
.py-home-hero[data-mobile-style=image] .py-home-hero__controls{inset:auto 8px 2px;gap:2px;min-height:40px}
.py-home-hero[data-mobile-style=image] .py-home-hero__controls .py-home-hero__arrows{gap:2px}
#page .py-home-hero[data-mobile-style=image] .py-home-hero__controls button:not([data-hero-to]){width:40px;height:40px;min-width:40px;min-height:40px;border:5px solid transparent;background:#10263bd9;background-clip:padding-box;box-shadow:none;padding:5px;color:#fff}
.py-home-hero[data-mobile-style=image] .py-home-hero__controls svg{width:17px;height:17px}
.py-home-hero[data-mobile-style=image] .py-home-hero__dots{bottom:0;background:#10263bbd;max-width:calc(100% - 140px)}
.py-home-hero[data-mobile-style=image] .py-home-hero__dots span{background:#ffffff70}
.py-home-hero[data-mobile-style=image] .py-home-hero__dots [aria-current=true] span{background:#fff}
}
