/* ==================================================================
   Tema Refere — complementa o theme.json com o que ele não expressa:
   eixo wdth, traço de fita, capítulos escuros, variantes de botão,
   campos, acordeão, chrome (topo e rodapé) e movimento.
   ================================================================== */

:root {
	--refere-porcelana: var(--wp--preset--color--porcelana, #f3f6f9);
	--refere-porcelana-2: var(--wp--preset--color--porcelana-2, #e6eef2);
	--refere-superficie: var(--wp--preset--color--superficie, #fbfcfd);
	--refere-linha: var(--wp--preset--color--linha, #d3dee5);
	--refere-tinta: var(--wp--preset--color--tinta, #062b3e);
	--refere-nevoa: var(--wp--preset--color--nevoa, #475e6b);
	--refere-aco: var(--wp--preset--color--aco, #0070b0);
	--refere-aco-escuro: var(--wp--preset--color--aco-escuro, #005c92);
	--refere-ceruleo: var(--wp--preset--color--ceruleo, #0090d0);
	--refere-ceu: var(--wp--preset--color--ceu, #00a7db);
	--refere-marinho: var(--wp--preset--color--marinho, #00415f);
	--refere-alerta: var(--wp--preset--color--alerta, #b42318);
	--refere-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--refere-shadow-soft: var(--wp--preset--shadow--soft);
	--refere-shadow-lift: var(--wp--preset--shadow--lift);
	--refere-fita: linear-gradient(90deg, #00415f 0%, #0080bb 40%, #00a7db 75%, #00b6eb 100%);
	--nav-h: 72px;

	color-scheme: light;
	-webkit-text-size-adjust: 100%;
}

/* ---------------- Base ---------------- */

html {
	scroll-padding-top: calc(var(--nav-h) + 1rem);
	caret-color: var(--refere-aco);
	accent-color: var(--refere-aco);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
}

body {
	font-variation-settings: 'wdth' 100;
	min-height: 100dvh;
}

::selection {
	background: rgb(0 167 219 / 0.45);
	color: var(--refere-tinta);
}

:focus-visible {
	outline: 2px solid var(--refere-aco);
	outline-offset: 3px;
	border-radius: 6px;
}

.on-dark :focus-visible,
.is-style-capitulo-escuro :focus-visible,
.is-style-painel-escuro :focus-visible,
.refere-footer :focus-visible {
	outline-color: var(--refere-ceu);
}

h1, h2, h3, h4 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Hierarquia pela largura: 100 texto, 106 heading, 112 title, 116 display. */
h1, .has-display-font-size { font-variation-settings: 'wdth' 116; letter-spacing: -0.028em; }
h2, .has-title-font-size { font-variation-settings: 'wdth' 112; letter-spacing: -0.024em; }
h3, .has-heading-font-size { font-variation-settings: 'wdth' 106; letter-spacing: -0.012em; }
h4 { font-variation-settings: 'wdth' 104; letter-spacing: -0.008em; }
.has-statement-font-size { font-variation-settings: 'wdth' 104; letter-spacing: -0.02em; line-height: 1.18; font-weight: 500; }
.has-figure-font-size { font-variation-settings: 'wdth' 112; letter-spacing: -0.035em; line-height: 0.95; font-weight: 600; font-variant-numeric: tabular-nums; }
.has-lead-font-size { line-height: 1.5; letter-spacing: -0.004em; }
.has-display-font-size { line-height: 1.02; font-weight: 600; }
.has-title-font-size { line-height: 1.06; font-weight: 600; }
.has-heading-font-size { line-height: 1.2; font-weight: 600; }
.has-label-font-size { line-height: 1.4; font-weight: 500; }
.has-small-font-size { line-height: 1.4; }

@media (max-width: 40rem) {
	h1, .has-display-font-size { font-variation-settings: 'wdth' 110; }
	h2, .has-title-font-size { font-variation-settings: 'wdth' 106; }
}

.tabular {
	font-variant-numeric: tabular-nums;
	font-feature-settings: 'tnum' 1;
}

/* Medida do texto corrido: 40ch a 68ch. */
.entry-content > p,
.wp-block-post-content > p {
	max-width: 68ch;
}

/* Links no corpo: sublinhado aço a 30%, deslocado 4px; cheio no hover. */
.wp-block-post-content a:where(:not(.wp-element-button)),
.entry-content a:where(:not(.wp-element-button)),
.is-style-link-texto a {
	text-decoration-line: underline;
	text-decoration-color: rgb(0 112 176 / 0.3);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color 180ms var(--refere-ease-out), text-decoration-color 180ms var(--refere-ease-out);
}

.wp-block-post-content a:where(:not(.wp-element-button)):hover,
.entry-content a:where(:not(.wp-element-button)):hover,
.is-style-link-texto a:hover {
	text-decoration-color: currentColor;
}

.is-style-link-texto {
	font-size: 0.9375rem;
	font-weight: 500;
}

.is-style-link-texto a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.is-style-rotulo {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	line-height: 1.4;
	color: var(--refere-nevoa);
}

/* ---------------- Botões ---------------- */

.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	letter-spacing: -0.005em;
	text-decoration: none;
	transition:
		background-color 180ms var(--refere-ease-out),
		border-color 180ms var(--refere-ease-out),
		color 180ms var(--refere-ease-out),
		transform 140ms var(--refere-ease-out);
}

.wp-element-button:active,
.wp-block-button__link:active {
	transform: scale(0.97);
}

.wp-block-button__link[aria-disabled='true'],
.wp-element-button:disabled {
	opacity: 0.6;
	pointer-events: none;
}

/* Tamanho md (botões pequenos do editor, formulários e topo). */
.wp-block-button.has-custom-font-size .wp-block-button__link,
.wp-block-search__button,
.refere-header .wp-block-button__link {
	min-height: 44px;
	padding: 0.6rem 1rem;
	font-size: 0.9375rem;
}

.wp-block-button.is-style-secundario .wp-block-button__link {
	background: transparent;
	color: var(--refere-tinta);
	box-shadow: inset 0 0 0 1px rgb(6 43 62 / 0.15);
}

.wp-block-button.is-style-secundario .wp-block-button__link:hover {
	background: var(--refere-porcelana-2);
	box-shadow: inset 0 0 0 1px rgb(6 43 62 / 0.25);
}

.wp-block-button.is-style-sobre-escuro .wp-block-button__link,
.is-style-capitulo-escuro .wp-block-button:not([class*='is-style-']) .wp-block-button__link,
.is-style-painel-escuro .wp-block-button:not([class*='is-style-']) .wp-block-button__link {
	background: var(--refere-superficie);
	color: var(--refere-tinta);
}

.wp-block-button.is-style-sobre-escuro .wp-block-button__link:hover,
.is-style-capitulo-escuro .wp-block-button:not([class*='is-style-']) .wp-block-button__link:hover,
.is-style-painel-escuro .wp-block-button:not([class*='is-style-']) .wp-block-button__link:hover {
	background: #fff;
	color: var(--refere-tinta);
}

.wp-block-button.is-style-fantasma-escuro .wp-block-button__link,
.is-style-capitulo-escuro .wp-block-button.is-style-secundario .wp-block-button__link {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25);
}

.wp-block-button.is-style-fantasma-escuro .wp-block-button__link:hover,
.is-style-capitulo-escuro .wp-block-button.is-style-secundario .wp-block-button__link:hover {
	background: rgb(255 255 255 / 0.08);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.45);
}

/* Link com seta: leva a outra página. */
.wp-block-button.is-style-link-seta .wp-block-button__link {
	background: transparent;
	color: var(--refere-aco);
	padding: 0;
	min-height: 44px;
	font-size: 1.0625rem;
	font-weight: 500;
	gap: 6px;
}

.wp-block-button.is-style-link-seta .wp-block-button__link::after {
	content: '';
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M221.66 133.66l-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M221.66 133.66l-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: translate 180ms var(--refere-ease-out);
}

.wp-block-button.is-style-link-seta .wp-block-button__link:hover {
	color: var(--refere-aco-escuro);
	background: transparent;
}

.wp-block-button.is-style-link-seta .wp-block-button__link:hover::after {
	translate: 3px 0;
}

.is-style-capitulo-escuro .wp-block-button.is-style-link-seta .wp-block-button__link {
	color: var(--refere-ceu);
}

/* ---------------- Traço de fita ---------------- */

.ribbon-stroke {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	width: 100%;
	height: 8px;
	color: var(--refere-ceruleo);
	opacity: 0;
	pointer-events: none;
	overflow: visible;
	transition: opacity 120ms ease;
}

.ribbon-stroke path {
	stroke-dasharray: 1 1.01;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 420ms var(--refere-ease-out);
}

.wp-block-navigation-item__content {
	position: relative;
}

[aria-current='page'] > .ribbon-stroke,
.current-menu-item > a > .ribbon-stroke,
[data-active='true'] > .ribbon-stroke {
	opacity: 1;
}

[aria-current='page'] > .ribbon-stroke path,
.current-menu-item > a > .ribbon-stroke path,
[data-active='true'] > .ribbon-stroke path {
	stroke-dashoffset: 0;
}

@media (hover: hover) and (pointer: fine) {
	:hover > .ribbon-stroke { opacity: 1; }
	:hover > .ribbon-stroke path { stroke-dashoffset: 0; }
}

.is-style-capitulo-escuro .ribbon-stroke,
.refere-footer .ribbon-stroke {
	color: var(--refere-ceu);
}

/* ---------------- Topo ---------------- */

.refere-header {
	position: sticky;
	top: 0;
	z-index: 40;
}

.admin-bar .refere-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.refere-header__bar {
	min-height: var(--nav-h);
	transition: background-color 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
	border: 1px solid transparent;
	border-radius: 18px;
}

html[data-scrolled='true'] .refere-header__bar {
	background: rgb(230 238 242 / 0.97);
	border-color: rgb(255 255 255 / 0.5);
	box-shadow: var(--refere-shadow-soft);
	min-height: 56px;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.refere-header {
	padding-top: 8px;
}

.refere-logo {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--refere-tinta);
}

.refere-logo__svg {
	display: block;
	width: auto;
	height: 34px;
}

.refere-footer .refere-logo {
	color: #fff;
}

.refere-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.65rem 0.25rem;
}

/* Menu mobile em tela cheia, porcelana. */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--refere-porcelana);
	color: var(--refere-tinta);
	padding: var(--wp--custom--gutter);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--heading);
	font-weight: 600;
	font-variation-settings: 'wdth' 106;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
}

/* ---------------- Capítulo escuro ---------------- */

.is-style-capitulo-escuro,
.refere-footer {
	position: relative;
	color: #fff;
	background:
		radial-gradient(80% 50% at 85% 10%, rgb(0 144 208 / 0.16), transparent 60%),
		radial-gradient(60% 40% at 8% 100%, rgb(0 167 219 / 0.07), transparent 70%),
		radial-gradient(140% 90% at 50% 50%, transparent 55%, rgb(2 20 30 / 0.35)),
		var(--refere-tinta);
}

.refere-footer {
	background: var(--refere-tinta);
}

.is-style-capitulo-escuro :where(h1, h2, h3, h4, h5, h6),
.is-style-painel-escuro :where(h1, h2, h3, h4, h5, h6),
.refere-footer :where(h1, h2, h3, h4, h5, h6) {
	color: #fff;
}

.is-style-capitulo-escuro :where(p, li),
.is-style-painel-escuro :where(p, li) {
	color: inherit;
}

.is-style-capitulo-escuro .has-nevoa-color,
.is-style-capitulo-escuro .is-style-rotulo,
.is-style-painel-escuro .has-nevoa-color,
.is-style-painel-escuro .is-style-rotulo,
.refere-footer .has-nevoa-color,
.refere-footer .is-style-rotulo {
	color: rgb(255 255 255 / 0.72) !important;
}

.is-style-capitulo-escuro a:where(:not(.wp-element-button)),
.refere-footer a:where(:not(.wp-element-button)) {
	color: #fff;
}

.is-style-capitulo-escuro a:where(:not(.wp-element-button)):hover,
.refere-footer a:where(:not(.wp-element-button)):hover {
	color: var(--refere-ceu);
}

.is-style-capitulo-escuro .wp-block-separator,
.refere-footer .wp-block-separator {
	color: rgb(255 255 255 / 0.12);
	border-color: rgb(255 255 255 / 0.12);
}

/* Final escuro que se funde com o rodapé: sem o filete de fita, com linha branca a 12%. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.wp-site-blocks main:has(.is-finale:last-child) + footer .refere-footer__fita {
	display: none;
}

.wp-site-blocks main:has(.is-finale:last-child) + footer .refere-footer__top {
	border-top: 1px solid rgb(255 255 255 / 0.12);
}

/* Filete de fita: até 3px, único lugar fora da fita em que o degradê aparece. */
.refere-footer__fita {
	height: 3px;
	background: var(--refere-fita);
}

.refere-footer .wp-block-navigation {
	--navigation-layout-direction: column;
}

.refere-footer .wp-block-navigation .wp-block-navigation-item__content {
	color: rgb(255 255 255 / 0.85);
	padding-block: 0.35rem;
}

.refere-footer .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: #fff;
}

.refere-motion-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0 1rem;
	border: 1px solid rgb(255 255 255 / 0.25);
	border-radius: 9999px;
	background: transparent;
	color: rgb(255 255 255 / 0.85);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 180ms var(--refere-ease-out), border-color 180ms var(--refere-ease-out);
}

.refere-motion-toggle:hover {
	background: rgb(255 255 255 / 0.08);
	border-color: rgb(255 255 255 / 0.45);
}

.refere-motion-toggle[aria-pressed='true'] {
	color: #fff;
	border-color: var(--refere-ceu);
}

/* ---------------- Painéis ---------------- */

.is-style-painel,
.is-style-painel-tonal,
.is-style-painel-escuro {
	border-radius: 24px;
	padding: 1.5rem;
}

@media (min-width: 48rem) {
	.is-style-painel,
	.is-style-painel-tonal {
		padding: 2.25rem;
	}
}

.is-style-painel {
	background: var(--refere-superficie);
	box-shadow: inset 0 0 0 1px rgb(6 43 62 / 0.08), var(--refere-shadow-lift);
}

.is-style-painel-tonal {
	background: var(--refere-porcelana-2);
}

.is-style-painel-escuro {
	background: var(--refere-tinta);
	color: #fff;
	padding: 1.75rem;
}

/* ---------------- Chips ---------------- */

.is-style-chip,
.is-style-chip-tonal {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: fit-content;
	padding: 0.45rem 0.9rem;
	border-radius: 9999px;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
}

.is-style-chip {
	background: rgb(251 252 253 / 0.7);
	box-shadow: inset 0 0 0 1px rgb(6 43 62 / 0.12);
}

.is-style-chip-tonal {
	background: var(--refere-porcelana-2);
}

.is-style-capitulo-escuro .is-style-chip {
	background: rgb(6 43 62 / 0.7);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2);
	color: #fff;
}

/* ---------------- Lista com traço ---------------- */

.wp-block-list.is-style-traco {
	list-style: none;
	padding-left: 0;
}

.wp-block-list.is-style-traco > li {
	position: relative;
	padding-left: 1.5rem;
	margin-block: 0.5rem;
}

.wp-block-list.is-style-traco > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.8em;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--refere-ceruleo);
}

.is-style-capitulo-escuro .wp-block-list.is-style-traco > li::before {
	background: var(--refere-ceu);
}

/* ---------------- Número de prova ---------------- */

.wp-block-heading.is-style-numero {
	font-size: var(--wp--preset--font-size--figure);
	line-height: 0.95;
	letter-spacing: -0.035em;
	font-weight: 600;
	font-variation-settings: 'wdth' 112;
	font-variant-numeric: tabular-nums;
	margin-bottom: 0;
}

.wp-block-heading.is-style-numero + p {
	margin-top: 0.5rem;
	max-width: 26ch;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	color: var(--refere-nevoa);
}

.is-style-capitulo-escuro .wp-block-heading.is-style-numero + p {
	color: rgb(255 255 255 / 0.72);
}

/* ---------------- Depoimento ---------------- */

.wp-block-quote.is-style-depoimento {
	position: relative;
	padding-top: 3rem;
	margin-inline: 0;
}

.wp-block-quote.is-style-depoimento::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 32px;
	height: 32px;
	background: var(--refere-ceruleo);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M100 56H40a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h60v8a32 32 0 0 1-32 32 8 8 0 0 0 0 16 48.05 48.05 0 0 0 48-48V72a16 16 0 0 0-16-16Zm116 0h-60a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h60v8a32 32 0 0 1-32 32 8 8 0 0 0 0 16 48.05 48.05 0 0 0 48-48V72a16 16 0 0 0-16-16Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M100 56H40a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h60v8a32 32 0 0 1-32 32 8 8 0 0 0 0 16 48.05 48.05 0 0 0 48-48V72a16 16 0 0 0-16-16Zm116 0h-60a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h60v8a32 32 0 0 1-32 32 8 8 0 0 0 0 16 48.05 48.05 0 0 0 48-48V72a16 16 0 0 0-16-16Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wp-block-quote.is-style-depoimento p {
	max-width: 28ch;
	font-variation-settings: 'wdth' 104;
	letter-spacing: -0.02em;
}

.wp-block-quote.is-style-depoimento cite {
	display: block;
	margin-top: 1.25rem;
	font-size: var(--wp--preset--font-size--label);
	font-style: normal;
	font-weight: 500;
	color: var(--refere-nevoa);
}

.is-style-capitulo-escuro .wp-block-quote.is-style-depoimento::before {
	background: var(--refere-ceu);
}

.is-style-capitulo-escuro .wp-block-quote.is-style-depoimento cite {
	color: rgb(255 255 255 / 0.72);
}

/* ---------------- Acordeão (bloco Detalhes) ---------------- */

.wp-block-details.is-style-acordeao {
	border-top: 1px solid var(--refere-linha);
	padding: 0;
	margin-block: 0 !important;
}

.wp-block-details.is-style-acordeao:last-child {
	border-bottom: 1px solid var(--refere-linha);
}

.wp-block-details.is-style-acordeao > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1.5rem;
	list-style: none;
	cursor: pointer;
	font-size: var(--wp--preset--font-size--heading);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.012em;
	font-variation-settings: 'wdth' 106;
	transition: color 180ms var(--refere-ease-out);
}

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

