/*
 * Guia Completo Online: child theme styles.
 * Tokens mirror docs/DESIGN.md (Novamira design "guia-casa-pratica").
 */

@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
}

:root {
	--gco-bg: #f7f4ee;
	--gco-surface: #fffdfa;
	--gco-ink: #1f2925;
	--gco-body: #2c3632;
	--gco-muted: #5b6560;
	--gco-line: #ded8cf;
	--gco-line-strong: #858d88;
	--gco-accent: #ebc5b0;
	--gco-accent-soft: #f5e4da;
	--gco-accent-strong: #c98f73;
	--gco-link: #2f5e50;
	--gco-dark: #1c2421;
	--gco-font-display: "Newsreader", Georgia, "Times New Roman", serif;
	--gco-font-ui: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gco-radius-sm: 3px;
	--gco-radius-md: 6px;
	--gco-shadow: 0 1px 2px rgba(70, 52, 36, 0.05), 0 12px 32px -16px rgba(70, 52, 36, 0.18);
	--gco-wrap: 1200px;
	--gco-gutter: clamp(16px, 4vw, 40px);
	--gco-sticky-top: 1.5rem;
}

/* ---------- Base ---------- */

html {
	scroll-padding-top: 1rem;
}

body {
	background: var(--gco-bg);
	color: var(--gco-body);
	font-family: var(--gco-font-ui);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
.wp-block-post-title {
	font-family: var(--gco-font-display);
	font-weight: 450;
	color: var(--gco-ink);
	letter-spacing: -0.012em;
}

:focus-visible {
	outline: 2px solid var(--gco-link);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background: var(--gco-accent);
	color: var(--gco-ink);
}

.gco-icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

.gco-wrap {
	width: 100%;
	max-width: calc(var(--gco-wrap) + 2 * var(--gco-gutter));
	margin-inline: auto;
	padding-inline: var(--gco-gutter);
	box-sizing: border-box;
}

.gco-eyebrow,
p.gco-eyebrow {
	font-family: var(--gco-font-ui);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-ink);
	margin: 0 0 1rem;
}

.gco-eyebrow a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--gco-accent-strong);
	padding-bottom: 2px;
}

.gco-eyebrow a:hover {
	border-bottom-color: var(--gco-ink);
}

/* Buttons: one style everywhere (core buttons, theme buttons, Kadence form submit) */
.gco-btn,
.wp-block-button__link,
.wp-element-button,
.kb-adv-form-submit-button,
.kb-button.kb-btn-global-fill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 1.6rem;
	border: 1px solid var(--gco-ink);
	border-radius: var(--gco-radius-sm);
	background: var(--gco-ink);
	color: var(--gco-bg);
	font-family: var(--gco-font-ui);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.gco-btn:hover,
.gco-btn:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.wp-element-button:hover,
.kb-adv-form-submit-button:hover {
	background: #33403b;
	color: var(--gco-bg);
}

.gco-btn:active,
.wp-block-button__link:active {
	transform: translateY(1px);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--gco-ink);
	border: 1px solid var(--gco-ink);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--gco-ink);
	color: var(--gco-bg);
}

.wp-block-button.gco-btn-arrow .wp-block-button__link::after,
.gco-btn-arrow .wp-block-button__link::after {
	content: "";
	width: 18px;
	height: 10px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.gco-link-arrow,
.gco-link-arrow a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--gco-font-ui);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-ink);
	text-decoration: none;
}

p.gco-link-arrow a::after {
	content: "";
	width: 20px;
	height: 10px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform 0.15s ease;
}

.gco-link-arrow:hover,
.gco-link-arrow a:hover {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.gco-link-arrow:hover a::after,
.gco-link-arrow a:hover::after {
	transform: translateX(3px);
}

/* Breadcrumbs */
.gco-breadcrumbs {
	font-size: 0.82rem;
	color: var(--gco-muted);
	margin: 0 0 1.5rem;
	line-height: 1.5;
}

.gco-breadcrumbs a {
	color: var(--gco-muted);
	text-decoration: none;
}

.gco-breadcrumbs a:hover {
	color: var(--gco-ink);
	text-decoration: underline;
}

.gco-breadcrumbs .breadcrumb_last {
	color: var(--gco-ink);
}

/* Chips */
.gco-chips {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.gco-chips a {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--gco-line-strong);
	border-radius: 999px;
	font-size: 0.88rem;
	color: var(--gco-ink);
	text-decoration: none;
	background: var(--gco-surface);
}

.gco-chips a:hover {
	border-color: var(--gco-ink);
}

/* ---------- Search form ---------- */

.gco-search {
	margin-top: 1.5rem;
	max-width: 560px;
}

.gco-search__label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gco-ink);
	margin-bottom: 0.4rem;
}

