@media (min-width: 1025px) {
    .cqa-compact-header {
        --cqa-compact-height: 68px;
        position: fixed;
        z-index: 9500;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: var(--cqa-compact-height);
        border-bottom: 1px solid rgba(6, 52, 111, .12);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 8px 24px rgba(3, 35, 76, .14);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition:
            transform .2s ease,
            opacity .16s ease,
            visibility 0s linear .2s;
        pointer-events: none;
    }

    .admin-bar .cqa-compact-header {
        top: 32px;
    }

    html.cqa-splash-pending .cqa-compact-header {
        display: none !important;
    }

    .cqa-compact-header.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
        pointer-events: auto;
    }

    .cqa-compact-header,
    .cqa-compact-header *,
    .cqa-compact-header *::before,
    .cqa-compact-header *::after {
        box-sizing: border-box;
    }

    .cqa-compact-header__inner {
        display: grid;
        grid-template-columns: clamp(180px, 18vw, 220px) minmax(320px, 1fr) auto;
        align-items: center;
        gap: clamp(24px, 2vw, 36px);
        width: min(100% - 40px, 1240px);
        height: 100%;
        margin: 0 auto;
    }

    .cqa-compact-header__logo {
        display: inline-flex;
        align-items: center;
        width: auto;
        max-width: 220px;
        height: 100%;
        padding: 0;
    }

    .cqa-compact-header__logo-image {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 47px;
        object-fit: contain;
    }

    .cqa-compact-header__search-slot {
        position: relative;
        min-width: 0;
        width: 100%;
    }

    .cqa-compact-header__search-slot > .elementor-element,
    .cqa-compact-header__search-slot .elementor-widget-container,
    .cqa-compact-header__search-slot .elementor-jet-ajax-search,
    .cqa-compact-header__search-slot .jet-ajax-search,
    .cqa-compact-header__search-slot .jet-ajax-search__form {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__form {
        display: flex !important;
        align-items: stretch;
        width: 100% !important;
        min-height: 46px;
        border: 1px solid #dfe5ed;
        border-radius: 10px;
        background: #f5f6f8;
        box-shadow: none;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__fields-holder {
        min-width: 0;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__field-wrapper {
        min-width: 0;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__field {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 46px;
        height: 46px;
        padding: 0 12px 0 14px;
        border: 0;
        font-size: 14px;
        opacity: 1;
        pointer-events: auto;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__submit {
        width: 48px;
        min-width: 48px;
        min-height: 46px;
        border: 0;
        background: transparent;
        border-radius: 0 9px 9px 0;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__submit:hover,
    .cqa-compact-header__search-slot .jet-ajax-search__submit:focus,
    .cqa-compact-header__search-slot .jet-ajax-search__submit:active {
        background: transparent;
        box-shadow: none;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__submit-icon {
        font-size: 18px;
        color: #013068 !important;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__submit-icon svg {
        fill: currentColor !important;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__results-area {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 4;
        max-height: min(70vh, 620px);
        overflow-y: auto;
        border: 1px solid #dfe5ed;
        border-radius: 0 0 10px 10px;
        background: #fff;
        box-shadow: 0 16px 36px rgba(3, 35, 76, .2);
    }

    body.cqa-has-contextual-search .cqa-compact-header__inner {
        grid-template-columns: minmax(180px, 220px) auto;
    }

    body.cqa-has-contextual-search .cqa-compact-header__search-slot {
        display: none;
    }

    .cqa-compact-header__cta {
        justify-self: end;
    }

    .cqa-compact-header__cta-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        max-height: 46px;
        width: max-content;
        padding: 0 20px;
        border: 0;
        border-radius: 24px;
        background: #ff6b00;
        color: #fff;
        text-decoration: none;
        font: 600 14px/1 "Poppins", Arial, sans-serif;
        white-space: nowrap;
    }

    .cqa-compact-header__cta-link:hover,
    .cqa-compact-header__cta-link:focus-visible {
        background: #fc5b00;
        color: #fff;
    }

    .cqa-compact-header__cta-link:focus-visible {
        outline: 3px solid #ff7a00;
        outline-offset: 3px;
    }

    .elementor-location-header #header-desktop {
        display: block;
    }

    .elementor-location-header #header-desktop > .elementor-container {
        display: grid;
        grid-template-columns: clamp(180px, 18vw, 220px) minmax(0, 1fr) auto;
        align-items: center;
        gap: clamp(24px, 2vw, 36px);
        width: min(100% - 40px, 1240px);
        margin: 0 auto;
    }

    .elementor-location-header #header-desktop .elementor-element-1cb8c3f,
    .elementor-location-header #header-desktop .elementor-element-eead781,
    .elementor-location-header #header-desktop .elementor-element-e3049b1 {
        width: auto;
        margin: 0;
    }

    .elementor-location-header #header-desktop .elementor-element-1cb8c3f > .elementor-element-populated,
    .elementor-location-header #header-desktop .elementor-element-eead781 > .elementor-element-populated,
    .elementor-location-header #header-desktop .elementor-element-e3049b1 > .elementor-element-populated {
        margin: 0;
        padding: 0;
    }

    .elementor-location-header #header-desktop .elementor-element-1cb8c3f .elementor-widget-wrap,
    .elementor-location-header #header-desktop .elementor-element-eead781 .elementor-widget-wrap,
    .elementor-location-header #header-desktop .elementor-element-e3049b1 .elementor-widget-wrap {
        justify-content: flex-start;
        align-items: center;
        padding: 0;
    }

    .elementor-location-header #header-desktop .elementor-element-e3049b1 .elementor-widget-wrap {
        justify-content: flex-end;
    }

    .elementor-location-header #header-desktop .elementor-element-0ef6904 img {
        display: block;
        width: auto;
        max-width: 100%;
        max-height: 47px;
        object-fit: contain;
    }

    .elementor-location-header #header-desktop .elementor-element-eead781 .jet-ajax-search__form {
        display: flex !important;
        align-items: stretch;
        min-height: 46px;
        border: 1px solid #dfe5ed;
        border-radius: 10px;
        background: #f5f6f8;
        box-shadow: none;
    }

    .elementor-location-header #header-desktop .elementor-element-eead781 .jet-ajax-search__field-wrapper {
        min-width: 0;
    }

    .elementor-location-header #header-desktop .elementor-element-eead781 .jet-ajax-search__field {
        width: 100%;
        min-height: 46px;
        height: 46px;
        border: 0;
        border-radius: 0;
        padding: 0 12px 0 14px;
    }

    .elementor-location-header #header-desktop .elementor-element-eead781 .jet-ajax-search__submit {
        width: 48px;
        min-width: 48px;
        min-height: 46px;
        border: 0;
        background: transparent;
        border-radius: 0 9px 9px 0;
    }

    .elementor-location-header #header-desktop .elementor-element-eead781 .elementor-widget-container,
    .elementor-location-header #header-desktop .elementor-element-eead781 .elementor-jet-ajax-search,
    .elementor-location-header #header-desktop .elementor-element-eead781 .jet-ajax-search {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .elementor-location-header #header-desktop .elementor-element-e3049b1 .elementor-widget {
        margin: 0 !important;
    }

    .elementor-location-header #header-desktop .elementor-element-e3049b1 .elementor-widget a.elementor-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 20px;
        border-radius: 22px;
        font: 700 14px/1 "Poppins", Arial, sans-serif;
    }

    .elementor-location-header #header-desktop .elementor-element-e3049b1 .elementor-widget + .elementor-widget {
        margin-left: 10px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1152px) {
    .cqa-compact-header__inner {
        grid-template-columns: minmax(120px, 160px) minmax(280px, 1fr) auto;
        width: calc(100% - 28px);
        gap: 18px;
    }

    .cqa-compact-header__logo {
        max-width: 160px;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__form,
    .elementor-location-header #header-desktop .elementor-element-eead781 .jet-ajax-search__form {
        min-height: 44px;
    }

    .cqa-compact-header__search-slot .jet-ajax-search__field,
    .cqa-compact-header__search-slot .jet-ajax-search__submit,
    .elementor-location-header #header-desktop .elementor-element-eead781 .jet-ajax-search__field,
    .elementor-location-header #header-desktop .elementor-element-eead781 .jet-ajax-search__submit {
        min-height: 44px;
    }

    .cqa-compact-header__cta-link,
    .elementor-location-header #header-desktop .elementor-element-e3049b1 .elementor-widget a.elementor-button {
        min-height: 40px;
        padding: 0 16px;
        font-size: 13px;
    }

    .elementor-location-header #header-desktop > .elementor-container {
        width: calc(100% - 28px);
    }
}

@media (max-width: 1024px) {
    .cqa-compact-header {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cqa-compact-header {
        transition: none !important;
    }
}