.wp-block-details.is-style-acordeao > summary::after {
	content: '';
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	box-shadow: inset 0 0 0 1px rgb(6 43 62 / 0.12);
	background:
		linear-gradient(var(--refere-aco), var(--refere-aco)) center / 16px 1.6px no-repeat,
		linear-gradient(var(--refere-aco), var(--refere-aco)) center / 1.6px 16px no-repeat;
	transition: transform 280ms var(--refere-ease-out), background-color 180ms ease;
}

.wp-block-details.is-style-acordeao > summary:hover {
	color: var(--refere-aco);
}

.wp-block-details.is-style-acordeao > summary:hover::after {
	background-color: var(--refere-porcelana-2);
}

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

.wp-block-details.is-style-acordeao > :not(summary) {
	max-width: 68ch;
	color: var(--refere-nevoa);
}

.wp-block-details.is-style-acordeao > :last-child:not(summary) {
	padding-bottom: 1.5rem;
}

.wp-block-details.is-style-acordeao[open] > :not(summary) {
	animation: refere-abrir 280ms var(--refere-ease-out);
}

@keyframes refere-abrir {
	from { opacity: 0; translate: 0 -4px; }
	to { opacity: 1; translate: 0 0; }
}

/* ---------------- Poster da fita ---------------- */

