/* ==========================================================================
   Finance Cryptx — folha de estilo principal
   Sistema de design: tokens, tipografia, componentes, layouts, utilitários.
   Sem dependências externas. Sem fontes remotas. Mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Cores — papéis quentes, tinta escura, acento terracota (washi) */
	--fcx-paper: #fbf6ef;
	--fcx-paper-deep: #f5ebdd;
	--fcx-surface: #ffffff;
	--fcx-ink: #27233a;
	--fcx-ink-soft: #514c63;
	--fcx-ink-muted: #6a657b;
	--fcx-line: #eadfce;
	--fcx-line-strong: #d9c9b2;
	--fcx-accent: #c2412b;
	--fcx-accent-hover: #a23420;
	--fcx-accent-soft: #fde8e2;
	--fcx-second: #1f6f66;
	--fcx-second-soft: #e3f1ee;
	--fcx-focus: #3a2fb0;

	/* Tipografia — pilhas do sistema, nenhum download */
	--fcx-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--fcx-font-head: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--fcx-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	--fcx-text-xs: 0.78rem;
	--fcx-text-sm: 0.875rem;
	--fcx-text-base: 1rem;
	--fcx-text-md: 1.0625rem;
	--fcx-text-lg: 1.1875rem;
	--fcx-text-xl: 1.375rem;
	--fcx-text-2xl: 1.625rem;
	--fcx-text-3xl: 2rem;
	--fcx-text-4xl: 2.5rem;

	--fcx-leading-tight: 1.2;
	--fcx-leading-snug: 1.35;
	--fcx-leading-normal: 1.65;
	--fcx-leading-relaxed: 1.75;

	/* Espaçamento — escala de 4px */
	--fcx-s1: 0.25rem;
	--fcx-s2: 0.5rem;
	--fcx-s3: 0.75rem;
	--fcx-s4: 1rem;
	--fcx-s5: 1.5rem;
	--fcx-s6: 2rem;
	--fcx-s7: 2.5rem;
	--fcx-s8: 3rem;
	--fcx-s9: 4rem;
	--fcx-s10: 5rem;

	/* Formas e sombras */
	--fcx-radius-sm: 10px;
	--fcx-radius: 18px;
	--fcx-radius-lg: 28px;
	--fcx-shadow-sm: 0 1px 2px rgba(39, 35, 58, 0.06);
	--fcx-shadow: 0 6px 0 rgba(39, 35, 58, 0.08);
	--fcx-shadow-lg: 0 14px 34px rgba(39, 35, 58, 0.12);

	/* Layout */
	--fcx-container: 1180px;
	--fcx-container-narrow: 760px;
	--fcx-measure: 68ch;
	--fcx-gutter: var(--fcx-s4);

	/* Clay palette — decorative fills only; text uses --fcx-accent / --fcx-second for contrast */
	--fcx-coral: #e8674f;
	--fcx-mustard: #f4b63f;
	--fcx-teal: #2f8f83;
	--fcx-lilac: #9d8be0;
	--fcx-blush: #f7c9c0;

	color-scheme: light;
}

@media (min-width: 48em) {
	:root {
		--fcx-gutter: var(--fcx-s6);
	}
}

/* --------------------------------------------------------------------------
   2. Reset moderado
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background-color: var(--fcx-paper);
	color: var(--fcx-ink);
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-md);
	line-height: var(--fcx-leading-normal);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

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

img {
	display: block;
}

figure {
	margin: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--fcx-line);
	margin: var(--fcx-s7) 0;
}

/* --------------------------------------------------------------------------
   3. Tipografia
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--fcx-font-head);
	color: var(--fcx-ink);
	line-height: var(--fcx-leading-tight);
	margin: 0 0 var(--fcx-s4);
	font-weight: 600;
	letter-spacing: -0.01em;
	overflow-wrap: break-word;
}

h1 {
	font-size: clamp(1.875rem, 1.35rem + 2.2vw, var(--fcx-text-4xl));
}

h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, var(--fcx-text-3xl));
}

h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.7vw, var(--fcx-text-xl));
}

h4 {
	font-size: var(--fcx-text-lg);
}

h5,
h6 {
	font-size: var(--fcx-text-base);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--fcx-ink-soft);
}

p {
	margin: 0 0 var(--fcx-s4);
}

a {
	color: var(--fcx-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--fcx-accent-hover);
}

strong,
b {
	font-weight: 650;
}

small {
	font-size: var(--fcx-text-sm);
}

code,
kbd,
samp {
	font-family: var(--fcx-font-mono);
	font-size: 0.9em;
	background: var(--fcx-paper-deep);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius-sm);
	padding: 0.1em 0.35em;
}

pre {
	font-family: var(--fcx-font-mono);
	font-size: var(--fcx-text-sm);
	background: var(--fcx-paper-deep);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s4);
	overflow-x: auto;
	line-height: 1.5;
}

pre code {
	background: none;
	border: 0;
	padding: 0;
}

blockquote {
	margin: var(--fcx-s6) 0;
	padding: var(--fcx-s2) 0 var(--fcx-s2) var(--fcx-s5);
	border-left: 3px solid var(--fcx-accent);
	font-family: var(--fcx-font-head);
	font-size: var(--fcx-text-lg);
	color: var(--fcx-ink-soft);
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote cite {
	display: block;
	margin-top: var(--fcx-s2);
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-sm);
	font-style: normal;
	color: var(--fcx-ink-muted);
}

/* --------------------------------------------------------------------------
   4. Acessibilidade
   -------------------------------------------------------------------------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--fcx-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

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

.screen-reader-text:focus {
	background-color: var(--fcx-surface);
	border-radius: var(--fcx-radius-sm);
	box-shadow: var(--fcx-shadow);
	clip-path: none;
	color: var(--fcx-accent);
	display: block;
	font-size: var(--fcx-text-sm);
	font-weight: 600;
	height: auto;
	left: var(--fcx-s4);
	line-height: normal;
	padding: var(--fcx-s3) var(--fcx-s4);
	text-decoration: none;
	top: var(--fcx-s4);
	width: auto;
	z-index: 100000;
}

.fcx-skip-link:focus {
	position: fixed;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */

.fcx-container {
	width: 100%;
	max-width: var(--fcx-container);
	margin-inline: auto;
	padding-inline: var(--fcx-gutter);
}

.fcx-container--narrow {
	max-width: var(--fcx-container-narrow);
}

.fcx-site-main {
	flex: 1 0 auto;
	padding-block: var(--fcx-s7) var(--fcx-s9);
}

/* Usado na home, onde o herói encosta no cabeçalho. */
.fcx-site-main--flush {
	padding-top: 0;
}

.fcx-layout {
	display: grid;
	gap: var(--fcx-s7);
}

