/* ==========================================
   ESTILOS ESPECÍFICOS DA SECRETARIA DE PLANEJAMENTO
   Otimizado Mobile-First & Integrado com o Tema
   ================================---------- */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 12px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 24px 0 20px;
}

.hero h1 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Cards Especiais de Notícias/Audiências */
.card-news {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.news-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.news-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Listas de Recursos */
.feature-list {
    list-style: none;
    margin-top: 12px;
}

.feature-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Botão Voltar */
.btn-voltar-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 10px;
}

.btn-voltar-header:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.9);
}

/* Ajuste e Espaçamento dos Vídeos do YouTube nos Acordeões */
/* Ajuste e Espaçamento dos Vídeos do YouTube nos Acordeões */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-color);
    margin-top: 14px;     /* Respiro entre o texto acima e o vídeo */
    margin-bottom: 12px;    /* Respiro forte para descolar da borda inferior do card */
}

.ano-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
}

.ano-secao.ativo .ano-content {
    padding: 20px 24px 28px 24px; /* Garante respiro inferior de 28px abaixo de tudo no card */
    border-top: 1px solid var(--border-color);
}

/* Breakpoints para Telas Maiores */
@media (min-width: 768px) {
    .container {
        padding: 30px 24px;
    }

    .hero {
        padding: 35px 0 25px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }
}