.wp-block-image.is-style-fita img {
	border-radius: 0 !important;
	background: transparent;
	box-shadow: none;
}

/* ---------------- Campos ---------------- */

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='search'],
input[type='number'],
input[type='password'],
input[type='date'],
select,
textarea,
.wp-block-search__input {
	min-height: 48px;
	padding: 0.65rem 0.9rem;
	border: 1px solid rgb(6 43 62 / 0.18);
	border-radius: 12px;
	background: rgb(255 255 255 / 0.7);
	color: var(--refere-tinta);
	font: inherit;
	font-size: 1rem;
	transition: border-color 180ms var(--refere-ease-out), box-shadow 180ms var(--refere-ease-out);
}

textarea {
	min-height: 8rem;
}

input::placeholder,
textarea::placeholder {
	color: rgb(71 94 107 / 0.7);
}

input:hover,
select:hover,
textarea:hover {
	border-color: rgb(6 43 62 / 0.3);
}

input:focus,
select:focus,
textarea:focus,
.wp-block-search__input:focus {
	outline: none;
	border-color: var(--refere-aco);
	box-shadow: 0 0 0 3px rgb(0 112 176 / 0.18);
}

[aria-invalid='true'],
input:user-invalid,
textarea:user-invalid {
	border-color: var(--refere-alerta);
}

