/*
Theme Name:  Ravineesh Starter Theme
Theme URI:   https://example.com/ravineesh-starter-theme
Author:      Ravineesh
Author URI:  https://example.com
Description: Pixel-perfect WordPress theme based on Doon Public School Etah. Features a sticky header with logo, off-canvas sidebar navigation, announcement ticker, hero slider, Why Choose Doon overlapping card, Life at Doon cards, News & Events grid, Leadership Messages, four additional editable homepage sections, and a gold-accented navy footer. All content driven by the Customizer — zero hardcoded text.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ravineesh-starter
Tags:        custom-menu, custom-logo, featured-images, full-width-template, education
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --navy:        #1a3a6b;
    --navy-dark:   #0f2548;
    --gold:        #d4a017;
    --white:       #ffffff;
    --gray-bg:     #f5f6f8;
    --gray-light:  #efefef;
    --gray-text:   #6b7280;
    --gray-border: #e5e7eb;
    --dark:        #222222;
    --red-dot:     #ef4444;
    --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
    --shadow-md:   0 4px 20px rgba(0,0,0,.12);
    --shadow-xl:   0 10px 40px rgba(0,0,0,.16);
    --radius-pill: 9999px;
    --transition:  0.3s ease;
    --container:   1200px;
    --header-h:    72px;
    --ticker-h:    33px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 15px; }
body  {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button{ cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   UTILITY
   ============================================================ */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1rem;
}
.container--wide {
    max-width: min(1440px, calc(100vw - 2rem));
}

/* ============================================================
   ① STICKY HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow-sm);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);          /* 72 px */
    padding-inline: 1.5rem;
}

/* Logo + school name link */
.site-branding {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}
.site-branding img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}
.site-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.2;
}

/* Hamburger */
.menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    border-radius: 4px;
    transition: background var(--transition);
    flex-shrink: 0;
}
.menu-toggle:hover { background: #f3f4f6; }

/* Custom Header Button (replaces hamburger when sidebar is hidden) */
.header-custom-btn-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header-custom-btn {
    background: var(--gold);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .55rem 1.25rem;
    border: 2px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.header-custom-btn:hover {
    background: transparent;
    color: var(--gold);
}
/* The shortcode output sits invisibly beside the button so plugins
   can render modals/popups triggered by the button above */
.header-custom-btn-sc {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
    pointer-events: none;
}

/* ============================================================
   ② ANNOUNCEMENT TICKER
   ============================================================ */
.announcement-bar {
    display: flex;
    align-items: center;
    height: var(--ticker-h);          /* 33 px */
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    position: relative;
    z-index: 490;
    overflow: hidden;
}

.announcement-label {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-shrink: 0;
    padding-inline: 1rem;
    height: 100%;
    border-right: 1px solid var(--gray-border);
    white-space: nowrap;
}
.announcement-label svg    { color: var(--navy); flex-shrink: 0; }
.ann-label-text            { font-size: 10px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .1em; }
.ann-sep                   { font-size: 10px; color: #9ca3af; }
.ann-count                 { font-size: 10px; font-weight: 700; color: var(--navy); }

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-items {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: rav-ticker 38s linear infinite;
}
.ticker-items:hover { animation-play-state: paused; }

.ticker-item {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    color: #374151;
    letter-spacing: .01em;
}
.ticker-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--red-dot);
    margin-inline: 1.1rem;
    flex-shrink: 0;
}

@keyframes rav-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   ③ OFF-CANVAS SIDEBAR
   ============================================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 600;
    opacity: 0;
    transition: opacity var(--transition);
}
.sidebar-overlay.is-visible { display: block; opacity: 1; }

.site-sidebar {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100%;
    background: var(--navy);
    z-index: 700;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
}
.site-sidebar.is-open { transform: translateX(0); }

/* Close button row */
.sidebar-top-bar {
    display: flex;
    justify-content: flex-end;
    padding: .65rem .65rem .65rem 0;
}
.sidebar-close {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1rem; font-weight: 700;
    border-radius: 2px;
    transition: background var(--transition);
}
.sidebar-close:hover { background: rgba(255,255,255,.12); }

/* Login links */
.sidebar-login-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top:    1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid rgba(255,255,255,.2);
}
.sidebar-login-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: .7rem 0;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-right: 1px solid rgba(255,255,255,.2);
    transition: background var(--transition);
    text-align: center;
    line-height: 1.2;
}
.sidebar-login-link:last-child { border-right: none; }
.sidebar-login-link:hover      { background: rgba(255,255,255,.1); }

/* Nav links */
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 13px 18px;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transition: background var(--transition);
}
.sidebar-nav a:hover        { background: rgba(255,255,255,.1); }
.sidebar-nav a.active-page  { background: #fff; color: var(--navy); }

/* ============================================================
   ④ HERO SLIDER
   The hero sits below header (72px) + ticker (33px) = 105px
   ============================================================ */
.hero-wrapper { position: relative; }

.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 105px);
    max-height: 720px;
    min-height: 420px;
    overflow: hidden;
    background: var(--navy);
}

/* Slides */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}
.hero-slide.is-active { opacity: 1; z-index: 2; }

.hero-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Dark gradient band at bottom 45% of slider */
.hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background: rgba(0,0,0,.65);
    z-index: 3;
}

/* Text + arrows live inside the dark band */
.hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-inline: 1rem;
    gap: .25rem;
}

.hero-slide-text { display: none; }
.hero-slide-text:first-child { display: block; }

.hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: clamp(2.4rem, 5.5vw, 4.25rem);
    font-weight: 500;
    color: var(--gold);
    line-height: 1.15;
    margin-bottom: .3rem;
}

.hero-subtitle {
    font-size: clamp(.6rem, 1.3vw, .8rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .25em;
    margin-bottom: .9rem;
}

.hero-cta-btn {
    display: inline-block;
    margin-bottom: .85rem;
    background: var(--gold);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    padding: .65rem 1.75rem;
    border: 2px solid var(--gold);
    transition: background var(--transition), color var(--transition);
}
.hero-cta-btn:hover {
    background: transparent;
    color: var(--gold);
}

.hero-arrows {
    display: flex;
    gap: 1.5rem;
    margin-top: .5rem;
}
.hero-arrow {
    font-size: 1.4rem;
    color: rgba(255,255,255,.85);
    padding: .2rem .4rem;
    transition: color var(--transition);
}
.hero-arrow:hover { color: var(--gold); }

/* ============================================================
   ⑤ WHY CHOOSE DOON  (overlapping card)
   ============================================================ */
.why-doon-section {
    position: relative;
    z-index: 10;
    max-width: 960px;
    margin: -4rem auto 0;
    padding-inline: 1rem;
}

.why-doon-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    box-shadow: var(--shadow-xl);
}
@media (min-width: 768px) {
    .why-doon-card { flex-direction: row; }
}

