/* ============================================================
   7SEAS — GLOBAL HEADER
   Single stylesheet
   ============================================================ */

:root {
    --header-bg: #e2daf7;
    --header-border: rgba(27, 38, 96, 0.15);

    --nav-text: #0f172a;
    --nav-text-hover: #1e3a8a;
    --nav-accent: #1b2660;
    --nav-accent-soft: rgba(27, 38, 96, 0.08);

    --header-max-width: 1800px;

    --header-pad-x: clamp(1rem, 2vw, 3rem);
    --header-pad-y: clamp(0.55rem, 0.4vw, 0.85rem);

    --logo-height: clamp(38px, 2vw + 20px, 46px);

    --nav-gap: clamp(0.15rem, 0.4vw, 0.7rem);
    --nav-font-size: clamp(0.72rem, 0.35vw + 0.58rem, 0.9rem);
}

* {
    box-sizing: border-box;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    max-width: 100%;

    background: #e2daf7;
    background-color: #e2daf7;
    background-image: none;

    border-bottom: 1px solid var(--header-border);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


/* ============================================================
   HEADER INNER
   ============================================================ */

.site-header__inner {
    width: 100%;
    max-width: var(--header-max-width);

    margin: 0 auto;

    display: flex;
    align-items: center;

    padding:
        var(--header-pad-y)
        var(--header-pad-x);

    gap: 1rem;
}


/* ============================================================
   LOGO
   ============================================================ */

.site-header__logo {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    text-decoration: none;
}

.site-header__logo-img {
    display: block;

    width: auto;
    height: var(--logo-height);

    object-fit: contain;
}


/* ============================================================
   SEARCH — BASE
   ============================================================ */

.header-search {
    position: relative;

    display: flex;
    align-items: center;

    height: 40px;

    min-width: 0;

    background: #ffffff;

    border: 1px solid #ccc;
    border-radius: 8px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.header-search:focus-within {
    border-color: #ccc;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05);
}


/* ============================================================
   SEARCH BUTTON
   ============================================================ */

.search-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    padding: 0 6px 0 12px;

    background: transparent;
    border: none;

    color: #333;

    cursor: pointer;
}


/* ============================================================
   SEARCH INPUT
   ============================================================ */

.search-input-container {
    position: relative;

    display: flex;
    align-items: center;

    width: clamp(120px, 11vw, 250px);
    height: 100%;

    min-width: 0;

    overflow: hidden;
}

.inline-search-input {
    position: absolute;

    top: 0;
    left: 0;

    z-index: 2;

    width: 100%;
    height: 100%;

    padding: 0 12px 0 2px;

    border: none;
    outline: none;

    background: transparent;

    color: #111;

    font-family: inherit;
    font-size: 14px;

    line-height: normal;
}


/* ============================================================
   ANIMATED SEARCH PLACEHOLDER
   ============================================================ */

.sliding-placeholder-wrapper {
    position: absolute;

    left: 12px;
    right: 0;

    z-index: 1;

    display: flex;
    align-items: center;

    height: 100%;

    overflow: hidden;

    color: #9ca3af;

    font-family: inherit;
    font-size: 14px;

    pointer-events: none;

    transition: opacity 0.2s ease;
}

.static-search-text {
    flex-shrink: 0;

    white-space: nowrap;
}

.sliding-reel-container {
    height: 20px;

    overflow: hidden;
}

.sliding-reel {
    display: flex;
    flex-direction: column;
}

.slide-item {
    height: 20px;

    line-height: 20px;

    color: #9ca3af;

    white-space: nowrap;
}


/* ============================================================
   SEARCH CLEAR BUTTON
   ============================================================ */

.search-close-btn {
    display: flex;
    align-items: center;

    height: 100%;

    padding: 0 10px;

    background: transparent;
    border: none;

    color: #666;

    font-size: 18px;

    cursor: pointer;
}


/* ============================================================
   VOICE SEARCH
   ============================================================ */

.voice-search-btn {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 0 12px 0 6px;

    background: transparent;
    border: none;

    color: #333;

    cursor: pointer;
}

.voice-search-btn:hover {
    color: var(--nav-text-hover);
}

.voice-search-btn.listening {
    color: #ef4444;
}

.voice-search-btn.listening svg {
    animation:
        voiceSearchPulse 1s ease-in-out infinite;
}

@keyframes voiceSearchPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.12);
    }
}


/* ============================================================
   VOICE STATUS
   ============================================================ */

.voice-search-status {
    position: absolute;

    right: 0;
    bottom: calc(100% + 10px);

    display: none;
    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    background: var(--nav-accent);

    color: #fff;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    box-shadow:
        0 6px 18px rgba(30, 58, 138, 0.28);

    z-index: 20;
}

.voice-search-status::after {
    content: "";

    position: absolute;

    top: 100%;
    right: 16px;

    border: 6px solid transparent;
    border-top-color: var(--nav-accent);
}

.voice-search-status.show {
    display: flex;
}

.voice-search-status .voice-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #f87171;

    animation:
        voiceDotPulse 1s ease-in-out infinite;
}

@keyframes voiceDotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.4);
    }
}


/* ============================================================
   SEARCH SUGGESTIONS
   ============================================================ */

.search-suggestions {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    width: 320px;
    max-width: 90vw;

    max-height: 340px;

    overflow-y: auto;

    display: none;

    padding: 6px;

    background: #fff;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.18);

    z-index: 1200;
}

.search-suggestions.show {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px 12px;

    border-radius: 8px;

    color: #1f2937;

    font-size: 0.9rem;

    cursor: pointer;

    transition:
        background 0.15s ease;
}

.search-suggestion-item:hover,
.search-suggestion-item.active-suggestion {
    background: #eef2ff;
    color: var(--nav-accent);
}

.search-suggestion-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 22px;
    height: 22px;

    color: #38bdf8;
}

.search-suggestion-text {
    display: flex;
    flex-direction: column;

    line-height: 1.25;
}

.search-suggestion-title {
    font-weight: 700;
}

.search-suggestion-title mark {
    padding: 0 1px;

    background: rgba(56, 189, 248, 0.35);

    color: inherit;

    border-radius: 3px;
}

.search-suggestion-tag {
    color: #6b7280;

    font-size: 0.72rem;

    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.search-suggestion-empty {
    padding: 14px 12px;

    color: #6b7280;

    font-size: 0.85rem;

    text-align: center;
}


/* ============================================================
   SEARCH HIGHLIGHT
   ============================================================ */

.search-result-highlight {
    animation:
        searchHighlightPulse 1.8s ease;
}

@keyframes searchHighlightPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(56, 189, 248, 0.65);

        background-color:
            rgba(56, 189, 248, 0.12);
    }

    70% {
        box-shadow:
            0 0 0 18px rgba(56, 189, 248, 0);

        background-color:
            rgba(56, 189, 248, 0.06);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(56, 189, 248, 0);

        background-color:
            transparent;
    }
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav__list {
    display: flex;
    align-items: center;

    gap: var(--nav-gap);

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;

    gap: 4px;

    padding: 0.55rem 0.65rem;

    color: var(--nav-text);

    font-size: var(--nav-font-size);
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.03em;

    text-decoration: none;

    background: none;
    border: none;

    cursor: pointer;

    white-space: nowrap;

    transition:
        color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
    color: var(--nav-text-hover);
}

.site-nav__arrow {
    flex-shrink: 0;

    transition:
        transform 0.2s ease;
}


/* ============================================================
   SUBMENUS
   ============================================================ */

.site-nav__submenu {
    list-style: none;

    margin: 0;
    padding: 0.4rem;
}

.site-nav__submenu a {
    display: block;

    padding: 0.55rem 0.75rem;

    color: var(--nav-text);

    font-size: 0.85rem;
    font-weight: 600;

    text-decoration: none;

    border-radius: 6px;

    white-space: normal;
}

.site-nav__submenu a:hover,
.site-nav__submenu a:focus-visible {
    color: var(--nav-text-hover);

    background: var(--nav-accent-soft);
}


/* ============================================================
   DESKTOP / LAPTOP — 1024px AND ABOVE
   Full header: logo + nav + search, all in one row.
   Below this, mobile 3-line menu takes over (see next block).
   ============================================================ */