@media (min-width: 62em) {
	.fcx-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 20rem;
		gap: var(--fcx-s8);
		align-items: start;
	}
}

.fcx-stack > * + * {
	margin-top: var(--fcx-s4);
}

.fcx-section {
	margin-block: var(--fcx-s9);
}

.fcx-section:first-child {
	margin-top: 0;
}

.fcx-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--fcx-s3);
	margin-bottom: var(--fcx-s5);
	padding-bottom: var(--fcx-s3);
	border-bottom: 1px solid var(--fcx-line);
}

.fcx-section__title {
	margin: 0;
	font-size: var(--fcx-text-2xl);
}

.fcx-section__description {
	flex-basis: 100%;
	margin: 0;
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-base);
	max-width: var(--fcx-measure);
}

.fcx-section__link {
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-sm);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.fcx-section__link:hover {
	text-decoration: underline;
}

.fcx-section__link::after {
	content: " →";
}

/* --------------------------------------------------------------------------
   6. Cabeçalho e navegação
   -------------------------------------------------------------------------- */

.fcx-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--fcx-surface);
	border-bottom: 1px solid var(--fcx-line);
}

.fcx-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--fcx-s4);
	min-height: 4.25rem;
}

.fcx-branding {
	display: flex;
	align-items: center;
	gap: var(--fcx-s3);
	min-width: 0;
}

.fcx-branding__mark {
	flex: 0 0 auto;
	width: 2.25rem;
	height: 2.25rem;
}

.fcx-branding__text {
	min-width: 0;
}

.fcx-branding__title {
	font-family: var(--fcx-font-head);
	font-size: var(--fcx-text-xl);
	font-weight: 600;
	line-height: 1.1;
	margin: 0;
	letter-spacing: -0.015em;
}

.fcx-branding__title a {
	color: var(--fcx-ink);
	text-decoration: none;
}

.fcx-branding__title a:hover {
	color: var(--fcx-accent);
}

.fcx-branding__tagline {
	margin: 0.15rem 0 0;
	font-size: var(--fcx-text-xs);
	color: var(--fcx-ink-muted);
	line-height: 1.3;
}

.fcx-custom-logo-link img {
	max-height: 3rem;
	width: auto;
}

/* Botão do menu móvel */
.fcx-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--fcx-s2);
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line-strong);
	border-radius: var(--fcx-radius-sm);
	color: var(--fcx-ink);
	cursor: pointer;
	font: inherit;
	font-size: var(--fcx-text-sm);
	font-weight: 600;
	padding: var(--fcx-s2) var(--fcx-s3);
}

.fcx-menu-toggle:hover {
	border-color: var(--fcx-accent);
	color: var(--fcx-accent);
}

.fcx-menu-toggle__bars {
	display: block;
	position: relative;
	width: 1.125rem;
	height: 2px;
	background: currentColor;
}

.fcx-menu-toggle__bars::before,
.fcx-menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.fcx-menu-toggle__bars::before {
	top: -6px;
}

.fcx-menu-toggle__bars::after {
	top: 6px;
}

.fcx-header__panel {
	display: none;
	padding-bottom: var(--fcx-s5);
}

.fcx-header__panel.is-open {
	display: block;
}

.fcx-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcx-nav__list li {
	position: relative;
}

.fcx-nav__list a {
	display: block;
	padding: var(--fcx-s3) 0;
	border-bottom: 1px solid var(--fcx-line);
	color: var(--fcx-ink);
	font-size: var(--fcx-text-base);
	font-weight: 550;
	text-decoration: none;
}

.fcx-nav__list a:hover {
	color: var(--fcx-accent);
}

.fcx-nav .current-menu-item > a,
.fcx-nav .current-menu-ancestor > a,
.fcx-nav .current_page_item > a {
	color: var(--fcx-accent);
}

.fcx-header__search {
	margin-top: var(--fcx-s4);
}

/* Aviso exibido apenas para quem pode editar menus, quando nenhum menu foi
   atribuído à posição principal. O visitante nunca vê este bloco. */
.fcx-nav--empty {
	margin: 0;
	padding: var(--fcx-s3) 0;
	font-size: var(--fcx-text-sm);
}

@media (min-width: 62em) {
	.fcx-menu-toggle {
		display: none;
	}

	/* Cabeçalho em uma única linha: marca à esquerda, navegação e busca à
	   direita. Mantém a barra fixa baixa e previsível durante a leitura.
	   `flex-wrap` é o escape: quando o menu cresce e a linha única deixa de
	   caber, o painel desce para uma segunda linha em vez de estourar a
	   largura da página. */
	.fcx-site-header .fcx-container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 var(--fcx-s6);
	}

	.fcx-header__inner {
		flex: 0 0 auto;
		min-height: 4.5rem;
	}

	.fcx-header__panel {
		display: flex !important;
		flex: 1 1 auto;
		flex-wrap: wrap;
		min-width: 0;
		align-items: center;
		justify-content: flex-end;
		gap: var(--fcx-s3) var(--fcx-s5);
		padding-bottom: var(--fcx-s3);
	}

	.fcx-nav__list {
		flex-wrap: wrap;
	}

	.fcx-nav__list {
		display: flex;
		align-items: center;
		gap: var(--fcx-s1);
	}

	.fcx-nav__list a {
		border-bottom: 0;
		border-radius: var(--fcx-radius-sm);
		padding: var(--fcx-s2) var(--fcx-s3);
		font-size: var(--fcx-text-sm);
		white-space: nowrap;
	}

	.fcx-nav__list a:hover {
		background: var(--fcx-accent-soft);
	}

	.fcx-nav .current-menu-item > a,
	.fcx-nav .current-menu-ancestor > a {
		background: var(--fcx-accent-soft);
	}

	/* Submenus (um nível) */
	.fcx-nav__list .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 13rem;
		background: var(--fcx-surface);
		border: 1px solid var(--fcx-line);
		border-radius: var(--fcx-radius);
		box-shadow: var(--fcx-shadow-lg);
		list-style: none;
		margin: 0;
		padding: var(--fcx-s2);
		z-index: 60;
	}

	.fcx-nav__list li:hover > .sub-menu,
	.fcx-nav__list li:focus-within > .sub-menu {
		display: block;
	}

	.fcx-nav__list .sub-menu a {
		white-space: normal;
	}

	.fcx-header__search {
		margin-top: 0;
		flex: 0 1 13.5rem;
		min-width: 9rem;
	}
}

/* --------------------------------------------------------------------------
   7. Formulários
   -------------------------------------------------------------------------- */

label {
	display: block;
	font-size: var(--fcx-text-sm);
	font-weight: 600;
	margin-bottom: var(--fcx-s2);
}

.fcx-field {
	margin-bottom: var(--fcx-s5);
}