/* Left: image */
.why-doon-image {
    flex-shrink: 0;
    min-height: 280px;
    background: #d4e0ee;
    overflow: hidden;
}
@media (min-width: 768px) { .why-doon-image { width: 42%; } }
.why-doon-image img { width: 100%; height: 100%; object-fit: cover; }

/* Right: content */
.why-doon-content {
    flex: 1;
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.why-doon-content h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .6rem;
}
.why-doon-content > p {
    font-size: .85rem;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

/* Stats 2×2 grid */
.why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.5rem;
}
.why-stat { display: flex; align-items: flex-start; gap: .65rem; }
.why-stat-icon  { font-size: 1.5rem; flex-shrink: 0; margin-top: 1px; }
.why-stat-num   { font-size: 1.1rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.why-stat-label { font-size: .72rem; color: var(--gray-text); line-height: 1.3; }

/* ============================================================
   FLOATING ROUND HIGHLIGHTS
   ============================================================ */
.round-showcase-section {
    position: relative;
    min-height: 620px;
    padding: 4.5rem 0;
    overflow: hidden;
    background-color: var(--round-bg-color, #ffffff);
    background-image: var(--round-bg);
    background-size: cover;
    background-position: center;
    isolation: isolate;
}
.round-showcase-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,248,252,.82));
    z-index: -2;
}
.round-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,58,107,.06), rgba(232,41,74,.04), rgba(26,58,107,.06));
    z-index: -1;
}
.round-showcase-inner {
    position: relative;
    min-height: 520px;
}
.round-showcase-heading {
    max-width: 620px;
    margin: 0 auto 1.8rem;
    color: var(--navy);
    text-align: center;
    text-shadow: none;
}
.round-showcase-heading p {
    margin: 0 0 .45rem;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.round-showcase-heading span {
    display: block;
    font-size: .88rem;
    line-height: 1.7;
    color: var(--gray-text);
}
.round-orbit-stage {
    position: relative;
    min-height: 470px;
}
.round-stats-grid {
    display: block;
}
.round-media-cluster {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(680px, 58vw);
    height: min(430px, 38vw);
    transform: translate(-50%, -47%);
}
.round-bubble {
    position: absolute;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,.96);
    border-radius: 50%;
    background: #dbe7f3;
    box-shadow: 0 18px 45px rgba(26,58,107,.18);
    animation: roundFloat 7s ease-in-out infinite;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, filter .35s ease;
    will-change: transform;
}
.round-bubble img,
.round-bubble video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .35s ease;
}
.round-bubble:hover {
    animation-play-state: paused;
    transform: translate3d(0, -18px, 0) scale(1.08);
    border-color: var(--white);
    box-shadow: 0 26px 60px rgba(26,58,107,.28);
    filter: saturate(1.08);
    z-index: 20;
}
.round-bubble:hover img,
.round-bubble:hover video {
    transform: scale(1.1);
}
.round-bubble--xl { width: 210px; height: 210px; }
.round-bubble--lg { width: 170px; height: 170px; }
.round-bubble--md { width: 128px; height: 128px; }
.round-bubble--sm { width: 86px; height: 86px; }
.round-bubble--1 { left: 39%; top: 4%; z-index: 4; animation-delay: -.6s; }
.round-bubble--2 { left: 56%; top: 4%; z-index: 3; animation-delay: -1.7s; }
.round-bubble--3 { left: 42%; top: 38%; z-index: 6; animation-delay: -2.4s; }
.round-bubble--4 { left: 23%; top: 45%; z-index: 5; animation-delay: -3.1s; }
.round-bubble--5 { left: 16%; top: 9%; z-index: 2; animation-delay: -1.1s; }
.round-bubble--6 { left: 4%; top: 16%; z-index: 1; animation-delay: -2.8s; }
.round-bubble--7 { left: 77%; top: 61%; z-index: 4; animation-delay: -1.9s; }
.round-bubble--8 { left: 82%; top: 7%; z-index: 2; animation-delay: -.9s; }
.round-bubble--9 { left: 88%; top: 32%; z-index: 2; animation-delay: -3.6s; }
.round-stat {
    position: absolute;
    top: var(--stat-top);
    display: inline-flex;
    align-items: center;
    min-width: 170px;
    height: 43px;
    background: var(--white);
    color: #161923;
    box-shadow: 0 12px 30px rgba(26,58,107,.18);
    z-index: 40;
    transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
    will-change: transform;
    animation: roundStatFloat 7s ease-in-out infinite;
    text-decoration: none;
}
.round-stat:hover {
    animation-play-state: paused;
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 42px rgba(26,58,107,.28);
    filter: saturate(1.08);
    animation: roundStatHover .75s ease-in-out both;
}
.round-stat strong {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 54px;
    padding: 0 .65rem;
    background: #e8294a;
    color: var(--white);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}
.round-stat span {
    padding: 0 .9rem;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}
.round-stat::after {
    display: none;
}
.round-stat::before {
    display: none;
}
.round-stat--left {
    left: calc(50% - 470px);
}
.round-stat--left::after {
    left: 100%;
    transform: translateY(-50%) rotate(var(--line-rotate, 23deg));
    transform-origin: left center;
}
.round-stat--left::before {
    left: calc(100% + var(--line-width, 118px));
    transform: translate(-50%, -50%);
}
.round-stat--right {
    right: calc(50% - 470px);
    flex-direction: row-reverse;
}
.round-stat--right::after {
    right: 100%;
    transform: translateY(-50%) rotate(var(--line-rotate, -23deg));
    transform-origin: right center;
}
.round-stat--right::before {
    right: calc(100% + var(--line-width, 118px));
    transform: translate(50%, -50%);
}
.round-stat--1 { top: 5%; --line-width: 120px; --line-rotate: 24deg; animation-delay: -.6s; }
.round-stat--2 { top: 38%; left: calc(50% - 540px); --line-width: 145px; --line-rotate: -18deg; animation-delay: -3.1s; }
.round-stat--3 { top: 72%; --line-width: 125px; --line-rotate: -24deg; animation-delay: -2.8s; }
.round-stat--4 { top: 5%; --line-width: 110px; --line-rotate: -22deg; animation-delay: -.9s; }
.round-stat--5 { top: 37%; right: calc(50% - 535px); --line-width: 130px; --line-rotate: 18deg; animation-delay: -3.6s; }
.round-stat--6 { top: 67%; --line-width: 118px; --line-rotate: 22deg; animation-delay: -1.9s; }

@keyframes roundFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -14px, 0) scale(1.025); }
}

@keyframes roundStatFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -12px; }
}

@keyframes roundStatHover {
    0% { transform: translateY(0) scale(1); }
    45% { transform: translateY(-9px) scale(1.055); }
    100% { transform: translateY(-7px) scale(1.04); }
}

