/* Reference-style two-level header. */
header.main-header,
header.main-header.sticky {
    overflow: visible;
    background: transparent;
    border-top: 0;
    box-shadow: none;
}

header.main-header .header-account-bar {
    min-height: 34px;
    background: #fff;
    border-bottom: 1px solid #e0e7eb;
}

header.main-header .header-account-bar .container {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: flex-end;
}

header.main-header .account-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

header.main-header .account-link {
    color: #315368;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

header.main-header .account-link:hover,
header.main-header .account-link:focus {
    color: #0099cb;
}

header.main-header .account-link i {
    margin-right: 4px;
    color: #0099cb;
    font-size: 11px;
}

header.main-header .account-divider {
    width: 1px;
    height: 15px;
    background: #d5dfe4;
}

/* Collapse the logo to the main row when the optional account bar is hidden. */
header.main-header.without-account-bar .header-wrapper .parent-wrapper-logo {
    height: 96px;
    margin-top: 0;
}

header.main-header.without-account-bar .logo-wrapper,
header.main-header.without-account-bar.sticky.active .logo-wrapper {
    height: 96px;
    padding: 3px 6px;
}

header.main-header.without-account-bar .logo-wrapper a img,
header.main-header.without-account-bar.sticky.active .logo-wrapper a img {
    height: 90px;
}

header.main-header .header-main-bar,
header.main-header.sticky .header-main-bar {
    background: transparent;
}

header.main-header .header-wrapper {
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: clamp(16px, 2vw, 34px);
}

header.main-header .header-wrapper .parent-wrapper-logo {
    flex: 0 0 clamp(165px, 14vw, 220px);
    width: auto;
    height: 130px;
    margin-top: -34px;
    padding: 0;
    align-self: flex-start;
    position: relative;
    z-index: 5;
    background: #fff;
    border: 1px solid rgba(224, 231, 235, .9);
    border-top: 0;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 9px 24px rgba(16, 45, 58, .16);
}

header.main-header .logo-wrapper,
header.main-header.sticky.active .logo-wrapper {
    width: 100%;
    min-height: 0;
    height: 130px;
    padding: 4px 8px;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

header.main-header .logo-wrapper::before { display: none; }

header.main-header .logo-wrapper a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

header.main-header .logo-wrapper a img,
header.main-header.sticky.active .logo-wrapper a img {
    width: 100%;
    height: 118px;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

header.main-header .header-wrapper .parent-wrapper-navigation {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

header.main-header .navigation,
header.main-header.sticky.active .navigation {
    height: auto;
    margin: 0;
    padding: 0;
}

header.main-header .navigation .header-bottom,
header.main-header.sticky.active .navigation .header-bottom {
    display: flex;
    min-height: 60px;
    height: auto;
    padding: 0 18px;
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 45, 55, .12);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
    backdrop-filter: blur(12px) saturate(125%);
}

header.main-header .navigation .header-bottom::before,
header.main-header .navigation .header-bottom::after { display: none; }

header.main-header .navigation .header-bottom .menu-wrapper { width: 100%; }

header.main-header .navigation .header-bottom .menu-wrapper > ul,
header.main-header.sticky.active .navigation .header-bottom .menu-wrapper > ul {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    gap: clamp(10px, 1.15vw, 23px);
    color: #fff;
}

header.main-header .navigation .header-bottom .menu-wrapper > ul > li {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
    align-items: center;
    line-height: 1;
}

header.main-header .navigation .header-bottom .menu-wrapper > ul > li > a,
header.main-header.sticky.active .navigation .header-bottom .menu-wrapper > ul > li > a {
    display: block;
    padding: 11px 0;
    color: #fff;
    font-size: clamp(9.5px, .67vw, 12px);
    font-weight: 600;
    letter-spacing: .2px;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .72);
    white-space: nowrap;
    transition: color .2s ease;
}

header.main-header .navigation .header-bottom .menu-wrapper > ul > li.has-sub-menu {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

header.main-header .navigation .header-bottom .menu-wrapper > ul > li.has-sub-menu::after {
    margin-left: 0;
    line-height: 1;
}

header.main-header .navigation .header-bottom .menu-wrapper > ul > li:hover > a,
header.main-header .navigation .header-bottom .menu-wrapper > ul > li:focus-within > a {
    color: #bfeeff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .8);
}

header.main-header .navigation .header-bottom .menu-wrapper ul .has-sub-menu ul {
    background: #fff;
    border: 1px solid #e0e8ec;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(22, 55, 70, .18);
}

header.main-header .navigation .header-bottom .menu-wrapper ul .has-sub-menu ul li:not(:last-child) { border-bottom-color: #e8eef1; }
header.main-header .navigation .header-bottom .menu-wrapper ul .has-sub-menu ul li a { color: #253842; }

header.main-header .header-cta-wrapper { flex: 0 0 auto; }

header.main-header .header-cta {
    display: inline-flex;
    min-height: 46px;
    padding: 10px clamp(16px, 1.5vw, 28px);
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0089c3, #05abd0);
    border-radius: 9px;
    box-shadow: 0 7px 18px rgba(0, 145, 194, .27);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

header.main-header .header-cta:hover,
header.main-header .header-cta:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 145, 194, .35);
}

header.main-header .navigation .header-bottom .menu-btn { color: #fff; }

/* Only the header shown after scrolling uses a solid white background. */
header.main-header.sticky.active {
    background: #fff;
    box-shadow: 0 5px 20px rgba(22, 55, 70, .12);
}

header.main-header.sticky.active .header-main-bar {
    background: #fff;
}

header.main-header.sticky.active .navigation .header-bottom {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

header.main-header.sticky.active .navigation .header-bottom .menu-wrapper > ul {
    color: #253842;
}

header.main-header.sticky.active .navigation .header-bottom .menu-wrapper > ul > li > a {
    color: #253842;
    text-shadow: none;
}

header.main-header.sticky.active .navigation .header-bottom .menu-wrapper > ul > li:hover > a,
header.main-header.sticky.active .navigation .header-bottom .menu-wrapper > ul > li:focus-within > a {
    color: #0099cb;
}

header.main-header.sticky.active .navigation .header-bottom .menu-btn {
    color: #0099cb;
}

@media screen and (max-width: 1200px) {
    header.main-header .header-wrapper { gap: 12px; }
    header.main-header .header-wrapper .parent-wrapper-logo { flex-basis: 155px; }
    header.main-header .navigation .header-bottom .menu-wrapper > ul { gap: 8px; }
    header.main-header .navigation .header-bottom .menu-wrapper > ul > li > a,
    header.main-header.sticky.active .navigation .header-bottom .menu-wrapper > ul > li > a { font-size: 9.5px; }
    header.main-header .header-cta { padding-right: 14px; padding-left: 14px; font-size: 11px; }
}

@media screen and (max-width: 1024px) {
    header.main-header .header-account-bar,
    header.main-header .header-account-bar .container { min-height: 30px; }
    header.main-header .header-wrapper { min-height: 72px; flex-direction: row; }
    header.main-header .header-wrapper .parent-wrapper-logo { width: 190px; max-width: 45%; height: 102px; margin-top: -30px; flex-basis: 190px; }
    header.main-header .logo-wrapper { height: 102px; padding: 7px 12px 7px 0; }
    header.main-header .logo-wrapper a img { height: 88px; }
    header.main-header .header-wrapper .parent-wrapper-navigation { order: 3; flex: 0 0 48px; }
    header.main-header .navigation { display: block; }
    header.main-header .navigation .header-bottom { position: static; min-height: 0; padding: 0; }
    header.main-header .navigation .header-bottom .menu-btn { top: 49px; right: 18px; width: 42px; height: 42px; border-radius: 8px; }
    header.main-header .header-cta-wrapper { margin-left: auto; }
    header.main-header.without-account-bar .header-wrapper .parent-wrapper-logo { height: 72px; margin-top: 0; }
    header.main-header.without-account-bar .logo-wrapper,
    header.main-header.without-account-bar.sticky.active .logo-wrapper { height: 72px; }
    header.main-header.without-account-bar .logo-wrapper a img,
    header.main-header.without-account-bar.sticky.active .logo-wrapper a img { height: 62px; }
}

@media screen and (max-width: 767px) {
    header.main-header .account-link { font-size: 11px; }
    header.main-header .header-wrapper .parent-wrapper-logo { width: 145px; max-width: 42%; height: 102px; margin-top: -30px; flex-basis: 145px; }
    header.main-header .logo-wrapper,
    header.main-header.sticky.active .logo-wrapper { min-height: 0; height: 102px; padding: 7px 10px 7px 0; }
    header.main-header .logo-wrapper a,
    header.main-header .logo-wrapper a img,
    header.main-header.sticky.active .logo-wrapper a img { height: 88px; }
    header.main-header .header-cta { min-height: 38px; padding: 8px 11px; font-size: 10px; border-radius: 7px; }
    header.main-header .navigation .header-bottom .menu-btn { top: 43px; right: 12px; width: 38px; height: 38px; font-size: 1.4rem; }
}

@media screen and (max-width: 480px) {
    header.main-header .header-cta-wrapper { display: none; }
    header.main-header .header-wrapper .parent-wrapper-navigation { margin-left: auto; }
}
