/* Новогодняя бегущая строка в синей полосе #header-warning */
html.ny-marquee-ready #header-warning p {
    display: none !important;
}

#header-warning {
    overflow: hidden;
}

#header-warning > .lt-container {
    overflow: hidden;
}

#header-warning .ny-marquee {
    width: 100%;
    overflow: hidden;
}

#header-warning .ny-marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: ny-marquee 22s linear infinite;
}

#header-warning .ny-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding-right: 3.5rem;
    white-space: nowrap;
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 600;
    color: #fff;
}

#header-warning .ny-marquee__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    height: 1.25em;
    color: #F2C94C;
    flex: none;
}

#header-warning .ny-marquee__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

#header-warning:hover .ny-marquee__track {
    animation-play-state: paused;
}

@keyframes ny-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.333333%); }
}

@media (max-width: 768px) {
    #header-warning .ny-marquee__item {
        gap: 0.6rem;
        padding-right: 2.5rem;
        font-size: 1.5rem;
    }
    #header-warning .ny-marquee__track {
        animation-duration: 16s;
    }
}

@media (prefers-reduced-motion: reduce) {
    #header-warning .ny-marquee__track {
        animation: none;
        transform: none;
    }
    #header-warning .ny-marquee__item[aria-hidden="true"] {
        display: none;
    }
}

html body #header-warning {
    background-color: #e53935 !important;
    background-image: url("../img/ny-pattern.svg") !important;
    background-repeat: repeat !important;
    background-size: 200px 100px !important;
}