@media (max-width: 980px) {
    .round-showcase-section { padding: 3.5rem 0; }
    .round-showcase-inner { min-height: 760px; }
    .round-orbit-stage { min-height: 700px; }
    .round-media-cluster {
        top: 48%;
        width: min(640px, 94vw);
        height: 420px;
    }
    .round-stat {
        min-width: 148px;
        height: 40px;
    }
    .round-stat::after { display: none; }
    .round-stat--left { left: 1rem; }
    .round-stat--right { right: 1rem; }
    .round-stat span { font-size: .78rem; white-space: normal; }
    .round-stat strong { min-width: 48px; font-size: .84rem; }
}

@media (max-width: 640px) {
    .round-showcase-section { min-height: 830px; padding: 3rem 0; }
    .round-showcase-heading {
        margin-bottom: 1.25rem;
        padding-inline: 1rem;
    }
    .round-showcase-heading p { font-size: 1.18rem; }
    .round-showcase-heading span { font-size: .78rem; }
    .round-showcase-inner { min-height: 760px; }
    .round-orbit-stage {
        min-height: 700px;
        padding-top: 250px;
    }
    .round-media-cluster {
        top: 55%;
        width: 330px;
        max-width: calc(100vw - 2rem);
        height: 360px;
    }
    .round-bubble--xl { width: 138px; height: 138px; }
    .round-bubble--lg { width: 116px; height: 116px; }
    .round-bubble--md { width: 88px; height: 88px; }
    .round-bubble--sm { width: 64px; height: 64px; }
    .round-stat {
        min-width: 136px;
        max-width: calc(50vw - 1.35rem);
        height: auto;
        min-height: 38px;
    }
    .round-stat strong {
        min-width: 42px;
        font-size: .76rem;
    }
    .round-stat span {
        padding: .45rem .55rem;
        font-size: .7rem;
    }
    .round-stat--left { left: .75rem; }
    .round-stat--right { right: .75rem; }
}


.round-showcase-section.is-hidden-by-device {
    display: none !important;
}

.round-showcase--hide-desktop,
.round-showcase--hide-mobile {
    display: block;
}

@media (min-width: 768px) {
    .round-showcase--hide-desktop {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .round-showcase--hide-mobile {
        display: none !important;
    }

    .round-stats-grid {
        display: none !important;
    }

    .round-showcase-section {
        min-height: auto;
        padding: 3rem 0;
    }
    .round-showcase-inner,
    .round-orbit-stage {
        min-height: auto;
    }
    .round-orbit-stage {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-top: 0;
    }
    .round-showcase-heading {
        margin-bottom: 1.25rem;
        padding-inline: 1rem;
    }
    .round-showcase-heading p {
        font-size: 1.18rem;
    }
    .round-showcase-heading span {
        font-size: .8rem;
    }
    .round-media-cluster {
        position: relative;
        left: auto;
        top: auto;
        order: 1;
        width: 100%;
        max-width: none;
        height: auto;
        transform: none;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .75rem;
    }
    .round-bubble {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        animation: none;
        transform: none !important;
    }
    .round-bubble:hover {
        transform: none !important;
        box-shadow: 0 18px 45px rgba(26,58,107,.18);
    }
    .round-bubble img,
    .round-bubble video {
        display: block;
    }
    .round-bubble:hover img,
    .round-bubble:hover video {
        transform: none;
    }
    .round-stats-grid {
        order: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }
    .round-stat {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        min-width: 0;
        max-width: none;
        width: 100%;
        min-height: 48px;
        height: auto;
        animation: none;
    }
    .round-stat:hover {
        transform: translateY(-4px) scale(1.02);
    }
    .round-stat strong {
        min-width: 44px;
        font-size: .78rem;
        padding: .55rem .5rem;
    }
    .round-stat span {
        padding: .55rem .65rem;
        font-size: .74rem;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .round-media-cluster,
    .round-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ⑥ LIFE AT DOON
   ============================================================ */
.life-section {
    padding-block: 3.5rem;
    background: var(--white);
}

/* Shared section heading / sub-heading */
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .08em;
    margin-bottom: .65rem;
}
.section-subtitle {
    font-size: .85rem;
    color: var(--gray-text);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.25rem;
    line-height: 1.7;
}

/* Horizontal scrollable row */
.life-cards {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding-bottom: .25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.life-card {
    position: relative;
    flex-shrink: 0;
    width: 19%;
    min-width: 165px;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
    background: #c5d5e8;
}
.life-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.life-card:hover img { transform: scale(1.06); }

/* Navy pill label at bottom */
.life-card-label {
    position: absolute;
    bottom: .9rem;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: var(--navy);
    color: var(--white);
    font-size: .68rem;
    font-weight: 600;
    text-align: center;
    padding: .4rem .75rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

/* ============================================================
   ⑦ NEWS AND EVENTS
   ============================================================ */
.news-section {
    padding-block: 3.5rem;
    background: var(--gray-bg);
}

.news-grid {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

/* Featured large card */
.news-featured {
    display: block;
    flex-shrink: 0;
    width: 38%;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    background: #1f2937;
    cursor: pointer;
}
.news-featured img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    position: absolute; inset: 0;
}
.news-featured:hover img { transform: scale(1.05); }

.news-featured-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.28) 55%,
        transparent 100%);
    z-index: 1;
}
.news-featured-content {
    position: absolute;
    bottom: 0; left: 0;
    padding: 1.4rem 1.5rem;
    z-index: 2;
}

/* Category tag */
.news-tag {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    padding: 3px 10px;
    margin-bottom: .6rem;
    border-radius: 2px;
}

.news-featured-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: .6rem;
}
.news-featured-desc {
    color: rgba(255,255,255,.72);
    font-size: .7rem;
    line-height: 1.6;
}

/* 2×2 news card grid */
.news-cards-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-content: start;
}

.news-card {
    background: var(--white);
    display: flex;
    gap: .75rem;
    padding: .9rem;
    cursor: pointer;
    transition: box-shadow var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); }

.news-card-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    background: #e8eef7;
}
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.news-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-card-title {
    font-size: .7rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}
.news-read-more {
    display: inline-block;
    margin-top: .5rem;
    background: var(--dark);
    color: var(--white);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    padding: 5px 10px;
    align-self: flex-start;
    transition: background var(--transition);
}
.news-read-more:hover { background: var(--navy); color: var(--white); }

/* ============================================================
   ⑧ LEADERSHIP MESSAGES
   ============================================================ */
.leadership-section {
    padding-block: 3.5rem;
    background: var(--gray-light);
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
}
@media (min-width: 768px) {
    .leadership-grid { grid-template-columns: 1fr 1fr; }
}

.leadership-block-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .18em;
    text-align: center;
    margin-bottom: 1.4rem;
}