.gco-search__row {
	display: flex;
	gap: 0;
}

.gco-search__input {
	flex: 1;
	min-width: 0;
	padding: 0.85rem 1rem;
	border: 1px solid var(--gco-line-strong);
	border-right: 0;
	border-radius: var(--gco-radius-sm) 0 0 var(--gco-radius-sm);
	background: var(--gco-surface);
	color: var(--gco-ink);
	font: inherit;
	font-size: 1rem;
}

.gco-search__input::placeholder {
	color: var(--gco-muted);
	opacity: 1;
}

.gco-search__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0 1.2rem;
	border: 1px solid var(--gco-ink);
	border-radius: 0 var(--gco-radius-sm) var(--gco-radius-sm) 0;
	background: var(--gco-ink);
	color: var(--gco-bg);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

.gco-search__btn:hover {
	background: #33403b;
}

/* ---------- Cards (theme cards + Query Loop cards share one look) ---------- */

.gco-card-grid,
.wp-block-post-template.gco-cards {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.gco-card,
.gco-cards > .wp-block-post {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--gco-surface);
	border: 1px solid var(--gco-line);
	border-radius: var(--gco-radius-md);
	box-shadow: var(--gco-shadow);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gco-card:hover,
.gco-cards > .wp-block-post:hover {
	box-shadow: 0 1px 2px rgba(70, 52, 36, 0.06), 0 18px 40px -18px rgba(70, 52, 36, 0.28);
}

.gco-card__media,
.gco-cards .wp-block-post-featured-image {
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	background: var(--gco-accent-soft);
}

.gco-card__media img,
.gco-cards .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gco-card__body,
.gco-cards .gco-qcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.35rem 1.2rem;
	gap: 0;
}

.gco-card__cat,
.gco-cards .wp-block-post-terms {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-ink);
	margin: 0 0 0.65rem;
}

.gco-cards .wp-block-post-terms a {
	position: relative;
	z-index: 2;
	color: inherit;
	text-decoration: none;
}

.gco-cards .wp-block-post-terms a:hover {
	text-decoration: underline;
}

.gco-card__title,
.gco-cards .wp-block-post-title {
	font-family: var(--gco-font-display);
	font-size: 1.45rem;
	font-weight: 450;
	line-height: 1.18;
	margin: 0 0 0.6rem;
}

.gco-card__title a,
.gco-cards .wp-block-post-title a {
	color: var(--gco-ink);
	text-decoration: none;
}

.gco-card__title a::after,
.gco-cards .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.gco-card__title a:hover,
.gco-card__title a:focus-visible,
.gco-cards .wp-block-post-title a:hover,
.gco-cards .wp-block-post-title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.14em;
}

.gco-card__title a:focus-visible,
.gco-cards .wp-block-post-title a:focus-visible {
	outline: none;
}

.gco-card:focus-within,
.gco-cards > .wp-block-post:focus-within {
	outline: 2px solid var(--gco-link);
	outline-offset: 3px;
}

.gco-card__excerpt,
.gco-cards .wp-block-post-excerpt,
.gco-cards .wp-block-post-excerpt__excerpt {
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--gco-body);
	margin: 0 0 1.1rem;
}

.gco-card__meta,
.gco-cards .wp-block-post-time-to-read {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-ink);
}

.gco-cards .wp-block-post-time-to-read::after {
	content: "";
	width: 20px;
	height: 10px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.gco-card__arrow .gco-icon {
	width: 20px;
	height: 20px;
}

/* ---------- Guide (single post) ---------- */

.gco-article-area {
	padding-bottom: 0;
}

.gco-article__header {
	padding-top: clamp(1.5rem, 4vw, 3rem);
	text-align: center;
}

.gco-wrap--head {
	max-width: 900px;
}

.gco-article__header .gco-breadcrumbs {
	display: flex;
	justify-content: center;
}

.gco-article__title {
	font-size: clamp(2.1rem, 1.3rem + 3.1vw, 3.35rem);
	line-height: 1.08;
	margin: 0 auto 1.1rem;
	max-width: 22ch;
	text-wrap: balance;
}

.gco-article__dek {
	font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.55;
	color: var(--gco-body);
	max-width: 58ch;
	margin: 0 auto 1.4rem;
	text-wrap: pretty;
}

.gco-article__meta {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 0;
	font-size: 0.9rem;
	color: var(--gco-muted);
}

.gco-article__meta li {
	padding: 0 0.9rem;
}

.gco-article__meta li + li {
	border-left: 1px solid var(--gco-line-strong);
}

.gco-article__meta a {
	color: var(--gco-ink);
	font-weight: 600;
	text-decoration: none;
}

.gco-article__meta a:hover {
	text-decoration: underline;
}

.gco-article__hero {
	max-width: calc(1100px + 2 * var(--gco-gutter));
	margin: clamp(1.75rem, 4vw, 2.75rem) auto 0;
}

.gco-article__hero img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--gco-radius-md);
}

