/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme do Astra para customizações do Portal Notícias do Transporte
Author: Leo Monteiro
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* =========================
   NT HOME BASE
========================= */

.nt-home-block,
.nt-home-block * {
	box-sizing: border-box;
}

/* 🔥 CORREÇÃO CRÍTICA */
.entry-content .nt-home-block {
	width: 100%;
	max-width: 1200px; /* respeita o container */
	margin: 0 auto 32px;
}

/* REMOVE FORÇA GLOBAL */
.entry-content .nt-home-block > * {
	max-width: 100%;
}


/* =========================
   HEADER (CORRIGIDO DE VERDADE)
========================= */

.nt-section {
	margin-bottom: 28px;
}

.nt-section-header {
	position: relative;
	padding: 16px 20px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;

	background-image: url("https://noticiasdotransporte.com.br/wp-content/uploads/2024/1212NT-1781x2048-0x.png");
	background-size: cover;
	background-position: center;
}

/* overlay equilibrado */
.nt-section-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.25);
}

/* TEXTO PRINCIPAL (AGORA CORRETO) */
.nt-section-header h2 {
	position: relative;
	z-index: 2;
	margin: 0;

	font-size: 22px;        /* AUMENTADO */
	font-weight: 800;
	letter-spacing: .2px;

	color: #fff;
}

/* REMOVE COMPLETAMENTE O RISQUINHO */
.nt-section-header h2::after {
	display: none;
}


/* =========================
   GRID
========================= */

.nt-home-top {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	gap: 16px;
	align-items: stretch;
	margin-bottom: 16px;
}

.nt-home-top__main,
.nt-home-top__side {
	min-width: 0;
}

.nt-home-top__side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
}

.nt-home-bottom {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}


/* =========================
   CARD BASE
========================= */

.nt-home-card {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: 14px;
	text-decoration: none !important;
	background: #111;
	transition: transform .2s ease;
	height: 100%;
}

.nt-home-card:hover {
	transform: translateY(-2px);
}


/* =========================
   TAMANHOS
========================= */

.nt-home-card--featured {
	aspect-ratio: 16 / 9;
	min-height: 360px;
}

.nt-home-card--side,
.nt-home-card--bottom {
	aspect-ratio: 16 / 9;
	min-height: 200px;
}


/* =========================
   BG
========================= */

.nt-home-card__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform .45s ease, filter .45s ease;
}

.nt-home-card:hover .nt-home-card__bg {
	transform: scale(1.05);
	filter: brightness(1.05);
}


/* =========================
   OVERLAY
========================= */

.nt-home-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0,0,0,.85) 0%,
		rgba(0,0,0,.55) 45%,
		rgba(0,0,0,.05) 80%
	);
}


/* =========================
   CONTENT
========================= */

.nt-home-card__inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 12px 14px;
}


/* =========================
   CATEGORY
========================= */

.nt-home-card__cat {
	background: rgba(0,0,0,.45);
	padding: 3px 6px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
	color: #fff;
}


/* =========================
   TEXTOS
========================= */

.nt-home-card__content {
	margin-top: auto;
	color: #fff;
}

.nt-home-card__title,
.nt-home-card__desc,
.nt-home-card__author {
	display: block;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,.55);
}

