/* ==========================================================================
   Método Fura-Onda — estilos do tema (site e editor)

   Reproduz o design do projeto original (Tailwind). Breakpoints:
   sm = 40rem (640px) · md = 48rem (768px) · lg = 64rem (1024px).

   Classes CSS adicionais disponíveis no editor (Avançado > Classes CSS):
   fo-secao, fo-secao--compacta, fo-secao--topo, fo-container(--4xl|--3xl|--leitura),
   fo-colunas + fo-colunas--1-1 | --13-10 | --10-13 | --10-15 | --15-10,
   fo-colunas--foto-primeiro-movel, fo-grade + fo-grade--2 | --3 | --4 | --publicos,
   fo-etapas, fo-numerados(--elementos|--partes), fo-depoimento, fo-autor,
   fo-arredondada, fo-img-quadrada, fo-img-4x3, fo-img-3x4, fo-max-3xl, fo-max-2xl,
   fo-titulo-cta, fo-titulo-politica, fo-texto-xl-2xl, fo-botoes-empilhados.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--fo-primary: var(--wp--preset--color--primary, #06244f);
	--fo-accent: var(--wp--preset--color--accent, #882929);
	--fo-success: var(--wp--preset--color--success, #254724);
	--fo-warning: var(--wp--preset--color--warning, #eba42c);
	--fo-fg: var(--wp--preset--color--foreground, #373737);
	--fo-muted: var(--wp--preset--color--muted, #525252);
	--fo-surface: var(--wp--preset--color--surface, #f9f6f2);
	--fo-border: var(--wp--preset--color--border, #e3e1dd);
	--fo-bg: var(--wp--preset--color--base, #ffffff);
	--fo-radius: 0.625rem;
	--fo-radius-sm: calc(var(--fo-radius) - 4px);
	--fo-radius-md: calc(var(--fo-radius) - 2px);
	--fo-radius-lg: var(--fo-radius);
	--fo-radius-xl: calc(var(--fo-radius) + 4px);
	--fo-header-h: 4rem;
	--fo-icone-externo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");
	--fo-icone-seta-baixo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

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

body {
	margin: 0;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre) {
	margin: 0;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

[id] {
	scroll-margin-top: calc(var(--fo-header-h) + var(--wp-admin--admin-bar--height, 0px));
}

.fo-nowrap {
	white-space: nowrap;
}

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

/* Títulos */
:root :where(h1, h2, h3, h4, h5, h6) {
	color: var(--fo-primary);
}

:root :where(h1) {
	font-size: 2.25rem;
	line-height: 1.25;
	font-weight: 700;
}

:root :where(h2) {
	font-size: 1.875rem;
	line-height: 1.2;
	font-weight: 700;
}

:root :where(h3) {
	font-size: 1.125rem;
	line-height: 1.5556;
	font-weight: 600;
}

:root :where(h4, h5, h6) {
	font-size: 1rem;
	font-weight: 600;
}

:root :where(h3.has-grande-font-size) {
	line-height: 1.4;
}

@media (min-width: 48rem) {
	:root :where(h1) {
		font-size: 3rem;
	}

	:root :where(h2) {
		font-size: 2.25rem;
		line-height: 1.1111;
	}
}

/* Links de texto */
:root :where(a:not(.wp-element-button)) {
	text-underline-offset: 4px;
}

/* Parágrafos dentro das seções: text-lg + leading-relaxed */
:root :where(.fo-secao) :where(p) {
	font-size: 1.125rem;
	line-height: 1.625;
}

/* Listas comuns dentro do conteúdo */
:root :where(ul.wp-block-list, ol.wp-block-list) {
	padding-left: 1.25rem;
}