@media screen and (min-width: 1024px) {

    .nav-toggle {
        display: none !important;
    }


    /* HEADER ROW */

    .site-header__inner {
        display: flex !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        align-items: center !important;

        justify-content: flex-start !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        padding-left: clamp(24px, 3vw, 56px) !important;
        padding-right: 24px !important;

        gap: 0 !important;
    }


    /* LOGO */

    .site-header__logo {
        display: flex !important;

        flex: 0 0 auto !important;

        margin: 0 !important;
    }

    .site-header__logo-img {
        display: block !important;

        width: auto !important;
        height: 42px !important;
    }


    /* ========================================================
       DESKTOP NAV
       ======================================================== */

    .site-nav {
        position: relative !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex: 1 1 auto !important;
        flex-wrap: nowrap !important;

        min-width: 0 !important;

        margin: 0 !important;

        /*
         * Nav list and search now sit side by side as normal
         * flex children, so they get centered TOGETHER by this
         * justify-content: center — no more reserved padding.
         */
        padding: 0 20px !important;

        /* Gap between the nav list and the search box. */
        gap: clamp(10px, 1.8vw, 36px) !important;

        overflow: visible !important;
    }


    .site-nav__list {
        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;
        justify-content: center !important;

        flex-wrap: nowrap !important;

        /*
         * Shrink to content instead of stretching to 100% —
         * that's what let it hog all the space and pin search
         * to the far edge. Now it only takes what it needs, so
         * the whole (nav + search) group can center as a unit.
         */
        width: auto !important;
        flex: 0 0 auto !important;

        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        gap: clamp(2px, 1vw, 16px) !important;

        white-space: nowrap !important;

        overflow: visible !important;
    }


    .site-nav__item {
        display: flex !important;

        flex: 0 0 auto !important;
    }


    .site-nav__link {
        display: inline-flex !important;

        align-items: center !important;

        white-space: nowrap !important;

        padding:
            0.4rem
            clamp(0.16rem, 0.3vw, 0.5rem) !important;

        font-size:
            clamp(10.5px, 0.68vw, 13px) !important;
    }


    /* ========================================================
       DESKTOP SEARCH

       Now a normal flex child of .site-nav (sits right after
       the nav list), so .site-nav's justify-content: center
       centers the nav list and the search box together as one
       group. It keeps a fixed width so it can't wrap or shrink.
       ======================================================== */

    .site-nav > .header-search,
    .site-nav > #search-wrapper {

        position: relative !important;

        display: flex !important;

        align-items: center !important;

        width: clamp(150px, 14vw, 225px) !important;
        min-width: 150px !important;
        max-width: 225px !important;

        height: 40px !important;

        margin: 0 !important;
        padding: 0 !important;

        flex: none !important;

        z-index: 100 !important;
    }


    /* SEARCH INPUT */

    .site-nav > .header-search .search-input-container,
    .site-nav > #search-wrapper .search-input-container {

        display: flex !important;

        flex: 1 1 auto !important;

        width: auto !important;

        min-width: 0 !important;

        height: 100% !important;
    }


    .inline-search-input {
        width: 100% !important;

        min-width: 0 !important;
    }


    .sliding-placeholder-wrapper {
        display: flex !important;
    }


    /* ========================================================
       DESKTOP DROPDOWNS
       ======================================================== */

    .site-nav__item--dropdown {
        position: relative !important;
    }

    .site-nav__submenu {
        position: absolute !important;

        top: calc(100% + 10px) !important;
        left: 0 !important;

        min-width: 240px !important;

        background: #ffffff !important;

        border: 1px solid var(--header-border);

        border-radius: 10px;

        box-shadow:
            0 16px 32px rgba(15, 23, 42, 0.14);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-6px);

        transition:
            opacity 0.18s ease,
            transform 0.18s ease,
            visibility 0.18s;
    }

    .site-nav__submenu--wide {
        min-width: 300px !important;
    }

    .site-nav__item--dropdown:hover > .site-nav__submenu,
    .site-nav__item--dropdown.is-open > .site-nav__submenu {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }


    /* ========================================================
       DESKTOP DROPDOWN ICONS
       ======================================================== */

    .site-nav__submenu .dd-icon {
        display: inline-flex !important;

        align-items: center;
        justify-content: center;

        width: 16px;
        height: 16px;

        margin-right: 8px;

        flex: 0 0 16px;

        color: #64748b;

        transition:
            transform 0.2s ease,
            color 0.2s ease;
    }

    .site-nav__submenu .dd-icon svg {
        width: 13px;
        height: 13px;

        max-width: 13px;
        max-height: 13px;
    }

    .site-nav__submenu li a {
        display: flex !important;

        align-items: center !important;

        transition:
            background-color 0.2s ease,
            color 0.2s ease,
            padding-left 0.2s ease;
    }

    .site-nav__submenu li a:hover {
        background: rgba(27, 38, 96, 0.07) !important;

        color: #1b2660 !important;

        padding-left: 14px !important;
    }

    .site-nav__submenu li a:hover .dd-icon {
        color: #1b2660 !important;

        transform: translateX(3px);
    }

    .site-nav__submenu li a:hover .dd-icon svg {
        stroke: currentColor !important;
    }


    /* ========================================================
       INVESTOR DROPDOWN
       ======================================================== */

    .site-nav__submenu--wide li a {
        position: relative;

        display: flex !important;

        align-items: center !important;

        padding: 10px 14px !important;

        transition:
            color 0.2s ease,
            padding-left 0.2s ease;
    }

    .site-nav__submenu--wide li a::after {
        content: "";

        position: absolute;

        left: 14px;
        bottom: 4px;

        width: 0;
        height: 2px;

        background: #1b2660;

        border-radius: 2px;

        transition:
            width 2s ease;
    }

    .site-nav__submenu--wide li a:hover {
        color: #1b2660 !important;

        padding-left: 18px !important;
    }

    .site-nav__submenu--wide li a:hover::after {
        width: calc(100% - 28px);
    }


    /* ========================================================
       DESKTOP ARROWS
       ======================================================== */

    .site-nav__item--dropdown
    > .site-nav__toggle
    .site-nav__arrow {

        transition:
            transform 0.25s ease !important;
    }

    .site-nav__item--dropdown:hover
    > .site-nav__toggle
    .site-nav__arrow {

        transform: rotate(180deg) !important;
    }

    .site-nav__item--dropdown.is-open
    > .site-nav__toggle
    .site-nav__arrow {

        transform: rotate(180deg) !important;
    }
}


/* ============================================================
   MOBILE / TABLET — BELOW 1400px
   EXISTING MOBILE BEHAVIOR PRESERVED
   ============================================================ */