.leadership-card {
    display: flex;
    height: 280px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Navy panel (58%) */
.leadership-panel {
    width: 58%;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-inline: 2rem;
    flex-shrink: 0;
}
.leadership-cta {
    display: inline-block;
    border: 1px solid var(--white);
    color: var(--white);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    padding: 10px 18px;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}
.leadership-cta:hover { background: var(--white); color: var(--navy); }

/* Photo (42%) */
.leadership-photo {
    flex: 1;
    overflow: hidden;
    background: #c5d5e8;
}
.leadership-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ============================================================
   ⑨ FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.7);
    padding-top: 3rem;
    border-top: 4px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: .78rem;
    line-height: 1.75;
    color: rgba(255,255,255,.65);
}

.footer-col-title {
    font-size: .7rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: .9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.footer-links a,
.footer-contact-link {
    font-size: .78rem;
    color: rgba(255,255,255,.65);
    transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact-link:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-block: 1.4rem;
    text-align: center;
    font-size: .68rem;
    color: rgba(255,255,255,.38);
}

/* ============================================================
   ⑩ SCROLL-TO-TOP
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 450;
    width: 40px; height: 40px;
    background: var(--navy);
    color: var(--white);
    display: none;                 /* shown via JS after scroll */
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    transition: background var(--transition);
    border: none;
}
.scroll-top:hover { background: var(--navy-dark); }

/* ============================================================
   ⑪ CONTENT PAGES  (page.php / single.php / index.php loop)
   ============================================================ */
.rav-content-page {
    padding-block: 3rem 4rem;
}

/* Page & post titles */
.entry-title {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--navy);
    margin-bottom: .5rem;
    line-height: 1.2;
}
.entry-title a {
    color: inherit;
    transition: color var(--transition);
}
.entry-title a:hover { color: var(--gold); }

/* Date / category meta */
.entry-meta {
    font-size: .78rem;
    color: #888;
    margin-bottom: 1.5rem;
}

/* Featured image */
.rav-page-thumb,
.rav-post-thumb {
    margin-bottom: 1.75rem;
    border-radius: 6px;
    overflow: hidden;
}
.rav-page-thumb img,
.rav-post-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* Prose content */
.entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text, #333);
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: .6rem;
}
.entry-content p       { margin-bottom: 1.2rem; }
.entry-content ul,
.entry-content ol      { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.entry-content li      { margin-bottom: .4rem; }
.entry-content a       { color: var(--gold); text-decoration: underline; }
.entry-content img     { max-width: 100%; height: auto; border-radius: 4px; }
.entry-content blockquote {
    border-left: 4px solid var(--gold);
    margin-inline: 0;
    padding: .75rem 1.25rem;
    background: #faf7f0;
    font-style: italic;
    color: #555;
    border-radius: 0 4px 4px 0;
}

/* Read-more link (index.php loop) */
.rav-read-more {
    display: inline-block;
    margin-top: .5rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold);
    transition: color var(--transition);
}
.rav-read-more:hover { color: var(--navy); }

/* Individual post entries in index/blog */
.rav-post-entry {
    border-bottom: 1px solid #eee;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Pagination */
.rav-pagination {
    margin-top: 2.5rem;
}
.rav-pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.rav-pagination .page-numbers {
    padding: .35rem .8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: .82rem;
    color: var(--navy);
    transition: background var(--transition), color var(--transition);
}
.rav-pagination .page-numbers.current,
.rav-pagination .page-numbers:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* Post navigation (single.php) */
.rav-post-nav { margin-top: 3rem; }
.rav-post-nav .nav-links { display: flex; justify-content: space-between; gap: 1rem; }
.rav-post-nav a { font-size: .82rem; color: var(--gold); }
.rav-post-nav .nav-subtitle { display: block; font-weight: 700; color: var(--navy); }

/* Entry tags */
.entry-tags { font-size: .78rem; color: #888; margin-top: 1.5rem; }
.entry-tags a { color: var(--gold); }

/* Page-header (archive / search) */
.page-header { margin-bottom: 2rem; }
.page-title {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--navy);
}

/* No-results */
.rav-no-results { text-align: center; padding: 3rem 1rem; }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 900px) {
    .news-grid { flex-direction: column; }
    .news-featured { width: 100%; min-height: 260px; }
}

@media (max-width: 640px) {
    .site-title         { font-size: .9rem; }
    .why-doon-section   { margin-top: -1.5rem; }
    .hero-slider        { max-height: 460px; }
    .life-card          { min-width: 145px; height: 230px; }
    .news-cards-grid    { grid-template-columns: 1fr; }
    .leadership-card    { height: 220px; }
    .leadership-panel   { padding-inline: 1.25rem; }
}

/* ============================================================
   ⑩ NEW HOMEPAGE SECTIONS
   ============================================================ */
.section-heading.center-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.explore-cards-section,
.wings-section,
.events-engagements-section,
.highlights-tabs-section {
    position: relative;
    padding: 5rem 0;
}

.explore-cards-section {
    background:
        radial-gradient(circle at top left, rgba(208, 70, 58, 0.08), transparent 26%),
        radial-gradient(circle at bottom right, rgba(26, 58, 107, 0.08), transparent 28%),
        linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}
