/* News Ticker — ESPN/CNN-style scrolling bar */

.sfhr-news-ticker {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    background: #0f172a;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 36px;
    z-index: 100;
}

.sfhr-news-ticker-label {
    flex-shrink: 0;
    padding: 0 14px;
    background: #256B50;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    height: 36px;
    line-height: 36px;
    white-space: nowrap;
    z-index: 2;
}

.sfhr-news-ticker-track {
    display: flex;
    flex: 1;
    overflow: hidden;
    height: 36px;
}

.sfhr-news-ticker-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    animation: sfhr-ticker-scroll linear infinite;
    padding: 0 24px;
}

.sfhr-news-ticker:hover .sfhr-news-ticker-content {
    animation-play-state: paused;
}

.sfhr-news-ticker-content a {
    color: #e2e8f0;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.sfhr-news-ticker-content a:hover {
    color: #fff;
}

.sfhr-news-ticker-source {
    color: #94a3b8;
    font-size: 11px;
    margin-left: 4px;
}

.sfhr-news-ticker-sep {
    color: #475569;
    margin: 0 16px;
    flex-shrink: 0;
}

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

/* Mobile — label hidden, headlines take full width */
@media (max-width: 768px) {
    .sfhr-news-ticker {
        height: 32px;
        font-size: 12px;
        line-height: 32px;
    }
    .sfhr-news-ticker-label {
        display: none;
    }
    .sfhr-news-ticker-track {
        height: 32px;
        width: 100%;
    }
    .sfhr-news-ticker-content {
        padding: 0 12px;
    }
    .sfhr-news-ticker-sep {
        margin: 0 10px;
    }
}
