#access2 {
    height: auto;
    margin-top: 0;
    background: #fff;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #dce4ed;
    box-shadow: none;
}

#access2 ul li { border-left: 0; }
#access2 a { color: #33465c; text-transform: none; }
#access2 a:focus-visible { outline: 2px solid var(--lyth-navigation-ink, #0f3463); outline-offset: -4px; }

#access2 .menu-header > ul > li > a {
    position: relative;
    gap: 9px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: color 150ms ease, background-color 150ms ease;
}

#access2 .menu-header > ul > li > a::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 3px;
    background: var(--lyth-navigation-ink, #0f3463);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 150ms ease;
}

#access2 .menu-header > ul > li:is(:hover, :focus-within) > a,
#access2 .menu-header > ul > li:is(.current_page_item, .current-menu-item, .current-menu-ancestor, .current-menu-parent) > a {
    color: var(--lyth-navigation-ink, #0f3463);
    background: #f5f8fb;
}

#access2 .menu-header > ul > li:is(:hover, :focus-within, .current_page_item, .current-menu-item, .current-menu-ancestor, .current-menu-parent) > a::after {
    transform: scaleX(1);
}

#access2 ul ul a {
    box-sizing: border-box;
    width: auto;
    margin: 0;
    padding: 12px 16px;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.45;
    color: #33465c;
    white-space: normal;
    overflow-wrap: anywhere;
}

#access2 ul ul li { float: none; display: block; box-sizing: border-box; width: 100%; min-width: 0; border: 0; }
#access2 ul ul li + li { border-top: 1px solid #eef2f6; }
#access2 ul ul li:is(:hover, :focus-within) > a { background: #edf3f9; color: var(--lyth-navigation-ink, #0f3463); }

@media (min-width: 1161px) {
    #mheader { padding-top: 20px; padding-bottom: 18px; }
    #mheader > .mbox { min-height: 64px; }
    #mheader img.logo { margin-top: 0; }
    #mtoptext { min-height: 0; margin: 0; align-items: center; }
    #searchform2 { margin-top: 0; }

    #access2 .menu-header > ul {
        height: 58px;
        margin: 0;
        padding: 0;
        align-items: stretch;
        justify-content: space-between;
        gap: 4px;
    }

    #access2 .menu-header > ul > li { flex: 0 1 auto; }
    #access2 .menu-header > ul > li > a {
        min-height: 58px;
        height: 58px;
        padding: 0 12px;
        font-size: clamp(13px, 1.05vw, 15px);
        line-height: 1.3;
        white-space: nowrap;
        overflow-wrap: normal;
        hyphens: none;
    }

    #access2 .menu-header > ul > li.menu-item-has-children > a::before {
        content: "";
        order: 2;
        flex: 0 0 5px;
        width: 5px;
        height: 5px;
        margin-top: -3px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
    }

    #access2 ul ul {
        top: 100%;
        width: 242px;
        padding: 5px 0;
        border: 1px solid #dce4ed;
        border-top: 2px solid var(--lyth-navigation-ink, #0f3463);
        border-radius: 0 0 6px 6px;
        background: #fff;
        box-shadow: 0 12px 24px #1637541a;
    }

    #access2 ul ul ul { top: -7px; left: 100%; }
    #access2 li:focus-within > ul { display: block; }
    #access2 ul ul .menu-item-has-children > a { position: relative; padding-right: 28px; }
    #access2 ul ul .menu-item-has-children > a::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 14px;
        width: 5px;
        height: 5px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-50%) rotate(-45deg);
    }
}

#mbody > .gbcbanner,
#mbanner { margin-top: 0; }

@media (max-width: 1160px) {
    #access2 { background: #fff; }
    #access2 .menu-header > ul > li { background: #fff; border-bottom: 1px solid #e6ecf2; }
    #access2 .menu-header > ul > li > a { min-height: 48px; padding: 12px 16px; line-height: 1.5; }
    #access2 .menu-header > ul > li > a::after { right: auto; top: 8px; bottom: 8px; left: 0; width: 3px; height: auto; }
    #access2 ul ul { background: #f7f9fc; box-shadow: none; }
    #access2 ul ul a { padding-left: 26px; background: transparent; }
    #access2 ul ul ul a { padding-left: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    #access2 .menu-header > ul > li > a,
    #access2 .menu-header > ul > li > a::after { transition: none; }
}
