#mobileHeader,
#mobileMenu,
#contactDrawer {
    display: none;
}

/* Mobile */
@media (max-width: 1200px) {
    .body-no-scroll {
        overflow: hidden;
    }

    #header {
        display: none;
    }

    #mobileHeader,
    #mobileMenu,
    #contactDrawer {
        display: flex;
    }
}

.topbar {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 0.5rem 1rem; */
    background: white;
    border-bottom: 1px solid #e6e8eb;
    position: fixed;
    z-index: 2000;
    width: 100%;
    top: 0;
}

.topbar button,
.contact-drawer button {
    background: none;
    border: none;
    color: #0a2b4a;
    /* font-size: 1.5rem; */
    cursor: pointer;
}

.topbar button {
    padding: 1rem;
}

.search-btn {
    background: none;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    color: #1f2328;
}

#menuBtn svg,
#closeMenu svg,
#closeDrawer svg,
.search-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

#menuBtn:hover,
#closeMenu:hover,
#closeDrawer:hover,
.search-btn:hover {
    color: var(--main-hover-color);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: #f7f8fa;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    z-index: 2001;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    color: #0a2b4a;
    text-decoration: none;
}

.menu-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.menu-title {
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.menu-header button {
    background: none;
    border: none;
    cursor: pointer;
    color: #1f2328;
    padding: 1rem;
}

.menu-controls {
    height: 3rem;
    display: flex;
    align-items: center;
}

.menu-content {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.section-label {
    font-size: 0.75rem;
    /* font-weight: 500; */
    letter-spacing: 0.08rem;
    color: #6b7280;
    margin: 1.5rem 0 0.625rem;
}

.link,
.accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.875rem 0.2rem;
    color: #1f2328;
    text-decoration: none;
    border-bottom: 1px solid #e5e7eb;
    background: none;
    text-align: left;
    font-size: 1.0625rem;
    /* font-weight: 500; */
    cursor: pointer;
}

.link:hover,
.accordion:hover {
    color: var(--main-color);
    background: none;
}

.link:active,
.accordion:active {
    background: #fff;
}

.accordion.active {
    border-bottom: none;
}

.accordion .caret {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 0.125rem solid #374151;
    border-bottom: 0.125rem solid #374151;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: -0.25rem;
}

.accordion.active .caret {
    transform: rotate(-135deg);
    margin-top: 0.25rem;
}


/* Sub-menu panel */
.panel {
    display: none;
    padding-left: 0.875rem;
    border-left: 2px solid #e5e7eb;
    margin-bottom: 0.375rem;
    margin-left: 0.25rem;
}

.panel.active {
    display: block;
}

.panel a {
    display: block;
    padding: 0.625rem 0.5rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    border-bottom: none;
}

.panel a:hover,
.panel a.active {
    color: #1f2328 !important;
    background-color: white !important;
    border-radius: 0.25rem;
    font-weight: 600;
}

.accordion.active,
.link.active {
    color: var(--main-color);
}

.divider {
    background: #e5e7eb;
}

.menu-content>.accordion:first-of-type {
    border-top: 1px solid #e5e7eb;
}

/* Remove last border before section labels */
.section-label+.link,
.section-label+.accordion {
    border-top: 1px solid #e5e7eb;
}

.cta {
    display: flex;
    margin-bottom: 2rem;
}

.topbar .lang-switcher-wrapper {
    padding: 1rem;
    margin-right: 0.5rem;
}

.topbar .lang-switcher-wrapper>a {
    height: 1.5rem;
}

.topbar .lang-switcher-wrapper .lang-switcher-dropdown>li>a {
    height: 2.58rem;
}

.topbar .lang-switcher-wrapper .lang-switcher-dropdown {
    top: 3.58rem;
}

.mobile-menu .contact-us-link {
    width: 100%;
    justify-content: center;
}

.mobile-menu .contact-us-link-wrapper {
    width: 100%;
}

.mobile-menu .contact-us-link-wrapper {
    display: flex;
    flex-direction: column;
}

.mobile-menu .contact-us-link-wrapper .contact-us-dropdown {
    position: relative;
    width: 100%;
    left: 0;
    margin: auto;
    list-style: none;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    justify-content: center;
    display: none;
    transition: trans 0.25s ease;
}

.mobile-menu .has-dropdown.is-open .contact-us-dropdown {
    display: block;
}

.mobile-menu .contact-us-link-wrapper .contact-us-dropdown li {
    padding: 0.25rem 0.5rem !important;
}

.mobile-menu .contact-us-link-wrapper .contact-us-dropdown li>a {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    padding: 0rem 0.5rem !important;
    line-height: 3rem;
}

.mobile-menu .contact-us-link-wrapper .contact-us-dropdown li>a:hover,
.mobile-menu .contact-us-link-wrapper .contact-us-dropdown li>a:focus-within {
    background-color: var(--main-color);
    border-radius: 4px;
    color: white !important;
}

.mobile-menu .contact-us-link-wrapper .contact-us-dropdown li.social-links {
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.625rem;
    border-top: 1px solid #e6e8eb;
    margin-top: 0.5rem;
    padding: 1.5rem 0.5rem 1rem 0.5rem !important;
}

.mobile-menu .contact-us-link-wrapper .contact-us-dropdown li.social-links>a {
    width: 3rem;
    height: 3rem;
    background-color: #f1f3f5;
    padding: 0.25rem;
    border-radius: 0.625rem;
}

.contact-us-link-wrapper .contact-us-dropdown li.social-links>a:hover {
    background-color: #e2e6ea;
}