:root :where(.fo-secao) :where(.wp-block-list) {
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.wp-block-list > li + li {
	margin-top: 0.5rem;
}

.fo-lista-base.fo-lista-base {
	font-size: 1rem;
	line-height: 1.625;
	padding-left: 1.5rem;
}

/* 3. Estrutura ------------------------------------------------------------- */
.fo-main {
	min-height: 70vh;
	padding-top: var(--fo-header-h);
}

.fo-main.fo-main,
.wp-site-blocks > * {
	margin-block: 0;
}

.fo-secao.fo-secao {
	margin-block: 0;
	padding-block: 4rem;
}

.fo-secao--topo.fo-secao--topo {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

@media (min-width: 48rem) {
	.fo-secao.fo-secao {
		padding-block: 6rem;
	}

	.fo-secao--compacta.fo-secao--compacta {
		padding-block: 5rem;
	}

	.fo-secao--topo.fo-secao--topo {
		padding-top: 2rem;
		padding-bottom: 5rem;
	}
}

.fo-container {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.fo-container--4xl {
	max-width: 56rem;
}

.fo-container--3xl {
	max-width: 48rem;
}

.fo-container--leitura {
	max-width: 70ch;
}

.fo-max-3xl {
	max-width: 48rem;
}

.fo-max-2xl {
	max-width: 42rem;
}

.fo-max-xl {
	max-width: 36rem;
}

.fo-centralizado {
	margin-inline: auto;
}

/* Colunas (texto + imagem) */
.fo-colunas {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.fo-colunas--gap-12 {
	gap: 3rem;
}

.fo-colunas--esticar {
	align-items: stretch;
}

@media (min-width: 48rem) {
	.fo-colunas--1-1 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fo-colunas--13-10 {
		grid-template-columns: 1.3fr 1fr;
	}

	.fo-colunas--10-13 {
		grid-template-columns: 1fr 1.3fr;
	}

	.fo-colunas--10-15 {
		grid-template-columns: 1fr 1.5fr;
	}

	.fo-colunas--15-10 {
		grid-template-columns: 1.5fr 1fr;
	}
}

.fo-colunas--foto-primeiro-movel > :last-child {
	order: -1;
}

@media (min-width: 48rem) {
	.fo-colunas--foto-primeiro-movel > :last-child {
		order: 0;
	}
}

/* Grades de cartões */
.fo-grade {
	display: grid;
	gap: 1.25rem;
}

.fo-grade--gap-6 {
	gap: 1.5rem;
}

.fo-grade--gap-10 {
	gap: 2.5rem;
}

@media (min-width: 40rem) {
	.fo-grade--4,
	.fo-grade--publicos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 48rem) {
	.fo-grade--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fo-grade--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	.fo-grade--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.fo-grade--publicos {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.fo-grade--publicos > * {
		grid-column: span 2 / span 2;
	}

	.fo-grade--publicos > :nth-child(4) {
		grid-column: 2 / span 2;
	}
}

/* Filhos de layouts em grade não usam o espaçamento vertical padrão */
:root :is(.fo-colunas, .fo-grade, .fo-etapas, .fo-numerados, .fo-depoimento > .fo-autor, .is-style-fo-acordeao, .fo-cartao--midia) > * {
	margin-block: 0;
}

/* 4. Tipografia de apoio --------------------------------------------------- */
.fo-snug.fo-snug {
	line-height: 1.375;
}

:root .fo-texto-xl-2xl.fo-texto-xl-2xl {
	font-size: 1.25rem;
	line-height: 1.625;
}

.fo-titulo-cta.fo-titulo-cta {
	font-size: 1.875rem;
	line-height: 1.2;
}

.fo-titulo-politica.fo-titulo-politica {
	font-size: 1.5rem;
	line-height: 1.3333;
}

.fo-texto-responsivo.fo-texto-responsivo {
	font-size: 0.875rem;
	line-height: 1.25rem;
}

@media (min-width: 48rem) {
	:root .fo-texto-xl-2xl.fo-texto-xl-2xl {
		font-size: 1.5rem;
	}

	.fo-titulo-cta.fo-titulo-cta {
		font-size: 3rem;
		line-height: 1;
	}

	.fo-titulo-politica.fo-titulo-politica {
		font-size: 1.875rem;
		line-height: 1.2;
	}

	:root .fo-texto-responsivo.fo-texto-responsivo {
		font-size: 1rem;
		line-height: 1.5rem;
	}
}

/* Variações de parágrafo */
:root .is-style-fo-sobretitulo {
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	color: var(--fo-accent);
}

:root .is-style-fo-destaque {
	font-weight: 600;
	line-height: 1.5556;
	color: var(--fo-primary);
}

:root .is-style-fo-nota {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--fo-muted);
}

:root .is-style-fo-selo {
	width: fit-content;
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
	background: color-mix(in srgb, var(--fo-accent) 10%, transparent);
	color: var(--fo-accent);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}

:root .is-style-fo-pilula {
	width: fit-content;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background: var(--fo-primary);
	color: #fff;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}

:root .is-style-fo-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	background: var(--fo-primary);
	color: #fff;
	font-size: 1rem;
	line-height: 1;
	font-weight: 600;
}

:root :is(.is-style-fo-bandeira-verde, .is-style-fo-bandeira-amarela, .is-style-fo-bandeira-vermelha) {
	position: relative;
	min-height: 1.5rem;
	padding-left: 2.5rem;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 600;
	color: var(--fo-primary);
}

:root :is(.is-style-fo-bandeira-verde, .is-style-fo-bandeira-amarela, .is-style-fo-bandeira-vermelha)::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 1.75rem;
	height: 1.25rem;
	margin-top: -0.625rem;
	border-radius: var(--fo-radius-sm);
	background: var(--fo-success);
}

:root .is-style-fo-bandeira-amarela::before {
	background: var(--fo-warning);
}

:root .is-style-fo-bandeira-vermelha::before {
	background: var(--fo-accent);
}

.is-style-fo-link-externo a::after {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin-left: 0.5rem;
	vertical-align: -0.125em;
	background-color: currentColor;
	-webkit-mask: var(--fo-icone-externo) no-repeat center / contain;
	mask: var(--fo-icone-externo) no-repeat center / contain;
}

/* 5. Botões ---------------------------------------------------------------- */
:root .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	border-radius: var(--fo-radius-md);
	transition: opacity 0.15s, background-color 0.15s, color 0.15s;
}

:root .wp-block-button__link:focus-visible {
	outline: 2px solid var(--fo-primary);
	outline-offset: 2px;
}

:root .wp-block-button:not([class*="is-style-fo-"]) .wp-block-button__link:hover,
:root .is-style-fo-primario .wp-block-button__link:hover {
	opacity: 0.9;
}

:root .is-style-fo-secundario .wp-block-button__link {
	background-color: transparent;
	color: var(--fo-primary);
	border: 1px solid var(--fo-primary);
}

:root .is-style-fo-secundario .wp-block-button__link:hover {
	background-color: var(--fo-surface);
}

:root .is-style-fo-claro .wp-block-button__link {
	background-color: var(--fo-bg);
	color: var(--fo-primary);
}

:root .is-style-fo-claro .wp-block-button__link:hover {
	background-color: rgb(255 255 255 / 0.9);
}

:root .is-style-fo-contorno-claro .wp-block-button__link {
	background-color: transparent;
	color: #fff;
	border: 2px solid #fff;
}

:root .is-style-fo-contorno-claro .wp-block-button__link:hover {
	background-color: rgb(255 255 255 / 0.1);
}

:root :is(.is-style-fo-claro, .is-style-fo-contorno-claro) .wp-block-button__link {
	font-size: 1rem;
	line-height: 1.5rem;
}

:root :is(.is-style-fo-claro, .is-style-fo-contorno-claro) .wp-block-button__link:focus-visible {
	outline-color: #fff;
}

:root .fo-botao-medio .wp-block-button__link {
	padding: 0.75rem 1.25rem;
}

@media (max-width: 39.99rem) {
	.fo-botoes-empilhados.fo-botoes-empilhados {
		flex-direction: column;
		align-items: stretch;
	}

	.fo-botoes-empilhados .wp-block-button,
	.fo-botoes-empilhados .wp-block-button__link {
		width: 100%;
	}
}

/* 6. Cartões --------------------------------------------------------------- */
:root :is(.is-style-fo-cartao, .is-style-fo-cartao-alerta, .is-style-fo-cartao-sucesso) {
	background-color: var(--fo-bg);
	border: 1px solid var(--fo-border);
	border-radius: var(--fo-radius-xl);
	padding: 1.5rem;
}

:root .is-style-fo-cartao-alerta {
	border: 2px solid var(--fo-accent);
}

:root .is-style-fo-cartao-sucesso {
	border: 2px solid var(--fo-success);
}

:root :where(.is-style-fo-cartao, .is-style-fo-cartao-alerta, .is-style-fo-cartao-sucesso, .fo-etapas, .fo-numerados) :where(p) {
	font-size: 1rem;
	line-height: 1.625;
}

:root :where(.is-style-fo-cartao) h3 + p {
	margin-top: 0.5rem;
}

@media (min-width: 48rem) {
	.fo-cartao--grande.fo-cartao--grande {
		padding: 2rem;
	}
}

.fo-cartao--grande h3 + p {
	margin-top: 0.75rem;
}

/* Cartão com imagem no topo */
.fo-cartao--midia.fo-cartao--midia {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
}

.fo-cartao__corpo {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem;
}

.fo-cartao__corpo--6.fo-cartao__corpo--6,
.fo-cartao--produto.fo-cartao--produto {
	padding: 1.5rem;
}

.fo-cartao__corpo > .wp-block-buttons:last-child,
.fo-cartao--produto > .wp-block-buttons:last-child {
	margin-top: auto;
	padding-top: 1.5rem;
}

.fo-cartao--produto {
	display: flex;
	flex-direction: column;
}

.fo-linha-rotulos.fo-linha-rotulos {
	gap: 0.5rem;
}

/* Ícones dentro de cartões */
.is-style-fo-cartao > .wp-block-furaonda-icone + * {
	margin-top: 1rem;
}

/* Exemplos de onda (rótulo + citação) */
:root :is(.is-style-fo-cartao-alerta, .is-style-fo-cartao-sucesso) p + p {
	font-size: 1.125rem;
	line-height: 1.75rem;
}

/* 7. Etapas numeradas (linha do tempo) ------------------------------------- */
.fo-etapas {
	position: relative;
	display: grid;
	gap: 2rem;
	counter-reset: fo-etapa;
}

.fo-etapas::before {
	content: "";
	position: absolute;
	top: 1.25rem;
	bottom: 1.25rem;
	left: 1.25rem;
	width: 1px;
	background: var(--fo-border);
}

.fo-etapas > * {
	position: relative;
	min-height: 2.5rem;
	padding-left: 3.5rem;
	counter-increment: fo-etapa;
}

.fo-etapas > *::before,
.fo-numerados > *::before {
	content: counter(fo-etapa);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: var(--fo-primary);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
}

:is(.fo-etapas, .fo-numerados) > :nth-child(3n + 2)::before {
	background: var(--fo-accent);
}

:is(.fo-etapas, .fo-numerados) > :nth-child(3n + 3)::before {
	background: var(--fo-success);
}

:root .fo-etapas h3 + p,
:root .fo-numerados h3 + p {
	margin-top: 0.25rem;
}

@media (min-width: 64rem) {
	.fo-etapas {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 2rem;
		row-gap: 2.5rem;
	}

	.fo-etapas::before {
		display: none;
	}

	.fo-etapas > * {
		padding-left: 0;
		padding-top: 3.5rem;
	}
}

/* Cartões numerados (6 elementos, partes do livro) */
.fo-numerados {
	display: grid;
	gap: 1rem;
	counter-reset: fo-etapa;
}

.fo-numerados > * {
	position: relative;
	min-height: 5rem;
	padding: 1.25rem 1.25rem 1.25rem 4.75rem;
	border: 1px solid var(--fo-border);
	border-radius: var(--fo-radius-xl);
	background: var(--fo-bg);
	counter-increment: fo-etapa;
}

.fo-numerados > *::before {
	top: 1.25rem;
	left: 1.25rem;
}

.fo-numerados--centro > * {
	display: flex;
	align-items: center;
}

@media (min-width: 64rem) {
	.fo-numerados {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.fo-numerados > * {
		grid-column: span 2 / span 2;
	}

	.fo-numerados--elementos > :nth-child(1) {
		grid-column: span 6 / span 6;
	}

	.fo-numerados--elementos > :nth-child(n + 5),
	.fo-numerados--partes > :nth-child(n + 4) {
		grid-column: span 3 / span 3;
	}
}

/* 8. Depoimentos ----------------------------------------------------------- */
.fo-depoimento.fo-depoimento {
	display: flex;
	flex-direction: column;
}

.fo-depoimento > .wp-block-quote {
	flex: 1;
	margin: 1rem 0 0;
}

.fo-depoimento > .fo-autor {
	margin-top: 1.5rem;
}

:root .fo-depoimento .wp-block-quote,
:root .fo-depoimento .wp-block-quote p {
	padding: 0;
	border: 0;
	font-size: 1.125rem;
	line-height: 1.625;
	font-style: normal;
}

.fo-autor.fo-autor {
	gap: 0.75rem;
	align-items: center;
}

:root .fo-autor p:not(.is-style-fo-avatar) {
	min-width: 0;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.fo-autor strong {
	display: block;
	color: var(--fo-primary);
	font-weight: 600;
}

/* 9. Acordeão (perguntas frequentes) -------------------------------------- */
:root .is-style-fo-acordeao {
	background-color: var(--fo-bg);
	border: 1px solid var(--fo-border);
	border-radius: var(--fo-radius-xl);
}

:root .is-style-fo-acordeao > * + * {
	border-top: 1px solid var(--fo-border);
}

.wp-block-details > summary {
	display: block;
	position: relative;
	padding: 1rem 3.5rem 1rem 1.25rem;
	border-radius: var(--fo-radius-xl);
	color: var(--fo-primary);
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.wp-block-details > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details > summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.25rem;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: -0.625rem;
	background-color: currentColor;
	-webkit-mask: var(--fo-icone-seta-baixo) no-repeat center / contain;
	mask: var(--fo-icone-seta-baixo) no-repeat center / contain;
	transition: transform 0.15s;
}

.wp-block-details[open] > summary::after {
	transform: rotate(180deg);
}

.wp-block-details > summary:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--fo-primary);
}

.wp-block-details > :not(summary) {
	padding-inline: 1.25rem;
}

:root .wp-block-details > summary + * {
	margin-top: 0;
}

.wp-block-details > :last-child:not(summary) {
	padding-bottom: 1.25rem;
}

:root :where(.wp-block-details) :where(p) {
	font-size: 1rem;
	line-height: 1.625;
}

/* 10. Imagens --------------------------------------------------------------- */
:root :where(.wp-block-image) {
	margin: 0;
}

.fo-arredondada {
	overflow: hidden;
	border-radius: var(--fo-radius-xl);
}

.fo-arredondada img,
.fo-img-quadrada img,
.fo-img-4x3 img,
.fo-img-3x4 img {
	display: block;
	width: 100%;
	height: auto;
}

.fo-img-quadrada {
	max-width: 360px;
	margin-inline: auto;
}

.fo-img-quadrada img {
	aspect-ratio: 1;
	object-fit: cover;
}

.fo-img-4x3 img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.fo-img-3x4 img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.is-style-fo-provisoria {
	position: relative;
}

.is-style-fo-provisoria::after {
	content: "Imagem provisória";
	position: absolute;
	right: 0.5rem;
	bottom: 0.5rem;
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
	background: rgb(255 255 255 / 0.9);
	color: var(--fo-fg);
	font-size: 0.75rem;
	line-height: 1rem;
	pointer-events: none;
}

/* Espaço reservado para foto */
:root .is-style-fo-foto {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 320px;
	aspect-ratio: 2 / 3;
	margin-inline: auto;
	border: 1px dashed var(--fo-border);
	border-radius: var(--fo-radius-xl);
	background-color: var(--fo-surface);
}

.fo-foto--300.fo-foto--300 {
	max-width: 300px;
}

:root .is-style-fo-foto p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--fo-muted);
}