.fcx-field__hint {
	display: block;
	margin-top: var(--fcx-s2);
	font-size: var(--fcx-text-xs);
	font-weight: 400;
	color: var(--fcx-ink-muted);
}

.fcx-required {
	color: var(--fcx-accent);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
	width: 100%;
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line-strong);
	border-radius: var(--fcx-radius-sm);
	color: var(--fcx-ink);
	font: inherit;
	font-size: var(--fcx-text-base);
	padding: var(--fcx-s3);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--fcx-focus);
}

textarea {
	min-height: 11rem;
	resize: vertical;
	line-height: var(--fcx-leading-normal);
}

input::placeholder,
textarea::placeholder {
	color: var(--fcx-ink-muted);
	opacity: 1;
}

/* Campo de busca */
.fcx-search-form {
	display: flex;
	gap: var(--fcx-s2);
}

.fcx-search-form__field {
	flex: 1 1 auto;
	min-width: 0;
}

.fcx-search-form input[type="search"] {
	padding-block: var(--fcx-s2);
}

.fcx-search-form__submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--fcx-paper-deep);
	border: 1px solid var(--fcx-line-strong);
	border-radius: var(--fcx-radius-sm);
	color: var(--fcx-ink);
	cursor: pointer;
	padding-inline: var(--fcx-s3);
}

.fcx-search-form__submit:hover {
	background: var(--fcx-accent-soft);
	border-color: var(--fcx-accent);
	color: var(--fcx-accent);
}

/* --------------------------------------------------------------------------
   8. Botões
   -------------------------------------------------------------------------- */

.fcx-button,
.fcx-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--fcx-s2);
	background: var(--fcx-accent);
	border: 1px solid var(--fcx-accent);
	border-radius: var(--fcx-radius-sm);
	color: #fff;
	cursor: pointer;
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-base);
	font-weight: 600;
	line-height: 1.3;
	padding: var(--fcx-s3) var(--fcx-s5);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.fcx-button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--fcx-accent-hover);
	border-color: var(--fcx-accent-hover);
	color: #fff;
}

.fcx-button--secondary {
	background: transparent;
	border-color: var(--fcx-line-strong);
	color: var(--fcx-ink);
}

.fcx-button--secondary:hover {
	background: var(--fcx-accent-soft);
	border-color: var(--fcx-accent);
	color: var(--fcx-accent);
}

.fcx-button--small {
	font-size: var(--fcx-text-sm);
	padding: var(--fcx-s2) var(--fcx-s4);
}

.fcx-button[disabled],
button[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
}

/* --------------------------------------------------------------------------
   9. Rótulos, categorias, metadados
   -------------------------------------------------------------------------- */

.fcx-eyebrow {
	display: inline-block;
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fcx-accent);
	text-decoration: none;
	margin-bottom: var(--fcx-s2);
}

a.fcx-eyebrow:hover {
	text-decoration: underline;
}

.fcx-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--fcx-s1);
	background: var(--fcx-second-soft);
	border-radius: 999px;
	color: var(--fcx-second);
	font-size: var(--fcx-text-xs);
	font-weight: 600;
	padding: 0.2rem 0.65rem;
	text-decoration: none;
}

a.fcx-chip:hover {
	background: var(--fcx-accent-soft);
	color: var(--fcx-accent);
}

.fcx-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fcx-s2) var(--fcx-s4);
	color: var(--fcx-ink-muted);
	font-size: var(--fcx-text-sm);
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcx-meta__item {
	display: inline-flex;
	align-items: center;
	gap: var(--fcx-s2);
}

.fcx-meta a {
	color: inherit;
}

.fcx-meta svg {
	flex: 0 0 auto;
	color: var(--fcx-ink-muted);
}

.fcx-icon {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -0.125em;
}

/* --------------------------------------------------------------------------
   10. Cards e grades
   -------------------------------------------------------------------------- */

.fcx-grid {
	display: grid;
	gap: var(--fcx-s5);
	grid-template-columns: 1fr;
}

@media (min-width: 36em) {
	.fcx-grid--2,
	.fcx-grid--3,
	.fcx-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.fcx-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.fcx-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.fcx-card {
	display: flex;
	flex-direction: column;
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	box-shadow: var(--fcx-shadow-sm);
	overflow: hidden;
	height: 100%;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.fcx-card:hover {
	box-shadow: var(--fcx-shadow);
	transform: translateY(-2px);
}

.fcx-card__media {
	display: block;
	background: var(--fcx-paper-deep);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.fcx-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fcx-card__media--placeholder {
	background:
		repeating-linear-gradient(135deg, var(--fcx-paper-deep) 0 14px, #efe1cf 14px 28px);
}

.fcx-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--fcx-s2);
	padding: var(--fcx-s4) var(--fcx-s4) var(--fcx-s5);
}

.fcx-card__title {
	font-size: var(--fcx-text-lg);
	line-height: var(--fcx-leading-snug);
	margin: 0;
}

.fcx-card__title a {
	color: var(--fcx-ink);
	text-decoration: none;
}

.fcx-card__title a:hover {
	color: var(--fcx-accent);
	text-decoration: underline;
}

.fcx-card__excerpt {
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-sm);
	line-height: var(--fcx-leading-normal);
	margin: 0;
}

.fcx-card__footer {
	margin-top: auto;
	padding-top: var(--fcx-s3);
}

/* Card horizontal (listas e resultados de busca) */
.fcx-card-row {
	display: grid;
	gap: var(--fcx-s4);
	padding-bottom: var(--fcx-s5);
	border-bottom: 1px solid var(--fcx-line);
}

.fcx-card-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

@media (min-width: 36em) {
	.fcx-card-row {
		grid-template-columns: 13rem minmax(0, 1fr);
		align-items: start;
	}
}

.fcx-card-row__media {
	display: block;
	background: var(--fcx-paper-deep);
	border-radius: var(--fcx-radius);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.fcx-card-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* min-width: 0 impede que títulos longos estourem a coluna da grade. */
.fcx-card-row__body {
	min-width: 0;
}

.fcx-card-row__title {
	font-size: var(--fcx-text-xl);
	margin: var(--fcx-s1) 0 var(--fcx-s2);
	overflow-wrap: break-word;
}

.fcx-card-row__title a {
	color: var(--fcx-ink);
	text-decoration: none;
}

.fcx-card-row__title a:hover {
	color: var(--fcx-accent);
	text-decoration: underline;
}

.fcx-card-row__excerpt {
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-base);
	margin: 0 0 var(--fcx-s3);
}

.fcx-card-list {
	display: grid;
	gap: var(--fcx-s5);
}

/* Lista compacta numerada (Comece por aqui / Guias populares) */
.fcx-steps {
	list-style: none;
	counter-reset: fcx-step;
	display: grid;
	gap: var(--fcx-s4);
	margin: 0;
	padding: 0;
}

.fcx-steps > li {
	counter-increment: fcx-step;
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	gap: var(--fcx-s4);
	align-items: start;
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s4);
}

