/* =========================================
   ARQUIVO: noticias.css
   ESTILOS EXCLUSIVOS DA PÁGINA DE NOTÍCIAS
   ========================================= */

/* Cabeçalho Interno (Reaproveitado das outras páginas) */
.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.page-header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.655); /* Verde escuro */
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: #e8f2ef;
}

/* =========================================
   FILTROS DE CATEGORIA (ESTILO MENU HORIZONTAL)
   ========================================= */
.news-filters {
    background-color: white;
    padding: 24px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.filters-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    background-color: #f1f5f9;
    color: var(--text-muted);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background-color: #e2e8f0;
    color: var(--brand-dark);
}

.filter-btn.active {
    background-color: var(--brand-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(24, 73, 56, 0.2);
}

/* =========================================
   FEED DE NOTÍCIAS
   ========================================= */
.news-feed-section {
    padding: 60px 20px 100px;
    background-color: var(--bg-light);
}

.news-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --- Card de Destaque Maior --- */
.featured-news-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 60px;
    transition: transform 0.3s ease;
}

.featured-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.featured-img {
    flex: 1;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(15, 36, 27, 0.9);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-destaque {
    background-color: var(--brand-accent); /* Laranja para chamar atenção */
}

.featured-content {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-size: 2rem;
    color: var(--brand-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Responsivo para o Card de Destaque (Fica empilhado no celular) */
@media (max-width: 900px) {
    .featured-news-card { flex-direction: column; }
    .featured-img { min-height: 250px; }
    .featured-content { padding: 32px 24px; }
    .featured-content h2 { font-size: 1.5rem; }
}

/* --- Grid Padrão de Notícias (Reaproveitando da Home) --- */
.news-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.news-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: var(--brand-primary);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-content h3 {
    font-size: 1.25rem;
    color: var(--brand-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.link-action {
    color: var(--brand-primary);
    font-weight: 600;
}

.link-action:hover {
    text-decoration: underline;
}

/* =========================================
   PAGINAÇÃO E RODAPÉ EXTRA
   ========================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background-color: white;
    color: var(--text-muted);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn.active, .page-btn:hover {
    background-color: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.page-btn:last-child {
    width: auto;
    padding: 0 16px;
}

.contact-footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-footer-list li {
    color: #cbd5e1;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-footer-list i {
    color: var(--brand-primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}