.gco-article__hero figcaption {
	margin-top: 0.6rem;
	font-size: 0.85rem;
	color: var(--gco-muted);
	text-align: center;
}

.gco-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "toc" "body";
	gap: 0;
	padding-top: clamp(1.75rem, 4vw, 3rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.gco-article__rail {
	display: none;
	grid-area: rail;
}

.gco-article__toc {
	grid-area: toc;
	margin-bottom: 1.75rem;
}

.gco-article__body {
	grid-area: body;
	min-width: 0;
	max-width: 720px;
	width: 100%;
	justify-self: center;
}

@media (min-width: 1000px) {
	.gco-article__layout {
		grid-template-columns: minmax(0, 720px) 236px;
		grid-template-areas: "body toc";
		column-gap: 3.5rem;
		justify-content: center;
	}

	.gco-article__toc {
		margin-bottom: 0;
	}

	.gco-article__toc .gco-toc {
		position: sticky;
		top: var(--gco-sticky-top);
		max-height: calc(100vh - 2 * var(--gco-sticky-top));
		overflow: auto;
	}

	.gco-article:not(.has-toc) .gco-article__layout {
		grid-template-columns: minmax(0, 720px);
		grid-template-areas: "body";
	}
}

@media (min-width: 1240px) {
	.gco-article__layout {
		grid-template-columns: 52px minmax(0, 720px) 244px;
		grid-template-areas: "rail body toc";
		column-gap: 3.5rem;
	}

	.gco-article:not(.has-toc) .gco-article__layout {
		grid-template-columns: 52px minmax(0, 720px) 244px;
		grid-template-areas: "rail body .";
	}

	.gco-article__rail {
		display: block;
	}

	.gco-article__rail .gco-share {
		position: sticky;
		top: var(--gco-sticky-top);
	}
}

/* Table of contents */
.gco-toc {
	font-size: 0.93rem;
	line-height: 1.4;
}

.gco-toc__summary {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-ink);
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.gco-toc__summary::-webkit-details-marker {
	display: none;
}

.gco-toc__summary::after {
	content: "";
	width: 10px;
	height: 10px;
	border: solid var(--gco-ink);
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform 0.15s ease;
}

.gco-toc[open] > .gco-toc__summary::after {
	transform: rotate(-135deg) translate(-2px, -2px);
}

.gco-toc__list,
.gco-toc__sub {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gco-toc__list {
	margin-top: 0.9rem;
	border-left: 1px solid var(--gco-line);
}

.gco-toc__list a {
	display: block;
	padding: 0.4rem 0 0.4rem 1rem;
	margin-left: -1px;
	border-left: 2px solid transparent;
	color: var(--gco-muted);
	text-decoration: none;
}

.gco-toc__sub a {
	padding-left: 1.9rem;
	font-size: 0.88rem;
}

.gco-toc__list a:hover {
	color: var(--gco-ink);
}

.gco-toc__list a.is-active,
.gco-toc__list a[aria-current="true"] {
	color: var(--gco-ink);
	font-weight: 600;
	border-left-color: var(--gco-ink);
}

@media (max-width: 999px) {
	.gco-toc {
		background: var(--gco-surface);
		border: 1px solid var(--gco-line);
		border-radius: var(--gco-radius-md);
		padding: 0.95rem 1.1rem;
		max-width: 720px;
		margin-inline: auto;
	}

	.gco-toc__summary {
		min-height: 28px;
	}
}

/* Share */
.gco-share__title {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-ink);
	margin: 0 0 0.75rem;
}

.gco-share__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.gco-share--rail .gco-share__title {
	writing-mode: horizontal-tb;
	font-size: 0.62rem;
	letter-spacing: 0.1em;
	text-align: center;
}

.gco-share--rail .gco-share__list {
	flex-direction: column;
	align-items: center;
}

.gco-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--gco-line);
	border-radius: 50%;
	background: var(--gco-surface);
	color: var(--gco-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
	padding: 0;
}

.gco-share__btn:hover,
.gco-share__btn:focus-visible {
	border-color: var(--gco-ink);
	background: var(--gco-accent-soft);
}

.gco-share__btn .gco-icon {
	width: 18px;
	height: 18px;
}

.gco-share__native[hidden] {
	display: none;
}

.gco-share__status {
	font-size: 0.85rem;
	color: var(--gco-link);
	min-height: 1.2em;
	margin: 0.5rem 0 0;
}

.gco-share--rail .gco-share__status {
	font-size: 0.7rem;
	text-align: center;
}

/* Reading column */
.gco-article__body {
	font-size: 1.125rem;
	line-height: 1.72;
	color: var(--gco-body);
}

