/* NICHO Trabalho · KIT O · Original */

:root {
	/* Visual "flutuando": sombras suaves no lugar das linhas de borda. */
	--float: 0 1px 2px rgba(12, 32, 51, .04), 0 10px 30px rgba(12, 32, 51, .08);
	--float-hover: 0 2px 4px rgba(12, 32, 51, .05), 0 20px 44px rgba(12, 32, 51, .13);
	--float-sm: 0 1px 2px rgba(12, 32, 51, .05), 0 4px 12px rgba(12, 32, 51, .07);
	--nx-ink: #1B1B1B;
	--nx-muted: #444444;
	--nx-line: #F0F0F0;
	--nx-line-strong: #E5E5E5;
	--nx-field: #999999;
	--nx-bg: #FAFAFA;
	--nx-white: #FFFFFF;
	--nx-font: Inter, Arial, sans-serif;
	--nx-gutter: 120px;
	--nx-tint-8: color-mix(in oklab, var(--nx-accent) 8%, #fff);
	--nx-tint-10: color-mix(in oklab, var(--nx-accent) 10%, #fff);
	--nx-tint-12: color-mix(in oklab, var(--nx-accent) 12%, #fff);
	--nx-tint-14: color-mix(in oklab, var(--nx-accent) 14%, #fff);
}

/* Título traduzido com palavra longa (ex.: alemão) quebra dentro da própria caixa em vez de vazar; com hífen nos idiomas de palavras compostas. */
h1, h2, h3, h4, h5, h6,
[class*="__title"] {
	overflow-wrap: anywhere;
}

:is(:lang(de), :lang(nl), :lang(sv), :lang(da), :lang(nb), :lang(no), :lang(fi), :lang(hu)) :is(h1, h2, h3, h4, h5, h6, [class*="__title"]) {
	hyphens: auto;
}

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

body.nx {
	margin: 0;
	background: var(--nx-bg);
	color: var(--nx-ink);
	font-family: var(--nx-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* :where() = prioridade mínima: estilos do próprio conteúdo (blocos, HTML) vencem */
:where(.nx) a {
	color: var(--nx-ink);
}

:where(.nx) a:hover {
	color: var(--nx-accent-ink);
}

:where(.nx) img {
	max-width: 100%;
	height: auto;
}

:where(.nx) h1,
:where(.nx) h2,
:where(.nx) h3,
:where(.nx) p {
	margin: 0;
}

.nx :focus-visible {
	outline: 2px solid var(--nx-accent-ink);
	outline-offset: 2px;
}

.nx-wrap {
	width: 100%;
	max-width: calc(1200px + var(--nx-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--nx-gutter);
}

.nx-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.nx-skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--nx-ink);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
}

.nx-skip:focus {
	top: 12px;
}

/* Botões e campos ------------------------------------------------------- */
.nx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--nx-accent);
	color: var(--nx-on-accent) !important;
	font: 700 15px/1 var(--nx-font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.nx-btn--lg {
	height: 56px;
	padding: 0 28px;
	font-size: 16px;
}

.nx-input {
	width: 100%;
	min-width: 0;
	height: 48px;
	padding: 0 20px;
	border: 0;
	box-shadow: var(--float-sm);
	border-radius: 999px;
	background: #fff;
	color: var(--nx-ink);
	font: 16px var(--nx-font);
}

.nx-input--lg {
	height: 56px;
}

.nx-field-row {
	display: flex;
	gap: 8px;
}

.nx-icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	box-shadow: var(--float-sm);
	border-radius: 22px;
	background: transparent;
	color: var(--nx-ink);
	cursor: pointer;
}

.nx-icon-btn:hover,
.nx-icon-btn[aria-expanded="true"] {
	border-color: var(--nx-ink);
}

/* Etiquetas e textos comuns --------------------------------------------- */
.nx-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nx-accent-ink);
}

.nx-h2 {
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-wrap: balance;
}

.nx-tag {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--nx-tint-14);
	color: var(--nx-accent-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
}

/* Ilustrações / mídia --------------------------------------------------- */
.nx-illus {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.nx-media__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.nx-tint-12 { background: var(--nx-tint-12); }

.nx-tint-16 { background: color-mix(in oklab, var(--nx-accent) 16%, #fff); }

.nx-tint-22 { background: color-mix(in oklab, var(--nx-accent) 22%, #fff); }

/* Cabeçalho ------------------------------------------------------------- */
.nx-header {
	position: relative;
	z-index: 20;
	background: #fff;
	box-shadow: 0 1px 0 rgba(12, 32, 51, .04), 0 6px 20px rgba(12, 32, 51, .06);
}

.nx-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	height: 84px;
}

.nx-logo {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--nx-ink) !important;
	text-decoration: none;
	white-space: nowrap;
}

.nx-logo__tag {
	padding: 0 6px;
	border-radius: 8px;
	background: var(--nx-accent);
	color: var(--nx-on-accent);
}

.nx-header__actions {
	display: flex;
	align-items: center;
	gap: 24px;
}

.nx-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: 15px;
	font-weight: 600;
}

.nx-nav a {
	padding: 8px 0;
	border-bottom: 2px solid transparent;
	text-decoration: none;
	white-space: nowrap;
}

.nx-nav a:hover,
.nx-nav a[aria-current="page"] {
	color: var(--nx-ink);
	border-bottom-color: var(--nx-accent);
}

.nx-header__menu {
	display: none;
}

.nx-search {
	padding: 16px 0;
	background: #fff;
}

.nx-search[hidden] {
	display: none;
}

.nx-search__form {
	display: flex;
	gap: 8px;
}

.nx-hero__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 32px;
	align-items: center;
}

.nx-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nx-chip {
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--nx-line);
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
}

.nx-chip:hover {
	background: var(--nx-tint-14);
}

.nx-section .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nx-tool {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	border: 0;
	box-shadow: var(--float);
	border-radius: 18px;
	background: #fff;
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nx-tool:hover {

	color: var(--nx-ink);
	transform: translateY(-3px);
	box-shadow: var(--float-hover);
}

.nx-tool__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 22px;
	background: var(--nx-tint-10);
	color: var(--nx-accent-ink);
}

.nx-tool__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.nx-tool__text {
	font-size: 14px;
	line-height: 1.5;
	color: var(--nx-muted);
}

.nx-tool__cta {
	margin-top: auto;
	padding-top: 4px;
	font-size: 14px;
	font-weight: 700;
	color: var(--nx-accent-ink);
}

@media (max-width: 860px) {
	.nx-tool {
		padding: 18px;
		transition: box-shadow .2s, transform .2s;
	}
}

/* Anúncio --------------------------------------------------------------- */
.nx-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0 16px 32px;
	background: #fff;
}

.nx-ad__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nx-muted);
}

