/* ELMP Cinematic Child v2.0 - clean stable CSS */

:root {
    --elmp-bg: #0d0d0f;
    --elmp-bg-2: #141416;
    --elmp-card: #1c1c20;
    --elmp-text: #f7f4ef;
    --elmp-muted: #b9b3aa;
    --elmp-orange: #f47b20;
    --elmp-orange-2: #ff9a3c;
    --elmp-line: rgba(255,255,255,.12);
    --elmp-sidebar-w: 230px;
}

body.elmp-cinematic-home {
    margin: 0;
    background: var(--elmp-bg);
    color: var(--elmp-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.elmp-cinematic-home a {
    color: inherit;
    text-decoration: none;
}

.elmp-skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 99999;
    background: var(--elmp-orange);
    color: #111;
    padding: 10px 14px;
    border-radius: 12px;
}

.elmp-skip-link:focus {
    top: 20px;
}

.elmp-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--elmp-sidebar-w) minmax(0, 1fr);
    background:
        radial-gradient(circle at 80% 10%, rgba(244,123,32,.18), transparent 30%),
        linear-gradient(180deg, #09090a 0%, #141416 100%);
}

/* Sidebar */
.elmp-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 18px;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        #101012;
    background-size: 28px 28px;
    border-right: 1px solid var(--elmp-line);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 9000;
    overflow: visible;
}

.elmp-logo-link {
    display: block;
    flex: 0 0 auto;
}

.elmp-logo-mark {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--elmp-orange), #a83d0b);
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #111;
    box-shadow: 0 0 32px rgba(244,123,32,.55);
    overflow: hidden;
}

.elmp-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.elmp-logo-text {
    display: block;
    margin-top: 16px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.02em;
}

.elmp-sidebar-bottom {
    margin-top: auto;
    display: grid;
    gap: 18px;
}

.elmp-lang-pill {
    width: fit-content;
    color: #111;
    background: var(--elmp-orange);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 900;
}

.elmp-socials {
    display: flex;
    gap: 8px;
}

.elmp-socials a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--elmp-line);
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.75);
    font-size: 12px;
    text-transform: uppercase;
}

/* Main WP menu - clean and stable */
.elmp-nav {
    margin-top: 14px;
    overflow: visible;
}

.elmp-nav-list,
.elmp-nav-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.elmp-nav-list {
    display: grid;
    gap: 10px;
    overflow: visible;
}

.elmp-nav-list li {
    position: relative;
    margin: 0;
    overflow: visible;
}

.elmp-nav-list a {
    position: relative;
    display: block;
    padding: 12px 42px 12px 18px;
    color: rgba(255,255,255,.84);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .08em;
    border-radius: 14px;
    line-height: 1.25;
    background: transparent;
}

.elmp-nav-list > li > a:hover,
.elmp-nav-list > li.current-menu-item > a,
.elmp-nav-list > li.current_page_item > a,
.elmp-nav-list > li.current-menu-ancestor > a,
.elmp-nav-list > li.elmp-open > a {
    color: #fff;
    background: rgba(244,123,32,.14);
}

.elmp-nav-list > li.current-menu-item > a::before,
.elmp-nav-list > li.current_page_item > a::before,
.elmp-nav-list > li.current-menu-ancestor > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 20px;
    background: var(--elmp-orange);
    box-shadow: 0 0 16px var(--elmp-orange);
}

/* Kill pseudo arrows from older versions */
.elmp-nav-list li > a::after {
    content: none !important;
    display: none !important;
}

/* Separate arrow button: only this opens submenu */
.elmp-submenu-toggle {
    position: absolute;
    right: 8px;
    top: 6px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    z-index: 30;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--elmp-orange-2);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.elmp-submenu-toggle:hover,
.elmp-open > .elmp-submenu-toggle {
    background: rgba(244,123,32,.26);
    color: #fff;
}

/* Windows-style submenu window */
.elmp-nav-list .sub-menu {
    display: none;
    position: absolute;
    left: calc(100% + 14px);
    top: -8px;
    width: 430px;
    max-width: calc(100vw - var(--elmp-sidebar-w) - 40px);
    max-height: calc(100vh - 24px);
    overflow: visible;
    padding: 36px 8px 10px;
    z-index: 10000;
    background: #c7c7c7;
    color: #111;
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff #3f3f3f #3f3f3f #ffffff;
    border-radius: 0;
    box-shadow: 2px 2px 0 #000, 18px 24px 55px rgba(0,0,0,.58);
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
    backdrop-filter: none;
}