.nt-home-card__title {
	margin: 0;
	font-weight: 700;
	line-height: 1.15;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nt-home-card--featured .nt-home-card__title {
	font-size: 22px;
}

.nt-home-card--side .nt-home-card__title {
	font-size: 16px;
}

.nt-home-card--bottom .nt-home-card__title {
	font-size: 14px;
}

.nt-home-card__desc {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.4;
}

.nt-home-card__author {
	margin-top: 10px;
	font-size: 11px;
	font-weight: 600;
}


/* =========================
   RESET ASTRA
========================= */

.nt-home-block * {
	color: #fff !important;
	text-decoration: none !important;
}


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

@media (max-width: 1024px) {

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

	.nt-home-top__side {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: none;
	}

	.nt-home-card--featured {
		min-height: 300px;
	}
}

@media (max-width: 768px) {

	.nt-section-header {
		padding: 12px 14px;
	}

	.nt-section-header h2 {
		font-size: 18px;
	}

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

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

	.nt-home-card--featured,
	.nt-home-card--side,
	.nt-home-card--bottom {
		min-height: 220px;
		aspect-ratio: 16 / 10;
	}

	.nt-home-card--featured .nt-home-card__title {
		font-size: 18px;
	}
}

/* =========================
   NT BLOCOS (NOVOS)
========================= */

.nt-bloco {
	max-width: 1200px;
	margin: 0 auto 40px;
	padding: 0 8px;
}

/* HEADER PADRÃO */
.nt-bloco-header h2 {
	font-size: 20px;
	font-weight: 800;
	color: #111;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.nt-bloco-header a,
.nt-sub-header a {
	font-size: 13px;
	color: #0a7d2c;
	font-weight: 600;
	text-decoration: none;
}

.nt-bloco-header a:hover {
	text-decoration: underline;
}

/* GRID BASE */
.nt-bloco-grid {
	display: grid;
	gap: 20px;
}

/* BLOCO 1 */
.nt-bloco-1-grid {
	grid-template-columns: 60% 40%;
}

/* BLOCO 2 e 3 */
.nt-bloco-2-grid,
.nt-bloco-3-grid {
	grid-template-columns: 1fr 1fr;
}

/* COLUNAS */
.nt-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* =========================
   LIST ITEM (NOTÍCIA GRANDE)
========================= */

.nt-list-item {
	display: flex;
	gap: 14px;
	text-decoration: none;
	align-items: stretch;
}

.nt-list-item:hover {
	transform: translateX(4px);
}

.nt-thumb {
	flex: 0 0 38%;
}

.nt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.nt-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.nt-content h3 {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 700;
	color: #111;
}

.nt-content p {
	margin: 0 0 6px;
	font-size: 14px;
	color: #555;
	line-height: 1.4;
}

.nt-meta {
	font-size: 12px;
	color: #777;
}

/* =========================
   MINI LIST (COLUNA DIREITA)
========================= */

.nt-mini-item {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 6px 0;
}

.nt-mini-item img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border-radius: 8px;
}

.nt-mini-item span {
	font-size: 13px;
	color: #111;
	line-height: 1.3;
	font-weight: 600;
}

/* HEADER INTERNO */
.nt-sub-header h3 {
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	color: #111;
}

/* =========================
   HOVER GLOBAL CONSISTENTE
========================= */

.nt-list-item:hover h3,
.nt-mini-item:hover span {
	color: #2e7d32;
}

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

@media (max-width: 1024px) {

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

	.nt-bloco-2-grid,
	.nt-bloco-3-grid {
		grid-template-columns: 1fr;
	}

	.nt-list-item {
		flex-direction: column;
	}

	.nt-thumb {
		flex: unset;
	}

}

@media (max-width: 768px) {

	.nt-content h3 {
		font-size: 16px;
	}

	.nt-content p {
		font-size: 13px;
	}

	.nt-mini-item img {
		width: 60px;
		height: 60px;
	}

}

/* =========================
   BLOCO LISTA FIX
========================= */

.nt-list-item {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 14px;
	text-decoration: none;
	align-items: center;
}

/* THUMB PADRONIZADA */
.nt-thumb {
	width: 100%;
	height: 120px;
	overflow: hidden;
	border-radius: 10px;
}

.nt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* TEXTO */
.nt-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.nt-content h3 {
	margin: 0 0 6px;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 700;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nt-meta {
	font-size: 12px;
	color: #666;
}

/* MINI LIST */
.nt-mini-item {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 10px;
	align-items: center;
}

.nt-mini-item img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
}

.nt-mini-item span {
	font-size: 13px;
	font-weight: 600;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* COLUNAS ALINHADAS */
.nt-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* GRID */
.nt-bloco-1-grid {
	grid-template-columns: 60% 40%;
}

.nt-bloco-2-grid,
.nt-bloco-3-grid {
	grid-template-columns: 1fr 1fr;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
	.nt-bloco-1-grid,
	.nt-bloco-2-grid,
	.nt-bloco-3-grid {
		grid-template-columns: 1fr;
	}

	.nt-list-item {
		grid-template-columns: 1fr;
	}
}

/* =========================
   BLOCO LISTA FIX
========================= */

.nt-list-item {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 14px;
	text-decoration: none;
	align-items: center;
}

/* THUMB PADRONIZADA */
.nt-thumb {
	width: 100%;
	height: 120px;
	overflow: hidden;
	border-radius: 10px;
}

.nt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* TEXTO */
.nt-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.nt-content h3 {
	margin: 0 0 6px;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 700;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nt-meta {
	font-size: 12px;
	color: #666;
}

/* MINI LIST */
.nt-mini-item {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 10px;
	align-items: center;
}

.nt-mini-item img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
}

.nt-mini-item span {
	font-size: 13px;
	font-weight: 600;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* COLUNAS ALINHADAS */
.nt-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* GRID */
.nt-bloco-1-grid {
	grid-template-columns: 60% 40%;
}

.nt-bloco-2-grid,
.nt-bloco-3-grid {
	grid-template-columns: 1fr 1fr;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
	.nt-bloco-1-grid,
	.nt-bloco-2-grid,
	.nt-bloco-3-grid {
		grid-template-columns: 1fr;
	}

	.nt-list-item {
		grid-template-columns: 1fr;
	}
}

.nt-bloco {
	max-width: 1200px;
	margin: 0 auto 40px;
	padding: 0 8px;
}

.nt-bloco-grid {
	display: grid;
	gap: 24px;
}

.nt-bloco-1-grid,
.nt-bloco-2-grid,
.nt-bloco-3-grid {
	grid-template-columns: 1fr 1fr;
}

.nt-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nt-bloco-header h2 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 16px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 800;
	color: #111;
}

.nt-bloco-header h2 a,
.nt-sub-header h3 a,
.nt-ver-mais {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 700;
	color: #0a7d2c;
	text-decoration: none;
}

.nt-bloco-header h2 a:hover,
.nt-sub-header h3 a:hover,
.nt-ver-mais:hover {
	text-decoration: underline;
}

.nt-list-item {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 16px;
	align-items: stretch;
	text-decoration: none;
	min-height: 120px;
}

.nt-thumb {
	width: 100%;
	height: 120px;
	overflow: hidden;
	border-radius: 10px;
}

.nt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 10px;
}

.nt-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.nt-content h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.22;
	font-weight: 700;
	color: #111;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(1.22em * 3);
}

