/*
Theme Name: Consultar Child
Theme URI: http://themeforest.net/user/wpoceans/portfolio/
Author: wpoceans
Author URI: http://themeforest.net/user/wpoceans
Description: Consultar - Consulting Business WordPress Theme
Template: consultar
Version: 1.0
Text Domain: consultar-child
*/

/* ============================================================
 * VARIÁVEIS
 * ============================================================ */

:root {
    --sesi-text-color: #1e1f21;
    --sesi-muted-color: #6b7280;
    --sesi-primary-color: #52ae32;
    --sesi-border-color: #e5e7eb;
}

/* ============================================================
 * COR PADRÃO DOS TEXTOS DAS NOTÍCIAS
 * ============================================================ */

body.single-post,
body.single-post p,
body.single-post li,
body.single-post span,
body.single-post article,
body.single-post .entry-content,
body.single-post .blog-content,
body.single-post .post-content,
body.single-post .wpo-blog-content,
body.single-post .wpo-blog-single-text,
body.single-post .single-blog-content {
    color: var(--sesi-text-color);
}

/* Listagem de notícias */
.blog-card,
.blog-item,
.wpo-blog-item,
.wpo-blog-single-item,
.news-card,
body.blog article,
body.archive article,
body.page article {
    color: var(--sesi-text-color);
}

.blog-card h1,
.blog-card h2,
.blog-card h3,
.blog-item h1,
.blog-item h2,
.blog-item h3,
.wpo-blog-item h1,
.wpo-blog-item h2,
.wpo-blog-item h3,
.wpo-blog-single-item h1,
.wpo-blog-single-item h2,
.wpo-blog-single-item h3,
.news-card h1,
.news-card h2,
.news-card h3,
body.blog article h1,
body.blog article h2,
body.blog article h3,
body.archive article h1,
body.archive article h2,
body.archive article h3,
body.page article h1,
body.page article h2,
body.page article h3 {
    color: var(--sesi-text-color);
}

/* ============================================================
 * TÍTULO E DATA NO CORPO DA NOTÍCIA INTERNA
 * ============================================================ */

.sesi-noticia-cabecalho {
    margin-bottom: 24px;
}

.sesi-noticia-titulo {
    color: var(--sesi-text-color) !important;
    font-size: 26px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.2px;
}

.sesi-noticia-data {
    color: var(--sesi-text-color) !important;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 24px;
}

/* ============================================================
 * DATA NA LISTAGEM DE NOTÍCIAS
 * ============================================================ */

.sesi-card-data,
body.page .sesi-card-data,
body.blog .sesi-card-data,
body.archive .sesi-card-data {
    color: var(--sesi-text-color) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    margin: -8px 0 8px 0 !important;
    display: block !important;
}

/* Reduz espaço abaixo do título nos cards da listagem */
body.page .blog-card h1,
body.page .blog-card h2,
body.page .blog-card h3,
body.page .blog-item h1,
body.page .blog-item h2,
body.page .blog-item h3,
body.page .wpo-blog-item h1,
body.page .wpo-blog-item h2,
body.page .wpo-blog-item h3,
body.page .wpo-blog-single-item h1,
body.page .wpo-blog-single-item h2,
body.page .wpo-blog-single-item h3,
body.page article h1,
body.page article h2,
body.page article h3 {
    margin-bottom: 4px !important;
}

/* ============================================================
 * IMAGENS DAS NOTÍCIAS
 * ============================================================ */

body.single-post .entry-content img,
body.single-post .blog-content img,
body.single-post .post-content img,
body.single-post .wpo-blog-content img,
body.single-post .wpo-blog-single-text img,
body.single-post .single-blog-content img {
    border-radius: 8px;
}

/* ============================================================
 * BANNER INTERNO DA NOTÍCIA IGUAL À LISTAGEM /NOTICIAS/
 * ============================================================ */

body.single.single-post .wpo-page-title-section .wpo-page-title-wrapper .title h2,
body.single-post .wpo-page-title-section .wpo-page-title-wrapper .title h2,
body.single-post .wpo-page-title-section .title h2 {
    color: #ffffff !important;
    font-size: 60px !important;
    line-height: 60px !important;
    font-weight: 400 !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    max-width: none !important;
    text-align: center !important;
}