/* Capa de artigo acadêmico */
:root .is-style-fo-capa-artigo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 3 / 4;
	padding-inline: 1.5rem;
	background-color: var(--fo-primary);
	color: #fff;
	text-align: center;
}

:root .is-style-fo-capa-artigo > * {
	margin: 0;
	color: inherit;
}

.is-style-fo-capa-artigo .wp-block-furaonda-icone {
	color: inherit;
}

:root .is-style-fo-capa-artigo .fo-linha-destaque {
	width: 4rem;
	height: 1px;
	margin-block: 1.25rem;
	border: 0;
	background-color: var(--fo-accent);
	opacity: 1;
}

:root .is-style-fo-capa-artigo .fo-capa-artigo__rotulo {
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

:root .is-style-fo-capa-artigo .fo-capa-artigo__titulo {
	margin-top: 0.75rem;
	font-size: 1.125rem;
	line-height: 1.375;
	font-weight: 600;
}

:root .is-style-fo-capa-artigo .fo-capa-artigo__ano {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

:root .is-style-fo-capa-artigo .fo-capa-artigo__doi {
	margin-top: 1rem;
	font-size: 11px;
	line-height: 1.5;
	opacity: 0.75;
}

/* 11. Listas especiais ------------------------------------------------------ */
:root ol.is-style-fo-linha-tempo {
	position: relative;
	list-style: none;
	margin-left: 0;
	padding-left: 1.5rem;
	border-left: 2px solid var(--fo-border);
}

.is-style-fo-linha-tempo > li {
	position: relative;
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.is-style-fo-linha-tempo > li + li {
	margin-top: 1.5rem;
}

.is-style-fo-linha-tempo > li::before {
	content: "";
	position: absolute;
	top: 0.375rem;
	left: -33px;
	width: 1rem;
	height: 1rem;
	border: 2px solid var(--fo-bg);
	border-radius: 9999px;
	background: var(--fo-primary);
}

.is-style-fo-linha-tempo strong {
	color: var(--fo-primary);
	font-weight: 700;
}

:root ul.is-style-fo-pilulas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
}

:root ul.is-style-fo-caixas {
	display: grid;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
}

:root :is(ul.is-style-fo-pilulas, ul.is-style-fo-caixas) > li {
	margin: 0;
	color: var(--fo-primary);
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 600;
}

.is-style-fo-pilulas > li {
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	background: var(--fo-surface);
}

.is-style-fo-caixas > li {
	padding: 0.75rem 1rem;
	border: 1px solid var(--fo-border);
	border-radius: var(--fo-radius-lg);
	background: var(--fo-surface);
}

@media (min-width: 40rem) {
	.is-style-fo-caixas {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	.is-style-fo-caixas {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* 12. Citação em destaque --------------------------------------------------- */
:root .is-style-fo-citacao {
	margin-block: 2rem;
	padding: 0 0 0 1.5rem;
	border-left: 2px solid var(--fo-accent);
}

:root .is-style-fo-citacao p {
	color: var(--fo-primary);
	font-size: 1.5rem;
	line-height: 1.375;
	font-weight: 600;
	font-style: normal;
}

@media (min-width: 48rem) {
	:root .is-style-fo-citacao p {
		font-size: 1.875rem;
	}
}

/* 13. Seções com fundo azul ------------------------------------------------- */
.has-primary-background-color {
	color: #fff;
}

:root .has-primary-background-color :where(h1, h2, h3, h4, h5, h6, li, blockquote) {
	color: inherit;
}

:root .has-primary-background-color :where(p) {
	color: rgb(255 255 255 / 0.9);
}

:root .has-primary-background-color :where(a:not(.wp-element-button)) {
	color: inherit;
}

:root .has-primary-background-color .is-style-fo-sobretitulo {
	color: rgb(255 255 255 / 0.85);
}

:root .has-primary-background-color .fo-link-claro {
	font-size: 0.875rem;
	line-height: 1.25rem;
}

:root .has-primary-background-color .fo-link-claro a {
	font-weight: 400;
}

/* 14. Página 404 e modelos de blog ----------------------------------------- */
.fo-404 {
	display: flex;
	min-height: calc(100vh - var(--fo-header-h));
	align-items: center;
	justify-content: center;
	padding-inline: 1rem;
	text-align: center;
}

.fo-404 > .wp-block-group {
	max-width: 28rem;
}

:root .fo-404 h1 {
	color: var(--fo-fg);
	font-size: 4.5rem;
	line-height: 1;
	font-weight: 700;
}

:root .fo-404 h2 {
	margin-top: 1rem;
	color: var(--fo-fg);
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 600;
}

:root .fo-404 p {
	margin-top: 0.5rem;
	color: var(--fo-muted);
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.fo-404 .wp-block-buttons {
	margin-top: 1.5rem;
}

.fo-404 .wp-block-button__link {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.fo-blog .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.fo-blog .wp-block-post {
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--fo-border);
}

.fo-blog .wp-block-post-date {
	color: var(--fo-muted);
	font-size: 0.875rem;
}

/* 15. Complementos ---------------------------------------------------------- */

/* Alturas de linha que acompanham os tamanhos de fonte (como no original) */
:root .has-normal-font-size {
	line-height: 1.5;
}

:root .has-grande-font-size {
	line-height: 1.4;
}

:root .has-extra-grande-font-size {
	line-height: 1.3333;
}

:root .fo-leading-padrao {
	line-height: 1.75rem;
}

:root .is-style-fo-link-externo {
	line-height: 1.5;
}

/* Cartões de produto: texto em altura de linha normal */
:root :where(.fo-cartao__corpo--6, .fo-cartao--produto) :where(p) {
	line-height: 1.5;
}

:root .has-primary-background-color .fo-link-claro {
	line-height: 1.5rem;
}

.fo-secao--politica.fo-secao--politica {
	padding-bottom: 5rem;
}

:root :where(.fo-texto-base) :where(p) {
	font-size: 1rem;
	line-height: 1.625;
}

.fo-texto-base a[href^="mailto:"] {
	word-break: break-all;
}

:root :where(h2.has-grande-font-size) {
	line-height: 1.4;
}

/* Linha com botão + link (ou dois links) lado a lado */
.fo-linha-acoes.fo-linha-acoes {
	column-gap: 1.5rem;
	row-gap: 1rem;
	align-items: center;
}

.fo-linha-links.fo-linha-links {
	row-gap: 0.5rem;
}

:root .fo-linha-acoes > *,
:root .fo-linha-rotulos > * {
	margin: 0;
}

/* 16. Ajustes do editor ----------------------------------------------------- */
.editor-styles-wrapper .fo-cabecalho {
	position: relative;
}