@media screen and (max-width: 1023.98px) {

    /* --------------------------------------------------------
       HAMBURGER
       -------------------------------------------------------- */

    .nav-toggle {
        display: flex !important;

        position: fixed !important;

        top: 0 !important;
        right: 1.25rem !important;

        width: 40px !important;
        height: 52px !important;

        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;

        gap: 5px !important;

        padding: 0 !important;

        border: 0 !important;

        background: transparent !important;

        z-index: 1201 !important;
    }

    .nav-toggle__bar {
        display: block !important;

        width: 26px !important;
        height: 2px !important;

        background: var(--nav-accent) !important;

        border-radius: 2px !important;

        transition:
            transform 0.25s ease,
            opacity 0.2s ease !important;
    }


    /* --------------------------------------------------------
       HAMBURGER → X
       -------------------------------------------------------- */

    .nav-toggle[aria-expanded="true"]
    .nav-toggle__bar:nth-child(1) {

        transform:
            translateY(7px)
            rotate(45deg) !important;
    }

    .nav-toggle[aria-expanded="true"]
    .nav-toggle__bar:nth-child(2) {

        opacity: 0 !important;
    }

    .nav-toggle[aria-expanded="true"]
    .nav-toggle__bar:nth-child(3) {

        transform:
            translateY(-7px)
            rotate(-45deg) !important;
    }


    /* --------------------------------------------------------
       MOBILE SIDEBAR
       -------------------------------------------------------- */

    .site-nav {

        display: block !important;

        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: min(86vw, 360px) !important;

        height: 100vh !important;
        height: 100dvh !important;

        max-height: 100vh !important;
        max-height: 100dvh !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        -webkit-overflow-scrolling: touch !important;

        scrollbar-width: none !important;

        background: #e2daf7 !important;
        background-color: #e2daf7 !important;
        background-image: none !important;

        padding:
            0
            1.25rem
            30px !important;

        transform:
            translateX(100%) !important;

        transition:
            transform 0.3s ease !important;

        z-index: 1100 !important;

        visibility: hidden !important;
        opacity: 0 !important;

        pointer-events: none !important;
    }

    .site-nav::-webkit-scrollbar {
        display: none !important;
    }

    .site-nav.is-open {
        display: block !important;

        transform:
            translateX(0) !important;

        visibility: visible !important;
        opacity: 1 !important;

        pointer-events: auto !important;
    }


    /* --------------------------------------------------------
       MOBILE NAV LIST
       -------------------------------------------------------- */

    .site-nav__list {

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        gap: 0.15rem !important;

        height: auto !important;
    }


    /* --------------------------------------------------------
       HOME
       -------------------------------------------------------- */

    .site-nav__list > li:first-child {

        display: flex !important;

        align-items: center !important;

        width: 100% !important;

        min-height: 52px !important;

        padding-right: 55px !important;

        background: transparent !important;
    }

    .site-nav__list > li:first-child
    > .site-nav__link {

        width: 100% !important;

        background: transparent !important;
    }


    /* --------------------------------------------------------
       MAIN MOBILE ITEMS
       -------------------------------------------------------- */

    .site-nav__list > li {

        display: block !important;

        width: 100% !important;

        height: auto !important;

        visibility: visible !important;
        opacity: 1 !important;

        background: #e2daf7 !important;
    }

    .site-nav__link {

        display: flex !important;

        width: 100% !important;

        justify-content: space-between !important;
        align-items: center !important;

        padding:
            0.85rem
            0.5rem !important;

        background: transparent !important;

        border-bottom:
            1px solid rgba(27, 38, 96, 0.08) !important;

        white-space: normal !important;
    }


    /* --------------------------------------------------------
       MOBILE DROPDOWN CLOSED
       -------------------------------------------------------- */

    .site-nav__item--dropdown
    > .site-nav__submenu {

        display: none !important;

        width: 100% !important;

        height: auto !important;
        max-height: none !important;

        overflow: visible !important;

        visibility: hidden !important;
        opacity: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #e2daf7 !important;
    }


    /* --------------------------------------------------------
       MOBILE DROPDOWN OPEN
       -------------------------------------------------------- */

    .site-nav__item--dropdown.is-open
    > .site-nav__submenu {

        display: block !important;

        width: 100% !important;

        height: auto !important;
        max-height: none !important;

        overflow: visible !important;

        visibility: visible !important;
        opacity: 1 !important;

        margin: 0 !important;

        padding:
            0.25rem
            0
            0.75rem
            0.75rem !important;

        background: #e2daf7 !important;
    }


    /* --------------------------------------------------------
       INVESTOR DROPDOWN
       -------------------------------------------------------- */

    .site-nav__item--dropdown.is-open
    > .site-nav__submenu--wide {

        display: block !important;

        width: 100% !important;

        height: auto !important;
        max-height: none !important;

        overflow: visible !important;

        visibility: visible !important;
        opacity: 1 !important;

        padding:
            0.25rem
            0
            1rem
            0.75rem !important;

        background: #e2daf7 !important;
    }

    .site-nav__submenu--wide > li {

        display: block !important;

        width: 100% !important;

        height: auto !important;

        overflow: visible !important;
    }

    .site-nav__submenu--wide > li > a {

        display: block !important;

        width: 100% !important;

        min-height: 40px !important;

        height: auto !important;

        padding:
            9px
            8px !important;

        white-space: normal !important;

        background: transparent !important;
    }


    /* --------------------------------------------------------
       MOBILE DROPDOWN ARROWS
       -------------------------------------------------------- */

    .site-nav__item--dropdown
    > .site-nav__toggle
    .site-nav__arrow {

        transform: rotate(0deg) !important;

        transition:
            transform 0.2s ease !important;
    }

    .site-nav__item--dropdown.is-open
    > .site-nav__toggle
    .site-nav__arrow {

        transform: rotate(180deg) !important;
    }


    /* --------------------------------------------------------
       MOBILE SEARCH
       Search remains BELOW CAREERS
       -------------------------------------------------------- */

    .site-header .header-search {

        display: none !important;
    }

    .site-header:has(.site-nav.is-open)
    .header-search {

        display: flex !important;

        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        transform: none !important;

        width: 100% !important;

        max-width: 100% !important;
        min-width: 0 !important;

        height: 40px !important;

        margin:
            25px
            0
            0 !important;

        z-index: 1201 !important;

        background: #ffffff !important;
    }

    .site-nav .mobile-menu-search {

        position: relative !important;

        display: flex !important;

        width: 100% !important;

        max-width: 100% !important;
        min-width: 0 !important;

        height: 40px !important;

        margin:
            25px
            0
            0 !important;

        padding: 0 !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        order: 999 !important;
    }


    /* --------------------------------------------------------
       MOBILE SEARCH INPUT
       -------------------------------------------------------- */

    #input-container,
    .search-input-container {

        flex: 1 1 auto !important;

        width: auto !important;

        min-width: 0 !important;
    }

    .inline-search-input {

        width: 100% !important;

        min-width: 0 !important;

        border: 0 !important;

        outline: 0 !important;

        background: transparent !important;
    }


    /* SEARCH BUTTON */

    #search-trigger-btn {

        flex:
            0 0 30px !important;

        width: 30px !important;
        min-width: 30px !important;

        height: 30px !important;

        padding: 0 !important;
    }


    /* CLEAR BUTTON */

    #search-close-btn {

        flex:
            0 0 28px !important;

        width: 28px !important;
        min-width: 28px !important;

        height: 28px !important;

        padding: 0 !important;

        margin:
            0
            2px !important;
    }


    /* VOICE */

    #voice-search-btn,
    .voice-search-btn {

        flex:
            0 0 34px !important;

        width: 34px !important;

        min-width: 34px !important;
        max-width: 34px !important;

        height: 34px !important;

        margin: 0 !important;

        padding: 0 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        border: 0 !important;

        background: transparent !important;
    }

    #voice-search-btn svg,
    .voice-search-btn svg {

        width: 18px !important;
        height: 18px !important;
    }

    .voice-search-status {

        display: none !important;
    }


    /* --------------------------------------------------------
       MOBILE BACKDROP
       -------------------------------------------------------- */

    .site-nav-backdrop {

        display: block !important;

        position: fixed !important;

        inset: 0 !important;

        background:
            rgba(15, 23, 42, 0.45) !important;

        z-index: 1099 !important;
    }

    .site-nav-backdrop[hidden] {
        display: none !important;
    }


    /* --------------------------------------------------------
       MOBILE ONE-COLOR BACKGROUND
       -------------------------------------------------------- */

    .site-nav,
    .site-nav__list,
    .site-nav__item,
    .site-nav__submenu,
    .site-nav__submenu li {

        background: #e2daf7 !important;

        background-color: #e2daf7 !important;

        background-image: none !important;
    }


    /* --------------------------------------------------------
       MOBILE DROPDOWN ICONS
       -------------------------------------------------------- */

    .site-nav__submenu li a {

        display: flex !important;

        align-items: center !important;

        transition:
            padding-left 0.2s ease,
            color 0.2s ease,
            background-color 0.2s ease !important;
    }

    .site-nav__submenu .dd-icon {

        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: 22px !important;
        height: 22px !important;

        margin-right: 9px !important;

        flex:
            0 0 22px !important;
    }

    .site-nav__submenu .dd-icon svg {

        width: 18px !important;
        height: 18px !important;
    }


    /* --------------------------------------------------------
       MOBILE HOVER / TOUCH MOVEMENT
       -------------------------------------------------------- */

    .site-nav__list
    > .site-nav__item
    > .site-nav__link {

        position: relative;

        transition:
            padding-left 0.2s ease,
            color 0.2s ease,
            background-color 0.2s ease !important;
    }

    .site-nav__list
    > .site-nav__item
    > .site-nav__link:hover,
    .site-nav__list
    > .site-nav__item
    > .site-nav__link:active {

        padding-left: 10px !important;

        color: #1b2660 !important;

        background:
            rgba(27, 38, 96, 0.06) !important;
    }

    .site-nav__submenu li a:hover,
    .site-nav__submenu li a:active {

        padding-left: 10px !important;

        color: #1b2660 !important;

        background:
            rgba(27, 38, 96, 0.06) !important;
    }

    .site-nav__submenu li a:hover .dd-icon,
    .site-nav__submenu li a:active .dd-icon {

        color: #1b2660 !important;
    }

    .site-nav__submenu li a:hover .dd-icon svg,
    .site-nav__submenu li a:active .dd-icon svg {

        stroke: currentColor !important;
    }
}


/* ============================================================
   SMALLER MOBILE SEARCH
   ============================================================ */

@media screen and (max-width: 999.98px) {

    .search-input-container {
        width:
            clamp(
                90px,
                32vw,
                160px
            );
    }

    .search-suggestions {
        width:
            min(
                300px,
                90vw
            );
    }
}


/* ============================================================
   GLOBAL WIDTH SAFETY
   ============================================================ */