.nt-meta {
	display: block;
	margin-top: auto;
	font-size: 12px;
	line-height: 1.3;
	color: #666;
}

.nt-mini-item {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	align-items: center;
	text-decoration: none;
	min-height: 64px;
}

.nt-mini-item img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.nt-mini-item span {
	font-size: 14px;
	line-height: 1.3;
	font-weight: 600;
	color: #111;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nt-sub-header h3 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 800;
	color: #111;
}

.nt-list-item:hover h3,
.nt-mini-item:hover span,
.nt-lida-item:hover h3 {
	color: #2e7d32;
}

.nt-bloco-mais-lidas {
	height: 600px;
	overflow-y: auto;
	padding-right: 8px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.nt-lida-item {
	display: grid;
	grid-template-columns: 36px 72px 1fr;
	gap: 12px;
	align-items: center;
	text-decoration: none;
}

.nt-lida-rank {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0a7d2c;
	font-size: 14px;
	font-weight: 800;
}

.nt-lida-thumb {
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 8px;
}

.nt-lida-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

.nt-lida-content {
	min-width: 0;
}

.nt-lida-content h3 {
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 700;
	color: #111;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.nt-bloco-1-grid,
	.nt-bloco-2-grid,
	.nt-bloco-3-grid {
		grid-template-columns: 1fr;
	}

	.nt-list-item {
		grid-template-columns: 200px 1fr;
	}

	.nt-bloco-mais-lidas {
		height: auto;
		max-height: 600px;
	}
}

@media (max-width: 768px) {
	.nt-bloco {
		padding: 0;
	}

	.nt-bloco-header h2,
	.nt-sub-header h3 {
		font-size: 18px;
	}

	.nt-list-item {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.nt-thumb {
		height: 180px;
	}

	.nt-content h3 {
		font-size: 17px;
		min-height: auto;
	}

	.nt-lida-item {
		grid-template-columns: 32px 60px 1fr;
	}

	.nt-lida-thumb {
		width: 60px;
		height: 60px;
	}
}

/* MAIS LIDAS */

.nt-bloco-4 {
	margin-top: 32px;
}

.nt-mais-lidas-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 600px;
}

.nt-mais-lida-item {
	display: block;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e7eb;
	text-decoration: none;
}

.nt-mais-lida-item h3 {
	font-size: 16px;
	line-height: 1.35;
	font-weight: 700;
	color: #111;
	transition: color .2s ease;
}

.nt-mais-lida-item:hover h3 {
	color: #0a7d2c;
}


/* =========================
   BASE
========================= */

.nt-bloco {
	max-width: 1200px;
	margin: 0 auto 40px;
	padding: 0 8px;
}

.nt-bloco-grid {
	display: grid;
	gap: 24px;
}

.nt-bloco-1-grid,
.nt-bloco-2-grid,
.nt-bloco-3-grid {
	grid-template-columns: 1fr 1fr;
}

.nt-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* =========================
   HEADER
========================= */

.nt-bloco-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.nt-bloco-header h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	color: #111;
}