.explore-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}
.explore-card-item {
    background: #fff;
    border-radius: 1.85rem;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
    padding: 2rem 1.6rem 0;
    min-height: 330px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.explore-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.18);
}
.explore-card-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 1.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f8dfdc;
    color: #b3342b;
    font-size: 2rem;
}
.explore-card-item h3 {
    font-size: 1.9rem;
    line-height: 1.15;
    color: #b3342b;
    margin-bottom: .85rem;
}
.explore-card-item p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 290px;
    margin: 0 auto 1.75rem;
}
.explore-card-link {
    --btn-bg: var(--navy);
    --btn-color: #fff;
    --btn-border: transparent;
    --btn-shadow: none;
    margin-top: auto;
    background: var(--btn-bg) !important;
    color: var(--btn-color) !important;
    border: 1px solid var(--btn-border);
    box-shadow: var(--btn-shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: .8rem;
    width: min(100%, 260px);
    min-height: 56px;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.1;
    text-align: center;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.explore-card-link:hover {
    color: var(--btn-color) !important;
    transform: translateY(-2px);
}
.explore-card-link--default {
    --btn-bg: linear-gradient(135deg, #173b65 0%, #245489 100%);
    --btn-color: #fff;
    --btn-shadow: 0 10px 22px rgba(23, 59, 101, 0.18);
}
.explore-card-link--three-d {
    --btn-bg: linear-gradient(180deg, #2c5d96 0%, #173b65 100%);
    --btn-color: #fff;
    --btn-shadow: 0 8px 0 #0f2948, 0 16px 28px rgba(18, 44, 77, 0.25);
    transform: translateY(-2px);
}
.explore-card-link--three-d:hover {
    transform: translateY(2px);
    --btn-shadow: 0 4px 0 #0f2948, 0 10px 18px rgba(18, 44, 77, 0.22);
}
.explore-card-link--rounded {
    --btn-bg: linear-gradient(135deg, #183f6d 0%, #2a5f97 100%);
    --btn-color: #fff;
    --btn-shadow: 0 12px 24px rgba(23, 59, 101, 0.18);
    border-radius: 999px;
    width: min(100%, 230px);
}
.explore-card-link--small {
    --btn-bg: #163a64;
    --btn-color: #fff;
    --btn-shadow: 0 10px 20px rgba(22, 58, 100, 0.16);
    border-radius: 999px;
    width: auto;
    min-width: 145px;
    min-height: 44px;
    padding: .72rem 1rem;
    font-size: .92rem;
}
.explore-card-link--small .explore-card-plus {
    width: 24px;
    height: 24px;
    font-size: .9rem;
}
.explore-card-link--glass {
    --btn-bg: rgba(20, 58, 99, 0.16);
    --btn-color: #163a64;
    --btn-border: rgba(255, 255, 255, 0.55);
    --btn-shadow: 0 10px 24px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.explore-card-link--glass:hover {
    --btn-bg: rgba(20, 58, 99, 0.22);
}
.explore-card-link--glass .explore-card-plus {
    border-color: rgba(22, 58, 100, 0.45);
}
.explore-card-plus {
    width: 24px;
    height: 24px;
    font-size: .9rem;
}
.explore-card-link--glass {
    background: rgba(20, 58, 99, 0.16);
    color: #163a64;
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,.42);
}
.explore-card-link--glass:hover {
    background: rgba(20, 58, 99, 0.22);
    color: #163a64;
}
.explore-card-link--glass .explore-card-plus {
    border-color: rgba(22, 58, 100, 0.45);
}
.explore-card-plus {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255,255,255,.8);
    line-height: 1;
}

.wings-section {
    background: linear-gradient(90deg, rgba(209, 88, 75, 0.08) 0 30%, rgba(47, 106, 176, 0.08) 30% 100%), #fbfbfb;
    overflow: hidden;
}
.wings-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.45) 0 1px, transparent 1px), linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
    background-size: 16px 16px, 100% 100%;
    opacity: .55;
    pointer-events: none;
}
.wings-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
    align-items: start;
}
.wings-title {
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    line-height: 1.08;
    color: #4b5563;
    max-width: 650px;
    margin-bottom: 2rem;
}
.wings-title strong,
.wings-title span { color: #b3342b; }
.wings-main-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}
.wings-intro {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.wings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 2rem;
}
.wing-box {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 1.2rem;
    padding: 1.35rem;
    box-shadow: 0 10px 24px rgba(15, 37, 72, 0.08);
}
.wing-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 1.2rem;
    font-size: 1.9rem;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}
.wing-box h3 {
    color: var(--navy);
    font-size: 1.85rem;
    line-height: 1.15;
    margin-bottom: .75rem;
}
.wing-box p {
    color: #5b6472;
    font-size: 1rem;
    line-height: 1.7;
}

.events-engagements-section {
    background: #fff;
}
.events-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.5rem;
    align-items: start;
}
.events-track-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.events-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 320px);
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: .5rem .15rem 1rem;
    scrollbar-width: none;
    flex: 1 1 auto;
    min-width: 0;
}
.events-track::-webkit-scrollbar { display: none; }
.events-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-md);
    color: var(--navy);
    font-size: 1.4rem;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    z-index: 3;
}
.event-card {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 28px rgba(15, 37, 72, 0.08);
}
.event-card-image-wrap {
    position: relative;
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
}
.event-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.event-card:hover .event-card-image-wrap img { transform: scale(1.06); }
.event-card-tag {
    position: absolute;
    left: .85rem;
    bottom: .85rem;
    background: #b3342b;
    color: #fff;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.event-card-body {
    padding: 1rem;
}
.event-card-body h3 {
    font-size: 1.15rem;
    color: #1f2937;
    line-height: 1.35;
    margin-bottom: .6rem;
}
.event-card-body p {
    color: #6b7280;
    font-size: .95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.mini-read-btn,
.events-side-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
    background: #b3342b;
    color: #fff;
    padding: .7rem 1rem;
    font-size: .83rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}
.events-side-box {
    background: #f8f5f4;
    border-left: 5px solid #b3342b;
    padding: 1.3rem 1.1rem;
    border-radius: .5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    min-height: 580px;
    display: flex;
    flex-direction: column;
}
.events-side-label {
    color: #6b7280;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .9rem;
}
.events-side-marquee {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 400px;
    max-height: 430px;
    margin-bottom: 1rem;
    mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.events-side-marquee-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    will-change: transform;
}
.events-side-box p {
    font-size: .96rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
    padding: 1rem;
    border-radius: .75rem;
    background: rgba(255,255,255,.78);
}
.highlights-tabs-section {
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}
.highlights-stage {
    position: relative;
    min-height: 420px;
}
.highlight-panel {
    display: none;
    grid-template-columns: 1.15fr .85fr;
    gap: 0;
    border-radius: 1.2rem 1.2rem 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #fff;
}
.highlight-panel.is-active {
    display: grid;
}
.highlight-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}
.highlight-copy {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26,58,107,.96), rgba(15,37,72,.92));
    color: #fff;
}
.highlight-copy h3 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.highlight-copy p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(255,255,255,.88);
}
.highlights-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 0 0 1rem 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.highlight-tab {
    text-align: left;
    padding: 1rem 1.1rem;
    background: #fff;
    border-right: 1px solid #edf0f3;
    transition: background .25s ease, color .25s ease;
}
.highlight-tab:last-child { border-right: none; }
.highlight-tab.is-active {
    background: var(--navy);
    color: #fff;
}
.highlight-tab-label {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .75;
    margin-bottom: .45rem;
}
.highlight-tab-title {
    display: block;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .explore-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wings-layout,
    .events-layout,
    .highlight-panel { grid-template-columns: 1fr; }
    .events-side-box { position: static; }
}

@media (max-width: 767px) {
    .explore-cards-section,
    .wings-section,
    .events-engagements-section,
    .highlights-tabs-section { padding: 3.5rem 0; }
    .explore-cards-grid,
    .wings-grid,
    .highlights-tabs { grid-template-columns: 1fr; }
    .explore-card-item h3,
    .wing-box h3 { font-size: 1.45rem; }
    .wings-title { font-size: 2.2rem; }
    .events-track { grid-auto-columns: 82%; }
    .events-nav { display: none; }
    .events-side-box { min-height: auto; }
    .events-side-marquee { min-height: 260px; max-height: 260px; }
    .highlight-copy,
    .highlight-panel .highlight-media img { min-height: auto; }
    .highlight-copy { padding: 2rem 1.25rem; }
}

/* ============================================================
   ⑪ QUICK ACTION BUTTONS + HUB + MEDIA SHOWCASE ENHANCEMENTS
   ============================================================ */
