/*
 Theme Name: Neve Child
 Template: neve
 Version: 1.1
*/

/* =========================
    Estrutura editorial SEO
   ========================= */

.article-content,
.author-intro {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 18px;
}

/* Títulos principais */

.article-content h1,
.author-intro h1 {
    font-size: 34px;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Subtítulos */

.article-content h2,
.author-intro h2 {
    margin-top: 45px;
    margin-bottom: 15px;
    font-size: 26px;
    line-height: 1.35;
}

.article-content h3,
.author-intro h3 {
    margin-top: 35px;
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.4;
}

/* Parágrafos */

.article-content p,
.author-intro p {
    margin-bottom: 20px;
}

/* =========================
    Listas editoriais e Autor (Versão Corrigida)
   ========================= */

/* Força a exibição dos marcadores e garante o recuo lateral */
.article-content ul,
.author-intro ul {
    margin-top: 20px;
    margin-bottom: 35px !important; /* Aumentado para evitar que o texto seguinte "grude" */
    padding-left: 1.5em !important; 
    list-style-type: disc !important; 
    display: block !important;
}

/* Garante que cada item da lista se comporte como um item de lista */
.article-content li,
.author-intro li {
    margin-bottom: 10px;
    display: list-item !important; 
    line-height: 1.6;
}

/* Fallback: Caso o parágrafo venha logo após a lista sem margem herdada */
.author-intro ul + p,
.article-content ul + p {
    margin-top: 25px !important; 
    display: block;
    clear: both;
}

/* =========================
    Destaque do autor e Imagens
   ========================= */

.autor-destaque {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Ajuste para imagens dentro do conteúdo editorial */
.article-content img, 
.author-intro img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
}

/* =========================
    Bloco de credibilidade
   ========================= */

.author-box,
.mantica-author-box {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 2px solid #eee;
    font-size: 16px;
    line-height: 1.6;
}

.author-box strong,
.mantica-author-box strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.author-box em,
.mantica-author-box em {
    display: block;
    margin-top: 10px;
    color: #4a4a4a; /* Contraste otimizado para acessibilidade */
    font-style: normal;
}

/* =========================
    Links e Ênfase
   ========================= */

.article-content a,
.author-intro a {
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    transition: border-color 0.2s ease;
}

.article-content a:hover,
.author-intro a:hover {
    border-bottom: 1px solid rgba(0,0,0,0.7);
}

.article-content strong,
.author-intro strong {
    font-weight: 600;
}

/* =========================
    Ajustes de Responsividade
   ========================= */

@media (max-width: 600px) {
    .author-intro,
    .article-content {
        font-size: 17px; /* Leve redução para melhor conforto em telas pequenas */
        padding: 0 15px; 
    }
    
    .author-intro h1,
    .article-content h1 {
        font-size: 28px;
    }

    .author-intro ul,
    .article-content ul {
        padding-left: 1.2em !important; 
    }
}