html,
body {

    width: 100%;
    max-width: 100%;

    overflow-x: hidden !important;
}
/* =========================================================
   NOTE: a second, duplicate "@media (min-width: 1400px)"
   block used to live here (a "center nav + search" attempt).
   It conflicted with the DESKTOP — 1400px AND ABOVE block
   above (same breakpoint, same selectors) and always LOST,
   because that block uses !important and this one didn't.
   That silent conflict is why centering never actually took
   effect. Centering is now done in the block above instead
   of here — do not re-add a second 1400px block for
   .site-header__inner / .site-nav / .site-nav__list, or the
   two will start fighting again.
   ========================================================= */

    /* ---------- BENTO / WHY US ---------- */

    .bento-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem !important;
    }

    .bento-cell {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 1.2rem !important;
    }

    .bento-cell h3 {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
        line-height: 1.15;
    }

    .bento-cell h4 {
        font-size: 1.05rem !important;
    }

    .bento-cell p {
        font-size: 0.95rem !important;
        line-height: 1.6;
        overflow-wrap: break-word;
    }


    /* ---------- GAME VAULT ---------- */

    #game-vault {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .arcade-hero-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .vault-banner-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 12px;
    }

    .vault-banner-link {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .vault-banner-img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }


    /* ---------- YOUTUBE ---------- */

    .yt-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 5% !important;
        padding-right: 5% !important;
        overflow-x: clip;
    }

    .yt-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .yt-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem;
    }

    .yt-card {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
    }

    .yt-video-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .yt-video-wrapper iframe {
        display: block;
        width: 100% !important;
        max-width: 100%;
        border: 0;
    }


    /* ---------- GENERIC CARDS / GRIDS ---------- */

    .gallery-grid,
    .games-grid,
    .news-grid,
    .cards-grid,
    .card-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .gallery-card,
    .game-card,
    .news-card,
    .card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }


    /* ---------- BUTTONS ---------- */

    .filter-btn,
    .search-btn,
    .hero-cta,
    .read-more-btn {
        max-width: 100%;
    }

    .filter-btn {
        white-space: normal;
    }


    /* ---------- FORMS ---------- */

    input,
    textarea,
    select {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }


    /* ---------- MODALS ---------- */

    .modal-overlay {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .modal-box {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto;
    }

    .modal-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .modal-body {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-wrap: break-word;
    }

    .modal-title {
        font-size: clamp(1.3rem, 6vw, 2rem) !important;
        overflow-wrap: break-word;
    }


    /* ---------- FOOTER ---------- */

    footer {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .footer-cols {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .footer-col {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    footer img {
        max-width: 100%;
    }

    footer iframe {
        width: 100% !important;
        max-width: 100%;
    }


    /* ---------- LONG TEXT / URLs ---------- */

    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    a,
    span,
    li {
        overflow-wrap: anywhere;
        word-break: normal;
    }


    /* ---------- PREVENT FIXED WIDTHS ---------- */

    [style*="width: 1000px"],
    [style*="width: 1200px"],
    [style*="width: 1400px"],
    [style*="width: 1500px"],
    [style*="width: 1600px"] {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* =========================================================
   SMALL PHONES — 375px / 390px / 414px
   ========================================================= */

@media (max-width: 480px) {

    .section-title {
        font-size: 1.75rem !important;
    }

    .section-subtitle {
        font-size: 0.9rem !important;
    }

    .stats-banner {
        grid-template-columns: 1fr !important;
    }

    .stat-num {
        font-size: 1.8rem !important;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-content h1,
    .hero h1 {
        font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
    }

    .bento-cell {
        padding: 1rem !important;
    }

    .bento-cell p {
        font-size: 0.9rem !important;
    }

    .yt-section {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }

    .yt-card {
        border-radius: 10px;
    }

    .yt-video-wrapper iframe {
        min-height: 200px;
    }

    .hero-cta,
    .search-btn {
        font-size: 14px;
        padding: 0.7rem 1rem;
    }
}
```css
/* =========================================================
   WHY CHOOSE 7SEAS — MOBILE BENTO FIX
   ========================================================= */

@media (max-width: 768px) {

    #why-us {
        width: 100%;
        max-width: 100%;
        padding-left: 5%;
        padding-right: 5%;
        overflow: hidden;
    }

    #why-us .bento-grid {
        width: 100%;
        max-width: 100%;
        display: grid;

        /* Main card full width + 4 cards below */
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 12px !important;
        margin: 0 auto;
    }

    /* Large first card */
    #why-us .bento-anchor {
        grid-column: 1 / -1 !important;
        width: 100%;
        min-width: 0;
    }

    /* Four smaller cards */
    #why-us .bento-cell:not(.bento-anchor) {
        width: 100%;
        min-width: 0;
        min-height: 150px;

        padding: 18px !important;

        display: flex;
        flex-direction: column;
        justify-content: center;

        overflow: hidden;
    }

    #why-us .bento-cell:not(.bento-anchor) h4 {
        font-size: 1rem !important;
        line-height: 1.25;
        margin: 0 0 8px;
        overflow-wrap: break-word;
    }

    #why-us .bento-cell:not(.bento-anchor) p {
        font-size: 0.85rem !important;
        line-height: 1.45;

        margin: 0 !important;

        overflow-wrap: break-word;
        word-break: normal;
    }

    /* Main card text */
    #why-us .bento-anchor h3 {
        font-size: 1.55rem !important;
        line-height: 1.15;
    }

    #why-us .bento-anchor p {
        font-size: 0.9rem !important;
        line-height: 1.55;
    }

    #why-us .bento-anchor > div:last-child {
        font-size: 1.35rem !important;
        line-height: 1.2;
    }
}


/* =========================================================
   VERY SMALL PHONES
   375px / 390px
   ========================================================= */

@media (max-width: 480px) {

    #why-us .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    #why-us .bento-cell:not(.bento-anchor) {
        min-height: 165px;
        padding: 14px !important;
    }

    #why-us .bento-cell:not(.bento-anchor) h4 {
        font-size: 0.9rem !important;
    }

    #why-us .bento-cell:not(.bento-anchor) p {
        font-size: 0.78rem !important;
        line-height: 1.4;
    }

    #why-us .bento-anchor h3 {
        font-size: 1.4rem !important;
    }

    #why-us .bento-anchor p {
        font-size: 0.85rem !important;
    }
}
```css
/* =========================================================
   7SEAS MOBILE NAVIGATION
   ========================================================= */

/* Hide hamburger on desktop */
.mobile-menu-toggle {
    display: none;
}


@media (max-width: 768px) {

    /* HEADER */
    .main-header {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-height: 60px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 8px 5%;
    }


    /* LOGO */
    .main-header-logo {
        height: 34px !important;
        width: auto;
        max-width: 160px;
    }


    /* =====================================================
       HAMBURGER
       ===================================================== */

    .mobile-menu-toggle {
        display: flex !important;

        width: 44px;
        height: 44px;

        padding: 8px;

        margin-left: auto;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 5px;

        background: transparent;
        border: 0;

        cursor: pointer;

        z-index: 10001;
    }

    .mobile-menu-toggle span {
        display: block;

        width: 25px;
        height: 2px;

        background: currentColor;

        border-radius: 2px;

        transition:
            transform 0.25s ease,
            opacity 0.2s ease;
    }


    /* =====================================================
       HAMBURGER → X
       ===================================================== */

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* =====================================================
       DESKTOP NAV HIDDEN
       ===================================================== */

    .main-nav {
        display: none !important;
    }


    /* =====================================================
       MOBILE MENU
       ===================================================== */

    .main-nav.mobile-open {
        display: block !important;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;
        max-width: 100%;

        background: #ffffff;

        border-top: 1px solid #e5e7eb;

        box-shadow: 0 12px 30px rgba(0,0,0,0.12);

        z-index: 10000;

        max-height: calc(100vh - 60px);

        overflow-y: auto;
        overflow-x: hidden;
    }


    /* NAV LIST */
    .main-nav.mobile-open ul {
        display: flex !important;

        flex-direction: column !important;

        width: 100%;

        margin: 0;
        padding: 10px 0;

        list-style: none;
    }


    /* NAV ITEMS */
    .main-nav.mobile-open li {
        width: 100%;
        max-width: 100%;
    }


    /* NAV LINKS */
    .main-nav.mobile-open a {
        display: flex;

        align-items: center;

        width: 100%;

        padding: 15px 6%;

        color: #111827;

        text-decoration: none;

        font-size: 15px;
        font-weight: 600;

        box-sizing: border-box;
    }

    .main-nav.mobile-open a:hover {
        background: #f3f4f6;
    }


    /* =====================================================
       DROPDOWNS
       ===================================================== */

    .main-nav.mobile-open .dropdown-menu {
        position: static !important;

        display: none;

        width: 100%;

        min-width: 0;

        margin: 0;

        padding: 0;

        background: #f8fafc;

        box-shadow: none;

        border: 0;
    }

    .main-nav.mobile-open .dropdown.open > .dropdown-menu {
        display: block !important;
    }


    /* SUBMENU LINKS */
    .main-nav.mobile-open .dropdown-menu a {
        padding-left: 10%;

        font-size: 14px;

        font-weight: 500;
    }
}

/* =========================================================
   LATEST RELEASE SECTION
========================================================= */

.lr-section {
    padding: 80px 0;
}

.lr-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.lr-header {
    text-align: center;
    margin-bottom: 40px;
}

.lr-subtitle {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.lr-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
}

.lr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.lr-card {
    background: var(--card-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.lr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(27, 38, 96, 0.18);
    border-color: var(--brand-blue);
}

.lr-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #eef2fb;
}

.lr-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lr-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lr-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin: 0;
}

.lr-date {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.lr-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 4px 0 0;
}

.lr-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.lr-store-btn {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--brand-blue);
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, transform 0.2s ease;
}

.lr-store-btn:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
}

@media (max-width: 1000px) {
    .lr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lr-grid {
        grid-template-columns: 1fr;
    }
    .lr-section {
        padding: 56px 0;
    }
}
/* Certification images - show upper part, crop bottom */
.cert-section .cert-card-img-wrap {
    overflow: hidden !important;
}

.cert-section .cert-card-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}
.hero {
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}
/* ================================
   LEADERSHIP SECTION POSITION
   ================================ */

#leadership {
    position: relative !important;
    top: 20px !important;
    margin-top: 0 !important;
}
/* Move Corporate Certifications section down by 30px */
#certifications {
    position: relative !important;
    top: 20px !important;
}
/* Move Trophy Timeline section down by 30px */
#awards {
    position: relative !important;
    top: 40px !important;
}
/* Move Why Choose 7Seas section down by 30px */
#why-us {
    position: relative !important;
    top: 30px !important;
}
/* Move 7Seas Game Vault section down by 30px */
#game-vault {
    position: relative !important;
    top: 30px !important;
}
#game-vault .section-title,
#game-vault p {
    position: relative !important;
    top: 20px !important;
}
/* Investor Relations dropdown underline only */
.nav-item.dropdown:last-of-type .dropdown-menu li a {
    position: relative;
}

.nav-item.dropdown:last-of-type .dropdown-menu li a::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
   background: linear-gradient(
    90deg,
    rgba(47, 111, 237, 0.45),
    rgba(27, 38, 96, 0.45)
);

    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-item.dropdown:last-of-type .dropdown-menu li a:hover::after {
    transform: scaleX(1);
}
/* =====================================================
   HERO VIDEO - KEEP TOP OF VIDEO VISIBLE
===================================================== */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    display: block;
}
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 100vh;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content {
    transform: translateY(230px);
}
@media screen and (max-width: 360px) {
    .hero-content {
        transform: translateY(135px);
    }
}
/* Increase 7Seas header logo size */
.main-header-logo {
    width: 170px !important;
    height: auto !important;
}
/* =========================================
   HERO TEXT - SMOOTH STAGGERED ENTRANCE
   ========================================= */

