@media (min-width: 1000px) {
    #header [data-device="desktop"] [data-row="middle"] > .ct-container {
        display: grid;
        align-items: center;
        grid-template-columns: minmax(220px, 1fr) minmax(420px, 500px) minmax(520px, 1fr);
        column-gap: 16px;
        width: min(1360px, calc(100vw - 48px));
        max-width: 1360px;
        min-height: 88px;
        margin-inline: auto;
    }

    #header [data-device="desktop"] [data-row="middle"] {
        --height: 88px;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-column] {
        align-items: center;
        min-width: 0;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-column="start"] {
        justify-self: start;
        justify-content: flex-start;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-column="middle"] {
        justify-self: stretch;
        justify-content: center;
        width: 100%;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-column="middle"] .cl-search-bar {
        width: 100%;
        max-width: 480px;
        height: 54px;
        align-self: center;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-column="middle"] .cl-search-bar__submit {
        height: 100%;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-column="end"] {
        justify-self: start;
        justify-content: flex-start;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-items] > * {
        margin-inline: 0;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-column="end"] .menu {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 18px;
        width: auto;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-column="end"] .ct-menu-link {
        padding-inline: 0 !important;
        line-height: normal;
        white-space: nowrap;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-id="logo"] .site-logo-container {
        --logo-max-height: 107.5px;
        display: flex;
        align-items: center;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-id="logo"] .site-logo-container img {
        display: block;
        width: auto;
        height: 107.5px;
        max-width: 393.75px;
        object-fit: contain;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #header [data-device="desktop"] [data-row="middle"] [data-id="logo"] .site-logo-container,
    #header [data-id="logo"] .site-logo-container {
        --logo-max-height: 75px;
        display: flex;
        align-items: center;
    }

    #header [data-device="desktop"] [data-row="middle"] [data-id="logo"] .site-logo-container img,
    #header [data-id="logo"] .site-logo-container img {
        display: block;
        width: auto;
        height: clamp(68.75px, 7.8125vw, 75px);
        max-width: 328.75px;
        object-fit: contain;
    }
}

@media (max-width: 767px) {
    #header [data-id="logo"] .site-logo-container {
        --logo-max-height: 68.75px;
        display: flex;
        align-items: center;
    }

    #header [data-id="logo"] .site-logo-container img {
        display: block;
        width: auto;
        height: clamp(60px, 15.625vw, 68.75px);
        max-width: 273.75px;
        object-fit: contain;
    }
}
