.ic-news-ticker--single .ic-news-ticker__viewport {
    overflow-x: auto;
    scrollbar-width: thin;
}
.ic-news-ticker--single .ic-news-ticker__track {
    min-width: 100%;
}

@supports (width: 1cqi) {
    @media (prefers-reduced-motion: no-preference) {
        .ic-news-ticker--single .ic-news-ticker__viewport {
            container-type: inline-size;
            overflow: hidden;
        }
        .ic-news-ticker--single .ic-news-ticker__track {
            animation-name: ic-ticker-scroll;
            animation-duration: var(--ic-ticker-duration, 110s);
            animation-timing-function: linear;
            animation-iteration-count: infinite;
            animation-direction: alternate;
        }
        .ic-news-ticker--single .ic-news-ticker__viewport:focus-within {
            overflow-x: auto;
        }
        .ic-news-ticker--single .ic-news-ticker__viewport:focus-within .ic-news-ticker__track {
            animation: none;
        }
    }
}

@keyframes ic-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(100cqi - 100%)); }
}

@media (prefers-reduced-motion: reduce) {
    .ic-news-ticker--single .ic-news-ticker__viewport {
        mask-image: none;
        -webkit-mask-image: none;
    }
}
