.header__logo {
    align-items: center;
}

.header__logo-wrapper picture {
    display: block;
}

.header-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 40px;
    padding: 0 12px;
    background-color: #ff7b00;
    color: #fff;
    font: 700 13px/1.3 Lato, system-ui, sans-serif;
}

.header-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 40px;
    color: inherit;
}

.header-strip__telegram {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.header-strip a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

.header-strip--new-year {
    --brand-blue: #028fde;
    --winter-ink: #003b5c;
    --winter-sky: #e4f5ff;
    position: relative;
    isolation: isolate;
    min-height: 56px;
    background-color: var(--winter-sky);
    border-bottom: 1px solid #c8e8f8;
    color: var(--winter-ink);
}

.header-strip--new-year::before,
.header-strip--new-year::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block: 0;
    width: min(30%, 238px);
    pointer-events: none;
    background-image: url("../img/winter-mountains.webp?v=azure");
    background-repeat: no-repeat;
    background-size: max(200%, 295px) 100%;
}

.header-strip--new-year::before {
    left: 0;
    background-position: left center;
    mask-image: linear-gradient(to right, #000 65%, transparent);
}

.header-strip--new-year::after {
    right: 0;
    background-position: right center;
    mask-image: linear-gradient(to left, #000 65%, transparent);
}

.header-strip--new-year a {
    transition: none;
}

.header-strip--new-year .header-strip__tours {
    gap: 10px;
    font-size: 19px;
    text-decoration: none;
}

.header-strip__year {
    color: #a84300;
    background: #ffead9;
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 0.75em;
    vertical-align: 1px;
    letter-spacing: 0.02em;
}

.header-strip__arrow {
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    font: 700 16px/1 Lato, sans-serif;
}

.header-strip--new-year .header-strip__telegram {
    position: relative;
    padding-left: 20px;
    font-weight: 400;
    text-decoration: none;
}

.header-strip--new-year .header-strip__telegram::before {
    content: "";
    position: absolute;
    left: 0;
    height: 18px;
    border-left: 1px solid #9acbe4;
}

.header-strip--new-year .header-strip__telegram img {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background-color: var(--brand-blue);
}

.header-strip--new-year a:hover {
    color: #005986;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.header-wrapper--new-year #header a.menu-extended__title.vip-animated,
.header-wrapper--new-year #header a.menu-extended__title.vip-animated:is(:hover, :focus-visible) {
    animation: none;
    transition: none;
    transform: none;
}

@media (max-width: 1023px) {
    .header-wrapper.header-wrapper--new-year {
        position: sticky;
        flex-shrink: 0;
    }

    .header-wrapper--new-year ~ main {
        padding-top: 0;
    }

    .header-strip--new-year {
        min-height: 40px;
    }
}

@media (max-width: 768px) {
    .header-strip--new-year {
        gap: 12px;
    }

    .header-strip--new-year::before,
    .header-strip--new-year::after {
        width: min(25%, calc((100% - 320px) / 2));
        background-size: 250px auto;
        background-position-y: center;
    }

    .header-strip--new-year .header-strip__tours {
        gap: 6px;
        font-size: 14px;
    }

    .header-strip__arrow {
        width: 18px;
        height: 18px;
        font-size: 14px;
    }

    .header-strip--new-year .header-strip__telegram {
        padding-left: 12px;
    }
}

@media (max-width: 640px) {
    .header__logo-wrapper .logo {
        width: 124px !important;
    }
}

@media (max-width: 440px) {
    .header-strip--new-year::before,
    .header-strip--new-year::after {
        width: calc((100% - 228px) / 2);
    }

    .header-strip--new-year .header-strip__telegram {
        min-width: 40px;
    }

    .header-strip--new-year .header-strip__telegram img {
        width: 23px;
        height: 23px;
    }

    .header-strip--new-year .header-strip__telegram .teaser-link-text-mobile {
        display: none;
    }
}