.fcx-steps > li::before {
	content: counter(fcx-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--fcx-accent-soft);
	border-radius: 50%;
	color: var(--fcx-accent);
	font-family: var(--fcx-font-head);
	font-size: var(--fcx-text-base);
	font-weight: 700;
}

.fcx-steps__title {
	font-size: var(--fcx-text-base);
	margin: 0 0 var(--fcx-s1);
}

.fcx-steps__title a {
	color: var(--fcx-ink);
	text-decoration: none;
}

.fcx-steps__title a:hover {
	color: var(--fcx-accent);
	text-decoration: underline;
}

.fcx-steps p {
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-sm);
	margin: 0;
}

/* --------------------------------------------------------------------------
   11. Home — herói e seções
   -------------------------------------------------------------------------- */

.fcx-hero {
	background: linear-gradient(180deg, var(--fcx-paper-deep), var(--fcx-paper));
	border-bottom: 1px solid var(--fcx-line);
	padding-block: var(--fcx-s8);
}

.fcx-hero__inner {
	display: grid;
	gap: var(--fcx-s6);
	align-items: center;
}

@media (min-width: 62em) {
	.fcx-hero {
		padding-block: var(--fcx-s10);
	}

	.fcx-hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: var(--fcx-s9);
	}
}

.fcx-hero__title {
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
	margin-bottom: var(--fcx-s4);
}

.fcx-hero__text {
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-lg);
	line-height: var(--fcx-leading-relaxed);
	max-width: 46ch;
	margin-bottom: var(--fcx-s5);
}

.fcx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--fcx-s3);
}

/* Decorative clay shapes, inline SVG (no image request, no JS) */
.fcx-hero__figure {
	position: relative;
	display: none;
	max-width: 24rem;
	margin-inline: auto;
	width: 100%;
}

.fcx-hero__figure svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	filter: drop-shadow(0 10px 0 rgba(39, 35, 58, 0.07));
}

@media (min-width: 62em) {
	.fcx-hero__figure {
		display: block;
	}
}

.fcx-clay--blush { fill: var(--fcx-blush); }
.fcx-clay--teal { fill: var(--fcx-teal); }
.fcx-clay--mustard { fill: var(--fcx-mustard); }
.fcx-clay--coral { fill: var(--fcx-coral); }
.fcx-clay--lilac { fill: var(--fcx-lilac); }
.fcx-clay--cream { fill: var(--fcx-paper); }
.fcx-clay--ink { fill: var(--fcx-ink); }
.fcx-clay--highlight { stroke: #fff; stroke-width: 9; stroke-linecap: round; opacity: 0.55; }

/* Faixa de categorias */
.fcx-topics {
	display: grid;
	gap: var(--fcx-s4);
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcx-topic {
	display: flex;
	flex-direction: column;
	gap: var(--fcx-s2);
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s5) var(--fcx-s4);
	text-decoration: none;
	height: 100%;
}

.fcx-topic:hover {
	border-color: var(--fcx-accent);
	box-shadow: var(--fcx-shadow);
}

.fcx-topic__name {
	font-family: var(--fcx-font-head);
	font-size: var(--fcx-text-lg);
	font-weight: 600;
	color: var(--fcx-ink);
}

.fcx-topic:hover .fcx-topic__name {
	color: var(--fcx-accent);
}

.fcx-topic__desc {
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-sm);
	line-height: var(--fcx-leading-normal);
}

.fcx-topic__count {
	margin-top: auto;
	padding-top: var(--fcx-s2);
	color: var(--fcx-ink-muted);
	font-size: var(--fcx-text-xs);
}

/* Bloco de chamada (CTA) */
.fcx-cta {
	display: grid;
	gap: var(--fcx-s5);
	align-items: center;
	background: var(--fcx-second);
	border-radius: var(--fcx-radius-lg);
	color: #f4f7f9;
	padding: var(--fcx-s7) var(--fcx-s6);
}

@media (min-width: 48em) {
	.fcx-cta {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: var(--fcx-s8);
	}
}

.fcx-cta__title {
	color: #fff;
	margin-bottom: var(--fcx-s3);
}

.fcx-cta__text {
	color: #dce5ea;
	margin: 0;
	max-width: 52ch;
}

.fcx-cta .fcx-button {
	background: var(--fcx-surface);
	border-color: var(--fcx-surface);
	color: var(--fcx-second);
	white-space: nowrap;
}

.fcx-cta .fcx-button:hover {
	background: var(--fcx-accent-soft);
	border-color: var(--fcx-accent-soft);
	color: var(--fcx-accent-hover);
}

/* --------------------------------------------------------------------------
   12. Artigo
   -------------------------------------------------------------------------- */

.fcx-breadcrumbs {
	margin-bottom: var(--fcx-s5);
	font-size: var(--fcx-text-sm);
	color: var(--fcx-ink-muted);
}

.fcx-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fcx-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcx-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: var(--fcx-s2);
}

.fcx-breadcrumbs li + li::before {
	content: "/";
	color: var(--fcx-line-strong);
}

.fcx-breadcrumbs a {
	color: var(--fcx-ink-soft);
	text-decoration: none;
}

.fcx-breadcrumbs a:hover {
	color: var(--fcx-accent);
	text-decoration: underline;
}

.fcx-breadcrumbs [aria-current="page"] {
	color: var(--fcx-ink-muted);
}

.fcx-article__header {
	margin-bottom: var(--fcx-s6);
}

.fcx-article__title {
	margin-bottom: var(--fcx-s4);
}

.fcx-article__summary {
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-lg);
	line-height: var(--fcx-leading-relaxed);
	max-width: var(--fcx-measure);
	margin-bottom: var(--fcx-s4);
}

.fcx-article__meta {
	padding-top: var(--fcx-s4);
	border-top: 1px solid var(--fcx-line);
}

.fcx-article__figure {
	margin-bottom: var(--fcx-s6);
}

.fcx-article__figure img {
	border-radius: var(--fcx-radius);
	width: 100%;
}

.fcx-article__figure figcaption,
.wp-block-image figcaption,
.wp-caption-text {
	margin-top: var(--fcx-s2);
	color: var(--fcx-ink-muted);
	font-size: var(--fcx-text-sm);
	line-height: var(--fcx-leading-snug);
	text-align: left;
}

/* Corpo do texto */
.fcx-content {
	font-size: var(--fcx-text-md);
	line-height: var(--fcx-leading-relaxed);
}

.fcx-content > * {
	max-width: var(--fcx-measure);
}

