/* #region subnav */
.header-top-custom {
    display: none;
}

.aw-subnav {
    font-family: Inter;
    font-size: 16px;
    line-height: 1.5;
    color: #181D27;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 999;
    background: transparent;
    box-shadow: none;
    transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s, box-shadow 0.35s;
}

body.aw-subnav-active .aw-subnav,
.aw-subnav.aw-mobile-open {
    background: #fff;
    box-shadow: 0 6px 20px 3px rgba(116, 135, 255, 0.03), 0 3px 6px -6px rgba(10, 27, 137, 0.03);
}

.aw-subnav-container {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 72px;
}

.aw-subnav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.aw-subnav-logo span {
    font-family: Inter SemiBold;
    font-size: 24px;
    color: #181D27;
    white-space: nowrap;
}

.aw-subnav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.aw-subnav-item {
    position: relative;
}

.aw-subnav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-family: Inter;
    font-size: 14px;
    color: #181D27;
    text-decoration: none;
    white-space: nowrap;
}

.aw-subnav-link:hover {
    color: #181D27;
}

a.aw-subnav-link:focus {
    color: #2563EB;
}

.aw-subnav-link-group {
    display: flex;
    align-items: center;
}

.aw-subnav-link-group .aw-subnav-link {
    padding-right: 4px;
}

.aw-dropdown-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px 8px 0;
}

.aw-subnav-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.aw-subnav-item.is-open .aw-subnav-chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.aw-dropdown {
    position: absolute;
    top: 100%;
    left: -300px;
    padding-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    pointer-events: none;
    min-width: 860px;
}

.aw-subnav-item.is-open .aw-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.aw-dropdown-inner {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #EAECF0;
    background: linear-gradient(#FFF, #FFF) padding-box, linear-gradient(180deg, #F8FAFF 42.49%, #D9E6FF 109.34%) border-box;
    box-shadow: 0 8px 30px -6px rgba(116, 135, 255, 0.05), 0 8px 30px -4px rgba(10, 27, 137, 0.03);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 12px;
}

.aw-dropdown-col-title {
    font-family: Inter SemiBold;
    color: #252B37;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    padding-left: 12px;
    padding-bottom: 4px;
}

.aw-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #252B37;
    text-decoration: none;
    transition: background 0.18s ease;
    white-space: nowrap;
}

.aw-dropdown-item:hover {
    background: #DDEBFF;
    color: #2A3AD8;
}

/* Hide site main header when scrolled */
body.aw-subnav-active header.header {
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile */
.aw-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
}

.aw-overlay.is-visible {
    display: block;
}

body.aw-menu-open {
    overflow: hidden;
}

.aw-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.aw-mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.aw-mobile-menu.is-open {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.aw-mobile-menu-inner {
    padding: 8px 16px 16px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #EAECF0;
}

.aw-mobile-link {
    display: block;
    padding: 12px;
    font-size: 15px;
    color: #181D27;
    text-decoration: none;
    border-radius: 8px;
}

.aw-mobile-link:hover {
    background: #F5F5F5;
}

.aw-mobile-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: Inter;
    font-size: 15px;
    color: #181D27;
    border-radius: 8px;
    text-align: left;
}

.aw-mobile-accordion-btn:hover {
    background: #F5F5F5;
}

.aw-mobile-accordion-btn .aw-subnav-chevron {
    flex-shrink: 0;
}

.aw-mobile-accordion.is-open .aw-subnav-chevron {
    transform: rotate(180deg);
}

.aw-mobile-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 8px;
}

.aw-mobile-accordion.is-open .aw-mobile-accordion-body {
    max-height: 800px;
}

.aw-mobile-group-title {
    font-family: Inter SemiBold;
    font-size: 11px;
    color: #717680;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 12px 4px;
}

@media (max-width: 979px) {
    .aw-subnav {
        top: 0 !important;
        transform: translateY(-100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s, box-shadow 0.35s;
    }

    body.aw-subnav-active .aw-subnav,
    .aw-subnav.aw-mobile-open {
        transform: translateY(0);
    }

    .aw-subnav-menu {
        display: none;
    }

    .aw-menu-btn {
        display: flex;
    }
}

/* #endregion */