/* header-hero-update.css — Ontario Science Centre homepage header + hero overrides */

/* ==========================================================================
   0. Design tokens
   ========================================================================== */
:root {
    --osc-navy: #0A023C;
    --osc-navy-60: rgba(10, 2, 60, 0.60);
    --osc-blue: #0071EB;
    --osc-teal: #00D8C8;
    --osc-font: "Poppins", sans-serif;
    --osc-header-h: 100px;
    --osc-header-h-stuck: 80px;
    --osc-header-h-mobile: 92px;
}


/* ==========================================================================
   1. Hero — base styles (mobile-first)
   ========================================================================== */

/* Poster image is the fallback while the video loads. */
.osc-home .osc-home-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--osc-navy) url("../media/s2apvyma/harbourfront-centre-hero-image.jpg") center/cover no-repeat;
    color: #fff;
    padding: 32px 0 40px;
}

.osc-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay is in the DOM for structure; it applies no darkening.
   Hero text uses text-shadow for legibility over the video. */
.osc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: none;
}

.osc-hero-inner {
    position: relative;
    z-index: 2;
}

/* Specificity (0,3,1) required to override the inherited .osc-home .osc-hero h1 rule. */
.osc-home .osc-home-hero h1.osc-hero-title {
    margin: 0;
    width: -moz-fit-content;
    width: fit-content;
    font-family: var(--osc-font);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.0;
    font-size: clamp(2.75rem, 7.5vw, 6.5rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

/* Teal underline spans the headline width (h1 uses fit-content). */
.osc-home .osc-home-hero h1.osc-hero-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 6px;
    background: var(--osc-teal);
    border-radius: 2px;
}

.osc-home .osc-home-hero .osc-hero-lead {
    max-width: 440px;
    margin: 22px 0 0;
    font-family: var(--osc-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

/* Right column — info card + Buy Tickets stacked vertically. */
.osc-hero-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

/* Frosted-glass info card. */
.osc-hero-card {
    background: rgba(10, 2, 60, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 0;
    border-radius: 28px;
    padding: 22px 26px;
    color: #fff;
    font-family: var(--osc-font);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.osc-hero-card .osc-hc-title {
    display: block;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
}

.osc-hero-card .osc-hc-addr {
    display: block;
    font-weight: 400;
    font-size: .95rem;
    margin-top: 3px;
    opacity: .95;
}

.osc-hero-card .osc-hc-hours {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    line-height: 1;
}

.osc-hero-card .osc-hc-time {
    color: var(--osc-teal);
    font-weight: 700;
    font-size: 16px;
}

.osc-hero-card .osc-hc-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--osc-teal);
    font-weight: 400;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.osc-hero-card .osc-hc-closed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFF;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Two-layer status dot: translucent outer ring + solid inner core. */
.osc-hero-card .osc-hc-open .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 216, 200, 0.61);
    display: inline-flex;
    flex: 0 0 auto;
}

.osc-hero-card .osc-hc-closed .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #CF1717;
    display: inline-flex;
    flex: 0 0 auto;
}

.osc-hero-card .osc-hc-open .dot::after {
    content: "";
    margin: auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00D8C8;
}

.osc-hero-card .osc-hc-closed .dot::after {
    content: "";
    margin: auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CF1717;
}

/* "See all hours" link — only the text span is underlined, not the arrow. */
.osc-hero-card .osc-hc-link {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    font-weight: 400;
    font-size: 14px;
    opacity: .75;
    color: #fff !important;
    text-decoration: none;
}

.osc-hero-card .osc-hc-link .osc-hc-link-text {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.osc-hero-card .osc-hc-link .osc-hc-arrow {
    margin-left: 16px;
    text-decoration: none;
}

.osc-hero-card .osc-hc-link:hover,
.osc-hero-card .osc-hc-link:focus {
    color: var(--osc-teal) !important;
    opacity: 1;
}

/* Buy Tickets — pill button, navy fill, blue border. */
.osc-home .osc-home-hero .osc-hero-tickets {
    display: inline-block;
    text-align: center;
    background: var(--osc-navy);
    color: #fff !important;
    border: 3px solid var(--osc-blue);
    border-radius: 40px;
    padding: 14px 40px;
    font-family: var(--osc-font);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.osc-home .osc-home-hero .osc-hero-tickets:hover,
.osc-home .osc-home-hero .osc-hero-tickets:focus {
    background: var(--osc-blue);
    border-color: var(--osc-blue);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 113, 235, 0.35);
}

/* Video play/pause toggle — bottom-left by default, repositioned on mobile. */
.osc-hero-toggle {
    position: absolute;
    left: clamp(16px, 4vw, 64px);
    bottom: 26px;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease;
}

.osc-hero-toggle:hover {
    background: rgba(0, 0, 0, 0.45);
}


/* ==========================================================================
   2. Header — base styles (all breakpoints)
   ========================================================================== */

/* Mobile default: fixed navy bar positioned over the hero video. */
.osc .osc-header--home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 20;
    background-color: var(--osc-navy);
}

.osc .osc-header--home>.container {
    position: relative;
}

/*.osc .osc-hero.osc-circles.animate {
    padding-top: 90px;
}*/
.zero-top-padding{
    padding-top:0 !important;
}


.row-cont-alert {
    margin-top: -30px !important;
    margin-left: -9% !important;
    margin-bottom: 15px !important;
    width: 118%;
}

.row-cont-alert .container {
    padding-top: 0 !important;
}

.row-cont-alert .alert .alert-content{
    padding:24px 50px 16px 10px;
}

.row-cont-alert .alert .alert-content button.alert-close {
    margin-right: -10px;
}


.row-cont-alert-b {
    margin-top: 90px !important;
    margin-left: -11% !important;
    margin-bottom: 15px !important;
    width: 122%;
}

.row-cont-alert-b-add {
    margin-top: 0px !important;
    /*margin-top:20px !important;*/
}

.row-cont-alert-b-add2 {
   /* margin-top: 110px !important;*/
    z-index: 1;
    position: relative;
}

.row-cont-alert-b .alert .alert-content {
    padding: 24px 50px 16px 25px;
}

.row-cont-alert-b .container{
    padding-top:0 !important;
}


.row-cont-alert-b .alert .alert-content button.alert-close {
    margin-right: -10px;
}

.osc-exhibit .osc-hero .row-cont-alert-b a {
    color: #001980 !important;
}

/*.aler-spc {
    padding-top: 135px;
    margin-top: -165px;
}*/
/*.row-cont-alert .aler-spc {
    padding-top: 135px;
    margin-top: -130px;
}*/
.osc-exhibit .osc-hero.osc-circles .osc-circle-a, .osc-generic .osc-hero.osc-circles .osc-circle-a, .osc-imax .osc-hero.osc-circles .osc-circle-a {
    margin-top: 92px;
}
.osc-exhibit .osc-hero.osc-circles .osc-circle-a.active::before, .osc-generic .osc-hero.osc-circles .osc-circle-a.active::before, .osc-imax .osc-hero.osc-circles .osc-circle-a.active::before {
  
    z-index: 0;
}
.osc-circles .osc-circle .container, .osc-circles .osc-circle .osc-circle-container{
    z-index:1;
}
@media (min-width: 414px) {
    /*.osc .osc-hero.osc-circles.animate {
        padding-top: 90px;
    }*/
    /*.osc-circles .osc-circle .container, .osc-circles .osc-circle .osc-circle-container {
        padding-top: 90px;
    }*/
}

@media (min-width: 430px) {
    /*.osc .osc-hero.osc-circles.animate {
        padding-top: 85px;
    }*/

   /* .osc-circles .osc-circle .container, .osc-circles .osc-circle .osc-circle-container {
        padding-top: 85px;
    }*/

    .row-cont-alert-b .alert .alert-content {
        padding: 24px 50px 16px 30px;
    }

    .row-cont-alert-b .alert .alert-content button.alert-close{
        margin-right:-8px;
    }
}

@media (min-width: 525px) {

    .row-cont-alert-b .alert .alert-content {
        padding: 24px 70px 16px 40px;
    }

    .row-cont-alert-b .alert .alert-content button.alert-close{
        margin-right:10px;
    }
}

@media(min-width:600px){
    .row-cont-alert .alert .alert-content {
        padding: 24px 60px 16px 30px;
    }

    .row-cont-alert .alert .alert-content button.alert-close{
        margin-right:0;
    }

    .row-cont-alert-b .alert .alert-content {
        padding: 24px 90px 16px 50px;
    }

    .row-cont-alert-b .alert .alert-content button.alert-close{
        margin-right:20px;
    }
}
@media(min-width:700px) {
    .row-cont-alert-b .alert .alert-content {
        padding: 24px 90px 16px 65px;
    }

    .row-cont-alert-b .alert .alert-content button.alert-close{
        margin-right:30px;
    }
}
@media(min-width:768px){
    .osc-exhibit .osc-hero.osc-circles .osc-circle-a::before, .osc-generic .osc-hero.osc-circles .osc-circle-a::before, .osc-imax .osc-hero.osc-circles .osc-circle-a::before {
        background-position: 245.99px 4.1px; /*212.99px -24.9px;*/
    }

    .osc-exhibit .osc-hero.osc-circles .osc-circle-a .osc-circle-b.active, .osc-generic .osc-hero.osc-circles .osc-circle-a .osc-circle-b.active, .osc-imax .osc-hero.osc-circles .osc-circle-a .osc-circle-b.active {
        background-position: -249.99px calc(99% + 349.9px) /* 249.99px calc(94% + 349.9px);*/
    }

    .osc-circles .osc-circle .container, .osc-circles .osc-circle .osc-circle-container {
        padding-top: 15px;
    }
    .row-cont-alert {
        margin-left: 0 !important;
        width: 130%;
    }

    .row-cont-alert-b .alert .alert-content {
        padding: 24px 120px 16px 75px;
    }

    .row-cont-alert-b .alert .alert-content button.alert-close {
        margin-right: 40px;
    }
    
}

@media(min-width:875px) {
    .row-cont-alert-b .alert .alert-content {
        padding: 24px 130px 16px 85px;
    }

    .row-cont-alert-b .alert .alert-content button.alert-close{
        margin-right:55px;
    }
}


@media(min-width:992px) {
    .row-cont-alert {
        margin-left: 0 !important;
        width: 124%;
    }

    .row-cont-alert .alert .alert-content{
        padding:35px 75px 16px 30px;
    }

    .row-cont-alert-b .alert .alert-content {
        padding: 35px 145px 16px 100px;
    }

    .row-cont-alert-b .alert .alert-content button.alert-close{
        margin-right:70px;
    }
}

/* ==========================================================================
   3. Header — desktop (>=1200px)
   ========================================================================== */
@media (min-width: 1200px) {
    /*.osc .osc-hero.osc-circles.animate {
        padding-top: 100px;
    }*/
    /*.osc-circles .osc-circle .container, .osc-circles .osc-circle .osc-circle-container {
        padding-top: 100px;
    }
*/
    .row-cont-alert {
        margin-top: -30px !important;
        margin-bottom: 0 !important;
        margin-left: -6% !important;
        width: 112%;
    }

   /* .row-cont-alert .aler-spc {
       margin-top: -215px;
    }*/
    .row-cont-alert-b {      
        width: 114%;
    }

        .row-cont-alert-b .alert .alert-content {
            padding: 35px 72px 16px 70px;
        }

    .row-cont-alert-b .alert .alert-content button.alert-close {
        margin-right: 0;
    }
    /* Fixed header; slides out of view on scroll (JS adds .is-hidden). */
    .osc .osc-header--home {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--osc-navy);
        transition: background-color .30s ease, box-shadow .30s ease, transform .30s ease;
        will-change: transform;
    }

        .osc .osc-header--home::before {
            content: none;
        }
        /* Search open state: keep full-opacity navy background. */
        .osc .osc-header--home.osc-search-open {
            background-color: var(--osc-navy);
        }
        /* Slide the header off-screen when scrolling down. */
        .osc .osc-header--home.is-hidden {
            transform: translateY(-100%);
        }
        /* Never hide the header while the search overlay is open. */
        .osc .osc-header--home.osc-search-open.is-hidden {
            transform: none;
        }
    /* Pre-paint state for a refresh while scrolled down (see inline script in
       <head>). Without this the fixed header briefly flashes at top:0 over
       the page content before applyScrollState() runs on DOMContentLoaded.
       Removed by JS as soon as the real scroll check completes. */
    .osc-header-preload-hidden .osc .osc-header--home {
        transform: translateY(-100%);
    }

    .osc .osc-header--home > .container {
        display: flex;
        align-items: center;
        min-height: var(--osc-header-h);
        max-width: none;
        width: 100%;
        padding-left: clamp(24px, 4vw, 72px);
        padding-right: clamp(24px, 4vw, 72px);
    }
    /* Mobile overlay controls are not used on desktop. */
    .osc .osc-header--home .osc-menu-close,
    .osc .osc-header--home .osc-menu-toggle {
        display: none !important;
    }
    /* Kids' Programs is hidden from the desktop bar (remains in the mobile overlay).
       !important required to override the equal-specificity menu-parent display:flex rule. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.osc-nav-kids {
        display: none !important;
    }
    /* Donate is shown as a plain link in the desktop nav bar. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.osc-nav-donate {
        display: flex;
        align-items: center;
    }

        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.osc-nav-donate a.menu-item {
            background: transparent;
            color: #fff !important;
            font-family: var(--osc-font);
            font-weight: 400;
            font-size: 18px;
            padding: 0 16px;
            white-space: nowrap;
        }

            .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.osc-nav-donate a.menu-item:hover {
                background: transparent;
                color: #fff !important;
                text-decoration: underline;
                text-decoration-color: var(--osc-teal);
                text-decoration-thickness: 1.5px;
                text-underline-offset: 8px;
            }

    .osc .osc-header--home .osc-top-nav,
    .osc .osc-header--home .osc-top-nav.navbar {
        flex: 1 1 100%;
        align-items: center;
        padding: 0;
    }

    .osc .osc-header--home .osc-top-container {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        padding: 0;
    }

    .osc .osc-header--home .osc-links-top {
        display: flex;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    /* Desktop utility row shows only Search + FR; Contact Us / Exhibit are hidden. */
    .osc .osc-header--home .osc-util-hide {
        display: none !important;
    }

    .osc .osc-header--home .osc-top-nav .buy-tickets {
        display: none !important;
    }

    .osc .osc-header--home .osc-links-top li.nav-item a.nav-link {
        margin: 0 10px;
    }

    .osc .osc-header--home .osc-util-fr a.nav-link {
        font-family: var(--osc-font);
        font-weight: 400;
        font-size: 18px;
        margin: 0;
    }
    /* Search + FR cluster: lives after the menu in the DOM for correct tab order,
       positioned visually at the top-right of the header with CSS. */
    .osc .osc-header--home .osc-util-cluster {
        position: absolute;
        top: 50%;
        right: clamp(24px, 4vw, 72px);
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
        z-index: 4;
    }
    /* Prevents the parent li from clipping the 44×44 touch target. */
    .osc .osc-header--home .osc-util-search {
        margin-left: 0;
        display: inline-flex;
        align-items: center;
    }

        .osc .osc-header--home .osc-util-search a.osc-search {
            margin: 0;
            padding: 0;
        }

    .osc .osc-header--home .osc-util-fr {
        margin-left: 8px;
        display: inline-flex;
        align-items: center;
    }
    /* Search icon: 44×44px touch target (WCAG 2.5.5), transparent background,
       white outline magnifier SVG. Resets any inherited navy fill or box-shadow. */
    .osc .osc-header--home .osc-util-search a.osc-search,
    .osc .osc-header--home .osc-util-search a.osc-search:hover,
    .osc .osc-header--home .osc-util-search a.osc-search:focus,
    .osc .osc-header--home .osc-util-search a.osc-search.active {
        background-color: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        outline: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        line-height: 0;
    }

        .osc .osc-header--home .osc-util-search a.osc-search span.osc-search-icon {
            background-color: transparent !important;
            display: block;
            width: 33px;
            height: 33px;
            background-image: url("data:image/svg+xml,%3Csvg width='33' height='33' viewBox='0 0 33 33' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='14' cy='14' r='12' stroke='white' stroke-width='2'/%3E%3Cline x1='22.5' y1='22.5' x2='29' y2='29' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") !important;
            background-size: 33px 33px;
            background-position: center;
            background-repeat: no-repeat;
            transition: transform .15s ease, opacity .15s ease;
            pointer-events: none;
        }
        /* Subtle scale + fade on hover/focus for search icon affordance. */
        .osc .osc-header--home .osc-util-search a.osc-search:hover span.osc-search-icon,
        .osc .osc-header--home .osc-util-search a.osc-search:focus span.osc-search-icon {
            transform: scale(1.08);
            opacity: .85;
        }

        .osc .osc-header--home .osc-util-search a.osc-search:focus-visible {
            outline: 3px solid #fff;
            outline-offset: 2px;
            border-radius: 4px;
        }
    /* Logo flush with the container left edge. */
    .osc .osc-header--home .osc-logo {
        margin-left: 0;
        padding-left: 0;
    }

        .osc .osc-header--home .osc-logo img {
            max-width: 200px;
        }
    /* Nav menu band spans the full header width; the menu group is centred within it.
       pointer-events:none on the band lets clicks pass through to logo and FR cluster;
       re-enabled on the actual nav items below. */
    .osc .osc-header--home .navbar-expand-xl.navbar-dark {
        position: absolute;
        left: clamp(248px, calc(4vw + 210px), 300px);
        right: clamp(120px, calc(4vw + 90px), 170px);
        top: 50%;
        transform: translateY(-50%);
        padding: 0;
        z-index: 2;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

        .osc .osc-header--home .navbar-expand-xl.navbar-dark .osc-nav,
        .osc .osc-header--home .navbar-expand-xl.navbar-dark .osc-menu,
        .osc .osc-header--home .navbar-expand-xl.navbar-dark .osc-main-menu {
            display: flex;
            justify-content: center;
            width: 100%;
            pointer-events: none;
        }

    .osc .osc-header--home .osc-nav,
    .osc .osc-header--home .osc-nav .osc-menu {
        width: 100%;
    }

        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu {
            align-items: center;
        }

            .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav {
                padding: 0;
                flex-wrap: nowrap;
                justify-content: center;
                gap: 14px;
                pointer-events: auto;
                align-items: center;
                width: 100%;
            }

                .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.menu-parent {
                    display: flex;
                    align-items: center;
                    position: relative;
                }

                    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.menu-parent a.menu-item {
                        display: inline-flex;
                        align-items: center;
                        background: transparent;
                        color: #fff !important;
                        font-family: var(--osc-font);
                        font-weight: 400;
                        font-size: 18px;
                        padding: 12px 10px;
                        white-space: nowrap;
                    }
                        /* Active/hover state: white background, navy text, navy underline. */
                        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.menu-parent a.menu-item:hover,
                        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.menu-parent a.menu-item:active,
                        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.menu-hover a.menu-item,
                        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.menu-focus a.menu-item,
                        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.active a.menu-item {
                            background: #fff;
                            color: var(--osc-navy) !important;
                            text-decoration: underline;
                            text-decoration-color: var(--osc-navy);
                            text-decoration-thickness: 1.5px;
                            text-underline-offset: 6px;
                        }
                /* Dropdown panel: white, flush under the header bar. */
                .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li ul.dropdown-menu {
                    background-color: #fff;
                    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
                    border: 0;
                    border-radius: 0 0 6px 6px;
                    margin-top: 0;
                    padding: 14px 0 22px;
                    /* Fixed width; long labels wrap rather than overflowing the viewport. */
                    width: 280px;
                    min-width: 280px;
                    max-width: 280px;
                    overflow: visible;
                }

                    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li ul.dropdown-menu a.nav-link {
                        background-color: transparent;
                        color: var(--osc-navy) !important;
                        font-family: var(--osc-font);
                        font-weight: 400;
                        font-size: 18px;
                        padding: 12px 28px;
                        white-space: normal;
                        line-height: 1.3;
                    }
                /* All dropdowns open left-aligned under their trigger item. */
                .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li.menu-parent ul.dropdown-menu {
                    left: 0;
                    right: auto;
                }

                .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li ul.dropdown-menu a.nav-link:hover,
                .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li ul.dropdown-menu > li.nav-item.active a.nav-link,
                .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu > ul.navbar-nav > li ul.dropdown-menu > li.nav-item.menu-focus a.nav-link {
                    background-color: transparent;
                    color: var(--osc-navy) !important;
                    text-decoration: underline;
                    text-decoration-color: var(--osc-navy);
                    text-decoration-thickness: 1.5px;
                    text-underline-offset: 4px;
                }
    /* Hero: full viewport height so the section below never peeks in at load. */
    .osc-home .osc-home-hero {
        height: 100vh;
     /*  height: auto;*/
        min-height: 560px;
        padding: 0 0 48px;
    }

    .osc-hero-inner {
        padding-top: clamp(120px, 13vh, 176px);
        /*padding-top: clamp(120px, 15vh, 176px);*/
    }

    .osc-home .osc-home-hero .osc-hero-copy {
        margin-top: 48px;
    }
    /* Hero container: full-width with fluid horizontal gutters, overriding
       Bootstrap's centered fixed-width container. */
    .osc-home .osc-home-hero .container.osc-hero-inner {
        max-width: none;
        width: 100%;
        padding-left: clamp(24px, 4vw, 72px);
        padding-right: clamp(24px, 4vw, 72px);
    }

    /*.osc-home #osc-page-content*/
    .osc #osc-page-content {
        scroll-margin-top: 84px;
    }

    .osc-hero-aside {
        align-items: flex-end;
    }

    .osc-hero-card {
        width: 331px;
        max-width: 331px;
        min-height: 166px;
    }

    .osc-home .osc-home-hero .osc-hero-tickets {
        width: 331px;
        min-width: 0;
        min-height: 55px;
        padding-top: 0;
        padding-bottom: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    /* Play/pause toggle: teal icon, transparent background on desktop. */
    .osc-home .osc-home-hero .osc-hero-toggle {
        width: 44px;
        height: 44px;
        color: var(--osc-teal);
        border-color: rgba(255, 255, 255, 0.85);
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

        .osc-home .osc-home-hero .osc-hero-toggle svg {
            width: 20px;
            height: 20px;
        }
    /* Search bar: overlays the header, pointer-transparent except the input field. */
    .osc .osc-header--home #osc-search-bar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--osc-header-h) !important;
        z-index: 6;
        pointer-events: none;
    }

        .osc .osc-header--home #osc-search-bar .osc-search-header {
            background: transparent;
            padding: 0;
            height: 100%;
        }

            .osc .osc-header--home #osc-search-bar .osc-search-header > .container {
                position: relative;
                height: 100%;
            }
        /* Search form: positioned to avoid overlapping the search icon + FR cluster. */
        .osc .osc-header--home #osc-search-bar .osc-search-form {
            position: absolute;
            left: calc(50% - 160px);
            right: max(clamp(130px, calc(4vw + 96px), 180px), calc(50% - 583px));
            top: 50%;
            transform: translateY(-50%);
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            pointer-events: auto;
            opacity: 0;
            transition: opacity .28s ease;
        }

    .osc .osc-header--home.osc-search-open #osc-search-bar .osc-search-form {
        opacity: 1;
    }

    .osc .osc-header--home #osc-search-bar input.osc-search-field {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        margin: 0;
        background: #fff;
        color: #0A023C;
        border: 0;
        border-radius: 22px;
        height: 44px;
        padding: 10px 24px;
        font-size: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    }

        .osc .osc-header--home #osc-search-bar input.osc-search-field::placeholder {
            color: #5a5a72;
            opacity: 1;
        }

        .osc .osc-header--home #osc-search-bar input.osc-search-field:focus {
            background: #fff;
        }
    /* Submit button is visually hidden; revealed on keyboard focus for accessibility. */
    .osc .osc-header--home #osc-search-bar .osc-search-btn {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

        .osc .osc-header--home #osc-search-bar .osc-search-btn:focus {
            position: static;
            width: auto;
            height: auto;
            clip: auto;
            overflow: visible;
            white-space: normal;
            margin: 0 0 0 10px;
            padding: 11px 22px;
            background: var(--osc-blue);
            color: #fff;
            border-radius: 40px;
        }
    /* When search is open the full nav is hidden; the search-nav replaces it.
       !important required because menubar.js sets inline display styles on #nav
       and main.min.css forces flex layout. */
    .osc .osc-header--home.osc-search-open .navbar-expand-xl.navbar-dark .osc-main-menu > ul.navbar-nav {
        display: none !important;
    }

    .osc .osc-header--home.osc-search-open .navbar-expand-xl.navbar-dark .osc-nav,
    .osc .osc-header--home.osc-search-open .navbar-expand-xl.navbar-dark .osc-menu,
    .osc .osc-header--home.osc-search-open .navbar-expand-xl.navbar-dark .osc-main-menu {
        pointer-events: auto;
    }
    /* Search-state nav: hidden by default, shown only when search is open. */
    .osc .osc-header--home .osc-search-nav {
        display: none;
    }

    .osc .osc-header--home.osc-search-open .osc-search-nav {
        display: flex !important;
        justify-content: center;
        width: 100%;
        position: relative;
    }

        .osc .osc-header--home.osc-search-open .osc-search-nav .osc-search-nav-trigger {
            margin-right: auto;
        }

    .osc .osc-header--home.osc-search-open .osc-search-nav {
        max-width: 760px;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .osc-search-nav .osc-search-nav-trigger,
    .osc .osc-header--home .osc-search-nav .osc-search-nav-trigger {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #fff !important;
        text-decoration: none;
        font-family: var(--osc-font);
        font-weight: 400 !important;
        font-size: 18px !important;
        line-height: 1.2;
        padding: 12px 12px;
    }

        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .osc-search-nav .osc-search-nav-trigger:hover,
        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .osc-search-nav .osc-search-nav-trigger:focus,
        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .osc-search-nav:hover .osc-search-nav-trigger,
        .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .osc-search-nav:focus-within .osc-search-nav-trigger,
        .osc .osc-header--home .osc-search-nav-trigger:hover,
        .osc .osc-header--home .osc-search-nav-trigger:focus,
        .osc .osc-header--home .osc-search-nav:hover .osc-search-nav-trigger,
        .osc .osc-header--home .osc-search-nav:focus-within .osc-search-nav-trigger {
            background: #fff;
            color: var(--osc-navy) !important;
            text-decoration: underline;
            text-decoration-color: var(--osc-navy);
            text-decoration-thickness: 1.5px;
            text-underline-offset: 6px;
        }
            /* Caret icon flips to navy when the trigger has a white background. */
            .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .osc-search-nav .osc-search-nav-trigger:hover .osc-search-nav-caret,
            .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .osc-search-nav .osc-search-nav-trigger:focus .osc-search-nav-caret,
            .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .osc-search-nav:hover .osc-search-nav-caret,
            .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .osc-search-nav:focus-within .osc-search-nav-caret,
            .osc .osc-header--home .osc-search-nav-trigger:hover .osc-search-nav-caret,
            .osc .osc-header--home .osc-search-nav-trigger:focus .osc-search-nav-caret,
            .osc .osc-header--home .osc-search-nav:hover .osc-search-nav-caret,
            .osc .osc-header--home .osc-search-nav:focus-within .osc-search-nav-caret {
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A023C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
            }
    /* Default caret: white chevron. */
    .osc .osc-header--home .osc-search-nav-caret {
        width: 14px;
        height: 14px;
        flex: 0 0 auto;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 14px 14px;
    }
    /* Search-nav dropdown: white panel, opens on hover or focus-within. */
    .osc .osc-header--home .osc-search-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        margin: 0;
        padding: 14px 0 18px;
        list-style: none;
        background: #fff;
        border-radius: 0 0 6px 6px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        width: -moz-max-content;
        width: max-content;
        min-width: 220px;
        z-index: 30;
    }

    .osc .osc-header--home .osc-search-nav:hover .osc-search-nav-menu,
    .osc .osc-header--home .osc-search-nav:focus-within .osc-search-nav-menu {
        display: block;
    }

    .osc .osc-header--home .osc-search-nav-menu li {
        margin: 0;
    }

    .osc .osc-header--home .osc-search-nav-menu a {
        display: block;
        color: var(--osc-navy) !important;
        text-decoration: none;
        font-family: var(--osc-font);
        font-weight: 400;
        font-size: 18px;
        padding: 12px 28px;
        white-space: nowrap;
    }

        .osc .osc-header--home .osc-search-nav-menu a:hover,
        .osc .osc-header--home .osc-search-nav-menu a:focus {
            text-decoration: underline;
            text-decoration-color: var(--osc-navy);
            text-decoration-thickness: 1.5px;
            text-underline-offset: 4px;
        }
}