.hero-content .section-tag,
.hero-content h1,
.hero-content .hero-desc,
.hero-content .connect-label,
.hero-content .header-social-icons {
    opacity: 0;
    transform: translateY(70px);
    animation: heroTextUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* First */
.hero-content .section-tag {
    animation-delay: 0.3s;
}

/* Second */
.hero-content h1 {
    animation-delay: 0.55s;
}

/* Third */
.hero-content .hero-desc {
    animation-delay: 0.8s;
}

/* Fourth */
.hero-content .connect-label {
    animation-delay: 1.05s;
}

/* Fifth */
.hero-content .header-social-icons {
    animation-delay: 1.3s;
}


/* Smooth upward movement */
@keyframes heroTextUp {
    0% {
        opacity: 0;
        transform: translateY(70px);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-content .section-tag,
    .hero-content h1,
    .hero-content .hero-desc,
    .hero-content .connect-label,
    .hero-content .header-social-icons {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
@keyframes heroTextUp {
    0% {
        opacity: 0;
        transform: translateY(70px);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(-35px);
    }
}
/* Gap between Partners section and Footer */
#partners-section {
    margin-bottom: 50px !important;
}
/* Partners section - same background as main page */
#partners-section {
    background: inherit !important;
}
@media (max-width: 768px) {
    #leadership {
        margin-top: -55px !important;
    }
}
@media (max-width: 768px) {
    #certifications {
        transform: translateY(-20px) !important;
    }
}
@media (max-width: 768px) {
    #why-us {
        transform: translateY(-40px) !important;
    }
}
@media (max-width: 768px) {
    #game-vault {
        margin-top: -30px !important;
        transform: translateY(-70px) !important;
    }
}
@media (max-width: 768px) {

    /* Product Vault - same page background */
    #game-vault {
        background: transparent !important;
    }

    /* Reduce vault container height */
    #game-vault .vault-banner-container {
        height: 220px !important;
        min-height: 220px !important;
        overflow: hidden;
    }

    #game-vault .vault-banner-img {
        height: 220px !important;
        width: 100% !important;
        object-fit: cover;
    }

}
@media (max-width: 768px) {

    #game-vault .vault-banner-container {
        height: auto !important;
        min-height: 0 !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    #game-vault .vault-banner-link {
        display: block;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #game-vault .vault-banner-img {
        display: block;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}
@media screen and (max-width: 768px) {
    #yt-videos {
        position: relative !important;
        top: -30px !important;
        margin-top: -20px !important;
    }
}
#partners-section {
    background: transparent !important;
}
@media screen and (max-width: 768px) {
    #partners-section {
        position: relative !important;
        top: -30px !important;
        margin-bottom: -30px !important;
    }
}
@media screen and (max-width: 768px) {

    /* All section headings */
    section h2,
    .section-title,
    .section-heading,
    .partners-header h2,
    .yt-title,
    .lr-header h2 {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* All section quotes / subtitles */
    section .section-subtitle,
    section .section-caption,
    section .subtitle,
    .partners-caption,
    .yt-subtitle,
    .lr-subtitle {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}
/* 7SEAS VAULT - REMOVE CONTAINER BACKGROUND */
#game-vault .vault-banner-container {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

#game-vault .vault-banner-link {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

#game-vault .vault-banner-img {
    display: block !important;
}
.yt-hero-card {
    height: auto !important;
}

.yt-hero-img-wrap {
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: hidden;
}

.yt-hero-img-wrap img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: contain;
}
/* GAME VAULT - IMAGE ONLY */
#game-vault .arcade-hero-section {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

#game-vault .vault-banner-container {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    border: none !important;
}

#game-vault .vault-banner-link {
    display: block;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

#game-vault .vault-banner-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}
#game-vault .vault-banner-img {
    width: 100%;
    transform: scale(1);
    transition: transform 0.3s ease;
}

#game-vault .vault-banner-link:hover .vault-banner-img {
    transform: scale(1.02);
}
#game-vault .section-title {
    position: relative;
    top: -20px;
    margin-bottom: 10px !important;
}

#game-vault .game-vault-subtitle {
    position: relative;
    top: -10px;
    margin-bottom: 25px !important;
}
#game-vault .game-vault-subtitle {
    transform: translateY(-12px) !important;
}
#game-vault .vault-banner-img {
    border-radius: 20px !important;
}
.yt-hero-card {
    position: relative;
    border: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.yt-hero-card:hover {
    border-color: var(--brand-blue, #1b2660);
}
#game-vault {
    background: transparent !important;
}

#game-vault .arcade-hero-section {
    background: transparent !important;
}

#game-vault .vault-banner-container {
    background: transparent !important;
    box-shadow: none !important;
}

#game-vault .vault-banner-link {
    background: transparent !important;
}

#game-vault .vault-banner-img {
    border-radius: 20px;
    display: block;
}
.section-tag {
    font-size: 22px;
    font-weight: 600;
}