.gco-article__body > * {
	margin-top: 0;
}

.gco-article__body p,
.gco-article__body ul,
.gco-article__body ol {
	margin-bottom: 1.3em;
}

.gco-article__body h2 {
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.05rem);
	line-height: 1.15;
	margin: 2.3em 0 0.7em;
	scroll-margin-top: 1rem;
}

.gco-article__body h3 {
	font-size: clamp(1.28rem, 1.15rem + 0.5vw, 1.5rem);
	line-height: 1.22;
	margin: 1.9em 0 0.55em;
	scroll-margin-top: 1rem;
}

.gco-article__body h4 {
	font-family: var(--gco-font-ui);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	margin: 1.6em 0 0.4em;
}

.gco-article__body > h2:first-child,
.gco-article__body > .wp-block-group:first-child {
	margin-top: 0;
}

.gco-article__body a:not(.wp-block-button__link):not(.gco-share__btn) {
	color: var(--gco-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.gco-article__body a:not(.wp-block-button__link):not(.gco-share__btn):hover {
	color: var(--gco-ink);
	text-decoration-color: var(--gco-accent-strong);
	text-decoration-thickness: 2px;
}

.gco-article__body ul,
.gco-article__body ol {
	padding-left: 1.3em;
}

.gco-article__body li {
	margin-bottom: 0.45em;
}

.gco-article__body li::marker {
	color: var(--gco-accent-strong);
	font-weight: 700;
}

.gco-article__body strong {
	color: var(--gco-ink);
	font-weight: 650;
}

.gco-article__body figure {
	margin: 2rem 0;
}

.gco-article__body figure img {
	border-radius: var(--gco-radius-md);
	height: auto;
}

.gco-article__body figcaption,
.gco-article__body .wp-element-caption {
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--gco-muted);
	margin-top: 0.55rem;
	text-align: left;
}

.gco-article__body blockquote,
.gco-article__body .wp-block-quote {
	margin: 2rem 0;
	padding: 0.2rem 0 0.2rem 1.4rem;
	border-left: 3px solid var(--gco-accent-strong);
	font-family: var(--gco-font-display);
	font-size: 1.3rem;
	line-height: 1.45;
	color: var(--gco-ink);
}

.gco-article__body hr,
.gco-article__body .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--gco-line);
	margin: 2.5rem 0;
}

/* Tables: scroll inside their own container */
.gco-article__body .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 2rem 0;
	border: 1px solid var(--gco-line);
	border-radius: var(--gco-radius-md);
	background: var(--gco-surface);
}

.gco-article__body .wp-block-table table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 0.98rem;
	line-height: 1.5;
	margin: 0;
}

.gco-article__body .wp-block-table th,
.gco-article__body .wp-block-table td {
	padding: 0.8rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--gco-line);
	text-align: left;
	vertical-align: top;
}

.gco-article__body .wp-block-table thead th,
.gco-article__body .wp-block-table thead {
	background: var(--gco-accent-soft);
	color: var(--gco-ink);
	font-weight: 700;
	border-bottom: 1px solid var(--gco-accent-strong);
}

.gco-article__body .wp-block-table tbody tr:last-child td {
	border-bottom: 0;
}

.gco-article__body .wp-block-table figcaption {
	padding: 0 1rem 0.8rem;
}

/* End of guide */
.gco-article__end {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--gco-line);
	display: grid;
	gap: 2rem;
}

.gco-sources__title {
	font-size: 1.4rem;
	margin: 0 0 0.75rem;
}

.gco-sources__list {
	margin: 0;
	padding-left: 1.3em;
	font-size: 0.95rem;
	line-height: 1.55;
}

.gco-sources__list li {
	margin-bottom: 0.4em;
}

.gco-update-note {
	font-size: 0.95rem;
	line-height: 1.55;
	padding: 0.9rem 1.1rem;
	border: 1px solid var(--gco-line);
	border-radius: var(--gco-radius-md);
	background: var(--gco-surface);
}

.gco-update-note p {
	margin: 0;
}

.gco-author {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 1.1rem;
	padding: 1.4rem;
	background: var(--gco-surface);
	border: 1px solid var(--gco-line);
	border-radius: var(--gco-radius-md);
}

.gco-author__mono {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--gco-accent);
	color: var(--gco-ink);
	font-family: var(--gco-font-display);
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gco-author__eyebrow {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-muted);
	margin: 0 0 0.2rem !important;
}

.gco-author__name {
	font-family: var(--gco-font-display);
	font-size: 1.4rem;
	line-height: 1.2;
	margin: 0 0 0.5rem !important;
}

.gco-article__body .gco-author__name a {
	color: var(--gco-ink);
	text-decoration: none;
}

.gco-author__bio {
	font-size: 0.98rem;
	line-height: 1.6;
	margin: 0 0 0.6rem !important;
}