@media (min-width: 1400px) {

    .row-cont-alert .container, .row-cont-alert-b .container {
        max-width: 1400px;
    }

   /* .row-cont-alert .aler-spc{
        padding-top:120px;
    }*/

    .row-cont-alert-b .alert .alert-content {
        padding: 35px 0px 16px 160px;
    }

    .row-cont-alert-b .alert .alert-content button.alert-close{
        margin-right:-80px;
    }
}

@media (min-width: 1600px) {
    .row-cont-alert .aler-spc {
        margin-top: -10px !important;
    }
}
/* ==========================================================================
   4. Header — mobile + tablet (<1200px)
   ========================================================================== */
@media (max-width: 1199.98px) {

    /* Desktop search + FR cluster is hidden; the overlay contains its own search. */
    .osc .osc-header--home .osc-util-cluster {
        display: none !important;
    }

    .osc .osc-header--home>.container {
        display: flex;
        align-items: center;
        min-height: var(--osc-header-h-mobile);
    }

    .osc .osc-header--home .osc-top-nav.navbar {
        width: 100%;
        flex-wrap: nowrap;
        align-items: center;
        padding: 16px 0;
    }

    .osc .osc-header--home .osc-logo {
        flex: 0 0 auto;
    }

    .osc .osc-header--home .osc-logo img {
        max-width: 168px;
    }

    .osc .osc-header--home .osc-top-container {
        flex: 1 1 auto;
    }

    /* Desktop utility links and Buy Tickets are hidden below 1200px;
       the overlay menu provides equivalent links. */
    .osc .osc-header--home .osc-links-top,
    .osc .osc-header--home .osc-top-container .d-none.d-xl-block,
    .osc .osc-header--home .osc-util-hide {
        display: none !important;
    }

    /* MENU toggle: restyled as a bordered text button. */
    .osc .osc-header--home .osc-top-nav.navbar .navbar-toggler.osc-menu-toggle {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 65px;
        min-width: 65px;
        height: 40px;
        min-height: 40px;
        padding: 0 12px;
        border: 2.0px solid #fff !important;
        border-radius: 2px;
        background: transparent;
        line-height: 1;
    }

    .osc .osc-header--home .osc-menu-toggle .navbar-toggler-icon {
        display: none;
    }

    .osc .osc-header--home .osc-menu-toggle .osc-menu-toggle-label {
        display: inline-block;
        color: #fff;
        font-family: var(--osc-font);
        font-weight: 500;
        font-size: .95rem;
        letter-spacing: .02em;
        text-transform: uppercase;
    }
}