label {
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
}

.wp-block-search__inside-wrapper {
	gap: 0.5rem;
}

.wp-block-search__button {
	border-radius: 12px;
	margin-left: 0;
}

/* ---------------- Conteúdo ---------------- */

.wp-block-separator {
	border-top-width: 1px;
	opacity: 1;
}

.wp-block-table table {
	border-collapse: collapse;
}

.wp-block-table :where(th, td) {
	border: 0;
	border-bottom: 1px solid var(--refere-linha);
	padding: 0.75rem 0.5rem;
	text-align: left;
}

.wp-block-table th {
	font-weight: 600;
	font-variation-settings: 'wdth' 106;
}

.wp-block-table td {
	font-variant-numeric: tabular-nums;
}

.wp-block-post-template .wp-block-post {
	padding-block: 2rem;
	border-top: 1px solid var(--refere-linha);
}

.wp-block-post-template .wp-block-post-title {
	font-size: var(--wp--preset--font-size--heading);
	font-variation-settings: 'wdth' 106;
}

.wp-block-post-template .wp-block-post-title a {
	text-decoration: none;
}

.wp-block-post-template .wp-block-post-title a:hover {
	color: var(--refere-aco);
}

.wp-block-query-pagination a {
	text-decoration: none;
}

.wp-block-post-terms a {
	text-decoration: none;
}

.wp-block-comments input[type='submit'] {
	min-height: 44px;
	padding: 0.6rem 1.25rem;
	border: 0;
	border-radius: 12px;
	background: var(--refere-aco);
	color: #fff;
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}

.wp-block-comments input[type='submit']:hover {
	background: var(--refere-aco-escuro);
}

/* ---------------- Movimento ---------------- */

@keyframes refere-subir {
	from { opacity: 0.01; translate: 0 8px; }
	to { opacity: 1; translate: 0 0; }
}

:root:not([data-motion='reduced']) main {
	animation: refere-subir 260ms var(--refere-ease-out) 60ms both;
}

[data-motion='reduced'] *,
[data-motion='reduced'] *::before,
[data-motion='reduced'] *::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.01ms !important;
	scroll-behavior: auto !important;
}