.gco-author__links {
	font-size: 0.92rem;
	margin: 0 !important;
}

/* Related */
.gco-related {
	background: var(--gco-surface);
	border-top: 1px solid var(--gco-line);
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.gco-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-bottom: 1.75rem;
}

.gco-section-title,
h2.gco-section-title,
.single-content h2.gco-section-title {
	font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem);
	line-height: 1.08;
	margin: 0;
}

.gco-section-head {
	align-items: center !important;
}

.gco-section-head p {
	margin: 0;
}

/* ---------- Archives, search, 404 ---------- */

.gco-archive__header {
	padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
	border-bottom: 1px solid var(--gco-line);
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.gco-archive__head {
	display: grid;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 900px) {
	.gco-archive__header.has-media .gco-archive__head {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		gap: 4rem;
	}
}

.gco-archive__title {
	font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem);
	line-height: 1.05;
	margin: 0 0 1rem;
	text-wrap: balance;
}

.gco-archive__intro {
	font-size: 1.1rem;
	line-height: 1.6;
	max-width: 60ch;
	color: var(--gco-body);
}

.gco-archive__intro p:last-child {
	margin-bottom: 0;
}

.gco-archive__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--gco-radius-md);
	display: block;
}

.gco-archive__body {
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.gco-archive__count {
	font-size: 0.9rem;
	color: var(--gco-muted);
	margin: 0 0 1.25rem;
}

.gco-empty {
	max-width: 640px;
	padding: 2rem;
	background: var(--gco-surface);
	border: 1px solid var(--gco-line);
	border-radius: var(--gco-radius-md);
}

.gco-empty__title {
	font-size: 1.6rem;
	margin: 0 0 0.6rem;
}

.gco-pagination {
	margin-top: 3rem;
}

.gco-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
}

.gco-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-width: 44px;
	height: 44px;
	padding: 0 0.9rem;
	justify-content: center;
	border: 1px solid var(--gco-line);
	border-radius: var(--gco-radius-sm);
	background: var(--gco-surface);
	color: var(--gco-ink);
	text-decoration: none;
	font-size: 0.95rem;
}

.gco-pagination .page-numbers.current {
	background: var(--gco-ink);
	border-color: var(--gco-ink);
	color: var(--gco-bg);
}

.gco-pagination a.page-numbers:hover {
	border-color: var(--gco-ink);
}