/* Navigation List Bar */
nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Base Nav Links & Dropdown Toggle Formatting */
nav a,
.dropdown-toggle {
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: color 0.2s ease;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    padding: 0.5rem 0.6rem !important;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

nav a:hover,
nav a.active,
.dropdown-toggle:hover {
    color: #1e3a8a !important;
}

/* Investor Relations Dropdown Container */
.nav-item.dropdown {
    position: relative;
    display: inline-block;
    list-style: none;
}

/* Dropdown Menu Overlay */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: #dbe2ef;
    border-radius: 6px;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    list-style: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block !important;
    padding: 0.6rem 1.25rem !important;
    color: #2b2d42 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

.dropdown-menu li a:hover {
    background-color: #cbd5e1;
    color: #1e3a8a !important;
    font-weight: 600 !important;
}

/* Search Button Far Right */
.search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-btn svg {
    stroke: #000000;
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: #f0f0f0;
    border-color: #999999;
    transform: translateY(-1px);
}

        :root {
            --bg-base: #e2daf7;
            --bg-gradient-top: #d8e6f9;
            --bg-gradient-bottom: #b0c8f1;
            --brand-blue: #1b2660;
            --brand-blue-hover: #121a42;
            --accent-purple: #5b21b6;
            --accent-gold: #d97706;
            --accent-gold-glow: rgba(217, 119, 6, 0.4);
            --accent-green: #10b981;
            --surface-panel: rgba(255, 255, 255, 0.75);
            --card-panel: rgba(255, 255, 255, 0.88);
            --border-subtle: rgba(27, 38, 96, 0.15);
            --text-main: #0f172a;
            --text-muted: #334155;
            --radius-lg: 20px;
            --radius-md: 12px;
            --logo-fill: #1b2660;
            --logo-text-fill: #1b2660;
            --logo-inner-fill: #FFFFFF;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
        html { scroll-behavior: smooth; }
        body { background-color: var(--bg-base); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

        .bg-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2; background: linear-gradient(135deg, var(--bg-gradient-top) 0%, var(--bg-gradient-bottom) 100%); }


        nav { display: flex; gap: 1rem; align-items: center; }
        nav a { color: var(--text-main); text-decoration: none; font-weight: 700; font-size: 1.2rem; transition: 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
        nav a:hover { color: var(--brand-blue); }

        /* SECTIONS GENERAL */
        section { padding: 1.25rem 6%; position: relative; }
        .section-tag { color: var(--brand-blue); font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1.5px; display: block; margin-bottom: 0.15rem; }
        .section-title { font-size: 2.1rem; font-weight: 900; color: var(--brand-blue); margin-bottom: 1rem; letter-spacing: -0.5px; }

        /* HERO WITH BACKGROUND VIDEO */
        .hero { position: relative; min-height: 65vh; display: flex; align-items: center; overflow: hidden; padding: 0 6%; }
        .hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: brightness(0.55) contrast(1.15); }
        .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.3) 100%); z-index: 2; }
        .hero-content { position: relative; z-index: 3; max-width: 700px; color: #fff; }
        .hero-content .section-tag { color: #38bdf8; }
        .hero-content h1 { font-size: 3.4rem; font-weight: 900; line-height: 1.05; color: #ffffff; margin: 0.3rem 0 0.75rem 0; text-transform: uppercase; letter-spacing: -1px; text-shadow: 0 4px 12px rgba(0,0,0,0.6); }
        .hero-desc { font-size: 1.05rem; color: #e2e8f0; margin-bottom: 1.25rem; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }
        .hero-cta { display: inline-block; background: var(--brand-blue); color: #fff; text-decoration: none; padding: 0.8rem 1.8rem; border-radius: 40px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); }
        .hero-cta:hover { transform: translateY(-3px); background: #38bdf8; color: #0f172a; }

        /* STATS STRIP */
        .stats-banner { background: var(--surface-panel); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 0.75rem 6%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; position: relative; z-index: 10; }
        .stat-num { font-size: 2.4rem; font-weight: 900; color: var(--brand-blue); }
        .stat-desc { font-weight: 700; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }

        /* YOUTUBE MEDIA SHOWCASE */
        .yt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; }
        .yt-card { background: var(--card-panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
        .yt-card:hover { transform: translateY(-5px); border-color: var(--brand-blue); }

        .yt-card.is-playing {
            border-color: var(--brand-blue);
            box-shadow: 0 0 20px rgba(27, 38, 96, 0.25);
        }

        .yt-video-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%;
            background: #000;
            cursor: pointer;
            overflow: hidden;
        }

        .yt-poster {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .yt-video-wrapper:hover .yt-poster { transform: scale(1.05); }

        .play-overlay {
            position: absolute; inset: 0;
            background: rgba(0, 0, 0, 0.3);
            display: flex; align-items: center; justify-content: center;
            transition: background 0.3s ease;
            pointer-events: none;
        }

        .yt-video-wrapper:hover .play-overlay { background: rgba(0, 0, 0, 0.1); }

        .play-icon {
            width: 60px; height: 60px;
            background: #ff0000; color: #ffffff;
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-size: 1.4rem; padding-left: 4px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
            transition: transform 0.2s ease, background 0.2s ease;
            pointer-events: none;
        }

        .yt-video-wrapper:hover .play-icon { transform: scale(1.15); background: #cc0000; }

        .playing-badge {
            position: absolute; top: 12px; left: 12px;
            background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(6px);
            color: #38bdf8; font-size: 0.72rem; font-weight: 800;
            padding: 0.3rem 0.75rem; border-radius: 20px;
            display: flex; align-items: center; gap: 0.4rem;
            border: 1px solid rgba(255, 255, 255, 0.2); z-index: 5;
            text-transform: uppercase; letter-spacing: 0.5px;
        }

        .pulse-dot { width: 8px; height: 8px; background: var(--accent-green); border-radius: 50%; box-shadow: 0 0 8px var(--accent-green); animation: blink 1.5s infinite; }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

        .yt-external-link {
            position: absolute; top: 12px; right: 12px;
            background: rgba(0, 0, 0, 0.6); color: #fff;
            width: 32px; height: 32px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            text-decoration: none; font-size: 0.85rem; z-index: 5;
            transition: background 0.2s, transform 0.2s;
        }

        .yt-external-link:hover { background: var(--brand-blue); transform: scale(1.1); }
        .yt-card-body { padding: 1rem; }
        .yt-card-title { font-weight: 800; font-size: 1.05rem; color: var(--brand-blue); margin-bottom: 0.25rem; }

        /* TROPHY TIMELINE */
        .timeline-wrapper { position: relative; padding: 0.5rem 0; }
        .timeline-scroll-container {
            display: flex; gap: 2rem; overflow-x: auto; padding: 1.25rem 1rem 0.75rem 1rem;
            scroll-snap-type: x mandatory; scroll-behavior: smooth; position: relative;
        }
        .timeline-scroll-container::-webkit-scrollbar { height: 8px; }
        .timeline-scroll-container::-webkit-scrollbar-track { background: var(--surface-panel); border-radius: 10px; }
        .timeline-scroll-container::-webkit-scrollbar-thumb { background: var(--brand-blue); border-radius: 10px; }
        .timeline-scroll-container::before {
            content: ''; position: absolute; top: calc(1.25rem + 10px); left: 2rem; right: 2rem; height: 4px;
            background: linear-gradient(90deg, var(--brand-blue), var(--accent-gold), var(--brand-blue)); z-index: 1;
        }

        .trophy-timeline-item {
            flex: 0 0 320px; scroll-snap-align: center; background: var(--card-panel);
            border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 1.5rem 1.25rem;
            position: relative; text-align: center; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
            cursor: pointer; z-index: 2;
        }

        @keyframes trophyGlow {
            0% { box-shadow: 0 10px 25px rgba(27, 38, 96, 0.1); }
            50% { box-shadow: 0 20px 40px var(--accent-gold-glow), 0 0 15px rgba(217, 119, 6, 0.3); }
            100% { box-shadow: 0 10px 25px rgba(27, 38, 96, 0.1); }
        }

        .trophy-timeline-item:hover { transform: scale(1.08) translateY(-8px); z-index: 100; border-color: var(--accent-gold); animation: trophyGlow 2s infinite ease-in-out; }
        .timeline-year-node { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--accent-gold); color: #fff; font-weight: 900; font-size: 0.85rem; padding: 0.35rem 1.3rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); z-index: 3; }
        .trophy-badge { font-size: 3rem; display: block; margin-top: 0.25rem; transition: transform 0.3s; }
        .trophy-timeline-item:hover .trophy-badge { transform: scale(1.2) rotate(5deg); }
        .trophy-title { font-weight: 900; font-size: 1.2rem; color: var(--brand-blue); margin: 0.5rem 0 0.2rem 0; }
        .trophy-org { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.75rem; }
        .trophy-desc { font-size: 0.9rem; color: var(--text-muted); border-top: 1px solid var(--border-subtle); padding-top: 0.75rem; }

        .scroll-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--brand-blue); color: #fff; border: none; font-size: 1.3rem; font-weight: bold; cursor: pointer; z-index: 10; box-shadow: 0 8px 20px rgba(0,0,0,0.25); transition: background 0.3s, transform 0.2s; display: flex; align-items: center; justify-content: center; }
        .scroll-btn:hover { background: var(--accent-gold); transform: translateY(-50%) scale(1.1); }
        .scroll-left { left: -10px; }
        .scroll-right { right: -10px; }

        /* BENTO GRID */
        .bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
        .bento-cell { background: var(--surface-panel); border: 1px solid var(--border-subtle); backdrop-filter: blur(16px); border-radius: var(--radius-lg); padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s ease-out, border-color 0.3s; transform-style: preserve-3d; }
        .bento-cell:hover { border-color: var(--brand-blue); box-shadow: 0 15px 35px rgba(27, 38, 96, 0.12); }
        .bento-anchor { grid-column: span 2; grid-row: span 2; background: var(--card-panel); }

        /* GAME VAULT METRICS CARDS */
        .riot-controls { display: flex; gap: 0.6rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
        .filter-btn { padding: 0.45rem 1.1rem; border-radius: 30px; border: 1px solid var(--border-subtle); background: var(--surface-panel); color: var(--text-main); font-weight: 700; cursor: pointer; text-transform: uppercase; font-size: 0.8rem; transition: 0.3s; }
        .filter-btn.active, .filter-btn:hover { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }

        .riot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
        .riot-card { background: var(--card-panel); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); transition: transform 0.3s ease, border-color 0.3s, opacity 0.4s ease; cursor: pointer; position: relative; opacity: 1; }
        .riot-card.hide { opacity: 0; pointer-events: none; position: absolute; width: 0; height: 0; overflow: hidden; margin: 0; border: 0; padding: 0; }
        .riot-card:hover { transform: translateY(-6px); border-color: var(--brand-blue); box-shadow: 0 15px 30px rgba(27, 38, 96, 0.15); }

        .riot-card-img-wrapper { height: 170px; overflow: hidden; position: relative; }
        .riot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
        .riot-card:hover img { transform: scale(1.08); }

        .riot-card-body { padding: 1rem; }
        .riot-tag { display: inline-block; font-size: 0.7rem; font-weight: 800; color: var(--brand-blue); background: rgba(27, 38, 96, 0.1); padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.3rem; text-transform: uppercase; }
        .riot-card-title { font-weight: 800; font-size: 1.1rem; color: var(--brand-blue); margin: 0.15rem 0; }
        .riot-card-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }

        .game-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; background: var(--surface-panel); padding: 0.5rem; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); margin-bottom: 0.75rem; }
        .stat-box { text-align: center; }
        .stat-val { font-weight: 900; font-size: 1rem; color: var(--brand-blue); }
        .stat-lbl { font-size: 0.68rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }

        .play-btn { width: 100%; background: var(--brand-blue); color: #fff; border: none; padding: 0.6rem; border-radius: var(--radius-md); font-weight: 800; text-transform: uppercase; font-size: 0.8rem; cursor: pointer; transition: 0.3s; }
        .play-btn:hover { background: var(--accent-gold); color: #fff; }

        /* NEWS & PRESS RELEASE GRID */
        .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
        .news-card { background: var(--card-panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 1.25rem; transition: transform 0.3s; }
        .news-card:hover { transform: translateY(-4px); border-color: var(--brand-blue); }
        .news-date { font-size: 0.78rem; font-weight: 700; color: var(--accent-gold); text-transform: uppercase; }
        .news-title { font-weight: 800; font-size: 1.1rem; color: var(--brand-blue); margin: 0.3rem 0; }
        .news-desc { font-size: 0.88rem; color: var(--text-muted); }

        /* INVESTOR RELATIONS GRID */
        .investor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
        .investor-card { background: var(--card-panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 1.25rem; }
        .pdf-btn { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.75rem; color: var(--brand-blue); font-weight: 800; text-decoration: none; font-size: 0.88rem; }
        .pdf-btn:hover { text-decoration: underline; }

        /* CONTACT FORM & MAP */
        .contact-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; background: var(--card-panel); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 1.5rem; }
        .form-group { margin-bottom: 0.75rem; }
        .form-group label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.25rem; color: var(--text-main); }
        .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.6rem 0.85rem; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); background: var(--surface-panel); color: var(--text-main); font-size: 0.9rem; }
        .form-submit-btn { background: var(--brand-blue); color: #fff; border: none; padding: 0.75rem 1.6rem; border-radius: 30px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: 0.3s; }
        .form-submit-btn:hover { background: #38bdf8; color: #0f172a; }

        /* MODAL */
        .modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); z-index: 2000; display: none; justify-content: center; align-items: center; }
        .modal-card { background: var(--card-panel); border: 1px solid var(--border-subtle); width: 90%; max-width: 520px; border-radius: var(--radius-lg); padding: 1.75rem; position: relative; color: var(--text-main); }
        .modal-close { position: absolute; top: 0.8rem; right: 0.8rem; background: none; border: none; font-size: 1.6rem; color: var(--text-main); cursor: pointer; }

        footer { background: rgba(27, 38, 96, 0.95); border-top: 1px solid var(--border-subtle); padding: 2rem 6% 1.25rem 6%; color: #cbd5e1; }
        .footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 1.75rem; }
        .footer-cols h5 { color: #fff; font-size: 0.95rem; margin-bottom: 0.85rem; }
        .footer-cols a { color: #cbd5e1; text-decoration: none; display: block; margin-bottom: 0.35rem; font-size: 0.88rem; }
        .footer-cols a:hover { color: #fff; text-decoration: underline; }

        @media (max-width: 1024px) {
            .bento-grid, .stats-banner, .footer-cols { grid-template-columns: repeat(2, 1fr); }
            .contact-container { grid-template-columns: 1fr; }
        }
        @media (max-width: 640px) {
            .bento-grid, .stats-banner, .footer-cols { grid-template-columns: 1fr; }
            .hero-content h1 { font-size: 2.3rem; }
            /* was: nav { display: none; } — an unscoped <nav> selector,
               which matches #siteNav too. It happens to lose today only
               because .site-nav's own mobile rule uses !important. Left
               in place, one future edit removes that !important and the
               whole primary nav silently vanishes below 640px on any
               page loading this stylesheet. Removed instead of relying
               on that. */
        }
        .7sa-social-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .social-icon {
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            transition: transform 0.2s ease, background 0.2s ease;
            text-decoration: none;
        }

        .social-icon:hover {
            transform: translateY(-3px);
        }

        /* Individual Brand Hover Effects */
        .social-icon.facebook:hover  { background-color: #1877f2; }
        .social-icon.instagram:hover { background-color: #e4405f; }
        .social-icon.twitter:hover   { background-color: #000000; }
        .social-icon.youtube:hover   { background-color: #ff0000; }
        .social-icon.linkedin:hover  { background-color: #0a66c2; }
   
/* ============================================================ 7SEAS — INVESTOR RELATIONS HOVER DROPDOWN + CLICKABLE MAIN LINK ============================================================ */ @media screen and (min-width: 1400px) { /* * Investor Relations parent */ .site-nav__item--dropdown { position: relative !important; } /* * Main Investor Relations link */ .site-nav__item--dropdown > .site-nav__link { cursor: pointer !important; } /* * Hide dropdown by default */ .site-nav__item--dropdown > .site-nav__submenu { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transform: translateY(8px) !important; transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important; } /* * OPEN DROPDOWN WHEN MOUSE HOVERS */ .site-nav__item--dropdown:hover > .site-nav__submenu { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translateY(0) !important; } /* * Keep dropdown open while mouse moves * from Investor Relations into submenu. */ .site-nav__item--dropdown:hover { z-index: 99999 !important; } }
/* =========================================================
   7SEAS FOOTER — FINAL RESPONSIVE OVERRIDE
   ========================================================= */


/* =========================================================
   900px — 1199px
   TABLET / SMALL LAPTOP
   NO OVERLAPPING
   ========================================================= */

@media screen and (min-width: 900px) and (max-width: 1199px) {

    #sf7-footer {
        padding-top: 42px !important;
        overflow-x: hidden !important;
    }

    #sf7-footer .footer-inner {
        width: calc(100% - 50px) !important;
        max-width: 1100px !important;

        margin: 0 auto !important;
        padding: 0 !important;

        display: grid !important;

        grid-template-columns: 1fr !important;

        grid-template-areas:
            "brand"
            "hr1"
            "navA"
            "navB"
            "hr2"
            "main"
            "chart" !important;

        column-gap: 0 !important;
        row-gap: 0 !important;
    }


    /* -----------------------------------------------------
       BRAND
       ----------------------------------------------------- */

    #sf7-footer .footer-brand-row {
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;

        transform: none !important;
    }

    #sf7-footer .footer-logo {
        margin: 0 0 8px !important;
        transform: none !important;
    }

    #sf7-footer .footer-logo img {
        width: 175px !important;
        max-width: 100% !important;
    }

    #sf7-footer .footer-description {
        width: 100% !important;
        max-width: 600px !important;

        margin: 0 auto !important;

        font-size: 14px !important;
        line-height: 1.6 !important;

        text-align: center !important;

        transform: none !important;
    }


    /* -----------------------------------------------------
       DIVIDERS
       ----------------------------------------------------- */

    #sf7-footer .footer-divider-full {
        width: 100vw !important;
        max-width: none !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        margin-top: 20px !important;
        margin-bottom: 20px !important;

        transform: none !important;
    }


    /* -----------------------------------------------------
       FIRST NAVIGATION
       ----------------------------------------------------- */

    #sf7-footer .footer-inner > .footer-nav-row:not(.footer-nav-row-second) {
        width: 100% !important;

        display: flex !important;
        flex-wrap: wrap !important;

        justify-content: center !important;
        align-items: center !important;

        gap: 12px 24px !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;
    }

    #sf7-footer .footer-inner > .footer-nav-row:not(.footer-nav-row-second) a {
        white-space: nowrap !important;
        font-size: 13px !important;
    }


    /* -----------------------------------------------------
       SECOND NAVIGATION
       ----------------------------------------------------- */

    #sf7-footer .footer-nav-row-second {
        display: flex !important;

        flex-wrap: wrap !important;

        justify-content: center !important;
        align-items: center !important;

        gap: 10px 24px !important;

        margin: 12px 0 0 !important;

        transform: none !important;
    }


    /* -----------------------------------------------------
       CONTACT
       THREE COLUMNS
       ----------------------------------------------------- */

    #sf7-footer .footer-main-row {
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;
    }

    #sf7-footer .footer-contact-row {
        width: 100% !important;

        display: grid !important;

        grid-template-columns:
            minmax(0, 1.4fr)
            minmax(0, 1fr)
            minmax(0, 1fr) !important;

        grid-template-areas:
            "address email phone" !important;

        column-gap: 25px !important;
        row-gap: 20px !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;

        transform: none !important;
    }

    #sf7-footer .footer-contact-col,
    #sf7-footer .footer-contact-col:nth-child(1),
    #sf7-footer .footer-contact-col:nth-child(2),
    #sf7-footer .footer-contact-col:nth-child(3) {

        min-width: 0 !important;

        text-align: left !important;

        transform: none !important;
    }

    #sf7-footer .footer-contact-col address {
        width: 100% !important;
        max-width: 300px !important;

        margin: 0 !important;

        font-size: 13px !important;
        line-height: 1.65 !important;

        overflow-wrap: break-word !important;
    }

    #sf7-footer .footer-contact-col a {
        max-width: 100% !important;

        margin: 0 !important;

        font-size: 13px !important;

        overflow-wrap: anywhere !important;
    }

    #sf7-footer .contact-label {
        font-size: 14px !important;
        margin-bottom: 7px !important;
    }


    /* -----------------------------------------------------
       JOIN THE VOYAGE
       KEEP IT UNDER CONTACT
       ----------------------------------------------------- */

    #sf7-footer .footer-voyage-heading {
        width: 100% !important;

        margin: 25px 0 10px !important;

        text-align: center !important;

        font-size: 17px !important;

        transform: none !important;
    }

    #sf7-footer .footer-voyage-row {
        width: 100% !important;

        display: flex !important;

        justify-content: center !important;
        align-items: center !important;

        margin: 0 !important;
        padding-bottom: 20px !important;

        transform: none !important;
    }

    #sf7-footer .social-icons {
        justify-content: center !important;
        gap: 20px !important;
    }


    /* -----------------------------------------------------
       TRADINGVIEW
       CENTERED BELOW EVERYTHING
       ----------------------------------------------------- */

    #sf7-footer .tradingview-widget-container {
        width: min(600px, 100%) !important;
        max-width: 600px !important;

        height: 270px !important;

        margin: 10px auto 25px !important;

        transform: none !important;

        border-radius: 8px !important;
    }

    #sf7-footer .tradingview-widget-container__widget {
        width: 100% !important;
        height: 270px !important;
    }

    #sf7-footer .tradingview-widget-container iframe {
        width: 100% !important;
        height: 270px !important;
    }
}


