/*
Theme Name: Abraços Grátis
Theme URI: https://www.abracosgratis.blog.br
Author: Fabio
Description: Tema leve e acolhedor, inspirado no visual atual do Orkut: fundo lavanda, rosa, títulos em serifa e cartões arredondados. Fontes locais, sem dependências externas. Não inclui recursos de SEO ou cache (use Rank Math, LiteSpeed Cache etc.).
Version: 2.5.2
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abracosgratis
Tags: blog, two-columns, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Fontes locais (somente subset latino)
   ========================================================================== */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/fonts/inter-400-800.woff2") format("woff2");
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 650;
	font-display: swap;
	src: url("assets/fonts/fraunces-650.woff2") format("woff2");
}
@font-face {
	font-family: "Fraunces";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/fraunces-italic-400.woff2") format("woff2");
}

/* Fonte de reserva com métricas ajustadas: evita "pulo" do layout enquanto a Inter carrega */
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial"), local("Helvetica");
	size-adjust: 107.4%;
	ascent-override: 90.2%;
	descent-override: 22.5%;
	line-gap-override: 0%;
}

/* ==========================================================================
   Variáveis
   ========================================================================== */
:root {
	--fundo: #f3f3fa;
	--painel: #ffffff;
	--borda: #e7e7f3;
	--rosa: #ff3e9a;
	--rosa-logo: #f5328f;
	--rosa-botao: #d6246f;
	--rosa-botao-hover: #b81c5d;
	--rosa-texto: #b81f72;
	--rosa-claro: #fde8f2;
	--roxo: #6b46e5;
	--titulo: #1a1018;
	--texto: #2a2430;
	--suave: #5f5a6b;
	--raio: 20px;
	--raio-menor: 12px;
	--sombra: 0 6px 24px rgba(60, 40, 120, .07);
	--sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--fundo);
	color: var(--texto);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	overflow-wrap: break-word;
}

img, video, iframe, embed, object { max-width: 100%; }
img { height: auto; vertical-align: middle; }

a { color: var(--rosa-texto); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--roxo);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--titulo);
	font-family: var(--serif);
	font-weight: 650;
	line-height: 1.15;
	letter-spacing: -.02em;
}

p { margin: 0 0 1em; }