.elmp-nav-list li.elmp-open > .sub-menu {
    display: block;
}

/* Nested windows open to the right of their parent window */
.elmp-nav-list .sub-menu .sub-menu {
    left: calc(100% + 10px);
    top: -10px;
    width: 390px;
    max-width: calc(100vw - var(--elmp-sidebar-w) - 60px);
    z-index: 10001;
}

/* Title bar */
.elmp-nav-list .sub-menu::before {
    content: attr(data-window-title);
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 24px;
    display: flex;
    align-items: center;
    padding: 0 36px 0 8px;
    background: linear-gradient(90deg, #f47b20, #ff9a3c);
    color: #111;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.elmp-nav-list .sub-menu::after {
    content: "×";
    position: absolute;
    top: 7px;
    right: 8px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: #111;
    background: #f4f4f4;
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff #3f3f3f #3f3f3f #ffffff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

/* Links inside submenu windows */
.elmp-nav-list .sub-menu a {
    display: block;
    padding: 8px 42px 8px 10px;
    margin: 2px 0;
    color: #111;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
}

.elmp-nav-list .sub-menu a:hover,
.elmp-nav-list .sub-menu li.elmp-open > a {
    color: #111;
    background: var(--elmp-orange);
}

.elmp-nav-list .sub-menu .elmp-submenu-toggle {
    top: 4px;
    right: 4px;
    color: #111;
}

.elmp-nav-list .sub-menu .elmp-submenu-toggle:hover,
.elmp-nav-list .sub-menu .elmp-open > .elmp-submenu-toggle {
    background: var(--elmp-orange);
    color: #111;
}

/* Main content */
.elmp-main {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.elmp-video-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    background: #050506;
    overflow: hidden;
    border-bottom: 1px solid var(--elmp-line);
    z-index: 1;
}

.elmp-video-hero > *,
.elmp-video-hero .rev_slider_wrapper,
.elmp-video-hero .rev_slider,
.elmp-video-hero rs-module-wrap,
.elmp-video-hero rs-module {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.elmp-video-hero video {
    max-width: none !important;
}

.elmp-video-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background:
        linear-gradient(90deg, rgba(5,5,6,.18) 0%, rgba(5,5,6,.05) 55%, rgba(5,5,6,.10) 100%),
        linear-gradient(180deg, rgba(5,5,6,.08) 0%, rgba(5,5,6,.14) 100%);
}

.elmp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--elmp-line);
    border-bottom: 1px solid var(--elmp-line);
    background: #151517;
}

.elmp-stats div {
    padding: 30px clamp(22px, 4vw, 50px);
    border-right: 1px solid var(--elmp-line);
}

.elmp-stats div:last-child {
    border-right: 0;
}

.elmp-stats strong {
    display: block;
    color: var(--elmp-orange);
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
}

.elmp-stats span {
    color: var(--elmp-muted);
    font-weight: 700;
}

.elmp-section {
    padding: clamp(58px, 7vw, 98px) clamp(24px, 6vw, 90px);
}

.elmp-section-head {
    max-width: 880px;
    margin-bottom: 34px;
}

.elmp-section-head h2,
.elmp-split-cta h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 72px);
    line-height: .95;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.elmp-section-head h2::after {
    content: "";
    display: block;
    width: 92px;
    height: 5px;
    margin-top: 18px;
    border-radius: 99px;
    background: var(--elmp-orange);
    box-shadow: 0 0 18px rgba(244,123,32,.55);
}

.elmp-kicker {
    color: var(--elmp-orange-2);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 900;
    font-size: 13px;
    margin: 0 0 16px;
}

.elmp-section-head p,
.elmp-split-cta p,
.elmp-info-grid p,
.elmp-cinematic-footer p {
    color: var(--elmp-muted);
    line-height: 1.7;
    font-size: 16px;
}

.elmp-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.elmp-filter-pills button {
    border: 1px solid rgba(255,255,255,.17);
    background: rgba(255,255,255,.04);
    color: #fff;
    padding: 11px 15px;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 12px;
}

.elmp-filter-pills button.is-active {
    color: #111;
    background: var(--elmp-orange);
    border-color: var(--elmp-orange);
}

