@charset "UTF-8";

/* =========================================================
   BARBOSA & LIMA - NOTÍCIAS / ARTIGOS / COLUNISTAS
   Arquivo único:
   noticias.php | artigos.php | noticia.php | artigo.php
   colunista.php | all-noticias.php
========================================================= */

:root {
    --bl-verde: #6c927b;
    --bl-verde-escuro: #587463;
    --bl-verde-claro: #7f8d84;
    --bl-vinho: #8f0101;

    --bl-texto: #292929;
    --bl-texto-suave: #555;
    --bl-texto-fraco: #777;

    --bl-borda: rgba(0, 0, 0, 0.03);
    --bl-borda-suave: rgba(0, 0, 0, 0.03);

    --bl-fundo-suave: #f8f8f7;
    --bl-card: #ffffff;

    --bl-raio: 5px;
    --bl-raio-menor: 3px;

    --bl-sombra: 0 8px 24px rgba(0, 0, 0, 0.035);

    --bl-container: 1260px;
	--bl-leitura: 920px;
}

/* =========================================================
   BASE
========================================================= */

.pagina-noticias,
.pagina-noticia-individual {
    color: var(--bl-texto);
    font-size: 16px;
}

.pagina-noticias *,
.pagina-noticia-individual * {
    box-sizing: border-box;
}

a {
    text-underline-offset: 3px;
}

/* =========================================================
   LAYOUT GERAL
========================================================= */

.pagina-noticias {
    width: 100%;
    max-width: var(--bl-container);
    margin: 0 auto;
    padding: 0 28px;
}

.pagina-noticias .conteudo {
    width: 100%;
    max-width: var(--bl-container);
    margin: 0 auto;
    text-align: left;
}

.pagina-noticia-individual {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 34px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 46px;
    align-items: start;
}

.conteudo_noticia,
.conteudo-noticia-completa {
    width: 100%;
    max-width: var(--bl-leitura);
}

.sidebar-noticia,
.sidebar-artigo {
    width: 100%;
    min-width: 0;
    position: sticky;
    top: 88px;
    align-self: start;
}

.linha_meio {
    width: 100%;
    height: 1px;
    border: 0;
    background: rgba(0, 0, 0, 0.12);
    margin: 34px 0;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
    margin: 0 0 22px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--bl-texto-fraco);
}