.gco-404 {
	padding: clamp(1rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.gco-404__head {
	max-width: 680px;
	margin-bottom: 3.5rem;
}

.gco-404__text {
	font-size: 1.1rem;
	line-height: 1.6;
}

.gco-404__recent .gco-section-title {
	margin-bottom: 1.5rem;
}

.gco-404 .gco-btn {
	margin-top: 1.25rem;
}

.gco-404 .gco-btn .gco-icon {
	width: 18px;
	height: 18px;
}

/* ---------- Pages (Sobre, Contato, Política editorial) ----------
 * Scoped to direct children of the content so homepage components and
 * patterns inside pages keep their own styles. */

body.page:not(.gco-front) .entry-header {
	text-align: left;
}

body.page:not(.gco-front) .entry-title {
	font-size: clamp(2.3rem, 1.5rem + 3vw, 3.4rem);
	line-height: 1.06;
}

body.page:not(.gco-front) .entry-content > p,
body.page:not(.gco-front) .entry-content > ul,
body.page:not(.gco-front) .entry-content > ol {
	font-size: 1.125rem;
	line-height: 1.72;
}

body.page:not(.gco-front) .entry-content > p a,
body.page:not(.gco-front) .entry-content > ul li a,
body.page:not(.gco-front) .entry-content > ol li a {
	color: var(--gco-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

body.page:not(.gco-front) .entry-content > h2 {
	font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem);
	margin: 2.2em 0 0.6em;
}

.gco-page-lead,
body.page .entry-content > p.gco-page-lead {
	font-size: 1.25rem;
	line-height: 1.6;
	color: var(--gco-ink);
}

.gco-page-note {
	font-size: 0.95rem;
	padding: 1rem 1.2rem;
	border-left: 3px solid var(--gco-accent-strong);
	background: var(--gco-accent-soft);
	border-radius: var(--gco-radius-md);
}

/* ---------- Homepage sections (block classes) ---------- */

.gco-front .content-container,
.gco-front .entry-content-wrap {
	padding: 0;
}

.gco-front .entry-content > .alignfull {
	margin-left: 0;
	margin-right: 0;
}

.gco-home .wp-block-group__inner-container > * {
	margin-top: 0;
	margin-bottom: 0;
}

.gco-section {
	max-width: calc(var(--gco-wrap) + 2 * var(--gco-gutter));
	margin-inline: auto !important;
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--gco-gutter) 0;
	box-sizing: border-box;
}

.gco-section-lead {
	font-size: 1.08rem;
	line-height: 1.6;
	color: var(--gco-body);
	max-width: 60ch;
	margin: 0.75rem 0 1.75rem;
}

/* Hero */
.gco-hero {
	position: relative;
	padding: clamp(1.5rem, 4vw, 3rem) var(--gco-gutter) clamp(2.5rem, 5vw, 4rem);
	overflow: hidden;
}

.gco-hero .wp-block-columns {
	max-width: var(--gco-wrap);
	margin: 0 auto;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.gco-hero__text .gco-eyebrow {
	margin-bottom: 1.4rem;
}

.gco-hero__title,
h1.gco-hero__title,
.single-content h1.gco-hero__title {
	font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin: 0 0 1.5rem;
	text-wrap: balance;
}

.gco-hero__lead {
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
	line-height: 1.6;
	color: var(--gco-body);
	max-width: 38ch;
	margin: 0 0 2rem;
}

.gco-hero__media {
	position: relative;
}

.gco-hero__media::before {
	content: "";
	position: absolute;
	top: 8%;
	right: -8%;
	width: 46%;
	height: 70%;
	background: var(--gco-accent);
	opacity: 0.55;
	border-radius: 48% 52% 44% 56% / 38% 46% 54% 62%;
	z-index: 0;
}

.gco-hero__main {
	position: relative;
	z-index: 1;
	margin: 0 0 0 auto !important;
	width: min(540px, 100%);
}

.gco-hero__main img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--gco-radius-md);
}

.gco-hero__detail {
	position: absolute !important;
	z-index: 2;
	right: calc(min(540px, 100%) - 96px);
	bottom: -28px;
	width: 36%;
	max-width: 210px;
	margin: 0 !important;
	padding: 8px;
	background: var(--gco-surface);
	box-shadow: var(--gco-shadow);
	transform: rotate(-2.5deg);
}

.gco-hero__detail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

@media (max-width: 781px) {
	.gco-hero .wp-block-columns {
		gap: 2rem;
	}

	.gco-hero__main {
		width: 100%;
		max-width: none;
	}

	.gco-hero__main img {
		aspect-ratio: 4 / 3;
	}

	.gco-hero__detail {
		width: 32%;
		right: 4%;
		bottom: -8%;
	}

	.gco-hero__media::before {
		display: none;
	}
}

/* Topics section */
.gco-topics-section .gco-topics {
	margin-top: 0.25rem;
}

/* Publication (about) split */
.gco-about {
	max-width: calc(var(--gco-wrap) + 2 * var(--gco-gutter));
	margin: clamp(3rem, 7vw, 5.5rem) auto 0 !important;
	padding: 0 var(--gco-gutter);
	box-sizing: border-box;
}

.gco-about .wp-block-columns {
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
	margin: 0;
}

.gco-about__media figure {
	margin: 0;
}

.gco-about__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--gco-radius-md);
}

.gco-about__text h2,
.single-content .gco-about__text h2 {
	font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
	line-height: 1.06;
	margin: 0 0 1.25rem;
}

.gco-about__text p {
	font-size: 1.08rem;
	line-height: 1.65;
}

.gco-principles {
	list-style: none;
	margin: 2rem 0 !important;
	padding: 1.25rem 0 0 !important;
	border-top: 1px solid var(--gco-line);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.gco-principles li {
	padding: 0 1.2rem;
	font-size: 0.92rem !important;
	line-height: 1.45;
	color: var(--gco-body);
}

.gco-principles li:first-child {
	padding-left: 0;
}

.gco-principles li + li {
	border-left: 1px solid var(--gco-line);
}

.gco-principles strong {
	display: block;
	font-family: var(--gco-font-display);
	font-weight: 450;
	font-size: 1.3rem;
	line-height: 1.15;
	color: var(--gco-ink);
	margin-bottom: 0.35rem;
}

@media (max-width: 600px) {
	.gco-principles {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.gco-principles li,
	.gco-principles li:first-child {
		padding: 0;
	}

	.gco-principles li + li {
		border-left: 0;
		border-top: 1px solid var(--gco-line);
		padding-top: 1rem;
	}
}

/* Recent list (row layout, different from the card grid) */
.wp-block-post-template.gco-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
	gap: 0 3rem;
}

.gco-list > .wp-block-post {
	position: relative;
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 1.1rem;
	align-items: center;
	padding: 1.2rem 0;
	border-top: 1px solid var(--gco-line);
	margin: 0;
}

.gco-list .wp-block-post-featured-image {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--gco-radius-md);
	background: var(--gco-accent-soft);
}

.gco-list .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gco-list .wp-block-post-terms {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 0.35rem;
}