.fcx-content > .alignwide,
.fcx-content > .alignfull,
.fcx-content > .fcx-tutorial-facts,
.fcx-content > .fcx-toc,
.fcx-content > figure,
.fcx-content > .wp-block-image,
.fcx-content > .wp-block-gallery,
.fcx-content > .wp-block-table,
.fcx-content > .fcx-ad-slot {
	max-width: none;
}

.fcx-content h2 {
	margin-top: var(--fcx-s8);
	padding-bottom: var(--fcx-s2);
	border-bottom: 1px solid var(--fcx-line);
}

.fcx-content h3 {
	margin-top: var(--fcx-s6);
}

.fcx-content h4 {
	margin-top: var(--fcx-s5);
}

.fcx-content > h2:first-child,
.fcx-content > h3:first-child {
	margin-top: 0;
}

.fcx-content ul,
.fcx-content ol {
	margin: 0 0 var(--fcx-s4);
	padding-left: 1.4em;
}

.fcx-content li + li {
	margin-top: var(--fcx-s2);
}

.fcx-content li > ul,
.fcx-content li > ol {
	margin-top: var(--fcx-s2);
	margin-bottom: 0;
}

.fcx-content ol {
	padding-left: 1.3em;
}

.fcx-content ol li::marker {
	color: var(--fcx-accent);
	font-weight: 700;
}

.fcx-content figure,
.fcx-content .wp-block-image {
	margin-block: var(--fcx-s6);
}

.fcx-content img {
	border-radius: var(--fcx-radius);
}

.fcx-content a {
	text-decoration: underline;
}

/* Tabelas */
.fcx-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fcx-text-sm);
	margin-block: var(--fcx-s6);
}

.fcx-content th,
.fcx-content td,
.wp-block-table th,
.wp-block-table td {
	border: 1px solid var(--fcx-line);
	padding: var(--fcx-s3);
	text-align: left;
	vertical-align: top;
}

.fcx-content thead th,
.wp-block-table thead th {
	background: var(--fcx-paper-deep);
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-xs);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wp-block-table {
	overflow-x: auto;
}

/* Caixas de destaque — classes utilizáveis no editor de blocos */
.fcx-callout {
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-left: 4px solid var(--fcx-second);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s5);
	margin-block: var(--fcx-s6);
}

.fcx-callout > :last-child {
	margin-bottom: 0;
}

.fcx-callout__title {
	display: flex;
	align-items: center;
	gap: var(--fcx-s2);
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fcx-second);
	margin-bottom: var(--fcx-s3);
}

.fcx-callout--tip {
	background: var(--fcx-accent-soft);
	border-color: #f0dbd0;
	border-left-color: var(--fcx-accent);
}

.fcx-callout--tip .fcx-callout__title {
	color: var(--fcx-accent);
}

.fcx-callout--warning {
	background: #fdf6e3;
	border-color: #f0e3bf;
	border-left-color: #a9801f;
}

.fcx-callout--warning .fcx-callout__title {
	color: #8a6715;
}

/* Fatos do tutorial (dificuldade, tempo, papel, materiais) */
.fcx-tutorial-facts {
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s5);
	margin-bottom: var(--fcx-s6);
}

.fcx-tutorial-facts__title {
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fcx-ink-soft);
	margin: 0 0 var(--fcx-s4);
}

.fcx-facts {
	display: grid;
	gap: var(--fcx-s4);
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	margin: 0;
}

.fcx-facts__item {
	display: flex;
	align-items: flex-start;
	gap: var(--fcx-s3);
}

.fcx-facts__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--fcx-accent-soft);
	border-radius: var(--fcx-radius-sm);
	color: var(--fcx-accent);
}

.fcx-facts__icon .fcx-icon {
	width: 1.125rem;
	height: 1.125rem;
}

.fcx-facts__label {
	display: block;
	font-size: var(--fcx-text-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fcx-ink-muted);
}

.fcx-facts__value {
	display: block;
	font-size: var(--fcx-text-base);
	font-weight: 600;
	line-height: var(--fcx-leading-snug);
	margin-top: 0.1rem;
}

.fcx-materials {
	margin-top: var(--fcx-s5);
	padding-top: var(--fcx-s4);
	border-top: 1px solid var(--fcx-line);
}

.fcx-materials__list {
	list-style: none;
	display: grid;
	gap: var(--fcx-s2);
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	margin: 0;
	padding: 0;
	font-size: var(--fcx-text-base);
}

.fcx-materials__list li {
	display: flex;
	align-items: flex-start;
	gap: var(--fcx-s2);
	margin: 0;
}

.fcx-materials__list li::before {
	content: "";
	flex: 0 0 auto;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: 0.55em;
	background: var(--fcx-accent);
	transform: rotate(45deg);
}

/* Sumário */
.fcx-toc {
	background: var(--fcx-paper-deep);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s5);
	margin-bottom: var(--fcx-s6);
}

.fcx-toc__title {
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fcx-ink-soft);
	margin: 0 0 var(--fcx-s3);
}

.fcx-toc ol {
	counter-reset: fcx-toc;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--fcx-text-base);
}

.fcx-toc > ol > li {
	counter-increment: fcx-toc;
	margin: 0;
}

.fcx-toc > ol > li + li {
	margin-top: var(--fcx-s2);
}

.fcx-toc > ol > li > a::before {
	content: counter(fcx-toc) ". ";
	color: var(--fcx-ink-muted);
}

.fcx-toc a {
	color: var(--fcx-ink);
	text-decoration: none;
}

.fcx-toc a:hover {
	color: var(--fcx-accent);
	text-decoration: underline;
}

.fcx-toc ol ol {
	margin: var(--fcx-s2) 0 0 var(--fcx-s4);
	font-size: var(--fcx-text-sm);
}

.fcx-toc ol ol li + li {
	margin-top: var(--fcx-s1);
}

.fcx-toc ol ol a {
	color: var(--fcx-ink-soft);
}

/* FAQ */
.fcx-faq {
	margin-top: var(--fcx-s8);
}

.fcx-faq__item {
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	margin-bottom: var(--fcx-s3);
	padding: var(--fcx-s4) var(--fcx-s5);
}

.fcx-faq__question {
	font-family: var(--fcx-font-head);
	font-size: var(--fcx-text-lg);
	font-weight: 600;
	margin: 0 0 var(--fcx-s2);
}

.fcx-faq__answer > :last-child {
	margin-bottom: 0;
}

/* Rodapé do artigo */
.fcx-article__footer {
	margin-top: var(--fcx-s8);
	padding-top: var(--fcx-s5);
	border-top: 1px solid var(--fcx-line);
}

.fcx-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fcx-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcx-tags__label {
	font-size: var(--fcx-text-sm);
	font-weight: 600;
	color: var(--fcx-ink-soft);
}

