/* ==================== Breaking News Ticker ==================== */
.breaking {
    background: var(--secondary);
    color: white;
    padding: 10px 0;
    margin: 1px 0;
}

.breaking-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breaking-label {
    background: var(--secondary-dark);
    padding: 5px 12px;
    margin-right: 15px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 3px;
}

.ticker {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.ticker span {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
    font-weight: 500;
}

.breaking-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breaking-link:hover {
    text-decoration: underline;
    color: #f1f5f9;
}

.ticker:hover span {
    animation-play-state: paused;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}
