header.site__header .header-phone-icon {
    font-size: 36px;
    line-height: 1;
}

.header-action-label {
    display: inline;
}

header.site__header .header-icon-button .fa-arrow-up-right-from-square {
    display: none;
    margin-right: 0;
}

/* Keep the two header actions out of the initial header state. */
header.site__header:not(.sticky) .cta {
    display: none !important;
}

header.site__header.sticky .cta {
    display: flex !important;
}

@media (max-width: 1023px) {
    header.site__header:not(.simple) .header__content {
        justify-content: space-between !important;
        gap: 8px;
        padding: 8px 12px !important;
        width: 100%;
    }

    header.site__header .title__area {
        order: 1 !important;
        flex: 0 1 auto;
        height: auto !important;
        min-width: 0;
        margin: 0 auto 0 0 !important;
    }

    header.site__header .title__area .site__logo img {
        display: block;
        width: clamp(120px, 27vw, 185px) !important;
        max-width: 100%;
        height: auto !important;
        object-fit: contain;
    }

    header.site__header .cta {
        position: static !important;
        inset: auto !important;
        order: 2 !important;
        display: flex !important;
        flex: 0 0 auto;
        flex-direction: row !important;
        align-items: center;
        gap: 8px;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    header.site__header .cta .register.wp-block-button {
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
    }

    header.site__header .header-icon-button,
    header.site__header .header-phone-link {
        position: relative;
        display: inline-flex !important;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        min-width: 44px;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #d9e2ef;
        border-radius: 50%;
        background: #fff;
        color: #073b78 !important;
        text-decoration: none;
        box-shadow: 0 2px 8px rgb(7 59 120 / 10%);
    }

    header.site__header .header-icon-button::before,
    header.site__header .header-icon-button::after {
        display: none !important;
        content: none !important;
    }

    header.site__header .header-icon-button > i,
    header.site__header .header-phone-link .header-phone-icon {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin: 0 !important;
        font-size: 24px !important;
        line-height: 24px !important;
        text-align: center;
    }

    header.site__header .header-icon-button .fa-arrow-up-right-from-square {
        display: inline-block !important;
    }

    header.site__header .header-action-label {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    header.site__header .header-phone-link .call {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header.site__header .mobile-only {
        display: none !important;
    }

    header.site__header .menu {
        order: 3 !important;
        flex: 0 0 auto;
        height: auto !important;
        margin-left: 0 !important;
    }

    header.site__header .menu__toggle {
        display: flex !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0;
        border: 1px solid #d9e2ef;
        border-radius: 50%;
        background: #fff;
    }

    header.site__header .menu__toggle .menu__bar {
        width: 24px;
    }
}

@media (max-width: 600px) {
    header.site__header:not(.simple) .header__content {
        gap: 5px;
        padding: 7px 9px !important;
    }

    header.site__header .title__area .site__logo img {
        width: clamp(110px, 31vw, 150px) !important;
    }

    header.site__header .cta {
        gap: 5px;
    }

    header.site__header .cta .register.wp-block-button,
    header.site__header .header-icon-button,
    header.site__header .header-phone-link,
    header.site__header .header-phone-link .call,
    header.site__header .menu__toggle {
        flex-basis: 40px;
        width: 40px !important;
        min-width: 40px;
        height: 40px !important;
    }

    header.site__header .header-icon-button > i,
    header.site__header .header-phone-link .header-phone-icon {
        width: 22px;
        height: 22px;
        font-size: 22px !important;
        line-height: 22px !important;
    }
}

@media (max-width: 1023px) {
    header.site__header .cta .register.wp-block-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        padding: 0 !important;
        overflow: visible;
        background: transparent !important;
    }

    header.site__header .cta .register.wp-block-button::before,
    header.site__header .cta .register.wp-block-button::after {
        display: none !important;
        content: none !important;
    }

    header.site__header .header-icon-button,
    header.site__header .header-phone-link,
    header.site__header .header-phone-link .call,
    header.site__header .menu__toggle {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    header.site__header .menu__toggle {
        position: relative;
        right: auto;
        margin: 0 !important;
    }

    header.site__header .menu__toggle .menu__bar {
        margin: 0 auto !important;
    }
}

@media (max-width: 1023px) {
    header.site__header .header-icon-button,
    header.site__header .header-phone-link,
    header.site__header .header-phone-link .call {
        box-sizing: border-box;
        padding: 0 !important;
    }

    header.site__header .header-icon-button > i,
    header.site__header .header-phone-link .header-phone-icon {
        display: block;
        flex: 0 0 auto;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    header.site__header .header-icon-button .fa-arrow-up-right-from-square {
        margin-right: 0 !important;
    }

    header.site__header .header-phone-link .call {
        gap: 0;
    }
}

@media (max-width: 600px) {
    header.site__header .header-icon-button > i,
    header.site__header .header-phone-link .header-phone-icon {
        font-size: 23px !important;
    }
}
