/* Estilos customizados que complementam o Tailwind */

/* Ajustes do ticker */
.breaking-news-ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Header fixo */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Container do ticker */
.breaking-news-container {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #dc2626;
    color: white;
    overflow: hidden;
}

.dark .breaking-news-container {
    background-color: #991b1b;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .breaking-news-container {
        top: auto !important;
        bottom: 0;
    }
    body {
        padding-top: var(--header-height-only, 120px) !important;
        padding-bottom: 40px !important;
    }
}

/* Efeito de hover nos cards de notícia */
.news-card img {
    transition: transform 0.3s ease;
}
.news-card:hover img {
    transform: scale(1.05);
}