.gco-list .wp-block-post-terms a {
	position: relative;
	z-index: 2;
	color: var(--gco-ink);
	text-decoration: none;
}

.gco-list .wp-block-post-title {
	font-size: 1.28rem;
	line-height: 1.2;
	margin: 0 0 0.35rem;
}

.gco-list .wp-block-post-title a {
	color: var(--gco-ink);
	text-decoration: none;
}

.gco-list .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.gco-list .wp-block-post-title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.gco-list .wp-block-post-time-to-read {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-muted);
}

.gco-list > .wp-block-post:focus-within {
	outline: 2px solid var(--gco-link);
	outline-offset: 2px;
}

/* Dark band */
.gco-band.wp-block-cover {
	margin-top: clamp(3.5rem, 8vw, 6rem) !important;
	margin-bottom: 0 !important;
	padding: clamp(3rem, 7vw, 5rem) var(--gco-gutter) !important;
	min-height: 380px;
}

.gco-band .wp-block-cover__inner-container {
	max-width: var(--gco-wrap);
	width: 100%;
	margin: 0 auto;
}

.gco-band__inner {
	max-width: 560px;
}

.gco-band h2,
.single-content .gco-band h2 {
	color: var(--gco-bg);
	font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
	line-height: 1.06;
	margin: 0 0 1rem;
}

.gco-band p {
	color: #e9e3da;
	font-size: 1.08rem;
	line-height: 1.6;
	margin: 0 0 1.75rem;
}

.gco-band .wp-block-search__label {
	color: var(--gco-bg);
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.45rem;
}

.gco-band .wp-block-search__inside-wrapper {
	border: 0;
	padding: 0;
	gap: 0;
	max-width: 520px;
}

.gco-band .wp-block-search__input {
	border: 1px solid transparent;
	border-radius: var(--gco-radius-sm) 0 0 var(--gco-radius-sm);
	background: var(--gco-surface);
	color: var(--gco-ink);
	padding: 0.9rem 1rem;
	font-size: 1rem;
	min-width: 0;
}

.gco-band .wp-block-search__input::placeholder {
	color: var(--gco-muted);
	opacity: 1;
}

.gco-band .wp-block-search__button {
	margin: 0;
	border-radius: 0 var(--gco-radius-sm) var(--gco-radius-sm) 0;
	background: var(--gco-accent);
	border-color: var(--gco-accent);
	color: var(--gco-ink);
}

.gco-band .wp-block-search__button:hover {
	background: #f1d3c2;
	color: var(--gco-ink);
}

/* ---------- Header (Kadence) ---------- */

.site-header {
	--gco-nav-size: 0.78rem;
}

#masthead .site-main-header-wrap .site-header-row-container-inner {
	border-bottom: 1px solid var(--gco-line);
}

.site-branding .site-title,
.site-branding a.brand .site-title {
	font-family: var(--gco-font-display) !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gco-ink);
	line-height: 1.05;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a {
	font-family: var(--gco-font-ui);
	font-size: var(--gco-nav-size);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-ink);
	position: relative;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a::after {
	content: "";
	position: absolute;
	left: var(--global-md-spacing, 1rem);
	right: var(--global-md-spacing, 1rem);
	bottom: 0.9em;
	height: 1px;
	background: var(--gco-ink);
	transform: scaleX(0);
	transition: transform 0.18s ease;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover::after,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
.main-navigation .primary-menu-container > ul > li.current_page_parent > a::after,
.main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.search-toggle-open,
.menu-toggle-open {
	color: var(--gco-ink) !important;
}

#search-drawer .drawer-inner {
	background: rgba(28, 36, 33, 0.96);
}

#search-drawer .drawer-inner .search-form input.search-field {
	font-family: var(--gco-font-display);
}

#mobile-drawer .drawer-inner {
	background: var(--gco-bg);
}

#mobile-drawer .mobile-navigation ul li a {
	font-family: var(--gco-font-display);
	font-size: 1.5rem;
	color: var(--gco-ink);
}

/* ---------- Footer (Kadence widgets) ---------- */

.site-footer {
	border-top: 1px solid var(--gco-line);
	background: var(--gco-bg);
}

.site-footer .widget-title,
.site-footer h2.widget-title,
.site-footer .wp-block-heading {
	font-family: var(--gco-font-ui);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gco-ink);
	margin: 0 0 1rem;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer li {
	margin: 0 0 0.55rem;
	font-size: 0.95rem;
}

.site-footer a {
	color: var(--gco-body);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--gco-ink);
	text-decoration: underline;
}

.gco-footer-brand {
	font-family: var(--gco-font-display);
	font-size: 1.35rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gco-ink);
	margin: 0 0 0.6rem;
}

.gco-footer-desc {
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--gco-body);
	max-width: 32ch;
}

