/* PRANTIK BARTA: animate only the existing breaking-news text */
body .pb-breaking {
    display: flex;
    align-items: center;
    overflow: hidden;
}

body .pb-breaking > b {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

body .pb-breaking > span {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

body .pb-breaking > span > a {
    display: inline-block;
    width: max-content;
    max-width: none;
    white-space: nowrap;
    animation: pbBreakingTickerMove 24s linear infinite !important;
    will-change: transform;
    text-decoration: none;
}

body .pb-breaking:hover > span > a {
    animation-play-state: paused !important;
}

@keyframes pbBreakingTickerMove {
    from { transform: translateX(100%); }
    to   { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
    body .pb-breaking > span > a {
        animation: none !important;
        transform: none !important;
    }
}
