/* Homepage hero slider controls and transitions */
.th-hero--slider{position:relative;isolation:isolate;width:100%;height:auto;min-height:0;aspect-ratio:2.37/1;overflow:hidden;background:#111}
.th-hero__slides{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:2.37/1}
.th-hero__slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .65s ease,visibility .65s ease}
.th-hero__slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.th-hero__slide .th-hero__image-link{position:absolute;inset:0;display:block;z-index:2;width:100%;height:100%;cursor:pointer}
.th-hero__slide picture,.th-hero__slide picture img{display:block;width:100%;height:100%}
.th-hero__slide .th-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.th-hero__slide .th-hero__shade{z-index:1;pointer-events:none}
.th-hero__slide .th-hero__wrap{z-index:3;pointer-events:none}
.th-hero__slide .th-hero__text{pointer-events:none}
.th-hero__controls{position:absolute;z-index:10;right:clamp(18px,5vw,76px);bottom:clamp(18px,4vw,48px);display:flex;align-items:center;gap:16px;color:#fff}
.th-hero__arrow{width:42px;height:42px;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(15,15,15,.22);color:#fff;font-size:19px;cursor:pointer;display:grid;place-items:center;transition:background .2s ease,border-color .2s ease}
.th-hero__arrow:hover{background:#fff;color:#111;border-color:#fff}
.th-hero__dots{display:flex;align-items:center;gap:8px}
.th-hero__dot{width:7px;height:7px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.48);cursor:pointer;transition:width .25s ease,background .25s ease}
.th-hero__dot.is-active{width:25px;background:#fff}
.th-hero__slide .th-hero__text h2,.th-hero__slide .th-hero__text p{ text-shadow:0 2px 18px rgba(0,0,0,.25)}
@media(max-width:767px){.th-hero--slider{width:100%;height:auto;min-height:0;display:block;aspect-ratio:16/9}.th-hero__slides{position:absolute;inset:0;height:100%;aspect-ratio:16/9;min-height:0;max-height:none}.th-hero__slide{position:absolute;inset:0}.th-hero__slide .th-hero__img{object-position:center}.th-hero__slide .th-hero__shade{display:block;background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.04) 75%)}.th-hero__slide .th-hero__wrap{position:absolute;inset:0;height:100%;padding:24px 20px 70px;align-items:flex-end;justify-content:flex-start}.th-hero__slide .th-hero__text{gap:12px}.th-hero__slide .th-hero__text h2{font-size:clamp(2.1rem,9vw,3.2rem);line-height:.98}.th-hero__slide .th-hero__text p{font-size:13px;max-width:34ch}.th-hero__slide .th-hero__actions{margin-top:4px}.th-hero__slide .th-hero__actions .th-btn{flex:0 1 auto;min-height:44px}.th-hero__controls{right:16px;bottom:15px;gap:10px}.th-hero__arrow{width:35px;height:35px;font-size:16px}.th-hero__dots{gap:6px}}
@media(prefers-reduced-motion:reduce){.th-hero__slide,.th-hero__arrow,.th-hero__dot{transition:none}}

/* Preserve complete uploaded banner when source is prepared to matching ratio. */
.th-hero__slide .th-hero__img{object-fit:cover;object-position:center}
