/* Tipografia editorial base.
 * Não usar seletores globais em a/span/li/div com !important:
 * isso sobrescrevia a tipografia/tamanho configurados pelo Header Builder do Astra. */
body {
    font-family: "Source Sans 3", "Helvetica Neue", -apple-system, BlinkMacSystemFont, Roboto, Ubuntu, sans-serif;
}

.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4,
.site-content h5,
.site-content h6,
.section-title {
    font-family: "Titillium Web", "Helvetica Neue", -apple-system, BlinkMacSystemFont, Roboto, Ubuntu, sans-serif;
    letter-spacing: -0.2px;
}

.nt-home-card--featured .nt-home-card__title {
    letter-spacing: -0.2px;
}

.rt-grid-item,
.tpgb-post-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.rt-grid-item:hover,
.tpgb-post-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.rt-grid-item img,
.tpgb-post-item img {
    transition: transform 0.4s ease;
}

.rt-grid-item:hover img,
.tpgb-post-item:hover img {
    transform: scale(1.03);
}

.rt-grid-item h3 a,
.tpgb-post-title a {
    transition: color 0.2s ease;
}

.rt-grid-item:hover h3 a,
.tpgb-post-item:hover .tpgb-post-title a {
    color: #2e7d32;
}

.rt-grid-meta,
.tpgb-post-meta {
    font-size: 13px;
    color: #6b7280;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #2e7d32;
    margin-top: 6px;
}

.news-list-item {
    transition: all 0.2s ease;
}

.news-list-item:hover {
    background: #f9fafb;
    transform: translateX(4px);
}

.rt-grid-item,
.tpgb-post-item {
    margin-bottom: 24px;
}

/* Imagens editoriais recebem raio nos componentes específicos.
 * Não aplicar border-radius globalmente: isso também atingia logo e UI do header. */

.uagb-post__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.uagb-post__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.uagb-post__inner-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.uagb-post__inner-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.uagb-post__text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.uagb-post-grid {
    display: flex;
    align-items: stretch;
}

.uagb-post__text > *:last-child {
    margin-top: auto;
}

.uagb-post {
    display: flex;
}

.uagb-post__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
    max-height: calc(1.35em * 2);
}

.uagb-post__title a {
    text-overflow: ellipsis;
}

.uagb-section {
    clear: both;
    width: 100%;
}

.uagb-container-inner-blocks-wrap {
    display: flex;
    align-items: stretch;
}