.breadcrumb a {
    color: var(--bl-vinho);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* =========================================================
   TÍTULOS DAS PÁGINAS DE LISTAGEM
========================================================= */

.pagina-noticias .titulos {
    color: var(--bl-verde-claro);
    margin: 0 0 24px;
    text-align: left;

    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.8px;
    font-weight: 700;
}

.pagina-noticias .subtitulo {
    color: #222;
    margin: 38px 0 20px;

    font-size: clamp(22px, 2.3vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.45px;
    font-weight: 700;
}

.titulo-com-icone {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.base-icone {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bl-verde-claro);
    border-radius: 50%;
}

.titulo-com-icone i {
    color: #fff;
    font-size: 0.58em;
}

/* =========================================================
   LINKS, CATEGORIAS E METADADOS
========================================================= */

.titulo-card-link {
    color: inherit;
    text-decoration: none;
}

.titulo-card-link:hover {
    color: var(--bl-vinho);
}

.categoria,
.pagina-noticias .categoria,
.categoria_centralizado .categoria {
    display: inline-block;
    width: auto;
    min-width: 0;
    max-width: max-content;

    padding: 0;
    margin: 0;

    background: transparent;
    border: 0;
    border-radius: 0;

    color: var(--bl-verde);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 700;
}

.categoria_centralizado {
    clear: both;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 8px 0 0;
}

.esq-span {
    float: none;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.esq-span .categoria {
    color: var(--bl-texto-fraco);
}

.data-publicacao,
.data-mini,
.meta-noticia-geral,
.meta-noticia-colunista,
.metadados_ad {
    color: var(--bl-texto-fraco);
    font-size: 12px;
    line-height: 1.45;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.data-publicacao {
    margin: 0 0 10px;
}

.data-publicacao i {
    color: var(--bl-verde);
}

/* =========================================================
   CARDS - NOTICIAS.PHP E ARTIGOS.PHP
========================================================= */

.pagina-noticias .card-noticia {
    display: flex;
    flex-direction: column;

    overflow: hidden;
    background: var(--bl-card);
    border: 1px solid var(--bl-borda);
    border-radius: var(--bl-raio);
    box-shadow: var(--bl-sombra);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pagina-noticias .card-noticia:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.pagina-noticias .card-noticia.destaque {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    gap: 0;
}

.noticia-imagem-desc,
.noticia-imagem {
    width: 100%;
    overflow: hidden;
    background: #f2f2f2;
}

.noticia-imagem-desc {
    height: 100%;
}

.noticia-imagem-desc .destaque_img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.noticia-imagem {
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid var(--bl-borda-suave);
}

.noticia-imagem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pagina-noticias .card-noticia:hover .noticia-imagem img {
    transform: scale(1.025);
}

.noticia-conteudo {
    padding: 24px 26px;
    flex-grow: 1;

    display: flex;
    flex-direction: column;
}

.pagina-noticias .card-noticia h2,
.pagina-noticias .card-noticia h4 {
    color: #202020;
    margin: 0 0 12px;

    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -0.35px;
}

.pagina-noticias .card-noticia h2 {
    font-size: clamp(25px, 2.4vw, 34px);
}

.pagina-noticias .card-noticia h4 {
    font-size: 19px;
    line-height: 1.28;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    min-height: calc(3 * 1.28em);
}

.pagina-noticias .card-noticia p {
    color: var(--bl-texto-suave);
    font-size: 15.5px;
    line-height: 1.55;
    margin: 0 0 16px;
    text-align: left;
}

.btn-leia-mais,
.link-mini,
.link-ler-mais {
    display: inline-block;
    margin-top: auto;

    color: var(--bl-vinho);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.btn-leia-mais:hover,
.link-mini:hover,
.link-ler-mais:hover {
    color: #6b0000;
    text-decoration: underline;
}

/* =========================================================
   CARROSSEL - NOTICIAS.PHP E ARTIGOS.PHP
========================================================= */

#carrosselContainer {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
}

#carrosselNoticias {
    display: flex;
    align-items: stretch;
    transition: transform 0.8s ease-in-out;
}

.card-noticia-item {
    flex: 0 0 calc(33.333% - 18px);
    margin-right: 18px;
    box-sizing: border-box;
}

.card-noticia-item .categoria {
    margin: 16px 20px 0;
}

.card-noticia-item .noticia-conteudo {
    padding: 14px 20px 20px;
}

.linha-relacionadas {
    height: 1px;
    border: 0;
    border-bottom: 1px solid rgba(114, 108, 72, 0.22);
    margin: 12px 0;
}

.carrossel-navegacao {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 22px 0 34px;
}

.btn-nav {
    appearance: none;
    cursor: pointer;

    border: 1px solid rgba(114, 108, 72, 0.28);
    background: #fff;
    color: #333;

    border-radius: 999px;
    padding: 10px 18px;

    font-size: 13px;
    line-height: 1;
    font-weight: 700;

    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-nav:hover {
    color: #fff;
    background: var(--bl-verde-escuro);
    border-color: var(--bl-verde-escuro);
}

/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-box {
    margin: 36px 0;
    padding: 28px;

    background: var(--bl-fundo-suave);
    border: 1px solid var(--bl-borda-suave);
    border-radius: var(--bl-raio);

    text-align: left;
}

.newsletter-box h3 {
    color: var(--bl-vinho);
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.newsletter-box p {
    color: var(--bl-texto-suave);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px;
}

.newsletter-box form {
    display: flex;
    max-width: 540px;
    margin: 0;
}

.newsletter-box input,
.widget.newsletter input {
    width: 100%;

    border: 1px solid rgba(0,0,0,0.14);
    background: #fff;

    padding: 12px 13px;

    font-family: inherit;
    font-size: 15px;
    color: var(--bl-texto);
}

.newsletter-box input {
    border-right: 0;
    border-radius: 8px 0 0 8px;
}

.newsletter-box .btn-assinar,
.widget.newsletter button {
    border: 0;
    background: var(--bl-vinho);
    color: #fff;

    padding: 12px 20px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.newsletter-box .btn-assinar {
    border-radius: 0 8px 8px 0;
    white-space: nowrap;
}

.newsletter-box .btn-assinar:hover,
.widget.newsletter button:hover {
    background: #6b0000;
}

.widget.newsletter form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget.newsletter input,
.widget.newsletter button {
    width: 100%;
    border-radius: 8px;
}

/* =========================================================
   PÁGINAS INDIVIDUAIS - NOTICIA.PHP E ARTIGO.PHP
========================================================= */

.noticia-header {
    margin: 0 0 26px;
}

.noticia-header hr {
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
    margin-top: 20px;
}

.titulo-noticia {
    color: #1f1f1f;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.07;
    letter-spacing: -1.25px;
    font-weight: 700;
    margin: 6px 0 16px;
    text-align: left;
}

.resumo {
    display: block;

    color: rgba(41, 41, 41, 0.72);
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.5;
    font-weight: 400;

    margin: 0 0 18px;
    text-align: justify;
}

.metadados {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;

    color: var(--bl-texto-fraco);
    font-size: 13px;
    line-height: 1.45;
}

.metadados .autor a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.metadados .autor a:hover {
    text-decoration: underline;
}

.noticia-imagem-principal {
    width: 100%;
    max-width: 100%;
    float: none;
    margin: 0 0 30px;
}

.noticia-imagem-principal img {
    display: block;
    width: 100%;

    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;

    background: #f2f2f2;
    border: 1px solid var(--bl-borda);
    border-radius: var(--bl-raio);
}

.legenda {
    display: block;
    margin-top: 8px;

    color: var(--bl-texto-fraco);
    font-size: 11px;
    line-height: 1.35;
    font-style: italic;
}

.noticia-corpo {
    width: 100%;
    max-width: none;
    margin: 0 0 34px;
	text-align: justify;
    color: #282828;
    line-height: 1.78;
}

.noticia-corpo p {
    color: #282828;
    font-size: 18.5px;
    line-height: 1.78;
    letter-spacing: -0.08px;

    margin: 0 0 27px;
    
}

.noticia-corpo h2 {
    color: #202020;
    font-size: clamp(25px, 2.2vw, 32px);
    line-height: 1.22;
    letter-spacing: -0.55px;

    margin: 44px 0 18px;
    padding-bottom: 10px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    text-align: left;
}

.noticia-corpo h3 {
    color: #222;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.25;
    margin: 36px 0 15px;
    text-align: left;
}

.noticia-corpo ul,
.noticia-corpo ol {
    margin: 0 0 28px;
    padding-left: 28px;
}

.noticia-corpo li {
    font-size: 18.5px;
    line-height: 1.72;
    margin-bottom: 11px;
    text-align: justify;
}

.noticia-corpo blockquote {
    margin: 36px 0;
    padding: 18px 22px;

    border-left: 5px solid var(--bl-verde);
    border-radius: 0 var(--bl-raio-menor) var(--bl-raio-menor) 0;

    background: var(--bl-fundo-suave);
    color: #444;

    font-size: 17px;
    line-height: 1.65;
    font-style: italic;
    text-align: left;
}

.noticia-corpo a {
    color: var(--bl-vinho);
    font-weight: 600;
}

.referencias-artigo {
    clear: both;
    width: 100%;
    margin: 44px 0 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.referencias-artigo h2 {
    color: #202020;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.35px;
    margin: 0 0 16px;
    text-align: left;
}

.referencias-conteudo {
    color: #555;
    font-size: 14.5px;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: normal;
}

.categoria_centralizado,
.compartilhar,
.tags,
.noticias-relacionadas,
.bloco-anuncio-horizontal {
    clear: both;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Imagem flutuante apenas no desktop */
@media (min-width: 1025px) {
    .noticia-imagem-principal {
        float: left;
        width: 48%;
        max-width: 430px;
        min-width: 340px;
        margin: 6px 28px 16px 0;
    }

    .noticia-imagem-principal img {
        aspect-ratio: 4 / 3;
    }
}

/* =========================================================
   COMPARTILHAMENTO, TAGS E ANÚNCIOS
========================================================= */

.compartilhar {
    margin-top: 36px;
    margin-bottom: 30px;
    padding: 22px;

    background: var(--bl-fundo-suave);
    border: 1px solid var(--bl-borda-suave);
    border-radius: var(--bl-raio);
}

.compartilhar h3 {
    color: #222;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 16px;
}

.botoes-compartilhar {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.btn-compartilhar {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;
    background: var(--bl-verde);
    color: #fff;

    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-compartilhar:hover {
    background: var(--bl-verde-escuro);
    transform: translateY(-1px);
}

.btn-compartilhar i {
    color: #fff;
    font-size: 18px;
    line-height: 1;
}



.tags {
    margin-top: 26px;
    margin-bottom: 36px;
}

.tags span {
    display: block;
    color: var(--bl-texto-suave);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tag {
    display: inline-block;

    background: #f0f0ef;
    color: var(--bl-texto-suave);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 999px;

    padding: 6px 11px;
    margin: 0 6px 8px 0;

    font-size: 12.5px;
    line-height: 1;
    text-decoration: none;
}

.tag:hover {
    background: #e7e7e5;
}

/* =========================================================
   PUBLICIDADE - GOOGLE ADSENSE
   3 formatos globais:
   1. horizontal_conteudo
   2. quadrado_sidebar
   3. fluido_geral
========================================================= */

.bl-ad {
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.bl-ad ins.adsbygoogle {
    display: block;
    width: 100%;
}

/* 1. HORIZONTAL - DENTRO DO CONTEÚDO DA NOTÍCIA/ARTIGO */
.bl-ad-horizontal,
.bl-ad-conteudo {
    width: 100%;
    min-height: 90px;
    height: auto;
    margin: 28px 0;

    display: block;

    background: transparent;
    border: 0;
    border-radius: 0;
}

.bl-ad-horizontal ins.adsbygoogle,
.bl-ad-conteudo ins.adsbygoogle {
    display: block;
    width: 100%;
    min-height: 90px;
}

/* 2. FLUIDO - ANTES DE RELACIONADAS / ÚLTIMAS / OUTRAS PÁGINAS */
.bl-ad-fluido,
.bl-ad-geral {
    width: 100%;
    min-height: 160px;
    height: auto;
    margin: 30px 0;

    display: block;

    background: transparent;
    border: 0;
    border-radius: 0;
}

.bl-ad-fluido ins.adsbygoogle,
.bl-ad-geral ins.adsbygoogle {
    display: block;
    width: 100%;
    min-height: 160px;
}

/* 3. QUADRADO - SIDEBAR / LATERAL
   Mantém aparência próxima da anterior.
*/
.bl-ad-sidebar,
.anuncio-sidebar {
    width: 100%;
    min-height: 250px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;
    padding: 14px;

    background: #fafafa;
    border: 1px dashed rgba(0,0,0,0.13);
    border-radius: var(--bl-raio-menor);

    color: #999;
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.bl-ad-sidebar ins.adsbygoogle,
.anuncio-sidebar ins.adsbygoogle {
    display: block;
    width: 100%;
    min-height: 250px;
}

@media (max-width: 768px) {
    .bl-ad-horizontal,
    .bl-ad-conteudo {
        min-height: 90px;
        margin: 24px 0;
    }

    .bl-ad-horizontal ins.adsbygoogle,
    .bl-ad-conteudo ins.adsbygoogle {
        min-height: 90px;
    }

    .bl-ad-fluido,
    .bl-ad-geral {
        min-height: 140px;
        margin: 24px 0;
    }

    .bl-ad-fluido ins.adsbygoogle,
    .bl-ad-geral ins.adsbygoogle {
        min-height: 140px;
    }

    .bl-ad-sidebar,
    .anuncio-sidebar {
        min-height: 220px;
    }

    .bl-ad-sidebar ins.adsbygoogle,
    .anuncio-sidebar ins.adsbygoogle {
        min-height: 220px;
    }
}


/* =========================================================
   ADSENSE: FALLBACK DE PUBLICIDADE NÃO CARREGADA
========================================================= */

.bl-ad-nao-carregado {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 56px !important;
    height: 56px !important;
    max-height: 56px !important;

    margin: 12px auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;

    background: #f5f5f5 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 10px !important;

    overflow: hidden !important;
}

.bl-ad-nao-carregado::before {
    content: "Publicidade";
    display: block;

    color: #777;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.bl-ad-nao-carregado ins.adsbygoogle,
.bl-ad-nao-carregado iframe {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    visibility: hidden !important;
}

.bl-ad-nao-carregado script {
    display: none !important;
}

/* Sidebar um pouco maior para não ficar visualmente estranha */
.bl-ad-sidebar.bl-ad-nao-carregado,
.anuncio-sidebar.bl-ad-nao-carregado {
    height: 86px !important;
    min-height: 86px !important;
    max-height: 86px !important;
}

.linha_meio + .bl-ad-nao-carregado {
    margin-top: -22px !important;
    margin-bottom: -22px !important;
}


/* =========================================================
   RELACIONADAS
========================================================= */

.noticias-relacionadas {
    margin-top: 42px;
    margin-bottom: 38px;
}

.noticias-relacionadas h3 {
    color: #222;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.35px;

    margin: 0 0 20px;
    padding-bottom: 12px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.relacionadas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card-noticia-mini {
    display: flex;
    flex-direction: column;

    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bl-borda);
    border-radius: var(--bl-raio-menor);
    box-shadow: var(--bl-sombra);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-noticia-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.card-noticia-mini img {
    display: block;
    width: 100%;
    height: 128px;
    object-fit: cover;
    background: #f2f2f2;
}

.mini-conteudo {
    padding: 14px;
}

.mini-conteudo h4 {
    color: #222;
    font-size: 15px;
    line-height: 1.32;
    letter-spacing: -0.1px;

    margin: 0 0 8px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    min-height: calc(3 * 1.32em);
}

/* =========================================================
   SIDEBAR / WIDGETS / AUTORES
========================================================= */

.widget {
    margin-bottom: 22px;
    padding: 22px;

    background: var(--bl-fundo-suave);
    border: 1px solid var(--bl-borda-suave);
    border-radius: var(--bl-raio);
}

.widget h3,
.detalhes {
    color: #222;
    font-size: 19px;
    line-height: 1.25;

    margin: 0 0 14px;
    padding-bottom: 10px;

    border-bottom: 1px solid rgba(114, 108, 72, 0.30);
}

.widget p {
    color: var(--bl-texto-suave);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0 0 16px;
}

.btn-contato {
    display: block;

    background: var(--bl-vinho);
    color: #fff;

    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;

    padding: 12px 14px;
    border-radius: 8px;
}

.btn-contato:hover {
    background: #6b0000;
}

.widget.categorias ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget.categorias li {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.widget.categorias li:last-child {
    border-bottom: 0;
}

.widget.categorias a {
    display: block;

    color: var(--bl-texto-suave);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;

    padding: 10px 0;
}

.widget.categorias a:hover {
    color: var(--bl-vinho);
}

.dados_autores_tela {
    color: var(--bl-texto-suave);
    font-size: 14px;
    line-height: 1.55;

    padding-left: 20px;
    margin-bottom: 34px;

    border-left: 1px solid rgba(0,0,0,0.18);

    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.dados_autores_mini {
    display: none;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.coautores {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;

    min-width: 0;
    max-width: 100%;
}

.circular {
    width: 68px;
    height: 68px;
    min-width: 68px;

    border: 3px solid rgba(51,51,51,0.13);
    border-radius: 50%;
    overflow: hidden;
    background: #f2f2f2;
}

.avatar,
.coautores .avatar {
    display: block;
    float: none;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border: 3px solid #fff;
    border-radius: 50%;
}

.autor_a {
    color: var(--bl-texto-suave);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;

    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* =========================================================
   ALL-NOTICIAS.PHP / COLUNISTA.PHP
========================================================= */

.pagina-todas-noticias,
.pagina-colunista {
    width: 100%;
    max-width: var(--bl-container);
    margin: 0 auto;
    padding: 0;
}

.cabecalho-todas-noticias {
    margin-bottom: 20px;
}

.cabecalho-todas-noticias h1 {
    margin: 0 0 10px;
}

.cabecalho-todas-noticias p,
.info-colunista p {
    color: var(--bl-texto-suave);
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0;
}

.lista-noticias-geral,
.lista-noticias-colunista {
    display: flex;
    flex-direction: column;
}

.item-noticia-geral,
.item-noticia-colunista {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    align-items: start;

    padding: 22px 0;
    border-bottom: 1px solid rgba(0,0,0,0.11);
}

.item-noticia-geral:first-child,
.item-noticia-colunista:first-child {
    padding-top: 0;
}

.item-noticia-geral > a,
.thumb-noticia-colunista {
    display: block;
    overflow: hidden;

    width: 230px;
    height: 138px;

    background: #f2f2f2;
    border: 1px solid var(--bl-borda-suave);
    border-radius: var(--bl-raio-menor);
}

.item-noticia-geral img,
.thumb-noticia-colunista img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conteudo-noticia-geral h2,
.conteudo-noticia-colunista h2 {
    margin: 0 0 8px;

    color: #222;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.25px;
}

.conteudo-noticia-geral h2 a,
.conteudo-noticia-colunista h2 a {
    color: inherit;
    text-decoration: none;
}

.conteudo-noticia-geral h2 a:hover,
.conteudo-noticia-colunista h2 a:hover {
    color: var(--bl-vinho);
}

.resumo-noticia-geral,
.resumo-noticia-colunista {
    color: var(--bl-texto-suave);
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.cabecalho-colunista {
    display: flex;
    align-items: flex-start;
    gap: 22px;

    margin: 0 0 22px;
    padding: 24px;

    background: var(--bl-fundo-suave);
    border: 1px solid var(--bl-borda-suave);
    border-radius: var(--bl-raio);
}

.info-colunista {
    min-width: 0;
}

.info-colunista h1,
.info-colunista h3 {
    color: #222;
    font-size: clamp(24px, 2.3vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.45px;

    margin: 0 0 10px;
}

.paginacao-noticias,
.paginacao-colunista {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 30px;
}

.paginacao-noticias a,
.paginacao-noticias span,
.paginacao-colunista a,
.paginacao-colunista span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;
    padding: 0 13px;

    border: 1px solid rgba(0,0,0,0.16);
    border-radius: 999px;

    color: var(--bl-texto-suave);
    background: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.paginacao-noticias .ativo,
.paginacao-colunista .ativo {
    color: #fff;
    background: var(--bl-verde);
    border-color: var(--bl-verde);
}

/* =========================================================
   MODAL NEWSLETTER
========================================================= */

.newsletter-modal[hidden] {
    display: none;
}

.newsletter-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    background: rgba(0,0,0,0.46);
}

.newsletter-modal-box {
    width: 100%;
    max-width: 420px;

    background: #fff;
    border-radius: var(--bl-raio);
    box-shadow: 0 20px 44px rgba(0,0,0,0.18);

    padding: 26px;
    text-align: center;
}

.newsletter-modal-box p {
    margin: 0 0 18px;
    color: var(--bl-texto);
    line-height: 1.5;
}

.newsletter-modal-box button {
    border: 0;
    background: var(--bl-vinho);
    color: #fff;

    border-radius: 8px;
    padding: 10px 18px;

    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 1024px) {

    .pagina-noticias,
	.pagina-noticia-individual {
		max-width: 100%;
		padding-left: 30px;
		padding-right: 30px;
	}

    .pagina-noticia-individual {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

    .conteudo_noticia,
	.conteudo-noticia-completa {
		max-width: 100%;
		width: 100%;
		min-width: 0;
	}

    .sidebar-noticia,
    .sidebar-artigo {
        position: static;
        max-width: 720px;
        margin: 0 auto;
    }

    .dados_autores_tela {
        display: none;
    }
	
	
    .dados_autores_mini {
        display: block;
        width: 100%;
        margin: 30px 0 36px;
        padding-top: 20px;
        border-top: 1px solid rgba(0,0,0,0.12);
    }

	
	.dados_autores_mini strong{
		font-weight: 800;
	}
	
    .pagina-noticias .card-noticia.destaque {
        grid-template-columns: 1fr;
    }

    .noticia-imagem-desc .destaque_img {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .card-noticia-item {
        flex: 0 0 calc(50% - 14px);
        margin-right: 14px;
    }

    .noticia-imagem-principal {
        float: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 0 28px;
    }

    .noticia-imagem-principal img {
        aspect-ratio: 16 / 9;
    }

    .noticia-corpo {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .relacionadas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   CELULARES
========================================================= */

@media (max-width: 680px) {

    main.pagina-noticias,
    main.pagina-noticia-individual {
        position: relative;
        top: auto;
        margin-top: 42px;
    }

    .pagina-noticias,
	.pagina-noticia-individual {
		padding-left: 22px;
		padding-right: 22px;
	}

	.referencias-artigo {
    margin-top: 36px;
    margin-bottom: 30px;
	}

	.referencias-artigo h2 {
		font-size: 20px;
	}

	.referencias-conteudo {
		font-size: 13.8px;
		line-height: 1.65;
	}

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .pagina-noticias .titulos {
        font-size: 26px;
        line-height: 1.13;
        margin-bottom: 20px;
    }

    .base-icone {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .pagina-noticias .subtitulo {
        font-size: 22px;
        margin-top: 34px;
    }

    .pagina-noticias .card-noticia {
        border-radius: 8px;
    }

    .noticia-conteudo,
    .pagina-noticias .card-noticia.destaque .noticia-conteudo {
        padding: 19px 18px 20px;
    }

    .pagina-noticias .card-noticia h2 {
        font-size: 23px;
        line-height: 1.18;
    }

    .pagina-noticias .card-noticia h4 {
        font-size: 18px;
        line-height: 1.28;
    }

    .pagina-noticias .card-noticia p {
        font-size: 15.5px;
        line-height: 1.58;
    }

    .card-noticia-item {
        flex: 0 0 calc(100% - 8px);
        margin-right: 8px;
    }

    .card-noticia-item .categoria {
        margin: 15px 18px 0;
    }

    .card-noticia-item .noticia-conteudo {
        padding: 13px 18px 19px;
    }

    .carrossel-navegacao {
        justify-content: space-between;
        gap: 10px;
    }

    .btn-nav {
        width: 50%;
        min-width: 0;
    }

    .titulo-noticia {
        font-size: 31px;
        line-height: 1.08;
        letter-spacing: -0.9px;
        margin-bottom: 14px;
    }

    .resumo {
        font-size: 15px;
        line-height: 1.5;
        text-align: left;
    }

    .metadados {
        flex-direction: column;
        gap: 4px;
        font-size: 12.5px;
    }

    .noticia-header {
        margin-bottom: 22px;
    }

    .noticia-imagem-principal {
        margin-bottom: 28px;
    }

    .noticia-imagem-principal img {
        border-radius: 8px;
    }

    .noticia-corpo p,
    .noticia-corpo li {
        font-size: 17px;
        line-height: 1.74;
        text-align: left;
    }

    .noticia-corpo h2 {
        font-size: 23px;
        margin-top: 38px;
    }

    .noticia-corpo h3 {
        font-size: 21px;
    }

    .noticia-corpo blockquote {
        margin: 32px 0;
        padding: 17px 18px;
        font-size: 16px;
        line-height: 1.62;
    }

    .compartilhar {
        padding: 18px;
        border-radius: 8px;
    }

    .btn-compartilhar {
        width: 40px;
        height: 40px;
    }

    .relacionadas-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-noticia-mini {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        border-radius: 8px;
    }

    .card-noticia-mini img {
        width: 112px;
        height: 100%;
        min-height: 116px;
    }

    .mini-conteudo {
        padding: 13px 14px;
    }

    .mini-conteudo h4 {
        font-size: 15px;
        min-height: 0;
    }

    .newsletter-box {
        padding: 22px 18px;
        border-radius: 8px;
    }

    .newsletter-box form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-box input,
    .newsletter-box .btn-assinar {
        width: 100%;
        border-radius: 8px;
    }

    .newsletter-box input {
        border-right: 1px solid rgba(0,0,0,0.14);
    }

    .item-noticia-geral,
    .item-noticia-colunista {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 0;
    }

    .item-noticia-geral > a,
    .thumb-noticia-colunista {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .conteudo-noticia-geral h2,
    .conteudo-noticia-colunista h2 {
        font-size: 20px;
        line-height: 1.25;
    }

    .resumo-noticia-geral,
    .resumo-noticia-colunista {
        font-size: 15px;
        line-height: 1.55;
    }

    .cabecalho-colunista {
        align-items: center;
        gap: 15px;
        padding: 18px;
    }

    .cabecalho-colunista .circular {
        width: 76px;
        height: 76px;
        min-width: 76px;
    }

    .info-colunista h1,
    .info-colunista h3 {
        font-size: 20px;
    }

    .info-colunista p {
        font-size: 13px;
        line-height: 1.45;
    }
}

/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 390px) {

    .pagina-noticias,
	.pagina-noticia-individual {
		padding-left: 18px;
		padding-right: 18px;
	}

    .titulo-noticia {
        font-size: 28px;
    }

    .resumo {
        font-size: 15.5px;
    }

    .noticia-corpo p,
    .noticia-corpo li {
        font-size: 16.5px;
    }

    .noticia-corpo h2 {
        font-size: 22px;
    }

    .card-noticia-mini {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .card-noticia-mini img {
        width: 100px;
        min-height: 108px;
    }

    .mini-conteudo h4 {
        font-size: 14px;
    }

    .cabecalho-colunista {
        padding: 16px;
    }

    .cabecalho-colunista .circular {
        width: 68px;
        height: 68px;
        min-width: 68px;
    }
}

.autor-link {
    color: inherit;
    text-decoration: none;
}

.autor-link:hover {
    color: inherit;
	text-decoration: underline;
}

/* =========================================================
   BOTÕES / LINKS PARA LISTAGENS COMPLETAS
========================================================= */

.ver-todos-wrapper {
    display: flex;
    justify-content: left;
    margin: 8px 0 32px;
	padding-top:28px;
}

.btn-ver-todos {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 22px;

    border: 1px solid rgba(108, 146, 123, 0.55);
    border-radius: 999px;

    background: #ffffff;
    color: #587463;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-ver-todos:hover {
    background: #6c927b;
    color: #ffffff;
    border-color: #6c927b;
    text-decoration: none;
}

.widget-ver-todos {
	
    background: #ffffff;
}

.btn-ver-todos-sidebar {
    background: #6c927b;
}

.btn-ver-todos-sidebar:hover {
    background: #587463;
}

@media (max-width: 500px) {
    .ver-todos-wrapper {
		
        margin: 6px 0 28px;
    }

    .btn-ver-todos {
        width: 100%;
        padding: 13px 18px;
        font-size: 14px;
    }
}

/* =========================================================
   RESPIRO NOS DETALHES DO AUTOR - ARTIGO.PHP
========================================================= */

.dados_autores_tela .detalhes,
.dados_autores_mini .detalhes {
    margin-bottom: 18px;
}

.dados_autores_tela {
		text-align:justify;
}

.dados_autores_tela strong{
		font-weight: 800;
}

.dados_autores_tela > p,
.dados_autores_mini > p {
    margin-top: 20px;
    margin-bottom: 7px;

    color: #292929;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.dados_autores_tela .metadados_ad,
.dados_autores_mini .metadados_ad {
    margin-bottom: 18px;
}

.dados_autores_tela .metadados_ad:last-child,
.dados_autores_mini .metadados_ad:last-child {
    margin-bottom: 0;
}

.autor-link{
	text-align:left;
}

/* =========================================================
   BLOCO RSOCIAL NO FINAL DAS PÁGINAS DE NOTÍCIAS/ARTIGOS
========================================================= */

.rsocial-final {
    width: 100%;
    margin: 38px 0 18px;
}

.rsocial-final-grid {
    grid-column: 1 / -1;
}

/* Evita que o rSocial fique colado em anúncios, newsletter ou relacionados */
.rsocial-final .linha_meio {
    margin-top: 0;
    margin-bottom: 34px;
}

/* Em páginas de listagem, o bloco já está dentro da .conteudo */
.pagina-noticias .rsocial-final {
    max-width: 100%;
}

/* Em páginas individuais, ocupa a largura total do grid */
.pagina-noticia-individual .rsocial-final {
    max-width: 100%;
}

/* Mobile */
@media (max-width: 680px) {
    .rsocial-final {
        margin-top: 30px;
        margin-bottom: 12px;
    }

    .rsocial-final .linha_meio {
        margin-bottom: 26px;
    }
}

/* =========================================================
   AJUSTE RSOCIAL - PÁGINAS INDIVIDUAIS COM SIDEBAR
   Em noticia.php e artigo.php, o bloco final deve respeitar
   a coluna principal e não atravessar a sidebar lateral.
========================================================= */

@media (min-width: 1025px) {
    .pagina-noticia-individual > .rsocial-final,
    .pagina-noticia-individual > .rsocial-final-grid {
        grid-column: 1 / 2;
        width: 100%;
        max-width: var(--bl-leitura);
        min-width: 0;
        justify-self: start;
    }

    .pagina-noticia-individual > .rsocial-final #rSocial,
    .pagina-noticia-individual > .rsocial-final-grid #rSocial {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .pagina-noticia-individual > .rsocial-final #rSocial .rsocial-grid,
    .pagina-noticia-individual > .rsocial-final-grid #rSocial .rsocial-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   PAGINAÇÃO ENCAPSULADA - EVITA CONFLITO COM TOPO.PHP
========================================================= */

body .pagina-noticias .conteudo .passar {
    all: revert;
    box-sizing: border-box;

    width: 100%;
    display: block;
    clear: both;

    position: relative;
    z-index: 1;

    margin: 34px 0 44px;
    padding: 0;

    text-align: center;
}

body .pagina-noticias .conteudo .passar .paginacao-noticias {
    all: revert;
    box-sizing: border-box;

    width: 100%;
    max-width: 100%;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;

    position: relative;
    z-index: 2;

    margin: 0;
    padding: 12px 0;

    list-style: none;
    text-align: center;
}

body .pagina-noticias .conteudo .passar .paginacao-noticias a,
body .pagina-noticias .conteudo .passar .paginacao-noticias span {
    all: unset;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;
    padding: 0 13px;

    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;

    background: #ffffff;
    color: #555555;

    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;
    cursor: pointer;
}

body .pagina-noticias .conteudo .passar .paginacao-noticias span.ativo {
    background: #6c927b;
    border-color: #6c927b;
    color: #ffffff;
    cursor: default;
}

body .pagina-noticias .conteudo .passar .paginacao-noticias a:hover {
    background: #587463;
    border-color: #587463;
    color: #ffffff;
    text-decoration: none;
}