/* FAQ ------------------------------------------------------------------- */
.nx-section .nx-faq {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
}

/* Rodapé ---------------------------------------------------------------- */
.nx-footer {
	padding: 72px 0 48px;
	background: var(--nx-ink);
	color: #CCCCCC;
}

.nx-footer .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.nx-footer__top {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 40px;
}

.nx-footer__brand {
	grid-column: span 4;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nx-footer__brand p {
	max-width: 340px;
	font-size: 15px;
	line-height: 1.6;
}

.nx-logo--footer {
	font-size: 28px;
	color: #fff !important;
}

.nx-logo--footer .nx-logo__tag {
	padding: 0 7px;
	border-radius: 9px;
}

.nx-footer__col {
	grid-column: span 3;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 15px;
}

.nx-footer__col--legal {
	grid-column: span 2;
}

.nx-footer__head {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
}

.nx-footer a {
	color: #CCCCCC;
	text-decoration: none;
}

.nx-footer a:hover {
	color: #fff;
}

.nx-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 32px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--nx-field);
}

.nx-footer__disclaimer {
	max-width: 1100px;
}

.nx-footer__copy {
	color: #CCCCCC;
}

/* Categoria: topo -------------------------------------------------------- */
.nx-cat-head {
	padding: 48px 0;
	background: #fff;
}