.fcx-author-box {
	display: grid;
	gap: var(--fcx-s4);
	align-items: start;
	background: var(--fcx-paper-deep);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s5);
	margin-top: var(--fcx-s6);
}

@media (min-width: 36em) {
	.fcx-author-box {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

.fcx-author-box img {
	border-radius: 50%;
}

.fcx-author-box__name {
	font-size: var(--fcx-text-lg);
	margin: 0 0 var(--fcx-s2);
}

.fcx-author-box__bio {
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-sm);
	margin: 0;
}

/* Navegação anterior/próximo */
.fcx-post-nav {
	margin-top: var(--fcx-s7);
}

.fcx-post-nav__links {
	display: grid;
	gap: var(--fcx-s4);
}

@media (min-width: 48em) {
	.fcx-post-nav__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Existindo só o "próximo", ele vai para a coluna da direita — é lá que
	   o alinhamento do texto e a seta mental do leitor esperam encontrá-lo. */
	.fcx-post-nav__link--next:only-child {
		grid-column: 2;
	}
}

.fcx-post-nav__link {
	display: block;
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s4);
	text-decoration: none;
	height: 100%;
}

.fcx-post-nav__link:hover {
	border-color: var(--fcx-accent);
}

.fcx-post-nav__direction {
	display: block;
	font-size: var(--fcx-text-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fcx-ink-muted);
	margin-bottom: var(--fcx-s2);
}

.fcx-post-nav__title {
	display: block;
	font-family: var(--fcx-font-head);
	font-size: var(--fcx-text-base);
	font-weight: 600;
	color: var(--fcx-ink);
	line-height: var(--fcx-leading-snug);
}

.fcx-post-nav__link:hover .fcx-post-nav__title {
	color: var(--fcx-accent);
}

.fcx-post-nav__link--prev {
	text-align: left;
}

.fcx-post-nav__link--next {
	text-align: right;
}

/* --------------------------------------------------------------------------
   13. Barra lateral e widgets
   -------------------------------------------------------------------------- */

.fcx-sidebar {
	display: grid;
	gap: var(--fcx-s5);
}

@media (min-width: 62em) {
	.fcx-sidebar--sticky {
		position: sticky;
		top: 6rem;
	}
}

.fcx-widget {
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s5);
	font-size: var(--fcx-text-base);
}

.fcx-widget__title,
.fcx-widget .widget-title {
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fcx-ink-soft);
	margin: 0 0 var(--fcx-s4);
}

.fcx-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fcx-widget li + li {
	margin-top: var(--fcx-s3);
	padding-top: var(--fcx-s3);
	border-top: 1px solid var(--fcx-line);
}

.fcx-widget a {
	color: var(--fcx-ink);
	text-decoration: none;
}

.fcx-widget a:hover {
	color: var(--fcx-accent);
	text-decoration: underline;
}

.fcx-widget .children,
.fcx-widget .sub-menu {
	margin-top: var(--fcx-s3);
	padding-left: var(--fcx-s4);
}

/* --------------------------------------------------------------------------
   14. Arquivos, paginação, busca, 404
   -------------------------------------------------------------------------- */

.fcx-archive-header {
	margin-bottom: var(--fcx-s7);
	padding-bottom: var(--fcx-s5);
	border-bottom: 1px solid var(--fcx-line);
}

.fcx-archive-header__title {
	margin-bottom: var(--fcx-s3);
}

.fcx-archive-header__description {
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-lg);
	line-height: var(--fcx-leading-relaxed);
	max-width: var(--fcx-measure);
}

.fcx-archive-header__description > :last-child {
	margin-bottom: 0;
}

.fcx-archive-header__count {
	margin: var(--fcx-s3) 0 0;
	color: var(--fcx-ink-muted);
	font-size: var(--fcx-text-sm);
}

.fcx-subcategories {
	display: flex;
	flex-wrap: wrap;
	gap: var(--fcx-s2);
	list-style: none;
	margin: var(--fcx-s4) 0 0;
	padding: 0;
}

.fcx-pagination {
	margin-top: var(--fcx-s8);
	padding-top: var(--fcx-s5);
	border-top: 1px solid var(--fcx-line);
}

.fcx-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fcx-s2);
}

.fcx-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: var(--fcx-s3);
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line-strong);
	border-radius: var(--fcx-radius-sm);
	color: var(--fcx-ink);
	font-size: var(--fcx-text-sm);
	font-weight: 600;
	text-decoration: none;
}

.fcx-pagination a.page-numbers:hover {
	border-color: var(--fcx-accent);
	color: var(--fcx-accent);
}

.fcx-pagination .page-numbers.current {
	background: var(--fcx-accent);
	border-color: var(--fcx-accent);
	color: #fff;
}

.fcx-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* Busca */
.fcx-search-intro {
	margin-bottom: var(--fcx-s6);
}

.fcx-search-intro .fcx-search-form {
	max-width: 32rem;
	margin-top: var(--fcx-s4);
}

.fcx-no-results {
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s6);
}

.fcx-no-results__suggestions {
	display: grid;
	gap: var(--fcx-s2);
	list-style: none;
	margin: var(--fcx-s4) 0 0;
	padding: 0;
}

.fcx-no-results__suggestions li {
	padding-left: 1.2em;
	position: relative;
}

.fcx-no-results__suggestions li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 0.45rem;
	height: 0.45rem;
	background: var(--fcx-accent);
	transform: rotate(45deg);
}

/* 404 */
.fcx-error-404 {
	text-align: center;
	max-width: 42rem;
	margin-inline: auto;
}

.fcx-error-404__code {
	font-family: var(--fcx-font-head);
	font-size: clamp(3.5rem, 2rem + 8vw, 6rem);
	line-height: 1;
	color: var(--fcx-line-strong);
	margin: 0 0 var(--fcx-s4);
}

.fcx-error-404 .fcx-search-form {
	max-width: 26rem;
	margin: var(--fcx-s5) auto 0;
	text-align: left;
}

.fcx-error-404 .fcx-subcategories {
	justify-content: center;
	margin-top: var(--fcx-s4);
}

.fcx-error-404 .fcx-section__head {
	justify-content: center;
}

.fcx-error-404 .fcx-grid {
	text-align: left;
}

.fcx-error-404__headline {
	margin-top: var(--fcx-s7);
	font-size: var(--fcx-text-xl);
}

/* --------------------------------------------------------------------------
   15. Páginas e formulário de contato
   -------------------------------------------------------------------------- */

.fcx-page__header {
	margin-bottom: var(--fcx-s6);
	padding-bottom: var(--fcx-s5);
	border-bottom: 1px solid var(--fcx-line);
}

