/* =============================== */
/* PÁGINA NOTÍCIA DETALHE – MODERNA */
/* =============================== */

.noticia-detalhe {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px 60px;
    background: #fff;
}

.noticia-detalhe h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #222;
    text-align: left;
    line-height: 1.3;
}

/* Imagem de destaque */
.noticia-detalhe img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin: 20px 0 25px;
}

/* Data */
.noticia-detalhe p strong {
    color: #333;
}

.noticia-detalhe p {
    font-size: 1.08rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Navegação entre notícias */
.navegacao-noticias {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.navegacao-noticias a {
    background: var(--accent, #0066cc);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.2s;
}

.navegacao-noticias a:hover {
    background: #004999;
    transform: translateY(-3px);
}

.botao-anterior {
    margin-right: auto;
}

.botao-proxima {
    margin-left: auto;
}

/* ======================== */
/* RESPONSIVIDADE */
/* ======================== */

@media (max-width: 768px) {
    .noticia-detalhe {
        margin: 25px auto 40px;
        padding-bottom: 40px;
    }

    .noticia-detalhe h1 {
        font-size: 1.7rem;
    }

    .navegacao-noticias {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .navegacao-noticias a {
        width: 100%;
        padding: 14px;
    }
}