/*!
 * Politicando Times - Ticker de Notícias
 * Version: 1.0
 */

/* Ticker de Notícias Urgentes */
.breaking-news-ticker {
    width: 100%;
    background: #000000;
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    font-family: Georgia, 'Times New Roman', serif;
    border-bottom: 1px solid #333;
}

.ticker-container {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.ticker-label {
    background: #ffffff;
    color: #000000;
    padding: 6px 15px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 2;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid #333;
}

.ticker-label-link {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.ticker-label-link:hover {
    opacity: 0.8;
    text-decoration: none;
    color: #000000;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.ticker-scroll {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    animation: ticker-scroll 40s linear infinite;
    padding-left: 100%;
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
}

.news-item {
    display: inline-block;
    margin-right: 8px;
    color: #ffffff;
}

.news-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

.news-title {
    font-weight: bold;
    margin-right: 4px;
    color: #ffffff;
}

.news-time {
    color: #cccccc;
    font-size: 13px;
}

.news-separator {
    margin: 0 5px;
    color: #666666;
}

.no-news {
    color: #cccccc;
    font-style: italic;
}

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

/* Pausa no hover */
.ticker-content:hover .ticker-scroll {
    animation-play-state: paused;
}

/* Responsividade */
@media (max-width: 768px) {
    .ticker-container {
        padding: 0 15px;
    }
    
    .ticker-label {
        padding: 4px 10px;
        font-size: 12px;
        margin-right: 10px;
    }
    
    .ticker-scroll {
        font-size: 13px;
        animation-duration: 30s;
    }
    
    .news-item {
        margin-right: 6px;
    }
    
    .news-title {
        margin-right: 3px;
    }
    
    .news-time {
        font-size: 12px;
    }
    
    .news-separator {
        margin: 0 4px;
    }
    
    .no-news {
        font-size: 13px;
    }
}