/* ARQUIVO: blog/style.css */
/* ESTILO PADRÃO UNIVERSAL PARA POSTS DO BLOG */

/* --- 1. VARIÁVEIS --- */
:root {
    --primary-color: #347B75; 
    --secondary-color: #2C3E50;
    --text-color: #333;
    --bg-light: #F4F7F6;
    --highlight: #2D7A8C; 
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* --- 2. CONTAINER DO ARTIGO (A "FOLHA" DE PAPEL) --- */
.article-container {
    /* MUDANÇA AQUI: Aumentado de 800px para 1000px */
    max-width: 1000px; 
    margin: 60px auto;
    background-color: var(--white);
    padding: 60px 80px; /* Espaçamento interno */
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

/* --- 3. CABEÇALHO DO POST --- */
.article-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.article-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--highlight);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.5rem; /* Aumentei um pouco a fonte do título também */
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 15px;
}

/* --- 4. CORPO DO TEXTO --- */
.article-content {
    font-size: 1.15rem; /* Aumentei levemente a fonte para acompanhar a largura */
    color: #4a4a4a;
    font-family: 'Open Sans', 'Montserrat', sans-serif;
}

/* Centralização dos Subtítulos */
.article-content h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.article-content h2::after {
    content: '';
    display: block;
    width: 80px; /* Tracinho maior */
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0 auto;
}

.article-content h3 {
    text-align: center;
    color: var(--highlight);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Justificação dos Textos */
.article-content p {
    text-align: justify;
    margin-bottom: 25px;
}

/* Listas */
.article-content ul, .article-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    list-style: none;
    position: relative;
    padding-left: 20px;
    text-align: justify;
}

.article-content li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* --- 5. ELEMENTOS ESPECIAIS --- */
.highlight-box {
    background-color: #eef9f8;
    border: 1px solid #dceceb;
    padding: 30px; /* Mais espaço interno no destaque */
    border-radius: 8px;
    margin: 40px 0;
    text-align: justify;
}

.highlight-box h3 { margin-top: 0; } 
.highlight-box strong { color: var(--secondary-color); }

/* --- 6. BOTÃO VOLTAR --- */
.btn-back-wrapper {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 35px;
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-back:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* --- 7. RESPONSIVO --- */
@media (max-width: 768px) {
    .article-container {
        padding: 40px 25px; /* Menos padding no celular */
        margin: 20px;
        width: auto;
    }
    .article-header h1 {
        font-size: 1.8rem;
    }
}