/* Region-aware hero carousel */
.tm-hero.carousel { display: block; min-height: 0; background: #113e51; }
.tm-hero .carousel-inner { width: 100%; overflow: hidden; }
.tm-hero .tm-hero-slide { position: relative; isolation: isolate; min-height: 560px; align-items: center; background: #113e51; }
.tm-hero .tm-hero-slide.active,
.tm-hero .tm-hero-slide.next,
.tm-hero .tm-hero-slide.prev { display: flex; }
.tm-hero .tm-hero-photo { z-index: -2; max-width: none; }
.tm-hero .tm-hero-shade { background: linear-gradient(90deg, rgba(4,27,36,.92) 0%, rgba(4,31,40,.69) 39%, rgba(4,31,40,.12) 72%, rgba(4,31,40,.04) 100%); }
.tm-hero .tm-hero-content { position: relative; z-index: 2; padding-top: 68px; padding-bottom: 126px; }
.tm-hero .tm-eyebrow { display: inline-flex; padding: 7px 11px; align-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(4,58,65,.25); font-size: 11px; line-height: 1; letter-spacing: .16em; }
.tm-hero .tm-eyebrow:before { content: ""; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: #77dfc9; box-shadow: 0 0 0 4px rgba(119,223,201,.13); }
.tm-hero .tm-eyebrow span { margin: 0 10px; }
.tm-hero .tm-hero-content h1 { max-width: 650px; margin-top: 22px; }
.tm-hero .tm-hero-control { top: 50%; bottom: auto; width: 48px; height: 48px; margin-top: -48px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: #fff; background: rgba(5,38,46,.46) !important; background-image: none !important; box-shadow: 0 6px 20px rgba(0,0,0,.16); opacity: 1; text-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s ease, transform .2s ease; }
.tm-hero .tm-hero-control.left { left: max(18px, calc((100vw - 1340px) / 2)); right: auto; }
.tm-hero .tm-hero-control.right { right: max(18px, calc((100vw - 1340px) / 2)); left: auto; }
.tm-hero .tm-hero-control:hover,
.tm-hero .tm-hero-control:focus { color: #fff; background: rgba(0,124,128,.94) !important; transform: scale(1.05); }
.tm-hero-arrow { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin-top: -6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.tm-hero-control.left .tm-hero-arrow { margin-left: -4px; transform: rotate(-135deg); }
.tm-hero-control.right .tm-hero-arrow { margin-left: -8px; transform: rotate(45deg); }
.tm-hero-status { position: absolute; z-index: 12; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 34px; min-width: 62px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: #fff; background: rgba(5,38,46,.5); font-size: 11px; line-height: 1; text-align: center; letter-spacing: .04em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tm-hero-status strong { font-size: 13px; font-weight: 800; }
.tm-hero-status span { opacity: .65; }
.tm-hero .tm-actions { max-width: 520px; }
.tm-hero-nav { position: absolute; z-index: 12; right: max(106px, calc((100vw - 1200px) / 2 + 90px)); bottom: 28px; left: auto; display: flex; width: clamp(440px, 42vw, 580px); margin: 0; padding: 6px; gap: 5px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(5,38,46,.43); list-style: none; transform: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tm-hero-nav li { flex: 1 1 0; min-width: 0; }
.tm-hero-nav button { position: relative; width: 100%; min-height: 42px; padding: 8px 13px; overflow: hidden; border: 0; border-radius: 9px; color: rgba(255,255,255,.72); background: transparent; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; transition: color .2s ease, background .2s ease; }
.tm-hero-nav li.active button { color: #fff; background: rgba(255,255,255,.17); }
.tm-hero-nav li.active button:after { content: ""; position: absolute; right: 13px; bottom: 4px; left: 13px; height: 2px; border-radius: 99px; background: #77dfc9; }
.tm-hero-nav button:hover,
.tm-hero-nav button:focus { color: #fff; background: rgba(255,255,255,.12); outline: 0; }
.tm-hero .tm-hero-control:focus-visible,
.tm-hero-nav button:focus-visible { outline: 3px solid #f4b940; outline-offset: 3px; }

@media (max-width: 1199px) and (min-width: 768px) {
    .tm-hero .tm-secondary { display: none; }
    .tm-hero-nav { right: 90px; width: min(38vw, 420px); }
}

@media (max-width: 991px) {
    .tm-hero .tm-hero-slide { min-height: 530px; }
    .tm-hero .tm-hero-content { padding-right: 64px; padding-left: 64px; }
    .tm-hero .tm-secondary { display: none; }
    .tm-hero-nav { right: 90px; width: min(44vw, 360px); }
    .tm-hero .tm-hero-control.left { left: 14px; }
    .tm-hero .tm-hero-control.right { right: 14px; }
    .tm-hero-status { right: 18px; }
}

@media (max-width: 767px) {
    .tm-hero .tm-hero-slide { min-height: 520px; align-items: flex-end; }
    .tm-hero .tm-hero-photo { object-position: 64% center; }
    .tm-hero .tm-hero-shade { background: linear-gradient(180deg, rgba(4,27,36,.08) 4%, rgba(4,27,36,.32) 42%, rgba(4,27,36,.94) 100%); }
    .tm-hero .tm-hero-content { width: calc(100% - 32px); padding: 42px 0 116px; }
    .tm-hero .tm-eyebrow { font-size: 9px; }
    .tm-hero .tm-hero-content h1 { margin-top: 16px; font-size: 34px; }
    .tm-hero .tm-hero-content > p { font-size: 14px; line-height: 1.7; }
    .tm-hero .tm-hero-control { top: 42%; width: 38px; height: 38px; margin-top: -19px; }
    .tm-hero .tm-hero-control.left { left: 10px; }
    .tm-hero .tm-hero-control.right { right: 10px; }
    .tm-hero-status { right: 12px; bottom: 72px; padding: 7px 9px; }
    .tm-hero-nav { right: auto; bottom: 14px; left: 16px; width: calc(100% - 32px); padding: 5px; transform: none; overflow-x: auto; scroll-snap-type: x proximity; }
    .tm-hero-nav li { flex: 0 0 42%; scroll-snap-align: start; }
    .tm-hero-nav button { min-height: 40px; padding: 7px 9px; font-size: 11px; }
    .tm-categories { margin-top: -1px; border-radius: 0 0 12px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .tm-hero .tm-hero-control,
    .tm-hero-nav button { transition: none; }
}
