/* =========================================
   PÁGINA: DETALHE DA NOTÍCIA (SINGLE POST)
========================================= */

.article-hero {
    padding: 150px 0 2rem 0;
    background-color: var(--cream);
}

.article-header {
    max-width: 1000px; /* Alargado para caber mais e alinhar com a imagem */
    margin: 0 auto;
    text-align: center;
}

/* BARRA SUPERIOR (Voltar + Metadados) */
.article-top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Essencial para alinhar o Voltar à esquerda */
    margin-bottom: 3rem;
}

/* Botão Voltar colado à esquerda */
.back-link {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.back-link:hover {
    color: var(--forest);
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-gold {
    background-color: var(--gold);
    color: var(--forest);
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 2px;
}

.article-date {
    color: #888;
    font-size: 0.95rem;
    font-weight: 500;
}

.article-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--forest);
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* =========================================
   CORPO DA NOTÍCIA
========================================= */
.article-body {
    padding: 0 0 8rem 0;
    background-color: var(--cream);
}

/* Imagem Alargada */
.article-image-wrapper {
    max-width: 1000px; /* Alargado de 800px para 1000px */
    margin: 0 auto 4rem auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.article-image-wrapper img {
    width: 100%;
    max-height: 500px; /* Aumentei um pouco a altura máxima para acompanhar a largura */
    object-fit: cover;
    display: block;
}

/* Texto Alargado para caber mais comprimento por linha */
.article-content {
    max-width: 900px; /* Alargado de 720px para 900px */
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.article-content p {
    margin-bottom: 1.8rem;
}

/* Letra Capital (Dropcap) Premium */
.article-content p:first-of-type::first-letter {
    float: left;
    font-size: 4.5rem;
    line-height: 0.8;
    padding-top: 0.2rem;
    padding-right: 0.5rem;
    color: var(--gold);
    font-family: var(--font-display);
}

/* =========================================
   RESPONSIVIDADE
========================================= */
@media(max-width: 900px){
    /* Em tablets pequenos/telemóveis, a barra superior divide-se para não encavalar o texto */
    .article-top-bar {
        flex-direction: column;
        gap: 2rem;
    }
    .back-link {
        position: relative;
        left: auto;
    }
}

@media(max-width: 768px){
    .article-title { font-size: 2.5rem; }
    .article-image-wrapper img { max-height: 300px; }
    .article-content { font-size: 1.05rem; }
}