.next-step-cta-section {
    padding: 3.5rem 0 4.5rem;
    background: #f6f4f2;
}
.next-step-title {
    text-align: center;
    color: #a40039;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: .03em;
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase;
}
.next-step-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    max-width: 980px;
    margin: 0 auto;
}
.next-step-btn {
    --btn-bg: #a40039;
    --btn-text: #ffffff;
    min-height: 66px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 1.4rem;
    background: var(--btn-bg);
    color: var(--btn-text);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.12);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, border-radius .25s ease, background .25s ease, color .25s ease;
}
.next-step-btn.is-maroon { --btn-bg: #a40039; --btn-text: #ffffff; }
.next-step-btn.is-gold { --btn-bg: #f3b313; --btn-text: #8e1f1f; }
.next-step-btn:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 36px rgba(17, 24, 39, 0.18);
    filter: saturate(1.05);
}

.hub-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    padding: 5rem 0;
}
.hub-quick-links {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.hub-link-card {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: 1rem .9rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #d9e2ec;
    box-shadow: 0 10px 24px rgba(15, 37, 72, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hub-link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26,58,107,.26);
    box-shadow: 0 18px 32px rgba(15, 37, 72, 0.12);
}
.hub-link-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    border-radius: .9rem;
    background: linear-gradient(135deg, rgba(26,58,107,.09), rgba(179,52,43,.08));
    flex-shrink: 0;
}
.hub-link-copy strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: .18rem;
}
.hub-link-copy span {
    display: block;
    color: #5b6472;
    font-size: .86rem;
    line-height: 1.45;
}
.hub-board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}
.hub-board-card {
    background: #fff;
    border: 1px solid #c5d0de;
    border-radius: 1rem;
    box-shadow: 0 12px 26px rgba(15, 37, 72, 0.08);
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}
.hub-board-card h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.hub-board-list {
    border-top: 1px solid #e4e8ef;
    border-bottom: 1px solid #e4e8ef;
    padding: .4rem 0;
    flex: 1 1 auto;
    overflow: auto;
}
.hub-board-list p {
    margin: 0;
    padding: .9rem 0;
    border-bottom: 1px solid #edf1f5;
    color: #354052;
    line-height: 1.55;
    font-size: .95rem;
}
.hub-board-list p:last-child { border-bottom: 0; }
.hub-board-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.1rem;
    color: var(--navy);
    font-weight: 700;
}

/* Stylish animated academic wings cards */
.wings-section {
    background:
        radial-gradient(circle at top left, rgba(179,52,43,.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(26,58,107,.12), transparent 24%),
        linear-gradient(135deg, #fbfbfb 0%, #f4f7fb 100%);
}
.wings-title {
    color: #27364d;
    font-weight: 800;
}
.wings-main-image {
    border-radius: 1.4rem;
    border: 8px solid rgba(255,255,255,.82);
}
.wings-grid {
    gap: 1.4rem;
}
.wing-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(248,251,255,.88) 100%);
    border: 1px solid rgba(190, 205, 224, 0.75);
    border-radius: 1.35rem;
    padding: 1.35rem;
    box-shadow: 0 20px 40px rgba(15, 37, 72, 0.10);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    animation: wingFloat 6s ease-in-out infinite;
}
.wing-box:nth-child(2) { animation-delay: .5s; }
.wing-box:nth-child(3) { animation-delay: 1s; }
.wing-box:nth-child(4) { animation-delay: 1.5s; }
.wing-box::before {
    content: '';
    position: absolute;
    inset: auto -30% -45% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(179,52,43,.13) 0%, rgba(179,52,43,0) 70%);
    pointer-events: none;
}
.wing-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.7) 32%, transparent 58%);
    transform: translateX(-130%);
    transition: transform .7s ease;
    pointer-events: none;
}
.wing-box:hover {
    transform: translateY(-10px) rotateX(1deg) rotateY(-1deg);
    box-shadow: 0 28px 48px rgba(15, 37, 72, 0.18);
    border-color: rgba(179,52,43,.35);
}
.wing-box:hover::after { transform: translateX(130%); }
.wing-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: rgba(26,58,107,.08);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.wing-icon-wrap {
    position: relative;
    display: inline-flex;
    margin-bottom: 1rem;
}
.wing-glow {
    position: absolute;
    inset: -12px;
    border-radius: 1.4rem;
    background: radial-gradient(circle, rgba(243,179,19,.32) 0%, rgba(243,179,19,0) 70%);
    z-index: 0;
}
.wing-icon {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 76px;
    border-radius: 1.3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8e6d7 100%);
    font-size: 2rem;
    box-shadow: 0 14px 28px rgba(15, 37, 72, 0.10);
}
.wing-box h3 {
    font-size: 1.55rem;
    margin-bottom: .75rem;
}
.wing-box p {
    font-size: .96rem;
    line-height: 1.75;
    margin-bottom: 1.15rem;
}
.wing-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding-top: .95rem;
    border-top: 1px solid rgba(209, 219, 231, 0.92);
    color: var(--navy);
    font-weight: 700;
    font-size: .92rem;
}
.wing-link-arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #173b65 0%, #2c5d96 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(23, 59, 101, 0.18);
}
@keyframes wingFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.media-showcase-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f7f2ef 0%, #ffffff 100%);
}
.media-showcase-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 1.7rem;
    align-items: start;
}
.media-showcase-layout--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 920px;
    margin: 0 auto;
}
.media-showcase-layout--double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}
.media-videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.7rem;
}
.media-feature-card {
    background: #fff;
    border-radius: 1.35rem;
    padding: 1.25rem;
    box-shadow: 0 16px 34px rgba(15, 37, 72, 0.10);
    border: 1px solid rgba(205, 213, 224, 0.86);
}
.media-feature-card h3 {
    font-size: 1.55rem;
    line-height: 1.2;
    color: var(--navy);
    margin: .95rem 0 .65rem;
}
.media-feature-card p {
    color: #596273;
    line-height: 1.75;
    font-size: .96rem;
}
.media-feature-card--single {
    padding: 1.5rem;
}
.media-feature-card--single .media-video {
    margin-top: 1rem;
}
.media-feature-card--dual {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}
.media-feature-card--dual .media-video {
    margin-top: 1rem;
}
.media-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: rgba(164,0,57,.08);
    color: #a40039;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.media-feature-card--photo {
    padding: 1.5rem;
}
.media-feature-copy {
    margin-bottom: 1.25rem;
}
.media-photo-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.media-photo-item {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 26px rgba(15, 37, 72, 0.12);
    min-height: 340px;
}
.media-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.media-photo-item:hover img { transform: scale(1.06); }
.media-photo-item span {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: .75rem .95rem;
    border-radius: .85rem;
    background: rgba(15, 37, 72, 0.72);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
}
.media-video {
    width: 100%;
    display: block;
    border-radius: 1rem;
    background: #0f172a;
    overflow: hidden;
    aspect-ratio: 16/9;
}