.fcx-page__header .fcx-page__title {
	margin-bottom: 0;
}

.fcx-page__updated {
	margin: var(--fcx-s3) 0 0;
	color: var(--fcx-ink-muted);
	font-size: var(--fcx-text-sm);
}

.fcx-form-notice {
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s4) var(--fcx-s5);
	margin-bottom: var(--fcx-s5);
	border: 1px solid;
}

.fcx-form-notice > :last-child {
	margin-bottom: 0;
}

.fcx-form-notice--success {
	background: #eef7ef;
	border-color: #c6e2c9;
	color: #1f5128;
}

.fcx-form-notice--error {
	background: #fdeeec;
	border-color: #f2c9c3;
	color: #7d2418;
}

.fcx-form-notice__list {
	margin: var(--fcx-s2) 0 0;
	padding-left: 1.2em;
}

.fcx-form {
	max-width: 36rem;
}

.fcx-form input[aria-invalid="true"],
.fcx-form textarea[aria-invalid="true"] {
	border-color: #b3372a;
}

.fcx-field__error {
	display: block;
	margin-top: var(--fcx-s2);
	color: #8c2b20;
	font-size: var(--fcx-text-sm);
	font-weight: 600;
}

.fcx-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   16. Comentários
   -------------------------------------------------------------------------- */

.fcx-comments {
	margin-top: var(--fcx-s9);
	padding-top: var(--fcx-s6);
	border-top: 1px solid var(--fcx-line);
}

.fcx-comments__title {
	font-size: var(--fcx-text-2xl);
}

.fcx-comments .comment-list {
	list-style: none;
	margin: 0 0 var(--fcx-s7);
	padding: 0;
}

.fcx-comments .comment-list ol.children {
	list-style: none;
	margin: var(--fcx-s4) 0 0 var(--fcx-s5);
	padding: 0;
}

.fcx-comments .comment-body {
	background: var(--fcx-surface);
	border: 1px solid var(--fcx-line);
	border-radius: var(--fcx-radius);
	padding: var(--fcx-s5);
	margin-bottom: var(--fcx-s4);
}

.fcx-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fcx-s2) var(--fcx-s3);
	font-size: var(--fcx-text-sm);
	color: var(--fcx-ink-muted);
	margin-bottom: var(--fcx-s3);
}

.fcx-comments .comment-author img {
	border-radius: 50%;
	margin-right: var(--fcx-s2);
	vertical-align: middle;
}

.fcx-comments .reply {
	font-size: var(--fcx-text-sm);
	font-weight: 600;
}

.comment-respond .comment-form-cookies-consent label,
.comment-respond .comment-notes {
	font-weight: 400;
	font-size: var(--fcx-text-sm);
	color: var(--fcx-ink-soft);
	display: inline;
}

.comment-form p {
	margin-bottom: var(--fcx-s4);
}

/* --------------------------------------------------------------------------
   17. Espaços de anúncio (vazios e desativados por padrão)
   -------------------------------------------------------------------------- */

.fcx-ad-slot {
	margin-block: var(--fcx-s6);
	text-align: center;
}

.fcx-ad-slot__label {
	display: block;
	margin-bottom: var(--fcx-s2);
	color: var(--fcx-ink-muted);
	font-size: var(--fcx-text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fcx-ad-slot--sidebar {
	margin-block: 0;
}

/* --------------------------------------------------------------------------
   18. Rodapé
   -------------------------------------------------------------------------- */

.fcx-site-footer {
	background: var(--fcx-surface);
	border-top: 1px solid var(--fcx-line);
	margin-top: auto;
	padding-block: var(--fcx-s8) var(--fcx-s6);
}

.fcx-footer__grid {
	display: grid;
	gap: var(--fcx-s6);
	margin-bottom: var(--fcx-s6);
}

@media (min-width: 48em) {
	.fcx-footer__grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--fcx-s8);
	}
}

.fcx-footer__about p {
	color: var(--fcx-ink-soft);
	font-size: var(--fcx-text-sm);
	max-width: 42ch;
	margin-bottom: 0;
}

.fcx-footer__nav {
	min-width: 0;
}

.fcx-footer__heading {
	font-family: var(--fcx-font-body);
	font-size: var(--fcx-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fcx-ink-soft);
	margin: 0 0 var(--fcx-s3);
}

.fcx-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--fcx-text-sm);
}

.fcx-footer__menu li + li {
	margin-top: var(--fcx-s2);
}

.fcx-footer__menu a {
	color: var(--fcx-ink-soft);
	text-decoration: none;
}

.fcx-footer__menu a:hover {
	color: var(--fcx-accent);
	text-decoration: underline;
}

.fcx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fcx-s3);
	padding-top: var(--fcx-s5);
	border-top: 1px solid var(--fcx-line);
	color: var(--fcx-ink-muted);
	font-size: var(--fcx-text-sm);
}

.fcx-footer__bottom p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   19. Utilitários e alinhamentos do editor
   -------------------------------------------------------------------------- */

.fcx-visually-balanced {
	max-width: var(--fcx-measure);
}

.fcx-text-center {
	text-align: center;
}

.fcx-mt-0 {
	margin-top: 0;
}

.fcx-mb-0 {
	margin-bottom: 0;
}

.alignleft {
	float: left;
	margin: 0 var(--fcx-s5) var(--fcx-s4) 0;
}

.alignright {
	float: right;
	margin: 0 0 var(--fcx-s4) var(--fcx-s5);
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide,
.alignfull {
	margin-inline: auto;
}

.fcx-content > .alignfull {
	margin-inline: calc(-1 * var(--fcx-gutter));
	width: calc(100% + (2 * var(--fcx-gutter)));
	max-width: none;
}

.wp-block-embed__wrapper {
	position: relative;
}

.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
}

.wp-block-embed.wp-embed-aspect-16-9 iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--fcx-radius);
}

.sticky .fcx-card__title::after {
	content: " ★";
	color: var(--fcx-accent);
}

/* --------------------------------------------------------------------------
   20. Impressão — artigos legíveis no papel
   -------------------------------------------------------------------------- */

@media print {
	.fcx-site-header,
	.fcx-site-footer,
	.fcx-ad-slot,
	.fcx-post-nav,
	.fcx-comments,
	.fcx-sidebar,
	.fcx-related,
	.fcx-skip-link,
	.fcx-breadcrumbs {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 11pt;
	}

	.fcx-content > * {
		max-width: none;
	}

	a {
		color: inherit;
		text-decoration: underline;
	}

	.fcx-content h2,
	.fcx-content h3 {
		break-after: avoid;
	}

	figure,
	.fcx-tutorial-facts,
	.fcx-facts__item {
		break-inside: avoid;
	}
}