/* =========================================================
   1200px — 1399px
   MEDIUM DESKTOP
   STILL PREVENT OVERLAPPING
   ========================================================= */

@media screen and (min-width: 1200px) and (max-width: 1399px) {

    #sf7-footer {
        padding-top: 45px !important;
        overflow-x: hidden !important;
    }

    #sf7-footer .footer-inner {
        width: calc(100% - 60px) !important;
        max-width: 1320px !important;

        margin: 0 auto !important;

        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, 330px) !important;

        grid-template-areas:
            "brand brand"
            "hr1 hr1"
            "navA navA"
            "navB navB"
            "hr2 hr2"
            "main chart" !important;

        column-gap: 45px !important;
        align-items: start !important;
    }


    /* -----------------------------------------------------
       BRAND
       ----------------------------------------------------- */

    #sf7-footer .footer-brand-row {
        align-items: center !important;
        text-align: center !important;

        transform: none !important;
    }

    #sf7-footer .footer-logo {
        margin-bottom: 7px !important;
        transform: none !important;
    }

    #sf7-footer .footer-logo img {
        width: 185px !important;
    }

    #sf7-footer .footer-description {
        font-size: 14px !important;

        transform: none !important;
    }


    /* -----------------------------------------------------
       DIVIDERS
       ----------------------------------------------------- */

    #sf7-footer .footer-divider-full {
        width: 100vw !important;
        max-width: none !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        transform: none !important;
    }


    /* -----------------------------------------------------
       NAVIGATION
       ----------------------------------------------------- */

    #sf7-footer .footer-inner > .footer-nav-row:not(.footer-nav-row-second) {

        width: 100% !important;

        display: flex !important;

        flex-wrap: nowrap !important;

        justify-content: center !important;
        align-items: center !important;

        gap: 17px !important;

        margin: 0 !important;

        transform: none !important;
    }

    #sf7-footer .footer-inner > .footer-nav-row:not(.footer-nav-row-second) a {
        white-space: nowrap !important;

        font-size: 12.5px !important;
    }


    #sf7-footer .footer-nav-row-second {

        display: flex !important;

        justify-content: center !important;

        gap: 22px !important;

        margin-top: 10px !important;

        transform: none !important;
    }


    /* -----------------------------------------------------
       LEFT CONTACT AREA
       ----------------------------------------------------- */

    #sf7-footer .footer-contact-row {

        width: 100% !important;

        display: grid !important;

        grid-template-columns:
            minmax(0, 1.3fr)
            minmax(0, 1fr) !important;

        grid-template-areas:
            "address address"
            "email phone" !important;

        column-gap: 30px !important;
        row-gap: 20px !important;

        margin: 0 !important;

        transform: none !important;
    }

    #sf7-footer .footer-contact-col,
    #sf7-footer .footer-contact-col:nth-child(1),
    #sf7-footer .footer-contact-col:nth-child(2),
    #sf7-footer .footer-contact-col:nth-child(3) {

        min-width: 0 !important;

        text-align: left !important;

        transform: none !important;
    }

    #sf7-footer .footer-contact-col:nth-child(1) {
        grid-area: address !important;
    }

    #sf7-footer .footer-contact-col:nth-child(2) {
        grid-area: email !important;
    }

    #sf7-footer .footer-contact-col:nth-child(3) {
        grid-area: phone !important;
    }

    #sf7-footer .footer-contact-col address {
        max-width: 420px !important;

        margin: 0 !important;

        font-size: 14px !important;
    }

    #sf7-footer .footer-contact-col a {
        font-size: 14px !important;
    }

    #sf7-footer .contact-label {
        font-size: 14px !important;
    }


    /* -----------------------------------------------------
       JOIN THE VOYAGE
       ----------------------------------------------------- */

    #sf7-footer .footer-voyage-heading {

        margin: 25px 0 10px !important;

        text-align: left !important;

        font-size: 17px !important;

        transform: none !important;
    }

    #sf7-footer .footer-voyage-row {

        justify-content: flex-start !important;

        padding-bottom: 20px !important;

        transform: none !important;
    }

    #sf7-footer .social-icons {

        justify-content: flex-start !important;

        gap: 20px !important;
    }


    /* -----------------------------------------------------
       TRADINGVIEW
       ----------------------------------------------------- */

    #sf7-footer .tradingview-widget-container {

        width: 100% !important;

        max-width: 330px !important;

        height: 270px !important;

        margin: 0 0 20px auto !important;

        transform: none !important;
    }

    #sf7-footer .tradingview-widget-container__widget,
    #sf7-footer .tradingview-widget-container iframe {

        height: 270px !important;
    }
}


