@media (min-width: 1024px) {
    #header {
        box-sizing: border-box;
    }

    #header.scrolled {
        padding-top: 5px;
        padding-bottom: 5px;
        background: #0a2450;
    }

    body:not(.has_banner) #header.scrolled {
        position: fixed;
    }

    #header > * {
        transition: all 150ms ease-in-out;
    }

    #header.scrolled .logo {
        transform: scale(0.8);
        transform-origin: 0 50%;
    }

    #header.scrolled .menu_content_container {
        transform: scale(0.9);
        transform-origin: 100% 50%;
    }

    #header .menu_content_container {
        display: flex;
        align-items: center;
        gap: var(--gap-m);
        flex: 1;
    }

    #header ul.main_menu {
        list-style: none;
        padding: 0;
        display: flex;
        gap: var(--gap-s);
        align-items: center;
        margin: 0 0 0 auto;
    }

    #header ul.main_menu li {
        position: relative;
        padding: 12px 0;
        border-bottom: 1px solid transparent;
        margin: 0;
    }

    #header ul.main_menu li.current-menu-item,
    #header ul.main_menu > li:hover {
        border-color: var(--white);
    }

    #header ul.main_menu li a {
        padding: 8px 0;
    }

    #header .menu_cta {
        display: flex;
        align-items: center;
    }

    #mobile_menu_button {
        display: none;
    }

    ul#main_menu > li.menu-item-has-children > a {
        padding-right: 30px;
        background: 100% 50% / 16px 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 15 9'%3E%3Cpath stroke='%23fff' stroke-linecap='square' d='m13.7 1.5-6 6-6-6'/%3E%3C/svg%3E");
    }

    ul#main_menu > li.menu-item-has-children ul {
        color: var(--white);
        position: absolute;
        z-index: 9;
        list-style: none;
        top: 70px;
        right: 8px;
        transform: translateX(50%);
        padding: 10px;
        min-width: 300px;
        display: none;
        border-radius: 4px;
        border: 1px solid #0092a4;
        background: linear-gradient(0deg, #05577a 0%, #0a2450 67%, #0d013a 99%);
        box-sizing: border-box;
    }

    ul#main_menu > li.menu-item-has-children ul:before {
        content: "";
        display: block;
        height: 20px;
        width: 300px;
        position: absolute;
        inset: -20px auto auto 0;
    }

    ul#main_menu > li.menu-item-has-children:hover ul {
        display: flex;
        flex-flow: column;
    }

    ul#main_menu > li.menu-item-has-children ul:after {
        content: "";
        display: block;
        position: absolute;
        border: 10px solid rgba(0, 0, 0, 0);
        border-bottom-color: #0092a4;
        width: 0;
        height: 0;
        top: -20px;
        right: 50%;
        transform: translateX(50%);
    }

    ul#main_menu > li.menu-item-has-children ul li {
        width: 100%;
        padding: 0;
    }

    ul#main_menu > li.menu-item-has-children ul li a {
        padding: 15px;
        box-sizing: border-box;
        display: block;
        text-decoration: none;
        width: 100%;
        font-weight: 400;
    }

    ul#main_menu > li.menu-item-has-children ul li a:hover {
        background: var(--teal-light);
        border-radius: 3px;
    }

    #header .contact_link_container.mobile {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1370px) {
    #header .contact_link_container a:before {
        height: 25px;
        width: 25px;
    }
}

@media (min-width: 1024px) and (max-width: 1250px) {
    #header {
        gap: var(--gap-m);
    }

    #header .menu_content_container {
        flex: 1 0 auto;
    }

    ul#main_menu a {
        font-size: 14px;
    }

    .logo--header {
        width: 100%;
        height: auto;
        max-width: 240px;
        flex-shrink: 1;
    }
}