/* Estilos para Notícias */

/* Card de Notícia */
.noticia-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.noticia-card.destaque {
    border: 2px solid #007bff;
}

.noticia-thumb {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.noticia-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-card:hover .noticia-thumb img {
    transform: scale(1.05);
}

.badge-destaque {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #007bff;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Badge destaque para blog-card */
.badge-destaque-blog {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.blog-card.destaque {
    border: 2px solid #ffc107;
}

.noticia-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.noticia-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.noticia-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.noticia-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.noticia-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.noticia-title a:hover {
    color: #007bff;
}

.noticia-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.noticia-link {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.noticia-link:hover {
    gap: 12px;
}

/* Grade de Notícias */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Hero da Notícia Individual */
.noticia-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.noticia-hero-content {
    position: relative;
    z-index: 2;
}

.noticia-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.noticia-hero .noticia-meta {
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
}

/* Conteúdo da Notícia */
.noticia-article {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.noticia-excerpt {
    font-size: 18px;
    color: #555;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    margin-bottom: 30px;
}

.noticia-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.noticia-body p {
    margin-bottom: 20px;
}

.noticia-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.noticia-link-externo {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.noticia-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.noticia-tags a {
    display: inline-block;
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 4px;
    margin: 5px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.noticia-tags a:hover {
    background: #007bff;
    color: white;
}

/* Navegação entre notícias */
.noticia-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.noticia-navigation a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.noticia-navigation a:hover {
    color: #0056b3;
}

/* Filtros de Arquivo */
.noticias-filters {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-select {
    border-radius: 6px;
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.result-count {
    color: #666;
    font-size: 14px;
}

/* Hero do Arquivo */
.archive-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.archive-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.archive-description {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Widget de Notícias */
.noticias-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.noticias-widget-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.noticias-widget-list li:last-child {
    border-bottom: none;
}

.noticias-widget-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    float: left;
}

.noticia-widget-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.noticia-widget-date {
    font-size: 12px;
    color: #999;
}

/* Responsivo */
@media (max-width: 768px) {
    .noticia-hero-title {
        font-size: 28px;
    }
    
    .archive-title {
        font-size: 32px;
    }
    
    .noticia-article {
        padding: 20px;
    }
    
    .noticias-grid {
        grid-template-columns: 1fr;
    }
}