.nt-ver-mais {
	font-size: 13px;
	font-weight: 700;
	color: #0a7d2c;
	text-decoration: none;
}

.nt-ver-mais:hover {
	text-decoration: underline;
}

/* =========================
   LISTA PRINCIPAL
========================= */

.nt-list-item {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 16px;
	align-items: stretch;
	text-decoration: none;
	min-height: 120px;
}

.nt-thumb {
	width: 100%;
	height: 120px;
	overflow: hidden;
	border-radius: 10px;
}

.nt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nt-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.nt-content h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.22;
	font-weight: 700;
	color: #111;

	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;

	min-height: calc(1.22em * 3);
}

.nt-meta {
	margin-top: auto;
	font-size: 12px;
	color: #666;
}

/* =========================
   MINI LIST
========================= */

.nt-mini-item {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	align-items: center;
	text-decoration: none;
}

.nt-mini-item img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
}

.nt-mini-item span {
	font-size: 14px;
	font-weight: 600;
	color: #111;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* =========================
   HOVER
========================= */

.nt-list-item:hover h3,
.nt-mini-item:hover span {
	color: #2e7d32;
}

/* =========================
   BLOCO 4 (MAIS LIDAS + CTA)
========================= */

.nt-bloco-50 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: stretch;
}

/* LEFT */

.nt-mais-lidas-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.nt-mais-lida-item {
	display: block;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e7eb;
	text-decoration: none;
}

.nt-mais-lida-item h3 {
	font-size: 16px;
	line-height: 1.35;
	font-weight: 700;
	color: #111;
}

.nt-mais-lida-item:hover h3 {
	color: #0a7d2c;
}

/* =========================
   CTA FINAL (FIX REAL)
========================= */

.nt-cta-card {
	position: relative;
	padding: 22px 22px 22px 72px !important;
	border-radius: 14px;
	overflow: hidden;
	color: #fff !important;
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 95px;

	/* TEXTURA + COR JUNTAS (AGORA FUNCIONA) */
	background-image:
		url("https://noticiasdotransporte.com.br/wp-content/uploads/2024/1212NT-1781x2048-0x.png"),
		linear-gradient(135deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35));

	background-size: cover;
	background-position: center;
	background-blend-mode: overlay;
}

/* CORES */
.nt-cta-whatsapp {
	background-color: #25D366;
}

.nt-cta-youtube {
	background-color: #ff0000;
}

.nt-cta-galeria {
	background-color: #0a7d2c;
}

/* REMOVE underline */
.nt-cta-card,
.nt-cta-card * {
	text-decoration: none !important;
}

/* TEXTO */
.nt-cta-card h3 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 4px;
	color: #fff !important;
}

.nt-cta-card p {
	font-size: 13px;
	margin: 0;
	opacity: .95;
	color: #fff !important;
}

/* =========================
   ÍCONES (AGORA FUNCIONA)
========================= */

.nt-cta-card::after {
	content: "";
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);

	width: 36px;
	height: 36px;

	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;

	filter: brightness(0) invert(1);
	opacity: 0.95;
}

/* ÍCONES ESPECÍFICOS */
.nt-cta-whatsapp::after {
	background-image: url("https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/whatsapp.svg");
}

.nt-cta-youtube::after {
	background-image: url("https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/youtube.svg");
}

.nt-cta-galeria::after {
	background-image: url("https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/googlephotos.svg");
}

/* =========================
   HOVER
========================= */

.nt-cta-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(0,0,0,.25);
}

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

@media (max-width: 768px) {

	.nt-cta-card {
		padding-left: 64px !important;
	}

	.nt-cta-card::after {
		left: 16px;
		width: 32px;
		height: 32px;
	}
}