@media (max-width: 1200px) {
    .hub-quick-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hub-board-grid,
    .media-showcase-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .next-step-cta-section,
    .hub-section,
    .media-showcase-section { padding: 3.5rem 0; }
    .next-step-buttons,
    .hub-quick-links,
    .hub-board-grid,
    .media-photo-stack { grid-template-columns: 1fr; }
    .next-step-title { margin-bottom: 1.4rem; }
    .next-step-btn { min-height: 58px; font-size: .98rem; }
    .hub-board-card { min-height: auto; }
    .media-photo-item { min-height: 260px; }
}


/* ============================================================
   Quick Access & Important Updates auto-scroll improvements
   ============================================================ */
.hub-quick-links-viewport {
    overflow: hidden;
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
}
.hub-quick-links-viewport::before,
.hub-quick-links-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    width: 72px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.hub-quick-links-viewport::before {
    left: 0;
    background: linear-gradient(90deg, #f7fafc 0%, rgba(247,250,252,0) 100%);
}
.hub-quick-links-viewport::after {
    right: 0;
    background: linear-gradient(270deg, #f7fafc 0%, rgba(247,250,252,0) 100%);
}
.hub-quick-links--marquee {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.2rem;
    width: max-content;
    animation: hubMarquee 26s linear infinite;
    will-change: transform;
}
.hub-quick-links--marquee:hover {
    animation-play-state: paused;
}
.hub-link-card {
    min-width: 250px;
    max-width: 250px;
    min-height: 108px;
    padding: 1.2rem 1.05rem;
    align-items: center;
}
.hub-link-card .hub-link-icon {
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
}
.hub-link-card .hub-link-copy strong {
    font-size: 1.05rem;
}
.hub-link-card .hub-link-copy span {
    font-size: .9rem;
}

.hub-board-list--auto {
    overflow: hidden;
    position: relative;
    min-height: 250px;
    max-height: 250px;
}
.hub-board-list-track {
    display: flex;
    flex-direction: column;
    animation: hubVerticalScroll 18s linear infinite;
    will-change: transform;
}
.hub-board-card:hover .hub-board-list-track {
    animation-play-state: paused;
}

@keyframes hubMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - .6rem)); }
}
@keyframes hubVerticalScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@media (max-width: 1024px) {
    .hub-link-card {
        min-width: 230px;
        max-width: 230px;
    }
}
@media (max-width: 767px) {
    .hub-quick-links-viewport::before,
    .hub-quick-links-viewport::after {
        width: 36px;
    }
    .hub-link-card {
        min-width: 210px;
        max-width: 210px;
        min-height: 96px;
    }
    .hub-board-list--auto {
        min-height: 210px;
        max-height: 210px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hub-quick-links--marquee,
    .hub-board-list-track {
        animation: none !important;
    }
}


/* ============================================================
   READY FOR WHAT'S NEXT BUTTON STYLE OPTIONS
   ============================================================ */
.next-step-btn--default {
    border-radius: 999px;
}
.next-step-btn--three-d {
    border-radius: 18px;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0,0,0,.18), inset 0 -5px 0 rgba(0,0,0,.16);
}
.next-step-btn--rounded { border-radius: 999px; padding-inline: 1.9rem; }
.next-step-btn--small {
    min-height: 46px;
    padding: .75rem 1.2rem;
    font-size: .84rem;
    letter-spacing: .08em;
}
.next-step-btn--glass {
    background: rgba(255,255,255,.18) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(10, 25, 48, .18);
}
.next-step-btn--floating {
    animation: nextStepFloat 3.2s ease-in-out infinite;
    box-shadow: 0 16px 28px rgba(0,0,0,.16);
}
.next-step-btn--flip-hover {
    transform-style: preserve-3d;
    border-radius: 16px;
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.next-step-btn--flip-hover:hover { transform: rotateX(12deg) translateY(-3px); }
.next-step-btn--shadow-4d {
    border-radius: 14px;
    box-shadow: 0 4px 0 rgba(0,0,0,.18), 0 10px 0 rgba(0,0,0,.07), 0 18px 28px rgba(0,0,0,.18);
}
.next-step-btn--text-animated {
    position: relative;
    overflow: hidden;
}
.next-step-btn--text-animated::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.25) 45%, transparent 90%);
    transform: translateX(-120%);
    animation: nextStepShine 2.8s linear infinite;
}
.next-step-btn--professional {
    border-radius: 14px;
    box-shadow: 0 14px 24px rgba(17, 24, 39, .14);
    letter-spacing: .12em;
}
.next-step-btn--ux-modern {
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(17,24,39,.12);
    position: relative;
    overflow: hidden;
}
.next-step-btn--ux-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 58%);
    pointer-events: none;
}
@keyframes nextStepFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes nextStepShine {
    from { transform: translateX(-120%); }
    to { transform: translateX(120%); }
}


/* ============================================================
   HERO SLIDER ENHANCEMENTS
   ============================================================ */
.hero-slider { --hero-transition-speed: 1100ms; }
.hero-slide,
.hero-slide img,
.hero-slide-text {
    transition-duration: var(--hero-transition-speed);
}
.hero-slide img { transition-property: transform, filter, opacity; }
.hero-slide { transition-property: opacity, transform, filter; }
.hero-slider--fade .hero-slide { transform: scale(1); filter: none; }
.hero-slider--zoom .hero-slide img,
.hero-slider--zoom-fade .hero-slide img { transform: scale(1.12); }
.hero-slider--zoom .hero-slide.is-active img,
.hero-slider--zoom-fade .hero-slide.is-active img { transform: scale(1); }
.hero-slider--slide .hero-slide,
.hero-slider--slide-sweep .hero-slide { transform: translateX(8%); }
.hero-slider--slide .hero-slide.is-active,
.hero-slider--slide-sweep .hero-slide.is-active { transform: translateX(0); }
.hero-slider--cinematic .hero-slide img,
.hero-slider--cinematic-pan .hero-slide img { transform: scale(1.08) translateX(-2%); }
.hero-slider--cinematic .hero-slide.is-active img,
.hero-slider--cinematic-pan .hero-slide.is-active img { transform: scale(1) translateX(0); }
.hero-slider--blur .hero-slide,
.hero-slider--blur-focus .hero-slide { filter: blur(8px); }
.hero-slider--blur .hero-slide.is-active,
.hero-slider--blur-focus .hero-slide.is-active { filter: blur(0); }

.hero-slide-text {
    opacity: 0;
    transform: translate3d(0, 38px, 0);
    transition-property: opacity, transform, filter;
}
.hero-slide-text.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.hero-slider--content-slide .hero-slide-text { transform: translate3d(-46px, 0, 0); }
.hero-slider--content-slide .hero-slide-text.is-active { transform: translate3d(0, 0, 0); }
.hero-slider--content-zoom .hero-slide-text { transform: scale(.88); }
.hero-slider--content-zoom .hero-slide-text.is-active { transform: scale(1); }
.hero-slider--content-flip .hero-slide-text { transform: perspective(900px) rotateX(-16deg) translateY(18px); transform-origin: top center; }
.hero-slider--content-flip .hero-slide-text.is-active { transform: perspective(900px) rotateX(0deg) translateY(0); }
.hero-slider--content-reveal .hero-slide-text { filter: blur(10px); transform: translate3d(0, 18px, 0); }
.hero-slider--content-reveal .hero-slide-text.is-active { filter: blur(0); }