.site-footer .site-bottom-footer-wrap {
	font-size: 0.85rem;
	color: var(--gco-muted);
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Specificity over Kadence content links ---------- */

.entry-content .gco-cards .wp-block-post-title a,
.entry-content .gco-list .wp-block-post-title a,
.entry-content .gco-card__title a,
.gco-card-grid .gco-card__title a {
	color: var(--gco-ink);
	text-decoration: none;
}

.entry-content .gco-cards .wp-block-post-title a:hover,
.entry-content .gco-list .wp-block-post-title a:hover,
.gco-card-grid .gco-card__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.14em;
}

.entry-content .gco-cards .wp-block-post-terms a,
.entry-content .gco-list .wp-block-post-terms a,
.entry-content .gco-link-arrow a,
.entry-content .gco-topic__link,
.entry-content .gco-topic__subs a {
	color: var(--gco-ink);
	text-decoration: none;
}

.entry-content .gco-link-arrow a:hover {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.entry-content .gco-cards,
.entry-content .gco-list {
	padding-left: 0;
	margin-left: 0;
}

.entry-content .gco-cards > li,
.entry-content .gco-list > li {
	list-style: none;
}

.entry-content .gco-share__list,
.entry-content .gco-topics__list,
.entry-content .gco-topic__subs,
.entry-content .gco-chips,
.entry-content .gco-principles {
	padding-left: 0;
	margin-left: 0;
}

.entry-content .gco-share__list > li,
.entry-content .gco-topics__list > li,
.entry-content .gco-topic__subs > li,
.entry-content .gco-principles > li {
	margin-top: 0;
	margin-bottom: 0;
	list-style: none;
}

.gco-article__body .gco-author__name a,
.gco-article__body .gco-author__name a:hover {
	color: var(--gco-ink);
	text-decoration: none;
}

.gco-article__body .gco-author__name a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.gco-band .wp-block-search .wp-block-search__button,
.gco-band .wp-block-search__button.wp-element-button {
	background: var(--gco-accent);
	border: 1px solid var(--gco-accent);
	color: var(--gco-ink);
	padding: 0 1.3rem;
}

.gco-band .wp-block-search .wp-block-search__button:hover {
	background: #f1d3c2;
	border-color: #f1d3c2;
	color: var(--gco-ink);
}

/* ---------- Contact form (Kadence Advanced Form) ---------- */

.kb-advanced-form .kb-adv-form-label,
.kb-advanced-form label {
	font-family: var(--gco-font-ui);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--gco-ink);
}

.kb-advanced-form .kb-field,
.kb-advanced-form input[type="text"],
.kb-advanced-form input[type="email"],
.kb-advanced-form select,
.kb-advanced-form textarea {
	width: 100%;
	padding: 0.8rem 0.95rem;
	border: 1px solid var(--gco-line-strong);
	border-radius: var(--gco-radius-sm);
	background: var(--gco-surface);
	color: var(--gco-ink);
	font: inherit;
	font-size: 1rem;
}

.kb-advanced-form .kb-field:focus-visible,
.kb-advanced-form .kb-field:focus {
	outline: 2px solid var(--gco-link);
	outline-offset: 1px;
	border-color: var(--gco-link);
}

.kb-advanced-form .kb-adv-form-help {
	font-size: 0.85rem;
	color: var(--gco-muted);
}

.kb-advanced-form .kb-adv-form-required {
	color: #9e2a1c;
}

.gco-form-note,
body.page .entry-content > p.gco-form-note {
	font-size: 0.92rem;
	color: var(--gco-muted);
	margin-top: 1.5rem;
}

.kb-advanced-form .kb-adv-form-help,
.kb-advanced-form .kb-adv-form-help em {
	font-style: normal;
}

.gco-search__input,
.gco-search__btn {
	min-height: 48px;
	box-sizing: border-box;
}

.gco-search .gco-search__input {
	padding: 0.8rem 1rem;
	line-height: 1.3;
}

body.page:not(.gco-front) .entry-content > figure.wp-block-image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--gco-radius-md);
}

body.page:not(.gco-front) .entry-content > figure.wp-block-image figcaption {
	font-size: 0.85rem;
	color: var(--gco-muted);
	text-align: left;
}

/* Kadence resets padding on .alignfull; keep the hero gutter. */
.entry-content .gco-hero.alignfull {
	padding-left: var(--gco-gutter);
	padding-right: var(--gco-gutter);
}

@media (max-width: 600px) {
	.gco-article__meta {
		gap: 0.25rem 1rem;
	}

	.gco-article__meta li {
		padding: 0;
	}

	.gco-article__meta li + li {
		border-left: 0;
	}

	.gco-author {
		grid-template-columns: minmax(0, 1fr);
	}

	.gco-author__mono {
		width: 52px;
		height: 52px;
		font-size: 1.25rem;
	}
}