/* ESPAÇAMENTO ENTRE OS CTAs */
.nt-cta-wrapper {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* GARANTE QUE NÃO ENCOSTE MESMO FORA DO WRAPPER */
.nt-cta-card {
	margin-bottom: 0;
}

.nt-cta-card + .nt-cta-card {
	margin-top: 14px;
}

/* =========================
   MOBILE FIX FINAL (IMG FULL REAL)
========================= */

@media (max-width: 768px) {

	/* GRID 1 COLUNA */
	.nt-bloco-grid,
	.nt-bloco-grid-2,
	.nt-bloco-grid-3,
	.nt-bloco-grid-4,
	.nt-bloco-1-grid,
	.nt-bloco-2-grid,
	.nt-bloco-3-grid,
	.nt-bloco-50 {
		display: flex !important;
		flex-direction: column !important;
		gap: 18px;
	}

	/* ITEM VERTICAL */
	.nt-post-item,
	.nt-list-item {
		display: flex !important;
		flex-direction: column !important;
		gap: 8px;
	}

	/* 🔥 ESSA É A CORREÇÃO REAL */
	.nt-thumb {
		width: 100% !important;
		height: auto !important;
		flex: unset !important;
		max-width: 100% !important;
	}

	/* IMAGEM AGORA EXPANDE DE VERDADE */
	.nt-post-item img,
	.nt-list-item img,
	.nt-thumb img {
		width: 100% !important;
		height: auto !important;
		max-height: 200px;
		object-fit: cover;
		border-radius: 10px;
		display: block;
	}

	/* CONTEÚDO */
	.nt-post-content,
	.nt-content {
		display: flex;
		flex-direction: column;
		gap: 4px;
	}

	/* TÍTULO */
	.nt-post-content h3,
	.nt-content h3 {
		font-size: 16px;
		line-height: 1.3;
		word-break: normal !important;
		overflow-wrap: break-word !important;
		white-space: normal !important;
	}

	/* DATA */
	.nt-post-content .nt-date,
	.nt-meta {
		font-size: 12px;
		color: #6b7280;
	}

	/* REMOVE ALTURAS BUGADAS */
	.nt-bloco,
	.nt-bloco * {
		min-height: unset !important;
		height: auto !important;
	}

	/* MAIS LIDAS */
	.nt-mais-lidas-list {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	/* CTA */
	.nt-cta-wrapper,
	.nt-cta-list {
		display: flex !important;
		flex-direction: column !important;
		gap: 14px;
	}

	.nt-cta-card {
		width: 100%;
		min-height: 90px;
	}

}

/* =========================
   BLOCO 5 - MAIS LIDAS FULL
========================= */

#nt-popular-container {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 900px;
	margin: 0 auto;
}

/* ITEM */
.nt-pop-item {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 14px;
	align-items: center;
	text-decoration: none;
	position: relative;
}

/* RANK */
.nt-pop-rank {
	position: absolute;
	left: -8px;
	top: -6px;

	background: #0a7d2c;
	color: #fff;
	font-size: 12px;
	font-weight: 700;

	padding: 4px 8px;
	border-radius: 6px;
}

/* IMG */
.nt-pop-item img {
	width: 90px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
}

/* TITLE */
.nt-pop-item h3 {
	font-size: 17px;
	line-height: 1.3;
	font-weight: 700;
	color: #111;
	margin: 0;
}

/* HOVER */
.nt-pop-item:hover h3 {
	color: #0a7d2c;
}

/* =========================
   REMOVE META ORIGINAL ASTRA
========================= */
.single-post .entry-header .entry-meta,
.single-post .entry-header .ast-blog-single-element.ast-taxonomy-container,
.single-post .entry-header .ast-blog-meta-container {
	display: none !important;
}

/* =========================
   AJUSTE DO TÍTULO
========================= */
.single-post .entry-title {
	margin-bottom: 6px !important;
}

/* =========================
   BLOCO EDITORIAL
========================= */
.single-post .nt-single-editorial-meta {
	margin: 8px 0 18px;
}

/* =========================
   SUBTÍTULO
========================= */
.single-post .nt-single-subtitle {
	margin: 0 0 10px;
	font-family: "Titillium Web", sans-serif !important;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 400;
	color: #4b5563;
}

/* =========================
   BYLINE (Por Fulano)
========================= */
.single-post .nt-single-byline {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 600;
	color: #0a7d2c;
	display: flex;
	align-items: center;
	gap: 4px;
}

/* LINK DO AUTOR (ESTILO PORTAL) */
.single-post .nt-single-author-name {
	color: #0a7d2c;
	text-decoration: none !important;
	position: relative;
	padding: 2px 4px;
	border-radius: 4px;
	transition: background 0.2s ease, color 0.2s ease;
}

/* HOVER SUAVE */
.single-post .nt-single-author-name:hover {
	background: rgba(10,125,44,0.08);
	color: #075a1f;
}

/* LINHA MICRO (bem discreta) */
.single-post .nt-single-author-name::after {
	content: "";
	position: absolute;
	left: 4px;
	right: 4px;
	bottom: 0;
	height: 1.5px;
	background: #0a7d2c;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
	opacity: 0.6;
}

.single-post .nt-single-author-name:hover::after {
	transform: scaleX(1);
}

/* =========================
   DATAS
========================= */
.single-post .nt-single-dates {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
}

.single-post .nt-single-date-line {
	margin: 0;
}

.single-post .nt-single-date-label {
	font-weight: 600;
	color: #4b5563;
}

/* =========================
   GARANTIA GLOBAL LINKS
========================= */
.single-post .nt-single-editorial-meta a {
	text-decoration: none !important;
}

.single-post .entry-header {
	margin-bottom: 8px !important;
	padding-bottom: 0 !important;
}

.single-post .entry-title {
	margin-bottom: 2px !important;
}

.single-post .nt-single-editorial-meta {
	margin-top: 4px !important;
}

.single-post .nt-single-subtitle {
	font-weight: 500; /* semi-bold leve */
}

/* =========================
   ESPAÇAMENTO SUBTÍTULO → AUTOR
========================= */
.single-post .nt-single-subtitle {
	margin-bottom: 14px !important;
}


/* separa os dois blocos */
.single-post .nt-single-byline {
	margin-bottom: 4px;
}

/* =========================
   AJUSTE FINO DE TIPOGRAFIA
========================= */
.single-post .nt-single-dates {
	font-size: 13px;
	line-height: 1.45;
}

.nt-publieditorial-meta {
	margin: 10px 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
}

.nt-publi-label {
	font-weight: 600;
	color: #6b7280;
}

.nt-publi-empresa {
	font-weight: 600;
	color: #0a7d2c;
	text-decoration: none;
}

.nt-publi-empresa:hover {
	text-decoration: underline;
}

.nt-publieditorial-meta a {
	color: #0a7d2c;
	text-decoration: none;
}

.nt-publieditorial-meta a:hover {
	text-decoration: underline;
}

/* ===== PUBLI EDITORIAL FIX REAL ===== */

.single-post .nt-publi-inline {
	display: block;
	font-size: 14px;
	line-height: 1.5;

	/* EVITA QUEBRA MALUCA */
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
}

/* força tudo ficar inline mesmo */
.single-post .nt-publi-inline span,
.single-post .nt-publi-inline a {
	display: inline !important;
}

/* impede quebra dentro das palavras */
.single-post .nt-publi-inline * {
	word-break: keep-all !important;
	overflow-wrap: normal !important;
	white-space: normal !important;
}

/* separadores ficam juntos */
.single-post .nt-publi-inline {
	letter-spacing: 0;
}

/* links */
.single-post .nt-publi-inline a {
	color: #0a7d2c;
	text-decoration: none;
}

.single-post .nt-publi-inline a:hover {
	text-decoration: underline;
}

/* linha do telefone */
.single-post .nt-publi-inline br {
	display: block;
	margin-top: 2px;
}

/* =========================
   MOBILE (mantém leve)
========================= */
@media (max-width: 768px) {

	.single-post .nt-single-byline,
	.single-post .nt-single-dates {
		padding: 7px 9px;
	}

}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

	.single-post .nt-single-subtitle {
		font-size: 17px;
		line-height: 1.35;
	}

}

/* MOBILE */
@media (max-width: 768px) {

	.nt-subtitle {
		font-size: 16px;
	}

}

/* MOBILE */
@media (max-width: 768px) {

	.nt-pop-item {
		grid-template-columns: 80px 1fr;
	}

	.nt-pop-item img {
		width: 80px;
		height: 56px;
	}

	.nt-pop-item h3 {
		font-size: 15px;
	}

}