/* ============================================================
   HERO VIDEO STRIP SECTION
   ============================================================ */
.hero-video-strip-section {
    padding: 1.25rem 0 1rem;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(9,26,48,0.04) 100%);
}
.hero-video-strip-section .container.container--wide {
    max-width: min(100% - 2rem, 1400px);
    width: min(100% - 2rem, 1400px);
    padding-left: 0;
    padding-right: 0;
}
.hero-video-strip-section .section-heading {
    margin-bottom: 1.15rem;
}
.hero-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}
.hero-video-poster-card {
    min-width: 0;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(17,43,78,0.08);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(16, 35, 64, 0.12);
    overflow: hidden;
    backdrop-filter: blur(8px);
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: transform .3s ease, box-shadow .3s ease;
}
.hero-video-poster-card.is-visible {
    opacity: 1;
    transform: translate3d(0,0,0);
}
.hero-video-card-trigger {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    display: block;
    text-align: left;
    cursor: pointer;
}
.hero-video-card-trigger:focus-visible {
    outline: 3px solid rgba(33, 150, 243, 0.35);
    outline-offset: 4px;
}
.hero-video-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f2036;
    overflow: hidden;
}
.hero-video-card-poster {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transform: scale(1.001);
    transition: transform .6s ease;
}
.hero-video-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,17,31,0.05) 0%, rgba(5,17,31,0.25) 45%, rgba(5,17,31,0.72) 100%);
}
.hero-video-card-branding {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    z-index: 2;
}
.hero-video-card-play {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    backdrop-filter: blur(8px);
    animation: none;
}
.hero-video-card-play svg {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}
.hero-video-card-school {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .01em;
    text-shadow: 0 3px 14px rgba(0,0,0,0.45);
    line-height: 1.25;
}
.hero-video-card-title-wrap {
    padding: 1rem 1.05rem 1.1rem;
}
.hero-video-card-title {
    padding: 0;
    font-size: .98rem;
    line-height: 1.42;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .01em;
    white-space: normal;
}
.hero-video-poster-card:hover {
    transform: translate3d(0,-8px,0);
    box-shadow: 0 24px 52px rgba(16, 35, 64, 0.18);
}
.hero-video-poster-card:hover .hero-video-card-poster,
.hero-video-card-trigger:focus-visible .hero-video-card-poster {
    transform: scale(1.06);
}
.hero-video-modal[hidden] {
    display: none;
}
.hero-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}
.hero-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 16, 28, 0.72);
    backdrop-filter: blur(4px);
}
.hero-video-modal-dialog {
    position: relative;
    width: min(100% - 1.5rem, 980px);
    margin: min(6vh, 48px) auto;
    background: #0c1726;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0,0,0,0.45);
    z-index: 1;
}
.hero-video-modal-player-wrap {
    background: #000;
    aspect-ratio: 16 / 9;
}
.hero-video-modal-player {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-video-modal-title {
    padding: 1rem 1.25rem 1.2rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.hero-video-modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}
@keyframes ravPlayPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 24px rgba(0,0,0,0.22); }
    50% { transform: scale(1.05); box-shadow: 0 14px 30px rgba(0,0,0,0.28); }
}
@media (max-width: 991px) {
    .hero-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .hero-video-strip-section { padding: .75rem 0 .5rem; }
    .hero-video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .hero-video-card-school {
        font-size: .92rem;
    }
    .hero-video-card-play {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    .hero-video-modal-dialog {
        width: min(100% - 1rem, 980px);
        margin: 16vw auto;
    }
}

/* Performance-safe preview for Customizer */
.hero-video-card-poster {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.hero-video-strip-section.is-customizer-preview .hero-video-card-video {
    pointer-events:none;
}


/* Customizer hard performance mode */
.rav-customizer-preview .ticker-items,
.rav-customizer-preview .hub-quick-links--marquee,
.rav-customizer-preview .hub-notice-board,
.rav-customizer-preview .hero-slide,
.rav-customizer-preview .hero-video-card-play,
.rav-customizer-preview .round-bubble,
.rav-customizer-preview .round-stat,
.rav-customizer-preview .wing-box,
.rav-customizer-preview .next-step-card,
.rav-customizer-preview .events-side-marquee-inner {
    animation: none !important;
    transition: none !important;
}
.rav-customizer-preview .media-video {
    background: #0f2036;
}
.rav-customizer-preview .media-video video {
    display: none !important;
}
.media-video--poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
}
.media-video--poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-video-poster-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: rgba(11,27,48,0.82);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .01em;
}


/* ============================================================
   CUSTOMIZER HARD PERFORMANCE MODE
   ============================================================ */
.rav-customizer-preview *,
.rav-customizer-preview *::before,
.rav-customizer-preview *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
.rav-customizer-preview .hero-video-modal,
.rav-customizer-preview .media-video video,
.rav-customizer-preview .media-video source {
    display: none !important;
}
.rav-customizer-preview .hero-slide:not(.is-active) {
    display: none !important;
}
.rav-customizer-preview .hero-slider-control,
.rav-customizer-preview .scroll-top {
    display: none !important;
}
.rav-customizer-preview .hero-video-card-trigger--static {
    display: block;
    cursor: default;
}
.rav-customizer-preview .hero-video-poster-card {
    opacity: 1 !important;
    transform: none !important;
}
.rav-customizer-preview .hero-video-card-play {
    box-shadow: none !important;
}


.hero-video-card-link {
    text-decoration: none;
    color: inherit;
}
.media-video--poster-link {
    position: relative;
    overflow: hidden;
}
.media-video--poster-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,18,32,0.08) 0%, rgba(6,18,32,0.38) 100%);
}
.media-video--poster-link .media-video-poster-badge {
    z-index: 1;
}

/* Video playback fixes: 6-box autoplay preview + playable 2-box media section */
.hero-video-card-preview,
.hero-video-card-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-card-preview {
    pointer-events: none;
    transform: scale(1.001);
    transition: transform .6s ease;
}
.hero-video-poster-card:hover .hero-video-card-preview,
.hero-video-card-trigger:focus-visible .hero-video-card-preview {
    transform: scale(1.06);
}
.media-video--playable {
    background: #000;
}
.media-video-player {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    background: #000;
}
.media-video--playable .media-video-poster-badge {
    pointer-events: none;
    opacity: .92;
}
.media-video--playable:has(video:hover) .media-video-poster-badge,
.media-video--playable:has(video:focus) .media-video-poster-badge {
    opacity: 0;
}
.rav-customizer-preview .hero-video-card-preview,
.rav-customizer-preview .media-video-player {
    display: none !important;
}
