/* Venturexpert Navigation V1.8.1 */

:root {
    --vx-nav-ink: #00112D;
    --vx-nav-line: #e4e9ef;
    --vx-nav-surface: #f5f7f9;
    --vx-nav-muted: #637286;
}

header.header.vx-nav-modern {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--vx-nav-line);
    box-shadow: none;
    color: var(--vx-nav-ink);
}

.vx-nav-modern .header-inner {
    min-height: 88px;
    transition: min-height .2s ease;
}

.vx-nav-modern.vx-nav-compact .header-inner {
    min-height: 64px;
}

.vx-nav-modern .wordmark img {
    width: auto;
    max-width: 220px;
    max-height: 70px;
    height: auto;
    object-fit: contain;
    transition: max-height .2s ease;
}

.vx-nav-modern.vx-nav-compact .wordmark img {
    max-height: 55px;
}

.vx-nav-modern .main-nav {
    gap: clamp(14px, 1.7vw, 30px);
    font-size: 13px;
    font-weight: 500;
    align-items: center;
}

.vx-nav-modern .main-nav > a:not(.vx-myventure) {
    padding: 14px 0;
    color: var(--vx-nav-ink);
}

.vx-nav-modern .nav-lang {
    margin-left: 0;
    padding-left: 16px;
    gap: 7px;
    border-left: 1px solid var(--vx-nav-line);
    font-size: 11px;
}

.vx-nav-modern .nav-lang a {
    padding: 5px 0;
}

.vx-nav-modern .nav-lang a[aria-current="page"] {
    font-weight: 700;
    color: var(--vx-nav-ink);
}

.vx-nav-modern .nav-lang a:not([aria-current]) {
    color: var(--vx-nav-muted);
}

/* myventure */

.vx-nav-modern a.vx-myventure {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0 13px;
    border: 1px solid var(--vx-nav-ink);
    border-radius: 2px;
    background: transparent;
    color: var(--vx-nav-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.vx-nav-modern a.vx-myventure::after {
    display: none;
    content: none;
}

.vx-nav-modern a.vx-myventure svg {
    display: block;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.vx-nav-modern a.vx-myventure:hover {
    background: var(--vx-nav-ink);
    color: #fff;
}

.vx-nav-modern a.vx-myventure:hover svg {
    transform: translateX(4px);
}

.vx-nav-modern a:focus-visible,
.vx-nav-modern button:focus-visible {
    outline: 2px solid #347eaa;
    outline-offset: 4px;
}

/* Editorial mega menu */

.vx-nav-modern .vx-exp-nav {
    position: static;
}

.vx-nav-modern .vx-exp-layer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    transform: none;
}

.vx-nav-modern .vx-exp-sheet {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 36px max(5vw, 24px) 40px;
    border: 0;
    border-bottom: 1px solid var(--vx-nav-line);
    border-radius: 0;
    background: var(--vx-nav-surface);
    box-shadow: 0 12px 24px #00112d0c;
}

.vx-nav-modern .vx-mega-label {
    grid-column: 1 / -1;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--vx-nav-muted);
}

.vx-nav-modern .vx-exp-sheet a.vx-practice-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 0 22px;
    border: 0;
    border-bottom: 1px solid #cdd7e1;
    background: transparent;
    text-decoration: none;
    color: var(--vx-nav-ink);
    white-space: normal;
    transition: border-color .2s;
}

.vx-nav-modern .vx-practice-link:hover {
    border-bottom-color: var(--vx-nav-ink);
}

.vx-nav-modern .vx-practice-link::after {
    display: none;
}

.vx-practice-number {
    font-size: 11px;
    color: var(--vx-nav-muted);
}

.vx-practice-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.025em;
}

.vx-practice-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--vx-nav-muted);
}

/* Mobile drawer */

.vx-drawer-heading,
.vx-nav-backdrop {
    display: none;
}

@media (max-width: 1150px) {

    .vx-nav-modern .header-inner,
    .vx-nav-modern.vx-nav-compact .header-inner {
        min-height: 68px;
    }

    .vx-nav-modern .wordmark img {
        max-width: 180px;
        max-height: 58px;
    }

    .vx-nav-modern .main-nav {
        display: none;
    }

    .vx-nav-modern .mobile-menu {
        display: block;
    }

    .vx-nav-modern .mobile-panel {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(390px, 92vw);
        height: 100vh;
        height: 100dvh;
        min-width: 0;
        max-height: none;
        box-sizing: border-box;
        padding: 24px 28px;
        border: 0;
        background: #fff;
        box-shadow: -16px 0 60px #00112d24;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 1003;
    }

    .vx-nav-modern
    .mobile-menu[aria-expanded="true"] .mobile-panel {
        display: flex;
        flex-direction: column;
        gap: 0;
        animation: vx-drawer-in .2s ease-out;
    }

    .vx-nav-modern .vx-drawer-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
        color: var(--vx-nav-muted);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .12em;
    }

    .vx-nav-modern .vx-drawer-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 1px solid var(--vx-nav-line);
        color: var(--vx-nav-ink);
        font-size: 28px;
        cursor: pointer;
    }

    .vx-nav-modern .mobile-panel > a:not(.vx-myventure) {
        font-size: 21px;
        font-weight: 500;
        padding: 16px 0;
        color: var(--vx-nav-ink);
        border-bottom: 1px solid var(--vx-nav-line);
    }

    .vx-nav-modern .vx-exp-mobile-links {
        display: flex;
        flex-direction: column;
        padding: 5px 0 12px 15px;
    }

    .vx-nav-modern .vx-exp-mobile-links a {
        padding: 10px 0;
        font-size: 15px;
        color: var(--vx-nav-muted);
        border: 0;
    }

    .vx-nav-modern .mobile-panel .nav-lang {
        padding: 18px 0;
        margin: 0;
        border: 0;
        gap: 14px;
    }

    .vx-nav-modern .mobile-panel a.vx-myventure {
        height: 44px;
        min-height: 44px;
        margin: 8px 0 20px;
        font-size: 14px;
    }

    .vx-nav-modern.vx-drawer-open .vx-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: #00112d70;
        z-index: 1001;
    }

    body.vx-drawer-lock {
        overflow: hidden;
    }
}

@keyframes vx-drawer-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .vx-nav-modern *,
    .vx-nav-modern *::before,
    .vx-nav-modern *::after {
        transition: none !important;
        animation: none !important;
    }
}