.uagb-column {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {

    .nt-home-card {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: none !important;
    }

    .nt-home-card__bg {
        position: relative;
        width: 100%;
        height: 200px;
        background-size: cover;
        background-position: center;
        box-shadow: none !important;
        filter: none !important;
    }

    .nt-home-card__shade {
        display: none;
    }

    .nt-home-card__inner {
        position: relative;
        padding: 14px 16px;
        display: flex;
        flex-direction: column;
        background: transparent;
        box-shadow: none !important;
    }

    .nt-home-card__cat {
        background: none;
        color: #6b7280 !important;
        padding: 0;
        margin-bottom: 6px;
        font-size: 11px;
        font-weight: 600;
        text-shadow: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .nt-home-card__content {
        margin: 0;
        color: #111 !important;
        text-shadow: none !important;
    }

    .nt-home-card__title {
        color: #0a7d2c !important;
        font-size: 18px;
        line-height: 1.25;
        font-weight: 700;
        text-shadow: none !important;
    }

    .nt-home-card__desc {
        color: #333 !important;
        font-size: 14px;
        margin-top: 6px;
        text-shadow: none !important;
    }

    .nt-home-card__author {
        color: #666 !important;
        font-size: 12px;
        margin-top: 10px;
        text-shadow: none !important;
    }

    .nt-home-top {
        grid-template-columns: 1fr;
    }

    .nt-home-top__side {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .nt-home-bottom {
        grid-template-columns: 1fr;
    }

    .nt-home-card--featured,
    .nt-home-card--side,
    .nt-home-card--bottom {
        min-height: auto;
        aspect-ratio: auto;
    }

    .nt-home-card:hover,
    .nt-home-card:hover .nt-home-card__bg {
        transform: none !important;
        box-shadow: none !important;
        filter: none !important;
    }
}

#newsletter,
#newsletter *,
#newsletter h4,
#newsletter a,
#newsletter span {
	font-family: "Titillium Web", "Source Sans 3", Helvetica Neue, -apple-system, BlinkMacSystemFont, Roboto, Ubuntu, sans-serif !important;
}

.menu-item a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.menu-item a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.menu-item a[href*="em-alta"] {
	font-weight: 700;
}

/* =========================
   LISTAGEM ESTILO PORTAL
========================= */

/* container geral */
.ast-blog-layout-5-grid .ast-article-post {
	border: none;
	padding: 0;
	margin-bottom: 28px;
}

/* remove cara de card */
.ast-blog-layout-5-grid .ast-article-inner {
	box-shadow: none !important;
	background: transparent;
	padding: 0;
}

/* layout principal */
.ast-blog-layout-5-grid .blog-layout-5 {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

/* imagem */
.ast-blog-layout-5-grid .ast-blog-featured-section {
	width: 220px;
	flex-shrink: 0;
}

.ast-blog-layout-5-grid .ast-blog-featured-section img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 10px;
}

/* conteúdo */
.ast-blog-layout-5-grid .post-content {
	width: 100%;
	padding: 0;
}

/* categoria */
.ast-blog-layout-5-grid .cat-links {
	font-size: 12px;
	font-weight: 600;
	color: #0a7d2c;
	margin-bottom: 4px;
	display: block;
}

/* título */
.ast-blog-layout-5-grid .entry-title {
	font-size: 18px;
	line-height: 1.3;
	margin-bottom: 6px;
}

/* resumo */
.ast-blog-layout-5-grid .entry-content p {
	font-size: 14px;
	color: #4b5563;
	margin: 0;
}

/* meta (autor/data) */
.ast-blog-layout-5-grid .entry-meta {
	font-size: 12px;
	color: #6b7280;
	margin-top: 6px;
}

/* hover leve (portal style) */
.ast-blog-layout-5-grid .ast-article-post:hover {
	transform: translateY(-2px);
	transition: 0.2s ease;
}

/* =========================
   MOBILE (CRÍTICO)
========================= */

@media (max-width: 768px) {

	.ast-blog-layout-5-grid .blog-layout-5 {
		flex-direction: column;
	}

	.ast-blog-layout-5-grid .ast-blog-featured-section {
		width: 100%;
	}

	.ast-blog-layout-5-grid .ast-blog-featured-section img {
		height: 200px;
		border-radius: 12px;
	}

}

/* data mais limpa e editorial */
.ast-blog-layout-5-grid .entry-meta {
	font-size: 13px;
	color: #6b7280;
	font-weight: 500;
}

/* mata completamente o meta padrão */
.ast-blog-layout-5-grid .entry-meta {
	display: none !important;
}

.nt-archive-meta {
	font-size: 13px;
	color: #6b7280;
	margin: 6px 0;
}

.nt-meta-author {
	color: #0a7d2c;
	font-weight: 600;
}

.nt-meta-sep {
	margin: 0 6px;
	color: #9ca3af;
}

.nt-meta-date {
	color: #6b7280;
}

/* imagem mais forte */
.ast-blog-layout-5-grid .ast-blog-featured-section img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 12px;
}

/* aumenta área da imagem */
.ast-blog-layout-5-grid .ast-blog-featured-section {
	width: 260px;
}

/* leve zoom no hover */
.ast-blog-layout-5-grid .ast-blog-featured-section img {
	transition: transform 0.3s ease;
}

.ast-blog-layout-5-grid .ast-article-post:hover img {
	transform: scale(1.04);
}

.ast-blog-layout-5-grid .cat-links {
	font-size: 12px;
	font-weight: 700;
	color: #0a7d2c;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

/* =========================
   AUTHOR BOX - LAYOUT REAL
========================= */

.ast-author-box {
	display: grid;
	grid-template-columns: 60% 40%;
	gap: 32px;

	padding: 32px;
	margin-bottom: 32px;

	background: #f9fafb;
	border-radius: 16px;
	border: 1px solid #e5e7eb;

	align-items: center;

	/* GARANTE QUE NÃO FIQUE ESPREMIDO */
	width: 100%;
	max-width: 100%;
}

/* REMOVE QUALQUER LIMITAÇÃO INTERNA DO ASTRA */
.ast-author-box .ast-author-bio,
.ast-author-box .ast-author-bio * {
	max-width: none !important;
}

/* =========================
   TEXTO (ESQUERDA)
========================= */

.ast-author-box .ast-author-bio {
	font-family: 'Inter', sans-serif !important;
}

.ast-author-box .ast-author-name {
	font-family: 'Inter', sans-serif !important;
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #111827;
}

.ast-author-box p {
	font-family: 'Inter', sans-serif !important;
	font-size: 15px;
	line-height: 1.6;
	color: #374151;
}

/* =========================
   AVATAR (DIREITA)
========================= */

.ast-author-box .ast-author-avatar {
	width: 100%;
	height: 100%;

	display: flex;
	align-items: center;
	justify-content: center;
}

.ast-author-box .ast-author-avatar img {
	width: 100%;
	height: 100%;
	max-height: 220px;

	object-fit: cover;

	border-radius: 14px;

	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* FORÇA INTER EM TUDO DO CARD */
.ast-author-box,
.ast-author-box * {
	font-family: 'Inter', sans-serif !important;
}

/* =========================
   REMOVE CÍRCULO 
========================= */

.ast-author-box .avatar {
	border-radius: 14px !important;
}

.ast-author-box {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(0,0,0,0.06);
	border: none;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

	.ast-author-box {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ast-author-box .ast-author-avatar img {
		max-height: 260px;
	}
}