/* Ajusta altura e centralização do banner da notícia interna */
body.single-post .wpo-page-title-section .wpo-page-title-wrapper .col.col-xs-12 {
    padding-top: 110px !important;
    padding-bottom: 130px !important;
}

/* Mantém o título centralizado igual à listagem */
body.single-post .wpo-page-title-section .wpo-page-title-wrapper .title {
    text-align: center !important;
}

/* ============================================================
 * COMPARTILHAMENTO
 * ============================================================ */

.sesi-share-box {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--sesi-border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sesi-share-title {
    color: var(--sesi-text-color);
    font-weight: 700;
    margin-right: 4px;
}

.sesi-share-box a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sesi-primary-color);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
    font-size: 15px;
}

.sesi-share-box a:hover,
.sesi-share-box a:focus,
.sesi-share-box a:active,
.sesi-share-box a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none;
}

.sesi-share-box a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.sesi-share-box a i,
.sesi-share-box a:hover i,
.sesi-share-box a:focus i {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Botão voltar já existente no SESI */
.sesi-voltar-noticias,
.sesi-voltar-noticias:hover,
.sesi-voltar-noticias:focus,
.sesi-voltar-noticias:active {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ============================================================
 * RESPONSIVO
 * ============================================================ */

@media (max-width: 991px) {
    body.single.single-post .wpo-page-title-section .wpo-page-title-wrapper .title h2,
    body.single-post .wpo-page-title-section .wpo-page-title-wrapper .title h2,
    body.single-post .wpo-page-title-section .title h2 {
        font-size: 42px !important;
        line-height: 48px !important;
    }
}

@media (max-width: 767px) {
    .sesi-noticia-titulo {
        font-size: 22px !important;
        line-height: 1.25 !important;
    }

    .sesi-share-box {
        align-items: flex-start;
    }

    body.single.single-post .wpo-page-title-section .wpo-page-title-wrapper .title h2,
    body.single-post .wpo-page-title-section .wpo-page-title-wrapper .title h2,
    body.single-post .wpo-page-title-section .title h2 {
        font-size: 32px !important;
        line-height: 38px !important;
    }

    body.single-post .wpo-page-title-section .wpo-page-title-wrapper .col.col-xs-12 {
        padding-top: 80px !important;
        padding-bottom: 90px !important;
    }
}

/* ============================================================
 * COR DOS TEXTOS NA LISTAGEM DE NOTÍCIAS - SESI
 * ============================================================ */

body.blog .post,
body.blog .post p,
body.blog .post span,
body.blog .post li,
body.blog .post .entry-details,
body.blog .post .entry-details p,
body.blog .post .entry-details div,
body.blog .post .entry-details .sesi-card-data,
body.page .post,
body.page .post p,
body.page .post span,
body.page .post li,
body.page .post .entry-details,
body.page .post .entry-details p,
body.page .post .entry-details div,
body.page .post .entry-details .sesi-card-data {
    color: var(--sesi-text-color) !important;
}

body.blog .post .entry-details h1,
body.blog .post .entry-details h2,
body.blog .post .entry-details h3,
body.blog .post .entry-details h4,
body.blog .post .entry-details h1 a,
body.blog .post .entry-details h2 a,
body.blog .post .entry-details h3 a,
body.blog .post .entry-details h4 a,
body.page .post .entry-details h1,
body.page .post .entry-details h2,
body.page .post .entry-details h3,
body.page .post .entry-details h4,
body.page .post .entry-details h1 a,
body.page .post .entry-details h2 a,
body.page .post .entry-details h3 a,
body.page .post .entry-details h4 a {
    color: var(--sesi-text-color) !important;
}

body.blog .post .entry-meta,
body.blog .post .entry-meta a,
body.blog .post .entry-meta span,
body.blog .post .entry-meta li,
body.blog .post .entry-meta i,
body.page .post .entry-meta,
body.page .post .entry-meta a,
body.page .post .entry-meta span,
body.page .post .entry-meta li,
body.page .post .entry-meta i {
    color: var(--sesi-text-color) !important;
}

body.blog .post .read-more,
body.page .post .read-more {
    color: var(--sesi-primary-color) !important;
}