/* ==========================================================================
   4b. Header — tablet-desktop (992–1199.98px): fixed header chrome
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {

    /* Fixed header with scroll-hide behaviour, matching the desktop header. */
    .osc .osc-header--home {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--osc-navy);
        transition: background-color .30s ease, box-shadow .30s ease, transform .30s ease;
        will-change: transform;
    }

    .osc .osc-header--home::before {
        content: none;
    }

    .osc .osc-header--home.is-hidden {
        transform: translateY(-100%);
    }

    .osc .osc-header--home.osc-search-open.is-hidden {
        transform: none;
    }

    /* Same pre-paint flash fix as the >=1200px block above. */
    .osc-header-preload-hidden .osc .osc-header--home {
        transform: translateY(-100%);
    }

    /* The header is fixed here, making it the containing block for fixed children.
       height:100% on the overlay would resolve to the header height, not the
       viewport. Viewport units bypass the fixed ancestor; the doubled class
       increases specificity to override the section-5 height:100% rule. */
    .osc .osc-header--home.osc-header--home #osc-nav-collapse {
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
    }
}


/* ==========================================================================
   5. Mobile nav overlay (<1200px)
   ========================================================================== */
@media (max-width: 1199.98px) {

    .osc .osc-header--home .navbar-expand-xl.navbar-dark {
        padding: 0;
    }

    /* Full-screen overlay: fades and slides in when .show is added. */
    .osc .osc-header--home #osc-nav-collapse {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100% !important;
        display: flex !important;
        flex-direction: column;
        background: var(--osc-navy);
        padding: 14px 22px 40px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
        pointer-events: none;
    }

    .osc .osc-header--home #osc-nav-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    /* Close (×) button: teal icon, top-right of the overlay. */
    .osc .osc-header--home .osc-menu-close {
        flex: 0 0 auto;
        align-self: flex-end;
        width: 44px;
        height: 44px;
        margin: 4px -4px 10px 0;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 0;
        color: var(--osc-teal);
        cursor: pointer;
    }

    .osc .osc-header--home .osc-menu-close svg {
        width: 36px;
        height: 36px;
    }

    .osc .osc-header--home .osc-menu-close:hover {
        color: #fff;
    }

    .osc .osc-header--home .osc-nav,
    .osc .osc-header--home .osc-nav .osc-menu {
        width: 100%;
    }

    /* Mobile search: teal-bordered input with white magnifier icon. */
    .osc .osc-header--home .osc-search-mobile {
        padding: 4px 0 8px;
    }

    .osc .osc-header--home .osc-search-mobile .osc-search-form .osc-form-group {
        border: 2px solid var(--osc-teal);
        border-radius: 0;
        grid-template-columns: 1fr 52px;
        align-items: stretch;
        overflow: hidden;
    }

    .osc .osc-header--home .osc-search-mobile .osc-search-form .osc-form-group input.osc-search-field {
        background: transparent;
        color: #fff;
        border: 0;
        padding: 11px 18px;
        width: 100%;
        min-width: 0;
        font-family: var(--osc-font);
        font-weight: 400;
        font-size: 16px;
    }

    .osc .osc-header--home .osc-search-mobile .osc-search-form .osc-form-group input.osc-search-field::placeholder {
        color: rgba(255, 255, 255, 0.8);
        opacity: 1;
    }

    .osc .osc-header--home .osc-search-mobile .osc-search-form .osc-form-group button.osc-search {
        width: 52px !important;
        max-width: 52px !important;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .osc .osc-header--home .osc-search-mobile .osc-search-form .osc-form-group button.osc-search span.osc-search-icon {
        width: 26px;
        height: 26px;
        border: 0;
        background-color: transparent;
        background-image: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.4504 18.4504L24 24M18.4504 18.4504C16.5334 20.3675 13.9333 21.4444 11.2222 21.4444C8.51112 21.4444 5.91106 20.3675 3.99402 18.4504C2.07698 16.5334 1 13.9333 1 11.2222C1 8.51112 2.07698 5.91106 3.99402 3.99402C5.91106 2.07698 8.51112 1 11.2222 1C13.9333 1 16.5334 2.07698 18.4504 3.99402C20.3675 5.91106 21.4444 8.51112 21.4444 11.2222C21.4444 13.9333 20.3675 16.5334 18.4504 18.4504Z' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 24px 24px;
    }

    /* Nav items: white labels, teal chevrons, no hover backgrounds. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu {
        align-items: stretch;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav {
        padding: 10px 0;
        width: 100%;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent {
        border-bottom: 0;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent:hover,
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent:focus,
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent:focus-within,
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent:focus-visible,
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent a.menu-item:hover,
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent a.menu-item:focus {
        background: transparent !important;
        box-shadow: none !important;
        outline: 0 !important;
    }

    /* Donate and Kids' Programs are shown in the utility links list, not here. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.osc-nav-donate,
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.osc-nav-kids {
        display: none;
    }

    /* Desktop search-nav must be hidden in the overlay to prevent a duplicate
       "What's On" entry appearing after the main nav items. */
    .osc .osc-header--home .osc-search-nav {
        display: none !important;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent a.menu-item {
        color: #fff !important;
        font-family: var(--osc-font);
        font-weight: 400;
        font-size: 16px;
        padding: 6px 0;
    }

    /* Teal chevron expander; replaces the default Bootstrap indicator. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent span.nav-expander,
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li:hover span.nav-expander {
        background-color: transparent;
        border: 0;
        height: 32px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D8C8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 8 12 16 20 8'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 30px 30px;
    }

    /* Submenu accordion: inherits the overlay background, no panel chrome. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li ul.dropdown-menu {
        min-width: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        margin: 0 0 10px;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li ul.dropdown-menu>li.nav-item {
        padding-left: 8px;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li ul.dropdown-menu a.nav-link {
        background-color: transparent;
        color: #fff !important;
        opacity: .9;
        padding: 10px 0;
        line-height: 24px;
        font-family: var(--osc-font);
        font-weight: 400;
        font-size: 16px;
    }

    /* Buy Tickets: pill button, centred in the overlay. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .d-block.d-xl-none {
        display: flex !important;
        justify-content: center;
        width: 100%;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .buy-tickets {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 316px;
        height: 55px;
        text-align: center;
        margin: 16px auto 18px;
        padding: 0 24px;
        border: 3px solid var(--osc-blue);
        border-radius: 40px;
        background: var(--osc-navy-60);
        color: #fff !important;
        font-family: var(--osc-font);
        font-weight: 700;
        font-size: 20px;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .buy-tickets:hover,
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .buy-tickets:focus {
        background: var(--osc-blue);
        color: #fff !important;
    }

    /* Utility links: stacked vertically, one per line. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-links-mobile {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0 0;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-links-mobile a.nav-link {
        color: #fff !important;
        font-family: var(--osc-font);
        font-weight: 400;
        font-size: 16px;
        padding: 12px 0;
        display: block;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-links-mobile a.nav-link:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}


/* ==========================================================================
   5b. Overlay adjustments — 992–1199.98px
   main.min.css enables desktop-flyout styles at >=992px. This block restores
   the overlay's mobile appearance across that range and cancels flyout chrome.
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {

    /* Pin the overlay's root font size to match the 768–991px scale.
       main.min.css increases the global body font at >=992px, which would
       otherwise enlarge all em-based overlay elements in this range. */
    .osc .osc-header--home #osc-nav-collapse {
        font-size: 18.4px;
    }

    /* Reveal overlay search and utility links hidden by main.min.css above 992px. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-links-mobile,
    .osc .osc-header--home .osc-nav .osc-menu .osc-search-mobile {
        display: block;
    }

    /* Reveal the in-overlay Buy Tickets wrapper hidden above 992px. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>.buy-tickets,
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>.d-block.d-xl-none {
        display: block;
    }

    /* Hide the top utility bar and its Buy Tickets; the overlay owns them here. */
    .osc .osc-header--home .osc-top-nav .osc-top-container ul.osc-links-top,
    .osc .osc-header--home .osc-top-nav .osc-top-container>.buy-tickets {
        display: none;
    }

    /* Reveal chevron expanders hidden by main.min.css above 992px. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent span.nav-expander {
        display: inline-block;
    }

    /* Keep the nav label and chevron on the same line.
       main.min.css only applies the inline-block + width constraint below 992px. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent a.menu-item {
        display: inline-block;
        width: calc(100% - 62px);
    }

    /* Cancel Bootstrap's desktop flyout dropdown skin (light bg, shadow, 299px cap)
       so the dark inline accordion from section 5 shows through.
       !important required to override main.min.css's min-width:992px background-color. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li ul.dropdown-menu {
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li ul.dropdown-menu>li.nav-item {
        max-width: none;
    }
}


/* ==========================================================================
   6. Hero — mobile + tablet (<1200px)
   ========================================================================== */
@media (max-width: 1199.98px) {

    /* Full-viewport hero; 100dvh avoids the mobile browser-chrome jump. */
    .osc-home .osc-home-hero {
        position: relative;
       /* height: 100vh;
        height: 100dvh;*/
        height:auto;
        min-height: 560px;
        max-height: none;
        padding: 0;
        display: flex;
    }

    /* Single-column content; top padding clears the overlaid header. */
    .osc-home .osc-home-hero .container.osc-hero-inner {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
        padding: calc(var(--osc-header-h-mobile) + 24px) 16px 28px;
    }

    .osc-home .osc-home-hero .osc-hero-inner>.row {
        flex-direction: column;
        margin: 0;
        flex: 1 1 auto;
    }

    /* Copy block uses fit-content so the teal underline can equal the headline width. */
    .osc-home .osc-home-hero .osc-hero-copy {
        margin-top: 8px;
        padding: 0;
        width: -moz-fit-content;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        flex: 0 0 auto;
    }

    /* Headline uses fit-content so the teal underline tracks the text width exactly. */
    .osc-home .osc-home-hero h1.osc-hero-title {
        width: -moz-fit-content;
        width: fit-content;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        font-size: clamp(3rem, 17vw, 4.5rem);
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    }

    /* Teal underline tracks the headline width. */
    .osc-home .osc-home-hero h1.osc-hero-title::after {
        width: 100%;
        height: 2px;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .osc-home .osc-home-hero .osc-hero-lead {
        text-align: left;
        width: 100%;
        max-width: 33ch;
        margin-left: 0;
        margin-right: 0;
        margin-top: 18px;
        margin-bottom:20px;
        font-size: 16px;
    }

    /* Info card group sits in the lower hero with clearance for the play/pause control. */
    .osc-home .osc-home-hero .osc-hero-aside {
        align-items: center;
        margin-top: auto;
        margin-bottom: 64px;
        padding: 0;
    }

    .osc-home .osc-home-hero .osc-hero-card {
        width: 92%;
        max-width: none;
        min-height: 0;
        margin: 0 auto;
        background: var(--osc-navy-60);
    }

    .osc-home .osc-home-hero .osc-hero-tickets {
        display: block;
        width: 88%;
        min-width: 0;
        margin: 12px auto 0;
    }
    /*.osc-home #osc-page-content*/
    .osc #osc-page-content {
        scroll-margin-top: 0;
    }

    /* Play/pause: repositioned to the bottom-right on mobile, transparent background. */
    .osc-hero-toggle {
        left: auto;
        right: clamp(14px, 5vw, 22px);
        bottom: clamp(14px, 5vw, 22px);
        width: 44px;
        height: 44px;
        color: var(--osc-teal);
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .osc-hero-toggle:hover {
        background: transparent;
    }
}


/* ==========================================================================
   6b. Hero — tablet (768–1199.98px)
   Wider gutters, centred copy, and visual reorder of overlay sections.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199.98px) {

    /* Wider horizontal padding for overlay content. */
    .osc .osc-header--home #osc-nav-collapse {
        padding-left: clamp(40px, 7vw, 96px);
        padding-right: clamp(40px, 7vw, 96px);
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu .buy-tickets {
        margin-left: auto;
        margin-right: auto;
    }

    /* Trim the search field on the right to avoid overlapping the chevron column. */
    .osc .osc-header--home .osc-search-mobile .osc-search-form .osc-form-group {
        margin-right: 45px;
    }

    /* Each nav row is a fixed 48px pitch:
       24px line-height + 12px top padding + 12px bottom padding.
       The chevron is absolute so it never adds row height; the label
       reserves 62px on the right for it and the chevron is pinned at top:8px. */
    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav {
        display: block;
        padding: 0;
        margin-top: 22px;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent {
        position: relative;
        line-height: 0;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent a.menu-item {
        display: block;
        width: calc(100% - 62px);
        line-height: 24px;
        padding: 12px 0;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav>li.menu-parent span.nav-expander {
        position: absolute;
        top: 8px;
        right: 0;
        width: 32px;
        margin: 0;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-links-mobile {
        padding: 0;
    }

    /* Visual order: search → nav → utility links → Buy Tickets.
       display:contents on .osc-main-menu makes its children flex siblings
       within .osc-menu, allowing order values to resequence them. */
    .osc .osc-header--home .osc-nav .osc-menu {
        display: flex;
        flex-direction: column;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu {
        display: contents;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-search-mobile {
        order: 0;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>ul.navbar-nav {
        order: 1;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-links-mobile {
        order: 2;
    }

    .osc .osc-header--home .osc-nav .osc-menu .osc-main-menu>.d-block.d-xl-none {
        order: 3;
        margin-top: 36px;
    }

    /* Hero: centred copy, fluid gutters. Top padding clears the header. */
    .osc-home .osc-home-hero .container.osc-hero-inner {
        padding-top: calc(var(--osc-header-h-mobile) + 24px);
        padding-left: clamp(40px, 7vw, 96px);
        padding-right: clamp(40px, 7vw, 96px);
        align-items: center;
    }

    .osc-home .osc-home-hero .osc-hero-copy {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Fluid headline size for tablet widths. */
    .osc-home .osc-home-hero h1.osc-hero-title {
        font-size: clamp(3.5rem, 10.3vw, 86px);
    }

    .osc-home .osc-home-hero h1.osc-hero-title::after {
        width: 100%;
    }

    .osc-home .osc-home-hero .osc-hero-lead {
        text-align: center;
        max-width: 52ch;
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
    }

    .osc-home .osc-home-hero .osc-hero-aside {
        align-items: center;
    }

    .osc-home .osc-home-hero .osc-hero-card {
        width: 100%;
        max-width: 331px;
        margin-left: auto;
        margin-right: auto;
    }

    .osc-home .osc-home-hero .osc-hero-tickets {
        width: 100%;
        max-width: 316px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ==========================================================================
   7. Focus indicators (WCAG 2.0 SC 2.4.7)
   ========================================================================== */

/* White focus ring for header and hero interactive elements. */
.osc .osc-header--home a:focus-visible,
.osc .osc-header--home button:focus-visible,
.osc .osc-header--home .nav-expander:focus-visible,
.osc .osc-header--home .osc-main-menu>ul.navbar-nav>li.menu-parent:focus-visible,
.osc .osc-header--home .osc-main-menu>ul.navbar-nav>li.menu-parent:focus,
.osc .osc-header--home .osc-search-nav-trigger:focus-visible,
.osc .osc-header--home .osc-search-nav-menu a:focus-visible,
.osc .osc-header--home input.osc-search-field:focus-visible,
.osc-home .osc-home-hero a:focus-visible,
.osc-home .osc-hero-toggle:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Blue focus ring on the white search input for sufficient contrast. */
.osc .osc-header--home #osc-search-bar input.osc-search-field:focus-visible {
    outline: 3px solid var(--osc-blue);
    outline-offset: 2px;
}


/* ==========================================================================
   8. Reduced motion + scroll lock
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    .osc .osc-header--home,
    .osc .osc-header--home::before,
    .osc .osc-header--home>.container,
    .osc .osc-header--home #osc-nav-collapse,
    .osc .osc-header--home .navbar-expand-xl.navbar-dark,
    .osc .osc-header--home .nav-expander,
    .osc-hero-toggle,
    .osc-home .osc-home-hero .osc-hero-tickets {
        transition: none !important;
    }

    .osc .osc-header--home #osc-nav-collapse {
        transform: none !important;
    }
}

/* Prevents page scroll while the mobile overlay is open (toggled by JS). */
body.osc-menu-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}


/* ==========================================================================
   9. Carousel — featured cards (desktop >=1200px)
   ========================================================================== */

/* Full section-width outer wrapper gives the nav buttons a positioning context
   that scales with the viewport via percentage-based left/right values. */
.osc-carousel-outer {
    position: relative;
}

/* Positioning context for the sliding track. */
.osc-carousel {
    position: relative;
}

/* Clips the track so only 3 cards are visible at a time. */
.osc-carousel__viewport {
    overflow: hidden;
}

/* Nav buttons are desktop-only; hidden at all narrower breakpoints. */
.osc-carousel__btn {
    display: none;
}

@media (min-width: 1200px) {

    /* Increase container padding at narrow desktop widths so the nav buttons
       never overlap the outermost cards. At >=1300px both values resolve to
       the Bootstrap container default (20px) and have no effect. */
    .osc-carousel-outer .container {
        padding-left: max(20px, calc(660px - 50vw));
        padding-right: max(20px, calc(645px - 50vw));
        
    }

    /* Nav buttons: active state is a solid navy circle with white chevron. */
    .osc-carousel__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        cursor: pointer;
        background: var(--osc-navy);
        color: #ffffff;
        /* Border matches the background so it is invisible in the active state,
           but provides a consistent box for the inactive state's visible ring. */
        border: 4px solid var(--osc-navy);
        transition: background 0.2s ease, color 0.2s ease;
    }

    /* Inactive state: transparent fill exposes the section background;
       the navy border becomes a visible ring. aria-disabled keeps the button
       in the tab order, unlike the HTML disabled attribute. */
    .osc-carousel__btn[aria-disabled="true"] {
        background: transparent;
        color: var(--osc-navy);
        cursor: default;
    }

    /* WCAG 2.0 SC 2.4.7: navy outline on the teal background meets the
       required 3:1 contrast ratio for non-text elements. */
    .osc-carousel__btn:focus-visible {
        outline: 4px solid var(--osc-navy);
        outline-offset: 3px;
    }

    /* Asymmetric values (661px / 646px) compensate for Bootstrap .row's -15px
       negative margin, which makes the left and right card content edges
       naturally asymmetric. Both values produce an equal visual gap at >=1350px.
       max(0px,…) keeps buttons on-screen at narrow desktop widths. */
    .osc-carousel__btn--prev {
        left: max(0px, calc(50% - 661px));
    }

    .osc-carousel__btn--next {
        right: max(0px, calc(50% - 646px));
    }

    /* Track: 133.333% + 20px wide.
       The +20px compensates for Bootstrap .row's -15px negative margins on
       both sides (4/3 × 15px = 20px) so the 4th card starts exactly at the
       viewport right edge with no bleed. */
    .osc-carousel .osc-related-items {
        flex-wrap: nowrap;
        width: calc(133.333% + 20px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    /* Each card is 25% of the track, which equals 1/3 of the visible 3-card area. */
    .osc-carousel .osc-related-item {
        flex: 0 0 25%;
        max-width: 25%;
    }
}


/* ==========================================================================
   10. Carousel — tablet single-column layout (769–1199.98px)
   ========================================================================== */

/* Override Bootstrap col-md-4 (33.33%) to stack cards in a single centred column,
   matching the mobile layout. Width scales with the viewport. */
@media (min-width: 769px) and (max-width: 1199.98px) {
    .osc-carousel .osc-related-item {
        flex: none;
        width: clamp(300px, 68vw, 100%);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ==========================================================================
   11. Carousel — vertical centring within the teal section (desktop >=1200px)
   ========================================================================== */

/* main.min.css sets 72px top/bottom padding on .osc-circle-a, then an
   .osc-home-scoped rule removes the top padding, leaving the cards
   flush with the section top. These values restore equal spacing above
   and below the card group. */
@media (min-width: 1200px) {
    .osc-home .osc-related.osc-exhibition .osc-circle-a {
        padding-top: 68px;
        padding-bottom: 4px;
    }
}