.screen-reader-text,
.sr-only {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus,
.link-pular:focus {
	background: var(--painel);
	clip: auto;
	clip-path: none;
	color: var(--rosa-texto);
	display: block;
	font-weight: 700;
	height: auto;
	left: 8px;
	padding: 10px 16px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.contain { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   Topo
   ========================================================================== */
.topo { padding: 22px 0 6px; }

.topo-interno {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.marca { min-width: 0; }

.logo {
	margin: 0;
	font-family: var(--sans);
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1;
}
.logo a { color: var(--rosa-logo); }
.logo a:hover { text-decoration: none; }

.logo-slogan {
	display: block;
	margin-top: 6px;
	color: var(--rosa-texto);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.custom-logo { max-height: 56px; width: auto; }

/* ==========================================================================
   Navegação
   ========================================================================== */
.nav-principal { display: flex; align-items: center; gap: 8px; }

.menu-botao {
	display: none;
	padding: 8px 16px;
	background: var(--painel);
	border: 0;
	border-radius: 999px;
	box-shadow: var(--sombra);
	color: var(--titulo);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.nav-principal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.nav-principal li { position: relative; }

.nav-principal a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--titulo);
	font-weight: 500;
}
.nav-principal a:hover { background: var(--painel); text-decoration: none; }

.nav-principal .current-menu-item > a,
.nav-principal .current_page_item > a,
.nav-principal .current-menu-ancestor > a {
	background: var(--painel);
	box-shadow: var(--sombra);
	color: var(--rosa-texto);
}

.nav-principal ul ul {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	min-width: 200px;
	padding: 6px;
	background: var(--painel);
	border-radius: var(--raio-menor);
	box-shadow: var(--sombra);
	flex-direction: column;
	align-items: stretch;
	z-index: 50;
}
.nav-principal li:hover > ul,
.nav-principal li:focus-within > ul { display: flex; }

/* ==========================================================================
   Hero (página inicial)
   ========================================================================== */
.hero { padding: 32px 0 8px; }

.banner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	align-items: center;
	gap: 24px;
	overflow: hidden;
	padding: 44px 48px;
	background: var(--rosa-botao);
	border-radius: 28px;
	color: #fff;
}

.banner-etiqueta {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 14px;
	background: rgba(70, 0, 30, .3);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
}

.hero-titulo {
	max-width: 620px;
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(34px, 5.4vw, 56px);
	line-height: 1.05;
	letter-spacing: -.03em;
}

.hero-texto { max-width: 540px; margin: 0 0 24px; font-size: 18px; line-height: 1.6; color: #fff; }

.banner-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0; }
.banner .botao-branco { background: #fff; color: var(--rosa-botao-hover); }
.banner .botao-branco:hover { background: var(--rosa-claro); color: var(--rosa-botao-hover); }
.banner-link { color: #fff; font-weight: 600; text-decoration: underline; }
.banner-link:hover { color: #fff; text-decoration: none; }

.banner-arte {
	align-self: stretch;
	min-height: 200px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cpath d='M130 200C58 148 24 108 24 66 24 34 48 12 78 12c24 0 42 12 52 32 10-20 28-32 52-32 30 0 54 22 54 54 0 42-34 82-106 134z' fill='%23fff' fill-opacity='.2'/%3E%3Cpath d='M200 190c-30-22-44-40-44-58 0-14 10-24 24-24 10 0 18 5 20 13 3-8 10-13 20-13 14 0 24 10 24 24 0 18-14 36-44 58z' fill='%23fff' fill-opacity='.3' transform='translate(-34 -26) scale(.8)'/%3E%3Ccircle cx='36' cy='196' r='9' fill='%23fff' fill-opacity='.3'/%3E%3Ccircle cx='238' cy='34' r='6' fill='%23fff' fill-opacity='.3'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Títulos de seção e "Como funciona" */
.secao-titulo { margin: 28px 0 14px; font-size: 26px; }

.passos-lista {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.passo {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px;
	background: var(--painel);
	border-radius: var(--raio);
	box-shadow: var(--sombra);
}

.passo-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-bottom: 6px;
	background: var(--rosa-claro);
	border-radius: 50%;
	color: var(--rosa-texto);
	font-weight: 800;
}

.passo-titulo { color: var(--titulo); font-size: 17px; }
.passo-texto { color: var(--suave); font-size: 15px; line-height: 1.5; }

/* ==========================================================================
   Layout
   ========================================================================== */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	align-items: start;
	padding-top: 22px;
	padding-bottom: 8px;
}

.coluna-central { min-width: 0; }
.coluna-lateral { min-width: 0; }

.abg-total .layout { grid-template-columns: minmax(0, 1fr); }

/* ==========================================================================
   Cartões
   ========================================================================== */
.caixa {
	position: relative;
	margin: 0 0 24px;
	background: var(--painel);
	border-radius: var(--raio);
	box-shadow: var(--sombra);
}

.caixa-titulo {
	margin: 0;
	padding: 24px 28px 0;
	font-size: 28px;
}
h1.caixa-titulo { font-size: clamp(28px, 4.2vw, 38px); }

.caixa-corpo { padding: 20px 28px 28px; }
.caixa-titulo + .caixa-corpo { padding-top: 14px; }

/* Fita rosa decorativa */
.fita::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 110px;
	height: 26px;
	margin-left: -55px;
	background: rgba(255, 62, 154, .28);
	border-radius: 3px;
	transform: rotate(-2deg);
}

/* Widgets */
.widget .widget-titulo {
	margin: 0 0 12px;
	font-size: 20px;
}
.widget > .caixa-corpo { padding: 22px 24px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--borda); }
.widget li:last-child { border-bottom: 0; }
.widget li ul { padding-left: 14px; }

/* Caixa de conta */
.perfil { text-align: center; }
.perfil .caixa-corpo { padding: 30px 24px 24px; }
.perfil .avatar { display: block; margin: 0 auto 10px; border-radius: 50%; border: 3px solid var(--rosa-claro); }
.perfil-nome { margin: 0 0 6px; font-family: var(--serif); font-size: 22px; font-weight: 650; color: var(--titulo); }
.perfil-texto { margin: 0 0 16px; color: var(--suave); font-size: 15px; }
.perfil-acoes { display: flex; flex-direction: column; gap: 8px; }

/* Menu lateral */
.menu-lateral .caixa-corpo { padding: 14px 14px 18px; }
.menu-lateral .widget-titulo { padding: 4px 10px 0; }
.menu-lateral ul { list-style: none; margin: 0; padding: 0; }
.menu-lateral a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--raio-menor);
	color: var(--titulo);
	font-weight: 500;
}
.menu-lateral a:hover,
.menu-lateral .current-menu-item > a { background: var(--rosa-claro); color: var(--rosa-texto); text-decoration: none; }

/* ==========================================================================
   Grade de posts
   ========================================================================== */
.grade {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

.cartao {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--borda);
	box-shadow: none;
}

.cartao-imagem { display: block; aspect-ratio: 3 / 2; background: var(--rosa-claro); overflow: hidden; }
.cartao-imagem img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cartao-sem-imagem { background: var(--rosa-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff3e9a' fill-opacity='.45' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") no-repeat center / 64px; }

.cartao-texto { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }

.etiqueta {
	align-self: flex-end;
	margin: 0 0 8px;
	padding: 2px 11px;
	background: var(--fundo);
	border-radius: 999px;
	color: var(--suave);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.etiqueta a { color: inherit; }

.cartao-titulo { margin: 0 0 8px; font-size: 24px; }
.cartao-titulo a { color: var(--titulo); }
.cartao-titulo a:hover { color: var(--rosa-texto); text-decoration: none; }

.resumo { flex: 1; color: var(--suave); font-size: 15px; line-height: 1.6; }
.resumo p { margin: 0 0 12px; }

.mais { align-self: flex-start; font-weight: 700; font-size: 15px; }

.meta { margin: 0 0 12px; color: var(--suave); font-size: 13px; }
.meta a { color: var(--suave); }
.meta a:hover { color: var(--rosa-texto); }

.sticky .cartao-titulo::before { content: "★ "; color: var(--rosa); }

/* ==========================================================================
   Conteúdo (posts e páginas)
   ========================================================================== */
.conteudo { font-size: 17px; line-height: 1.75; }
.conteudo > :last-child { margin-bottom: 0; }
.conteudo h2 { margin-top: 1.6em; font-size: 28px; }
.conteudo h3 { margin-top: 1.4em; font-size: 22px; }
.conteudo ul, .conteudo ol { padding-left: 1.4em; margin: 0 0 1em; }
.conteudo li { margin-bottom: .3em; }
.conteudo a { text-decoration: underline; text-underline-offset: 2px; }

.conteudo blockquote {
	margin: 1.4em 0;
	padding: 6px 0 6px 22px;
	border-left: 3px solid var(--rosa);
	color: var(--titulo);
	font-family: var(--serif);
	font-size: 22px;
	font-style: italic;
	line-height: 1.5;
}
.conteudo blockquote p:last-child { margin-bottom: 0; }

.conteudo table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; }
.conteudo th, .conteudo td { padding: 8px 10px; border-bottom: 1px solid var(--borda); text-align: left; }
.conteudo th { background: var(--fundo); }

.conteudo pre {
	padding: 14px;
	overflow-x: auto;
	background: var(--fundo);
	border-radius: var(--raio-menor);
	font-size: 14px;
}

.conteudo img { border-radius: var(--raio-menor); }


.caixa-artigo { margin-top: 0; }
.caixa-artigo h1 { margin-bottom: 20px; }
.caixa-artigo .caixa-corpo { padding: 28px 32px 32px; }

.alignleft { float: left; margin: 0 16px 10px 0; }
.alignright { float: right; margin: 0 0 10px 16px; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption, figcaption { color: var(--suave); font-size: 13px; text-align: center; }
.conteudo::after { content: ""; display: table; clear: both; }

.tags { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--borda); font-size: 13px; }
.tags a {
	display: inline-block;
	margin: 0 4px 6px 0;
	padding: 2px 12px;
	background: var(--rosa-claro);
	border-radius: 999px;
	color: var(--rosa-texto);
	font-weight: 600;
}
.tags a:hover { background: var(--rosa-botao); color: #fff; text-decoration: none; }

.migalhas { margin: 0 0 14px; color: var(--suave); font-size: 13px; }
.migalhas a { color: var(--suave); }

/* Blocos do editor: estilo mínimo, com :where() (especificidade zero) para que o CSS do WordPress,
   quando carregado, tenha prioridade. Garante layout correto se o CSS de blocos for desativado. */
:where(.conteudo) :where(.wp-block-columns) { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 1em; }
:where(.conteudo) :where(.wp-block-column) { flex: 1 1 240px; min-width: 0; }
:where(.conteudo) :where(figure) { margin: 0 0 1.2em; }
:where(.conteudo) :where(.wp-block-gallery) { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; list-style: none; }
:where(.conteudo) :where(.wp-block-gallery) :where(.wp-block-image) { flex: 1 1 160px; margin: 0; }
:where(.conteudo) :where(.wp-block-buttons) { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1em; }
:where(.conteudo) :where(.wp-block-button__link) { display: inline-block; padding: 11px 22px; background: var(--rosa-botao); border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none; }
:where(.conteudo) :where(.wp-block-embed-youtube, .wp-block-embed-vimeo) :where(iframe) { width: 100%; height: auto; aspect-ratio: 16 / 9; }
:where(.conteudo) :where(.wp-block-separator) { margin: 2em 0; border: 0; border-top: 1px solid var(--borda); }
:where(.conteudo) :where(.has-text-align-center) { text-align: center; }
.conteudo .wp-block-button__link { color: #fff; text-decoration: none; }
.conteudo .alignwide, .conteudo .alignfull { max-width: 100%; }

/* ==========================================================================
   Navegação entre posts e paginação
   ========================================================================== */
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; }
.post-nav-item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 12px;
	background: var(--painel);
	border-radius: var(--raio);
	box-shadow: var(--sombra);
	color: var(--titulo);
}
.post-nav-item:hover { text-decoration: none; }
.post-nav-item:hover .post-nav-titulo { color: var(--rosa-texto); }
.post-nav-item.next { grid-column: 2; flex-direction: row-reverse; text-align: right; }

.post-nav-img { flex: 0 0 80px; width: 80px; height: 80px; overflow: hidden; border-radius: var(--raio-menor); background: var(--rosa-claro); }
.post-nav-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.post-nav-texto { display: block; min-width: 0; padding: 0 6px; }
.post-nav-texto small { display: block; margin-bottom: 2px; color: var(--suave); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.post-nav-titulo {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	font-family: var(--serif);
	font-size: 17px;
	font-weight: 650;
	line-height: 1.25;
	letter-spacing: -.01em;
}

/* Compartilhar */
.compartilhar { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--borda); }
.compartilhar-titulo { margin: 0 0 12px; color: var(--titulo); font-family: var(--serif); font-size: 18px; font-weight: 650; }
.compartilhar-lista { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.compartilhar-lista a,
.compartilhar-lista button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	background: var(--rosa-claro);
	border: 0;
	border-radius: 999px;
	color: var(--rosa-texto);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}
.compartilhar-lista a:hover,
.compartilhar-lista button:hover { background: var(--rosa-botao); color: #fff; text-decoration: none; }
.compartilhar .icone { flex: none; }

.pagination { margin: 0 0 24px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers {
	min-width: 40px;
	padding: 8px 14px;
	background: var(--painel);
	border-radius: 999px;
	box-shadow: var(--sombra);
	color: var(--titulo);
	font-weight: 600;
	text-align: center;
}
.pagination a.page-numbers:hover { color: var(--rosa-texto); text-decoration: none; }
.pagination .current { background: var(--rosa-botao); color: #fff; }

/* ==========================================================================
   Formulários e botões (também valem para plugins)
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
	width: 100%;
	max-width: 100%;
	padding: 11px 14px;
	background: #fff;
	border: 1px solid #d9d9ea;
	border-radius: var(--raio-menor);
	color: var(--texto);
	font: inherit;
}
input:focus, textarea:focus, select:focus { border-color: var(--roxo); }
textarea { min-height: 120px; resize: vertical; }

button,
input[type="submit"],
input[type="button"],
.botao {
	display: inline-block;
	padding: 11px 22px;
	background: var(--rosa-botao);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.botao:hover { background: var(--rosa-botao-hover); color: #fff; text-decoration: none; }

.botao-roxo { background: var(--roxo); }
.botao-roxo:hover { background: #5636c4; }
.botao-claro { background: var(--rosa-claro); color: var(--rosa-texto); }
.botao-claro:hover { background: #fbd3e5; color: var(--rosa-texto); }

.busca { display: flex; gap: 8px; }
.busca input[type="search"] { flex: 1; min-width: 0; }

/* ==========================================================================
   Comentários (visual de "recados")
   ========================================================================== */
.comentarios-lista { list-style: none; margin: 0 0 20px; padding: 0; }
.comentarios-lista .children { list-style: none; margin: 0; padding-left: 28px; }

.comentarios-lista .comment-body {
	position: relative;
	min-height: 72px;
	padding: 16px 0 16px 66px;
	border-bottom: 1px solid var(--borda);
}
.comentarios-lista .avatar {
	position: absolute;
	left: 0;
	top: 16px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 2px solid var(--rosa-claro);
}
.comentarios-lista .fn { font-weight: 700; font-style: normal; color: var(--titulo); }
.comentarios-lista .comment-metadata { color: var(--suave); font-size: 13px; }
.comentarios-lista .comment-metadata a { color: var(--suave); }
.comentarios-lista .comment-content p { margin: 6px 0; }
.comentarios-lista .reply a { font-size: 13px; font-weight: 700; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 600; }
.comment-form p { margin: 0 0 14px; }
.abg-turnstile { min-height: 65px; margin: 0 0 14px; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form-cookies-consent input { width: auto; }
.comment-awaiting-moderation { color: var(--rosa-texto); font-style: italic; }
.comment-reply-title { font-family: var(--serif); font-size: 22px; font-weight: 650; }
.bypostauthor > .comment-body .fn { color: var(--rosa-texto); }

/* ==========================================================================
   Anúncios
   ========================================================================== */
.anuncio { max-width: 100%; margin: 24px 0; overflow: hidden; text-align: center; }
.anuncio-rotulo { display: block; margin-bottom: 6px; color: var(--suave); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.anuncio-lateral { margin-top: 0; }
.anuncio:has(ins[data-ad-status="unfilled"]) { display: none; }

/* ==========================================================================
   Posts relacionados (lista de 1 coluna: miniatura + título)
   ========================================================================== */
.relacionados { padding-bottom: 12px; }
.relacionados-lista { margin: 0; padding: 14px 16px 0; list-style: none; }
.relacionados-lista li + li { margin-top: 4px; }

.relacionado {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 8px 12px;
	border-radius: var(--raio-menor);
	color: var(--titulo);
}
.relacionado:hover { background: var(--fundo); text-decoration: none; }
.relacionado:hover .relacionado-titulo { color: var(--rosa-texto); }

.relacionado-img { flex: 0 0 96px; width: 96px; height: 64px; overflow: hidden; border-radius: 10px; background: var(--rosa-claro); }
.relacionado-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.relacionado-titulo {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 650;
	line-height: 1.25;
	letter-spacing: -.01em;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.rodape { margin-top: 28px; padding: 40px 0 32px; background: var(--painel); border-top: 1px solid var(--borda); color: var(--suave); font-size: 15px; }

.rodape-colunas { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-bottom: 28px; }
.rodape-marca { flex: 1.6 1 280px; min-width: 0; }
.rodape-col { flex: 1 1 180px; min-width: 0; }

.rodape-logo { margin: 0 0 8px; font-size: 28px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.rodape-logo a { color: var(--rosa-logo); }
.rodape-logo a:hover { text-decoration: none; }
.rodape-texto { max-width: 360px; margin: 0 0 16px; }

.rodape-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rodape-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--rosa-claro);
	border-radius: 50%;
	color: var(--rosa-texto);
}
.rodape-social a:hover { background: var(--rosa-botao); color: #fff; text-decoration: none; }

.widget-rodape { margin: 0 0 20px; }
.rodape-titulo { margin: 0 0 12px; color: var(--titulo); font-size: 18px; }
.widget-rodape ul { list-style: none; margin: 0; padding: 0; }
.widget-rodape li { padding: 5px 0; }
.widget-rodape a { color: var(--suave); font-weight: 500; }
.widget-rodape a:hover { color: var(--rosa-texto); }

.rodape-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--borda); font-size: 14px; }
.rodape-base ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.rodape-base a { color: var(--suave); font-weight: 500; }
.rodape-base a:hover { color: var(--rosa-texto); }
.rodape-base p { margin: 0; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 960px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
	.contain { padding: 0 16px; }
	.topo { padding-top: 16px; }
	.topo-interno { flex-wrap: wrap; }
	.logo { font-size: 32px; }

	.nav-principal { flex-direction: column; align-items: flex-end; width: 100%; }
	.menu-botao { display: inline-block; }
	.nav-principal .menu-wrap { display: none; width: 100%; }
	.nav-principal .menu-wrap.aberto { display: block; }
	.nav-principal ul { flex-direction: column; align-items: stretch; padding: 8px; background: var(--painel); border-radius: var(--raio-menor); box-shadow: var(--sombra); }
	.nav-principal ul ul { display: block; position: static; padding: 0 0 0 14px; box-shadow: none; }

	.banner { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; }
	.banner-arte { display: none; }
	.hero-texto { font-size: 17px; }
	.passos-lista { grid-template-columns: minmax(0, 1fr); }
	.grade { grid-template-columns: minmax(0, 1fr); }
	.caixa-titulo { padding: 20px 20px 0; }
	.caixa-corpo,
	.caixa-artigo .caixa-corpo { padding: 16px 20px 22px; }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.post-nav-item.next { grid-column: 1; }
	.rodape-base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; }
}

@media print {
	.topo, .coluna-lateral, .busca, .post-nav, .comment-respond, .rodape, .hero { display: none; }
	.layout { display: block; }
	body { background: #fff; }
	.caixa { box-shadow: none; }
}