.elmp-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.elmp-exhibit-card {
    min-width: 0;
    background: linear-gradient(180deg, #242428, #19191c);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.elmp-exhibit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(244,123,32,.68);
    box-shadow: 0 24px 90px rgba(244,123,32,.12), 0 24px 80px rgba(0,0,0,.45);
}

.elmp-exhibit-card.is-hidden {
    display: none;
}

.elmp-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: radial-gradient(circle at 50% 35%, rgba(244,123,32,.24), transparent 32%), #111;
    overflow: hidden;
}

.elmp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.95) contrast(1.08);
}

.elmp-card-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.35);
    font-size: 40px;
    font-weight: 900;
    letter-spacing: .12em;
}

.elmp-card-body {
    padding: 22px;
}

.elmp-card-category {
    display: block;
    color: var(--elmp-orange-2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .11em;
    margin-bottom: 10px;
}

.elmp-card-body h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 23px;
    letter-spacing: -.03em;
}

.elmp-card-body p {
    color: var(--elmp-muted);
    line-height: 1.6;
    margin: 0 0 18px;
}

.elmp-card-link {
    color: var(--elmp-orange-2);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 12px;
}

.elmp-load-more-wrap {
    text-align: center;
    margin-top: 34px;
}

.elmp-counter {
    color: var(--elmp-muted);
    margin: 12px 0 0;
}

.elmp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
}

.elmp-btn-primary {
    color: #111;
    background: var(--elmp-orange);
}

.elmp-btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.26);
    background: rgba(255,255,255,.04);
}

.elmp-btn-dark {
    color: #111;
    background: #fff;
}

.elmp-end-message {
    max-width: 760px;
    margin: 40px auto 0;
    text-align: center;
    padding: 34px;
    border-radius: 28px;
    border: 1px solid rgba(244,123,32,.4);
    background: radial-gradient(circle at 50% 0%, rgba(244,123,32,.17), transparent 38%), #18181b;
}

.elmp-end-emoji {
    font-size: 44px;
}

.elmp-end-message h3 {
    font-size: 34px;
    margin: 8px 0;
}

.elmp-end-message p {
    color: var(--elmp-muted);
    font-size: 19px;
    line-height: 1.6;
}

.elmp-split-cta {
    margin: 0 clamp(24px, 6vw, 90px) clamp(36px, 5vw, 60px);
    padding: clamp(36px, 5vw, 62px);
    border-radius: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, var(--elmp-orange), #b94610);
    color: #111;
}

.elmp-split-cta .elmp-kicker,
.elmp-split-cta p {
    color: rgba(0,0,0,.72);
}

.elmp-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-top: 34px;
}

.elmp-info-grid article {
    padding: 28px;
    border-radius: 26px;
    background: rgba(255,255,255,.045);
    border: 1px solid var(--elmp-line);
}

.elmp-info-grid h3 {
    margin-top: 0;
    font-size: 26px;
    letter-spacing: -.03em;
}

.elmp-info-grid a {
    color: var(--elmp-orange-2);
    font-weight: 900;
}

.elmp-cinematic-footer {
    padding: 54px clamp(24px, 6vw, 90px) 30px;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        #09090a;
    background-size: 30px 30px;
    border-top: 1px solid var(--elmp-line);
}

.elmp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 34px;
}

.elmp-cinematic-footer h2,
.elmp-cinematic-footer h3 {
    margin-top: 0;
}

.elmp-cinematic-footer a {
    display: block;
    color: rgba(255,255,255,.78);
    margin: 9px 0;
}

.elmp-cinematic-footer a:hover {
    color: var(--elmp-orange-2);
}

.elmp-footer-bottom {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--elmp-line);
    color: rgba(255,255,255,.55);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1080px) {
    .elmp-shell {
        grid-template-columns: 1fr;
    }

    .elmp-sidebar {
        position: relative;
        height: auto;
        display: block;
        padding: 16px 20px;
    }

    .elmp-logo-text,
    .elmp-sidebar-bottom {
        display: none;
    }

    .elmp-logo-mark {
        width: 54px;
        height: 54px;
    }

    .elmp-nav {
        margin-top: 14px;
        overflow-x: auto;
    }

    .elmp-nav-list {
        display: flex;
        white-space: nowrap;
    }

    .elmp-nav-list .sub-menu {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 110px;
        width: auto;
        max-width: none;
        max-height: 70vh;
        overflow-y: auto;
    }

    .elmp-video-hero {
        min-height: 360px;
    }

    .elmp-cards-grid,
    .elmp-info-grid,
    .elmp-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elmp-split-cta {
        grid-template-columns: 1fr;
        margin-left: 24px;
        margin-right: 24px;
    }
}