/* ==========================================================================
   20. Clay studio skin
   Bold rounded shapes, flat offset shadows, pill controls. Layout rules above
   stay untouched; this section only restyles surfaces.
   ========================================================================== */

h1,
h2,
h3,
h4 {
	font-weight: 800;
	letter-spacing: -0.02em;
}

.fcx-site-header {
	background: var(--fcx-paper);
	border-bottom: 2px solid var(--fcx-ink);
}

.fcx-branding__title {
	font-weight: 800;
}

.fcx-branding__mark {
	width: 2.5rem;
	height: 2.5rem;
}

@media (min-width: 62em) {
	.fcx-nav__list a {
		border-radius: 999px;
	}
}

.fcx-button,
.fcx-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	border-radius: 999px;
	border-width: 2px;
	font-weight: 700;
	box-shadow: 0 4px 0 rgba(39, 35, 58, 0.18);
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.fcx-button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	transform: translateY(2px);
	box-shadow: 0 2px 0 rgba(39, 35, 58, 0.18);
}

.fcx-button--secondary {
	background: var(--fcx-surface);
	border-color: var(--fcx-ink);
	color: var(--fcx-ink);
}

.fcx-button--secondary:hover {
	background: var(--fcx-mustard);
	border-color: var(--fcx-ink);
	color: var(--fcx-ink);
}

/* Menu toggle and other bare buttons keep a flat look */
.fcx-menu-toggle,
.fcx-menu-toggle:hover {
	box-shadow: none;
	transform: none;
}

/* Hero */
.fcx-hero {
	position: relative;
	overflow: hidden;
	background: var(--fcx-paper-deep);
	border-bottom: 2px solid var(--fcx-ink);
}

.fcx-hero::before,
.fcx-hero::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.fcx-hero::before {
	width: 15rem;
	height: 15rem;
	left: -6rem;
	bottom: -8rem;
	background: var(--fcx-mustard);
	border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
	opacity: 0.55;
}

.fcx-hero::after {
	width: 9rem;
	height: 9rem;
	right: -3rem;
	top: -4rem;
	background: var(--fcx-lilac);
	border-radius: 50%;
	opacity: 0.45;
}

.fcx-hero .fcx-container {
	position: relative;
	z-index: 1;
}

.fcx-hero__title {
	font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

/* Section headings: a clay bead before each title, colour cycles per section */
.fcx-section__head {
	border-bottom: 2px solid var(--fcx-ink);
}

.fcx-section__title {
	display: flex;
	align-items: center;
	gap: var(--fcx-s3);
}

.fcx-section__title::before {
	content: "";
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--fcx-coral);
}

.fcx-section:nth-of-type(5n + 2) .fcx-section__title::before { background: var(--fcx-mustard); border-radius: 30%; }
.fcx-section:nth-of-type(5n + 3) .fcx-section__title::before { background: var(--fcx-teal); border-radius: 50% 50% 0 0; }
.fcx-section:nth-of-type(5n + 4) .fcx-section__title::before { background: var(--fcx-lilac); }
.fcx-section:nth-of-type(5n + 5) .fcx-section__title::before { background: var(--fcx-blush); border-radius: 30%; box-shadow: inset 0 0 0 2px var(--fcx-ink); }

.fcx-section__link {
	color: var(--fcx-ink);
	font-weight: 700;
}

/* Cards */
.fcx-card {
	border: 2px solid var(--fcx-ink);
	box-shadow: 0 6px 0 rgba(39, 35, 58, 0.1);
}

.fcx-card:hover {
	box-shadow: 0 10px 0 rgba(39, 35, 58, 0.12);
	transform: translateY(-4px);
}

.fcx-card__media {
	border-bottom: 2px solid var(--fcx-ink);
}

.fcx-eyebrow {
	background: var(--fcx-second-soft);
	border-radius: 999px;
	color: var(--fcx-second);
	letter-spacing: 0.04em;
	padding: 0.2rem 0.65rem;
}

/* Start here steps */
.fcx-steps > li {
	border: 2px solid var(--fcx-ink);
	box-shadow: 0 5px 0 rgba(39, 35, 58, 0.08);
}

.fcx-steps > li::before {
	background: var(--fcx-mustard);
	color: var(--fcx-ink);
	font-weight: 800;
}

.fcx-steps > li:nth-child(4n + 2)::before { background: var(--fcx-blush); }
.fcx-steps > li:nth-child(4n + 3)::before { background: #bfe3dc; }
.fcx-steps > li:nth-child(4n + 4)::before { background: #d9d0f5; }

@media (min-width: 48em) {
	.fcx-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Call to action */
.fcx-cta {
	position: relative;
	overflow: hidden;
	background: var(--fcx-ink);
	border-radius: var(--fcx-radius-lg);
}

.fcx-cta::after {
	content: "";
	position: absolute;
	right: -3rem;
	bottom: -4rem;
	width: 11rem;
	height: 11rem;
	background: var(--fcx-coral);
	border-radius: 50%;
	opacity: 0.9;
	pointer-events: none;
}

.fcx-cta > * {
	position: relative;
	z-index: 1;
}

.fcx-cta__text {
	color: #e7e3f2;
}

.fcx-cta .fcx-button {
	background: var(--fcx-mustard);
	border-color: var(--fcx-mustard);
	color: var(--fcx-ink);
}

.fcx-cta .fcx-button:hover {
	background: #fff;
	border-color: #fff;
	color: var(--fcx-ink);
}

/* Article furniture */
.fcx-tutorial-facts,
.fcx-toc {
	border: 2px solid var(--fcx-ink);
}

.fcx-callout {
	border-width: 2px;
	border-left-width: 2px;
	border-color: var(--fcx-ink);
	border-radius: var(--fcx-radius);
}

.fcx-callout--tip {
	background: var(--fcx-second-soft);
	border-color: var(--fcx-ink);
	border-left-color: var(--fcx-ink);
}

.fcx-callout--tip .fcx-callout__title {
	color: var(--fcx-second);
}

.fcx-callout--warning {
	background: #fdf0cf;
	border-color: var(--fcx-ink);
	border-left-color: var(--fcx-ink);
}

.fcx-callout--warning .fcx-callout__title {
	color: #7a5406;
}

.fcx-callout__title::before {
	content: "";
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: currentColor;
}

.fcx-content figure img,
.fcx-article__figure img {
	border: 2px solid var(--fcx-ink);
	border-radius: var(--fcx-radius);
}

/* A wide table must scroll inside the column instead of widening the page. */
.fcx-layout {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 62em) {
	.fcx-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 20rem;
	}
}

.fcx-content th {
	background: var(--fcx-mustard);
	color: var(--fcx-ink);
}

/* Footer */
.fcx-site-footer {
	background: var(--fcx-paper-deep);
	border-top: 2px solid var(--fcx-ink);
}