/* =========================================================
   1400px+
   FULL DESKTOP
   ========================================================= */

@media screen and (min-width: 1400px) {

    #sf7-footer {
        overflow-x: hidden !important;
    }

    #sf7-footer .footer-inner {

        width: min(1500px, calc(100% - 80px)) !important;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 390px) !important;

        grid-template-areas:
            "brand brand"
            "hr1 hr1"
            "navA navA"
            "navB navB"
            "hr2 hr2"
            "main chart" !important;

        column-gap: 70px !important;
    }


    /* Brand */

    #sf7-footer .footer-logo {
        transform: none !important;
    }

    #sf7-footer .footer-description {
        transform: none !important;
    }


    /* Navigation */

    #sf7-footer .footer-inner > .footer-nav-row:not(.footer-nav-row-second) {

        display: flex !important;

        flex-wrap: nowrap !important;

        justify-content: center !important;
        align-items: center !important;

        gap: clamp(18px, 2vw, 32px) !important;

        transform: none !important;
    }

    #sf7-footer .footer-inner > .footer-nav-row:not(.footer-nav-row-second) a {
        white-space: nowrap !important;
    }


    /* Contact */

    #sf7-footer .footer-contact-row {

        display: grid !important;

        grid-template-columns:
            minmax(0, 1.4fr)
            minmax(0, 1fr)
            minmax(0, 1fr) !important;

        grid-template-areas:
            "address email phone" !important;

        column-gap: 35px !important;

        transform: none !important;
    }

    #sf7-footer .footer-contact-col,
    #sf7-footer .footer-contact-col:nth-child(1),
    #sf7-footer .footer-contact-col:nth-child(2),
    #sf7-footer .footer-contact-col:nth-child(3) {

        text-align: left !important;

        transform: none !important;
    }


    /* Voyage */

    #sf7-footer .footer-voyage-heading {

        text-align: left !important;

        transform: none !important;
    }

    #sf7-footer .footer-voyage-row {

        justify-content: flex-start !important;

        transform: none !important;
    }

    #sf7-footer .social-icons {

        justify-content: flex-start !important;
    }


    /* TradingView */

    #sf7-footer .tradingview-widget-container {

        width: 100% !important;

        max-width: 390px !important;

        height: 270px !important;

        margin: 0 0 20px auto !important;

        transform: none !important;
    }

    #sf7-footer .tradingview-widget-container__widget,
    #sf7-footer .tradingview-widget-container iframe {

        height: 270px !important;
    }
}


/* =========================================================
   MOBILE — KEEP EXISTING GOOD BEHAVIOUR
   ========================================================= */

@media screen and (max-width: 899px) {

    #sf7-footer {
        overflow-x: hidden !important;
    }

    #sf7-footer .footer-inner {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #sf7-footer .footer-contact-col,
    #sf7-footer .footer-voyage-heading,
    #sf7-footer .footer-voyage-row,
    #sf7-footer .tradingview-widget-container,
    #sf7-footer .footer-logo,
    #sf7-footer .footer-description,
    #sf7-footer .footer-nav-row,
    #sf7-footer .footer-nav-row-second {
        transform: none !important;
    }
}
/* ============================================================
   7SEAS HEADER — DROPDOWN HOVER FIX
   Dropdown remains open while moving from parent to submenu
   ============================================================ */

/* Dropdown parent */
.site-header .site-nav__item--dropdown {
    position: relative !important;
}

/* Desktop submenu base */
@media (min-width: 1400px) {

    .site-header .site-nav__item--dropdown {
        position: relative !important;
    }

    /*
     * Keep submenu visible when:
     * 1. Parent is hovered
     * 2. Parent has keyboard focus
     * 3. Mouse is directly over submenu
     */
    .site-header
    .site-nav__item--dropdown:hover
    > .site-nav__submenu,

    .site-header
    .site-nav__item--dropdown:focus-within
    > .site-nav__submenu,

    .site-header
    .site-nav__submenu:hover {

        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /*
     * Invisible bridge between parent and submenu.
     *
     * This prevents the dropdown from disappearing
     * during the small mouse movement from the nav item
     * into the submenu.
     */
    .site-header
    .site-nav__item--dropdown
    > .site-nav__submenu::before {

        content: "";
        position: absolute;

        top: -14px;
        left: 0;

        width: 100%;
        height: 14px;

        background: transparent;

        pointer-events: auto;
    }

    /*
     * Make sure the submenu itself can receive the mouse.
     */
    .site-header .site-nav__submenu {
        pointer-events: none;
    }

    .site-header
    .site-nav__item--dropdown:hover
    > .site-nav__submenu,

    .site-header
    .site-nav__item--dropdown:focus-within
    > .site-nav__submenu,

    .site-header
    .site-nav__submenu:hover {

        pointer-events: auto !important;
    }
}


/* ============================================================
   COMPANY BUTTON
   ============================================================ */

@media (min-width: 1400px) {

    .site-header
    .site-nav__item--dropdown
    > .site-nav__toggle {

        cursor: pointer !important;
    }

}


/* ============================================================
   INVESTOR RELATIONS
   Hover = dropdown
   Click = investors.php
   ============================================================ */

@media (min-width: 1400px) {

    .site-header
    .site-nav__item--dropdown
    > a.site-nav__link {

        cursor: pointer !important;
    }

    /*
     * IMPORTANT:
     * Do not disable pointer events on the Investor
     * Relations main <a>.
     *
     * Clicking it will continue to open:
     * /7seas1/investors.php
     */
    .site-header
    .site-nav__item--dropdown
    > a.site-nav__link {
        pointer-events: auto !important;
    }
}


/* ============================================================
   PREVENT SUBMENU FROM DISAPPEARING DURING TRANSITION
   ============================================================ */

@media (min-width: 1400px) {

    .site-header
    .site-nav__item--dropdown:hover
    > .site-nav__submenu {

        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .site-header
    .site-nav__item--dropdown:focus-within
    > .site-nav__submenu {

        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .site-header
    .site-nav__item--dropdown
    > .site-nav__submenu:hover {

        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
/* ============================================================
   HEADER SEARCH — MOVE PLACEHOLDER SLIGHTLY LEFT
   ============================================================ */

#search-wrapper .sliding-placeholder-wrapper {
    transform: translateX(-6px) !important;
}
/* ============================================================
   7SEAS HEADER — GLOBAL LOGO POSITION FIX
   Same logo position on every page and every viewport
   ============================================================ */

.site-header {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header__inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    padding-left: clamp(28px, 4vw, 70px) !important;
    padding-right: clamp(28px, 4vw, 70px) !important;

    box-sizing: border-box !important;
}

.site-header .site-header__logo,
.site-header .site-header__logo img,
.site-header a.site-header__logo {
    margin-left: 0 !important;
    transform: none !important;
}

/* Prevent page-specific containers from moving the header */
.site-header,
.site-header__inner {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}