/*
====================================
BREAKING NEWS TICKER — marquee motion
(breaking.php already duplicates the
post list once, so the loop below is seamless)
====================================
*/

.breaking-wrapper {
    overflow: hidden;
}

.breaking-ticker {
    display: flex;
    width: max-content;
    animation: nctf-ticker-scroll 35s linear infinite;
}

/* Pause on hover so a reader can actually click/read a headline */
.breaking-wrapper:hover .breaking-ticker {
    animation-play-state: paused;
}

@keyframes nctf-ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .breaking-ticker {
        animation: none;
    }
}