.nx-cat-head__inner {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* Trilha (breadcrumb): pílula com casinha no Início e setas como separador. */
.nx-crumbs {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 2px;
	max-width: 100%;
	padding: 4px 12px 4px 4px;
	border: 1px solid var(--nx-line);
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	line-height: 1.4;
	color: var(--nx-muted);
}

.nx-crumbs a {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	color: var(--nx-muted);
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

/* Níveis do meio (ex.: Ferramentas, Salários por cargo): encolhem com "…" quando a trilha não cabe, em vez de passar da tela no celular. */
.nx-crumbs a:not(:first-child) {
	display: block;
	flex-shrink: 1;
	min-width: 3em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.nx-crumbs a:hover {
	background: var(--nx-tint-10);
	color: var(--nx-accent-ink);
}

/* ícone de casinha no "Início" */
.nx-crumbs a:first-child::before {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 10.5 12 3l9 7.5%27/%3E%3Cpath d=%27M5.5 9v11h13V9%27/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 10.5 12 3l9 7.5%27/%3E%3Cpath d=%27M5.5 9v11h13V9%27/%3E%3C/svg%3E") center / contain no-repeat;
}

/* separador: seta no lugar da barra */
.nx-crumbs span[aria-hidden] {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	overflow: hidden;
	background: var(--nx-field);
	font-size: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m9 6 6 6-6 6%27/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m9 6 6 6-6 6%27/%3E%3C/svg%3E") center / contain no-repeat;
}

/* página atual: negrito; título longo termina em "…" */
.nx-crumbs [aria-current] {
	min-width: 0;
	overflow: hidden;
	padding: 4px 4px 4px 8px;
	font-weight: 600;
	color: var(--nx-ink);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.nx-cat-head__title {
	font-size: 56px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	text-wrap: balance;
}

.nx-cat-head__text {
	max-width: 760px;
	font-size: 19px;
	line-height: 1.6;
	color: var(--nx-muted);
}

.nx-row {
	display: flex;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid var(--nx-line);
}

.nx-row__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.nx-row__title a {
	text-decoration: none;
}

.nx-cat-list .nx-ad {
	padding: 24px 0;
	border-bottom: 1px solid var(--nx-line);
	background: transparent;
}

.nx-side-box {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	border: 0;
	box-shadow: var(--float);
	border-radius: 20px;
	background: #fff;
}

.nx-checklist {
	gap: 0;
}

.nx-cat-side .nx-ad {
	align-items: flex-start;
	padding: 0;
	background: transparent;
}

@media (max-width: 1320px) {
	/* Responsivo ------------------------------------------------------------ */
	:root {
		--nx-gutter: 48px;
	}

	.nx-nav {
		gap: 18px;
	}
}

@media (max-width: 1180px) {
	/* Menu vira painel sob o cabeçalho */
	.nx-header__menu {
		display: flex;
	}

	.nx-header__actions {
		gap: 10px;
	}

	.nx-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--nx-gutter) 20px;
		border-bottom: 1px solid var(--nx-line);
		background: #fff;
		font-size: 17px;
	}

	.nx-nav.is-open {
		display: flex;
	}

	.nx-nav a {
		padding: 14px 0;
		border-bottom: 1px solid var(--nx-line);
	}

	.nx-footer__brand {
		grid-column: 1 / -1;
	}

	.nx-footer__col,
	.nx-footer__col--legal {
		grid-column: span 4;
	}
}

@media (max-width: 860px) {
	:root {
		--nx-gutter: 24px;
	}

	.nx-header__inner {
		height: 68px;
		gap: 16px;
	}

	.nx-logo {
		font-size: 22px;
	}

	.nx-h2 {
		font-size: 30px;
	}

	.nx-footer {
		padding: 56px 0 40px;
	}

	.nx-footer__col,
	.nx-footer__col--legal {
		grid-column: span 6;
	}
}

@media (max-width: 560px) {
	.nx-field-row,
	.nx-search__form {
		flex-direction: column;
	}

	.nx-field-row .nx-btn,
	.nx-search__form .nx-btn {
		width: 100%;
	}

	.nx-footer__col,
	.nx-footer__col--legal {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1180px) {
	/* Responsivo · Categoria ------------------------------------------------ */
	.nx-cat-head__title {
		font-size: 46px;
	}
}

@media (max-width: 860px) {
	.nx-cat-head {
		padding: 32px 0;
	}

	.nx-cat-head__inner {
		gap: 16px;
	}

	.nx-cat-head__title {
		font-size: 34px;
	}

	.nx-cat-head__text {
		font-size: 17px;
	}

	.nx-row {
		gap: 16px;
	}

	.nx-row__title {
		font-size: 18px;
	}
}

@media (max-width: 560px) {
	.nx-row {
		padding: 18px 0;
	}

	.nx-row__title {
		font-size: 16px;
	}
}

/* Definições > CORES e LOGO --------------------------------------------- */
/* --nx-header-bg / --nx-header-ink só existem quando "Cor do topo" está preenchida; sem ela, vale o branco do design. */
.nx-btn:hover {
	filter: none;
	background: var(--nx-accent-hover);
	color: var(--nx-on-accent-hover) !important;
}

.nx-header,
.nx-header .nx-search {
	background: var(--nx-header-bg, #fff);
}

.nx-header .nx-logo,
.nx-header .nx-nav a,
.nx-header .nx-icon-btn {
	color: var(--nx-header-ink, var(--nx-ink)) !important;
}

.nx-header .nx-icon-btn {
	border-color: color-mix(in oklab, var(--nx-header-ink, var(--nx-ink)) 22%, transparent);
}

.nx-logo--img img {
	display: block;
	width: auto;
	height: auto;
	max-width: 200px;
	max-height: 44px;
}

/* Rodapé: a logo de Definições como foi enviada, sem fundo nem filtro */
.nx-logo--footer.nx-logo--img img {
	max-height: 40px;
}

.nx-footer__disclaimer p {
	margin: 0 0 8px;
}

.nx-footer__disclaimer p:last-child {
	margin-bottom: 0;
}

@media (max-width: 1180px) {
	.nx-header .nx-nav {
		background: var(--nx-header-bg, #fff);
	}
}

@media (max-width: 860px) {
	.nx-logo--img img {
		max-height: 36px;
		max-width: 160px;
	}
}

.nx-share {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	min-width: 180px;
	padding: 8px;
	border: 0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.nx-share[hidden] {
	display: none;
}

.nx-share a {
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.nx-share a:hover {
	background: var(--nx-bg);
}

/* Sumário */
.nx-toc {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px;
	border-radius: 16px;
	background: var(--nx-bg);
}

.nx-toc__title {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nx-toc a {
	padding: 10px 0 10px 14px;
	border-left: 2px solid var(--nx-line);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.nx-toc a.is-active {
	border-left-color: var(--nx-accent);
	font-weight: 700;
}

.nx-toc-inline {
	display: none;
}

/* Texto do post (the_content) */
.nx-content {
	font-size: 18px;
	line-height: 1.75;
	color: var(--nx-muted);
	overflow-wrap: break-word;
}

/* .nx .nx-content: vence o reset "p { margin: 0 }" da base do kit */
.nx-content > :where(*) {
	margin-top: 0;
	margin-bottom: 20px;
}

.nx-content > :where(*:last-child) {
	margin-bottom: 0;
}

:where(.nx-content) h2 {
	margin: 40px 0 12px;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--nx-ink);
	scroll-margin-top: 24px;
}

:where(.nx-content) h3 {
	margin: 32px 0 10px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--nx-ink);
}

:where(.nx-content) h4 {
	margin: 24px 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--nx-ink);
}

:where(.nx-content) strong {
	color: var(--nx-ink);
}

:where(.nx-content) a {
	color: var(--nx-accent-ink);
	font-weight: 600;
}

:where(.nx-content) ul,
:where(.nx-content) ol {
	padding-left: 24px;
}

:where(.nx-content) li + li {
	margin-top: 8px;
}

.nx-content img,
.nx-content video,
.nx-content iframe {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.nx-content figure {
	margin-left: 0;
	margin-right: 0;
}

.nx-content figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: var(--nx-muted);
}

:where(.nx-content) blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--nx-accent);
	font-size: 20px;
	color: var(--nx-ink);
}

.nx-content hr {
	border: 0;
	border-top: 1px solid var(--nx-line);
}

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

:where(.nx-content) table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	box-shadow: var(--float);
	font-size: 16px;
	line-height: 1.5;
	color: var(--nx-ink);
}

:where(.nx-content) th {
	padding: 14px 18px;
	background: var(--nx-ink);
	color: #fff;
	text-align: left;
}

:where(.nx-content) td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--nx-line);
}

:where(.nx-content) details {
	padding: 20px 0;
	border-bottom: 1px solid var(--nx-line);
}

:where(.nx-content) summary {
	font-size: 18px;
	font-weight: 700;
	color: var(--nx-ink);
	cursor: pointer;
}

/* Botões dos blocos ACF do tema (antes estilizados pelo CSS global) */
.nx-content .button,
.nx-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--nx-accent);
	color: var(--nx-btn-text, var(--nx-on-accent)) !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.nx-content .button:hover,