@media (max-width: 720px) {
    .elmp-stats,
    .elmp-cards-grid,
    .elmp-info-grid,
    .elmp-footer-grid {
        grid-template-columns: 1fr;
    }

    .elmp-stats div {
        border-right: 0;
        border-bottom: 1px solid var(--elmp-line);
    }

    .elmp-section {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* v2.1: Use the real WordPress/Vestige logo, not a plain orange disk */
.elmp-logo-mark {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(244,123,32,.38) !important;
    box-shadow: 0 0 26px rgba(244,123,32,.28) !important;
    padding: 7px !important;
}

.elmp-logo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.elmp-logo-mark span {
    color: var(--elmp-orange) !important;
}


/* v2.2: Mobile-friendly version.
   On mobile we intentionally simplify the Windows-style submenu logic into a normal accordion. */

.elmp-mobile-menu-toggle {
    display: none;
}

@media (max-width: 1080px) {
    :root {
        --elmp-sidebar-w: 100%;
    }

    .elmp-shell {
        display: block !important;
        min-height: 100vh;
    }

    .elmp-sidebar {
        position: sticky !important;
        top: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 14px !important;
        overflow: visible !important;
        z-index: 20000 !important;
    }

    .elmp-logo-link {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
    }

    .elmp-logo-mark {
        width: 52px !important;
        height: 52px !important;
        flex: 0 0 52px !important;
        padding: 5px !important;
    }

    .elmp-logo-text {
        display: block !important;
        margin-top: 0 !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
        max-width: 190px !important;
    }

    .elmp-mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        justify-self: end !important;
        border: 1px solid rgba(244,123,32,.45) !important;
        border-radius: 999px !important;
        background: rgba(244,123,32,.13) !important;
        color: #fff !important;
        padding: 10px 13px !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: .05em !important;
        cursor: pointer !important;
    }

    .elmp-mobile-menu-toggle strong {
        color: var(--elmp-orange-2) !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .elmp-sidebar-bottom {
        display: none !important;
    }

    .elmp-nav {
        grid-column: 1 / -1 !important;
        margin-top: 0 !important;
        width: 100% !important;
        overflow: visible !important;
        display: none !important;
        padding-top: 10px !important;
    }

    body.elmp-mobile-menu-open .elmp-nav {
        display: block !important;
    }

    .elmp-nav-list {
        display: grid !important;
        gap: 6px !important;
        white-space: normal !important;
        overflow: visible !important;
        max-height: calc(100vh - 86px) !important;
        overflow-y: auto !important;
        padding: 8px !important;
        background: rgba(0,0,0,.24) !important;
        border: 1px solid rgba(255,255,255,.1) !important;
        border-radius: 18px !important;
    }

    .elmp-nav-list li {
        position: relative !important;
    }

    .elmp-nav-list a {
        padding: 12px 46px 12px 14px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
    }

    .elmp-submenu-toggle {
        top: 6px !important;
        right: 8px !important;
        transform: none !important;
        background: rgba(244,123,32,.14) !important;
    }

    .elmp-open > .elmp-submenu-toggle {
        transform: rotate(90deg) !important;
        background: rgba(244,123,32,.32) !important;
    }

    /* Mobile: submenus become simple inline accordion panels, not floating windows */
    .elmp-nav-list .sub-menu,
    .elmp-nav-list .sub-menu .sub-menu {
        position: static !important;
        display: none !important;
        width: auto !important;
        max-width: none !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 6px 0 8px 14px !important;
        padding: 8px !important;
        background: rgba(255,255,255,.08) !important;
        border: 1px solid rgba(255,255,255,.12) !important;
        border-radius: 14px !important;
        box-shadow: none !important;
        color: #fff !important;
    }

    .elmp-nav-list li.elmp-open > .sub-menu {
        display: grid !important;
        gap: 4px !important;
    }

    .elmp-nav-list .sub-menu::before,
    .elmp-nav-list .sub-menu::after {
        display: none !important;
        content: none !important;
    }

    .elmp-nav-list .sub-menu a {
        color: rgba(255,255,255,.86) !important;
        background: transparent !important;
        padding: 10px 44px 10px 12px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }

    .elmp-nav-list .sub-menu a:hover,
    .elmp-nav-list .sub-menu li.elmp-open > a {
        color: #fff !important;
        background: rgba(244,123,32,.18) !important;
    }

    .elmp-nav-list .sub-menu .elmp-submenu-toggle {
        color: var(--elmp-orange-2) !important;
        top: 5px !important;
        right: 7px !important;
    }

    .elmp-video-hero {
        min-height: 300px !important;
    }

    .elmp-stats {
        grid-template-columns: 1fr !important;
    }

    .elmp-stats div {
        border-right: 0 !important;
        border-bottom: 1px solid var(--elmp-line) !important;
    }

    .elmp-section {
        padding: 44px 18px !important;
    }

    .elmp-section-head h2,
    .elmp-split-cta h2 {
        font-size: clamp(32px, 11vw, 48px) !important;
    }

    .elmp-cards-grid,
    .elmp-info-grid,
    .elmp-footer-grid {
        grid-template-columns: 1fr !important;
    }

    .elmp-split-cta {
        grid-template-columns: 1fr !important;
        margin: 0 18px 34px !important;
        padding: 28px !important;
    }

    .elmp-cinematic-footer {
        padding: 40px 18px 26px !important;
    }
}

@media (max-width: 520px) {
    .elmp-logo-text {
        max-width: 150px !important;
        font-size: 12px !important;
    }

    .elmp-mobile-menu-toggle span {
        display: none !important;
    }

    .elmp-video-hero {
        min-height: 240px !important;
    }

    .elmp-card-body {
        padding: 18px !important;
    }
}


/* v2.3: desktop submenu windows auto-close when the mouse leaves the navigation area.
   Keep pointer events normal so mouseenter/mouseleave tracking is reliable. */
@media (min-width: 1081px) {
    .elmp-nav-list .sub-menu {
        pointer-events: auto !important;
    }

    .elmp-nav-list li.elmp-open > .sub-menu {
        display: block !important;
    }
}


/* v2.4: Place museum stats inside the right black/empty area of the hero video on desktop.
   The HTML stays after the video for mobile accessibility; CSS moves it visually on desktop. */
@media (min-width: 1081px) {
    .elmp-video-hero {
        min-height: 520px !important;
        margin-bottom: 0 !important;
    }

    .elmp-video-hero + .elmp-stats {
        position: absolute !important;
        top: 90px !important;
        right: clamp(24px, 4vw, 72px) !important;
        width: min(340px, 26vw) !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        background: transparent !important;
        border: 0 !important;
        z-index: 20 !important;
        pointer-events: none !important;
    }

    .elmp-video-hero + .elmp-stats div {
        padding: 22px 24px !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 22px !important;
        background:
            linear-gradient(135deg, rgba(18,18,20,.86), rgba(18,18,20,.55)),
            radial-gradient(circle at 100% 0%, rgba(244,123,32,.22), transparent 42%) !important;
        box-shadow: 0 18px 50px rgba(0,0,0,.34) !important;
        backdrop-filter: blur(3px) !important;
    }

    .elmp-video-hero + .elmp-stats strong {
        font-size: clamp(38px, 3.5vw, 58px) !important;
        color: var(--elmp-orange) !important;
        line-height: .95 !important;
    }

    .elmp-video-hero + .elmp-stats span {
        display: block !important;
        margin-top: 5px !important;
        color: rgba(255,255,255,.86) !important;
        font-size: 14px !important;
        font-weight: 800 !important;
    }

    /* The three info cards now sit immediately below the hero/video area. */
    .elmp-stats + .elmp-info-grid {
        padding-top: clamp(42px, 5vw, 74px) !important;
        padding-bottom: clamp(34px, 5vw, 70px) !important;
    }
}

/* Mobile/tablet: keep stats under the video as normal blocks. */
@media (max-width: 1080px) {
    .elmp-video-hero + .elmp-stats {
        position: static !important;
        width: auto !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        background: #151517 !important;
        border-top: 1px solid var(--elmp-line) !important;
        border-bottom: 1px solid var(--elmp-line) !important;
    }

    .elmp-stats + .elmp-info-grid {
        padding-top: 40px !important;
    }
}