.nx-content .wp-block-button__link:hover {
	background: var(--nx-accent-hover);
	color: var(--nx-btn-text, var(--nx-on-accent-hover)) !important;
}

.nx-ad--inline {
	padding: 8px 0 !important;
	background: transparent !important;
}

@media (max-width: 1180px) {
	.nx-toc-inline {
		display: block;
		padding: 16px 20px;
		border-radius: 14px;
		background: var(--nx-bg);
	}

	.nx-toc-inline summary {
		font-size: 13px;
		font-weight: 800;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.nx-toc-inline nav {
		display: flex;
		flex-direction: column;
		margin-top: 8px;
	}

	.nx-toc-inline a {
		padding: 10px 0;
		border-bottom: 1px solid var(--nx-line);
		font-size: 15px;
		font-weight: 600;
		text-decoration: none;
	}
}

@media (max-width: 860px) {
	.nx-content {
		font-size: 17px;
	}

	.nx-content h2 {
		font-size: 25px;
	}
}

/* armadilha para robôs: fora da tela */
.nx-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* mensagens de envio */
.nx-alert {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px;
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.5;
}

.nx-alert--error {
	border: 0;
	box-shadow: var(--float);
	background: color-mix(in oklab, #dc2626 8%, #fff);
	color: #7f1d1d;
}

/* ferramenta sem página ainda */
.nx-tool.is-soon {
	cursor: default;
	transition: box-shadow .2s, transform .2s;
}

.nx-tool.is-soon:hover {

	transform: translateY(-3px);
	box-shadow: var(--float-hover);
}

.nx-tool.is-soon .nx-tool__cta {
	color: var(--nx-muted);
	font-weight: 600;
}

/* Busca: sugestões de artigos enquanto digita ------------------------------ */

.nx-suggest-host {
	position: relative;
}

.nx-suggest {
	position: absolute;
	z-index: 60;
	display: flex;
	flex-direction: column;
	max-height: min(420px, 70vh);
	overflow-y: auto;
	padding: 6px;
	border: 1px solid var(--nx-line-strong);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(27, 27, 27, 0.12);
	text-align: left;
}

.nx-suggest[hidden] {
	display: none;
}

.nx-suggest__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--nx-ink);
	text-decoration: none;
}

.nx-suggest__item:hover,
.nx-suggest__item.is-active,
.nx-suggest__all:hover,
.nx-suggest__all.is-active {
	background: var(--nx-tint-10);
}

.nx-suggest__img {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	object-fit: cover;
	background: var(--nx-line);
}

.nx-suggest__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nx-suggest__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nx-suggest__title mark {
	padding: 0 1px;
	border-radius: 3px;
	background: var(--nx-tint-14);
	color: var(--nx-accent-ink);
	font-weight: 800;
}

.nx-suggest__cat {
	font-size: 12px;
	font-weight: 600;
	color: var(--nx-muted);
}

.nx-suggest__empty {
	padding: 12px;
	font-size: 14px;
	color: var(--nx-muted);
}

.nx-suggest__all {
	margin-top: 4px;
	padding: 12px;
	border-top: 1px solid var(--nx-line);
	border-radius: 0 0 12px 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--nx-accent-ink);
	text-decoration: none;
}

/* Visual "flutuando" -------------------------------------------------------
   Botão principal com sombra na cor do site; botão redondo com sombra no hover; perguntas frequentes do texto em cartões. */
.nx-btn {
	box-shadow: 0 6px 18px color-mix(in oklab, var(--nx-accent) 30%, transparent);
	transition: background .15s, color .15s, box-shadow .2s, transform .2s;
}

.nx-btn:hover {
	box-shadow: 0 10px 26px color-mix(in oklab, var(--nx-accent) 42%, transparent);
	transform: translateY(-1px);
}

.nx-icon-btn {
	transition: box-shadow .2s, transform .2s;
}

.nx-icon-btn:hover,
.nx-icon-btn[aria-expanded="true"] {
	box-shadow: var(--float);
	transform: translateY(-1px);
}

.nx-content details {
	padding: 18px 22px;
	border-bottom: 0;
	border-radius: 14px;
	background: var(--nx-white, #fff);
	box-shadow: var(--float);
}

.nx-content details + details {
	margin-top: 12px;
}

/* RODAPÉ: espaços menores e celular centralizado (disclaimer com seta no topo do rodapé) */

.nx-footer {
	padding: 44px 0 30px;
}

.nx-footer__bottom {
	padding-top: 18px;
}

@media (max-width: 640px) {
	.nx-footer__top,
	.nx-footer__inner {
		text-align: center;
		justify-items: center;
		align-items: center;
	}

	.nx-footer__brand {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		text-align: center;
	}

	.nx-footer .nx-logo,
	.nx-footer .nx-logo-box {
		margin-left: auto;
		margin-right: auto;
		justify-content: center;
	}

	.nx-footer__cols {
		width: 100%;
		justify-items: center;
		justify-content: center;
		text-align: center;
	}

	.nx-footer__cols > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.nx-footer__col {
		align-items: center;
		text-align: center;
	}

	.nx-footer__bottom,
	.nx-footer__bottom .nx-wrap,
	.nx-footer__copy,
	.nx-footer__copy .nx-wrap {
		align-items: center;
		justify-content: center;
		text-align: center;
	}
}
