/*
Theme Name: SCS Surubim
Author: Sociedade dos Criadores de Surubim
Description: Tema institucional da Sociedade dos Criadores de Surubim, com notícias, agenda, projetos e portal de transparência.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: scs-surubim
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, custom-logo, custom-menu, featured-images, accessibility-ready, wide-blocks
*/

:root {
	--color-ink: #17231c;
	--color-forest: #244c3a;
	--color-forest-dark: #17372a;
	--color-leaf: #54735a;
	--color-rust: #a74a2a;
	--color-clay: #c56b3f;
	--color-sun: #e0ac55;
	--color-cream: #f8f6f0;
	--color-paper: #fffefb;
	--color-sand: #e8e1d2;
	--color-line: #d9d3c5;
	--color-muted: #666e67;
	--font-display: Georgia, "Times New Roman", serif;
	--font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--shadow-soft: 0 18px 55px rgba(27, 43, 33, .1);
	--shadow-card: 0 14px 35px rgba(31, 44, 35, .08);
	--radius-sm: 10px;
	--radius-md: 18px;
	--radius-lg: 30px;
	--shell: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--color-ink);
	background: var(--color-cream);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

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

figure {
	margin: 0;
}

a {
	color: var(--color-forest);
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

a:hover {
	color: var(--color-rust);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid var(--color-sun);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 .65em;
	color: var(--color-ink);
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.025em;
}

h1 { font-size: clamp(2.65rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

p {
	margin: 0 0 1.15em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: .75rem 1rem;
	clip: auto !important;
	color: #fff;
	background: var(--color-forest-dark);
	border-radius: var(--radius-sm);
	font-weight: 700;
}

.site-shell {
	width: min(calc(100% - 40px), var(--shell));
	margin-inline: auto;
}

.site-shell--narrow {
	max-width: 820px;
}

.section {
	position: relative;
	padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.eyebrow {
	margin: 0 0 .85rem;
	color: var(--color-rust);
	font-size: .76rem;
	font-weight: 850;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	margin-top: 2rem;
}

.button,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: .78rem 1.15rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: .88rem;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
	transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover,
.wp-element-button:hover {
	transform: translateY(-2px);
}

.button--primary,
.wp-element-button {
	color: #fff;
	background: var(--color-rust);
}

.button--primary:hover,
.wp-element-button:hover {
	color: #fff;
	background: #86391f;
}

.button--light {
	color: var(--color-forest-dark);
	background: #fff;
}

.button--light:hover {
	color: var(--color-forest-dark);
	background: var(--color-sand);
}

.button--ghost-light {
	color: #fff;
	background: transparent;
	border-color: rgba(255, 255, 255, .55);
}

.button--ghost-light:hover {
	color: #fff;
	border-color: #fff;
	background: rgba(255, 255, 255, .08);
}

.button--outline {
	color: var(--color-forest);
	background: transparent;
	border-color: currentColor;
}

.button--outline:hover {
	color: #fff;
	background: var(--color-forest);
	border-color: var(--color-forest);
}

.text-link {
	display: inline-flex;
	gap: .35rem;
	align-items: center;
	font-size: .88rem;
	font-weight: 800;
	text-decoration: none;
}

.text-link span {
	transition: transform .2s ease;
}

.text-link:hover span {
	transform: translateX(4px);
}

/* Cabeçalho */
.site-header {
	position: relative;
	z-index: 50;
	background: rgba(255, 254, 251, .98);
	box-shadow: 0 1px 0 rgba(23, 35, 28, .08);
}

.utility-bar {
	color: rgba(255, 255, 255, .78);
	background: var(--color-forest-dark);
	font-size: .72rem;
}

.utility-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 37px;
	gap: 1rem;
}

.utility-bar p {
	margin: 0;
}

.utility-bar__links {
	display: flex;
	gap: 1.25rem;
}

.utility-bar a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 92px;
	gap: 2rem;
}

.site-branding,
.custom-logo-link {
	display: block;
	flex: 0 1 auto;
}

.custom-logo {
	width: auto;
	max-width: 300px;
	max-height: 72px;
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	gap: .78rem;
	color: var(--color-ink);
	text-decoration: none;
}

.brand-mark:hover {
	color: var(--color-ink);
}

.brand-mark__symbol {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	color: var(--color-rust);
	background: var(--color-sand);
	border-radius: 50% 50% 48% 52% / 42% 45% 55% 58%;
}

.brand-mark__symbol svg {
	width: 40px;
	height: 40px;
	fill: currentColor;
}

.brand-mark__text {
	display: flex;
	flex-direction: column;
	line-height: 1.08;
}

.brand-mark__text strong {
	font-family: var(--font-display);
	font-size: 1.14rem;
}

.brand-mark__text small {
	margin-top: .35rem;
	color: var(--color-muted);
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.main-navigation {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.main-navigation .menu {
	display: flex;
	align-items: center;
	gap: clamp(.85rem, 1.8vw, 1.7rem);
	padding: 0;
	margin: 0;
	list-style: none;
}

.main-navigation .menu-item {
	position: relative;
}

.main-navigation .menu-item > a {
	display: block;
	padding: .8rem 0;
	color: var(--color-ink);
	font-size: .82rem;
	font-weight: 760;
	text-decoration: none;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .menu-item > a:hover {
	color: var(--color-rust);
}

.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 220px;
	padding: .65rem 1rem;
	margin: 0;
	visibility: hidden;
	opacity: 0;
	transform: translateY(8px);
	background: #fff;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-card);
	list-style: none;
	transition: .2s ease;
}

.main-navigation .menu-item:hover > .sub-menu,
.main-navigation .menu-item:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.header-cta {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: .65rem 1rem;
	color: #fff;
	background: var(--color-forest);
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.header-cta:hover {
	color: #fff;
	background: var(--color-rust);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 11px;
	background: transparent;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.menu-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 100%;
	height: 2px;
	margin: 4px 0;
	background: var(--color-ink);
	transition: .2s ease;
}

/* Hero inicial */
.home-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: var(--color-forest-dark);
}

.home-hero::before,
.home-hero::after {
	position: absolute;
	content: "";
	border-radius: 50%;
	pointer-events: none;
}

.home-hero::before {
	top: -240px;
	left: -150px;
	width: 620px;
	height: 620px;
	border: 1px solid rgba(255, 255, 255, .07);
	box-shadow: 0 0 0 80px rgba(255, 255, 255, .025), 0 0 0 160px rgba(255, 255, 255, .018);
}

.home-hero::after {
	right: -120px;
	bottom: 90px;
	width: 360px;
	height: 360px;
	background: rgba(167, 74, 42, .14);
	filter: blur(1px);
}

.home-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
	align-items: center;
	min-height: 650px;
	gap: 3rem;
	padding-top: 3.5rem;
	padding-bottom: 4.5rem;
}

.home-hero .eyebrow {
	color: var(--color-sun);
}

.home-hero h1 {
	max-width: 760px;
	margin-bottom: .3em;
	color: #fff;
	font-size: clamp(3rem, 6vw, 5.7rem);
}

.home-hero__lead {
	max-width: 650px;
	color: rgba(255, 255, 255, .78);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.home-hero__art {
	position: relative;
	align-self: stretch;
	min-height: 500px;
}

.mural-art {
	position: absolute;
	right: -5%;
	bottom: -7%;
	width: 112%;
	filter: drop-shadow(0 26px 35px rgba(0, 0, 0, .18));
}

.home-hero__seal {
	position: absolute;
	top: 4%;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	color: var(--color-ink);
	background: var(--color-sun);
	border: 7px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	box-shadow: 0 16px 35px rgba(0, 0, 0, .18);
	transform: rotate(6deg);
}

.home-hero__seal strong {
	font-family: var(--font-display);
	font-size: 1.65rem;
	line-height: 1;
}

.home-hero__seal span {
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.facts-strip {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: -50px;
	background: var(--color-paper);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
}

.facts-strip > div {
	display: flex;
	flex-direction: column;
	padding: 1.35rem 1.5rem;
	border-right: 1px solid var(--color-line);
}

.facts-strip > div:last-child {
	border-right: 0;
}

.facts-strip strong {
	color: var(--color-forest);
	font-family: var(--font-display);
	font-size: 1.15rem;
}

.facts-strip span {
	color: var(--color-muted);
	font-size: .74rem;
}

/* Destaque de evento */
.event-feature {
	padding: 95px 0 45px;
	background: var(--color-cream);
}

.event-feature__inner {
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	align-items: center;
	gap: 1.2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--color-line);
}

.event-feature__label {
	margin: 0 1rem 0 0;
	color: var(--color-rust);
	font-size: .7rem;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.event-feature__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 75px;
	color: #fff;
	background: var(--color-rust);
	border-radius: var(--radius-sm);
	text-transform: uppercase;
}

.event-feature__date strong {
	font-family: var(--font-display);
	font-size: 1.8rem;
	line-height: 1;
}

.event-feature__date span {
	font-size: .65rem;
	font-weight: 800;
}

.event-feature__content h2 {
	margin: 0 0 .2rem;
	font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.event-feature__content p {
	margin: 0;
	color: var(--color-muted);
	font-size: .85rem;
}

/* Notícias */
.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2.4rem;
}

.section-heading h2 {
	max-width: 750px;
	margin: 0;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.post-grid--archive {
	row-gap: 2.4rem;
}

.post-card {
	overflow: hidden;
	background: var(--color-paper);
	border: 1px solid rgba(217, 211, 197, .9);
	border-radius: var(--radius-md);
	box-shadow: 0 8px 20px rgba(31, 44, 35, .04);
	transition: transform .25s ease, box-shadow .25s ease;
}

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

.post-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-sand);
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.post-card:hover .post-card__image img {
	transform: scale(1.035);
}

.post-card__placeholder {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: linear-gradient(145deg, #294e3d 0 48%, #dba64f 48% 64%, #9d472c 64%);
}

.post-card__placeholder::before {
	position: absolute;
	top: 18%;
	right: 17%;
	width: 70px;
	height: 70px;
	content: "";
	background: rgba(255, 255, 255, .2);
	border-radius: 50%;
}

.post-card__placeholder i {
	position: absolute;
	bottom: -35%;
	width: 70%;
	height: 90%;
	background: rgba(255, 255, 255, .08);
	border-radius: 50%;
}

.post-card__placeholder i:nth-child(1) { left: -15%; }
.post-card__placeholder i:nth-child(2) { left: 25%; bottom: -50%; }
.post-card__placeholder i:nth-child(3) { right: -25%; bottom: -25%; }

.post-card__body {
	padding: 1.35rem 1.4rem 1.5rem;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem .8rem;
	align-items: center;
	margin-bottom: .8rem;
	color: var(--color-muted);
	font-size: .68rem;
	font-weight: 720;
	text-transform: uppercase;
}

.entry-meta__category {
	color: var(--color-rust);
	font-weight: 850;
	text-decoration: none;
}

.post-card h3 {
	margin-bottom: .55rem;
}

.post-card h3 a,
.content-card h2 a,
.search-result h2 a,
.event-row h2 a,
.project-card h2 a {
	color: var(--color-ink);
	text-decoration: none;
}

.post-card h3 a:hover,
.content-card h2 a:hover,
.search-result h2 a:hover,
.event-row h2 a:hover,
.project-card h2 a:hover {
	color: var(--color-rust);
}

.post-card__body > p {
	color: var(--color-muted);
	font-size: .91rem;
}

/* Patrimônio */
.section--heritage {
	overflow: hidden;
	background: var(--color-paper);
}

.heritage-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
	align-items: center;
	gap: clamp(3rem, 7vw, 7rem);
}

.heritage-visual {
	position: relative;
	min-height: 570px;
	overflow: hidden;
	background: var(--color-forest);
	border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
	box-shadow: var(--shadow-soft);
}

.heritage-visual::before,
.heritage-visual::after {
	position: absolute;
	content: "";
}

.heritage-visual::before {
	left: -8%;
	bottom: 22%;
	width: 116%;
	height: 42%;
	background: var(--color-sun);
	border-radius: 50% 50% 0 0;
	transform: rotate(-5deg);
}

.heritage-visual::after {
	left: -10%;
	bottom: -10%;
	width: 120%;
	height: 46%;
	background: var(--color-rust);
	border-radius: 50% 50% 0 0;
	transform: rotate(4deg);
}

.heritage-visual__sun {
	position: absolute;
	top: 17%;
	right: 17%;
	width: 115px;
	height: 115px;
	background: var(--color-clay);
	border-radius: 50%;
}

.heritage-visual__tile {
	position: absolute;
	z-index: 2;
	width: 125px;
	height: 160px;
	border: 9px solid var(--color-paper);
	border-radius: 50% 50% 20% 20%;
}

.heritage-visual__tile::before,
.heritage-visual__tile::after {
	position: absolute;
	content: "";
	background: var(--color-paper);
}

.heritage-visual__tile::before {
	left: 50%;
	bottom: -75px;
	width: 9px;
	height: 95px;
}

.heritage-visual__tile::after {
	left: 23px;
	bottom: -65px;
	width: 64px;
	height: 9px;
}

.heritage-visual__tile--one { left: 20%; bottom: 25%; transform: scale(.78); }
.heritage-visual__tile--two { right: 22%; bottom: 30%; }

.heritage-visual__caption {
	position: absolute;
	z-index: 4;
	right: 1.5rem;
	bottom: 1.5rem;
	left: 1.5rem;
	display: flex;
	flex-direction: column;
	padding: 1rem 1.2rem;
	color: #fff;
	background: rgba(23, 55, 42, .88);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: var(--radius-sm);
	backdrop-filter: blur(10px);
}

.heritage-visual__caption strong {
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.heritage-visual__caption span {
	font-size: .72rem;
}

.heritage-content > p:not(.eyebrow) {
	color: var(--color-muted);
	font-size: 1.02rem;
}

.check-list {
	display: grid;
	gap: .7rem;
	padding: 0;
	margin: 1.6rem 0 2rem;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 1.8rem;
	font-weight: 700;
}

.check-list li::before {
	position: absolute;
	top: .37em;
	left: 0;
	width: 14px;
	height: 14px;
	content: "";
	background: var(--color-sun);
	border-radius: 50% 50% 45% 55%;
}

/* Transparência */
.section--transparency {
	color: #fff;
	background: var(--color-forest-dark);
}

.section--transparency::before {
	position: absolute;
	top: 0;
	right: 0;
	width: 46%;
	height: 100%;
	content: "";
	background: repeating-linear-gradient(135deg, transparent 0 31px, rgba(255, 255, 255, .025) 31px 32px);
}

.transparency-layout {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: clamp(3rem, 7vw, 7rem);
}

.transparency-intro h2 {
	color: #fff;
}

.transparency-intro > p:not(.eyebrow) {
	color: rgba(255, 255, 255, .7);
}

.section--transparency .eyebrow {
	color: var(--color-sun);
}

.transparency-cards {
	display: grid;
	gap: .8rem;
}

.transparency-cards a {
	display: grid;
	grid-template-columns: 52px 1fr;
	padding: 1.2rem;
	color: #fff;
	background: rgba(255, 255, 255, .065);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: .2s ease;
}

.transparency-cards a:hover {
	background: rgba(255, 255, 255, .11);
	transform: translateX(5px);
}

.transparency-cards a > span {
	grid-row: span 2;
	color: var(--color-sun);
	font-family: var(--font-display);
	font-size: 1.3rem;
}

.transparency-cards strong {
	font-size: 1rem;
}

.transparency-cards small {
	color: rgba(255, 255, 255, .62);
}

/* CTA */
.section--cta {
	padding: 4rem 0;
}

.cta-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(2rem, 5vw, 4rem);
	color: #fff;
	background: var(--color-rust);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
}

.cta-panel .eyebrow {
	color: #fff4cf;
}

.cta-panel h2 {
	max-width: 780px;
	margin: 0;
	color: #fff;
}

/* Heros internos */
.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 9vw, 7rem) 0;
	background: var(--color-sand);
}

.page-hero::after {
	position: absolute;
	top: -100px;
	right: -70px;
	width: 380px;
	height: 380px;
	content: "";
	border: 1px solid rgba(36, 76, 58, .12);
	border-radius: 50%;
	box-shadow: 0 0 0 70px rgba(36, 76, 58, .035), 0 0 0 140px rgba(36, 76, 58, .025);
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 3rem;
}

.page-hero__inner > div:first-child {
	max-width: 850px;
}

.page-hero h1 {
	font-size: clamp(2.7rem, 6vw, 5rem);
}

.page-hero__inner > div > p:not(.eyebrow),
.archive-description {
	max-width: 700px;
	color: var(--color-muted);
	font-size: 1.08rem;
}

.page-hero--news {
	background: #e5decf;
}

.page-hero--transparency {
	color: #fff;
	background: var(--color-forest-dark);
}

.page-hero--transparency h1 {
	color: #fff;
}

.page-hero--transparency .eyebrow {
	color: var(--color-sun);
}

.page-hero--transparency .page-hero__inner > div > p:not(.eyebrow) {
	color: rgba(255, 255, 255, .7);
}

.page-hero__badge,
.page-hero__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 155px;
	height: 155px;
	color: var(--color-ink);
	background: var(--color-sun);
	border-radius: 50%;
	text-align: center;
}

.page-hero__badge strong,
.page-hero__date strong {
	font-family: var(--font-display);
	font-size: 2.6rem;
	line-height: 1;
}

.page-hero__badge span,
.page-hero__date span,
.page-hero__date small {
	max-width: 110px;
	font-size: .7rem;
	font-weight: 750;
	text-transform: uppercase;
}

/* Formulários e navegação de arquivo */
.search-form {
	display: flex;
	width: min(100%, 420px);
	padding: 5px;
	background: var(--color-paper);
	border: 1px solid var(--color-line);
	border-radius: 999px;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	height: 45px;
	padding: 0 .9rem;
	background: transparent;
	border: 0;
	outline: 0;
}

.search-submit {
	padding: 0 1rem;
	color: #fff;
	background: var(--color-forest);
	border: 0;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 800;
	cursor: pointer;
}

.category-nav {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin-bottom: 2rem;
}

.category-nav a {
	padding: .55rem .85rem;
	color: var(--color-muted);
	background: transparent;
	border: 1px solid var(--color-line);
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 750;
	text-decoration: none;
}

.category-nav a:hover,
.category-nav a.is-active {
	color: #fff;
	background: var(--color-forest);
	border-color: var(--color-forest);
}

.navigation.pagination {
	margin-top: 3rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 .8rem;
	color: var(--color-ink);
	background: var(--color-paper);
	border: 1px solid var(--color-line);
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 750;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	color: #fff;
	background: var(--color-forest);
	border-color: var(--color-forest);
}

/* Conteúdo editorial */
.entry-layout {
	display: grid;
	grid-template-columns: minmax(0, 780px) minmax(260px, 1fr);
	align-items: start;
	gap: clamp(2rem, 6vw, 5rem);
}

.page-entry .entry-layout:has(.entry-content:only-child),
.project-entry .entry-layout:has(.entry-content:only-child) {
	grid-template-columns: minmax(0, 820px);
	justify-content: center;
}

.entry-content {
	font-size: 1.03rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.6em;
}

.entry-content a {
	font-weight: 650;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35rem;
}

.entry-content blockquote {
	padding: 1.2rem 1.5rem;
	margin: 2rem 0;
	color: var(--color-forest-dark);
	background: var(--color-sand);
	border-left: 5px solid var(--color-rust);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
}

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

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: .75rem;
	border: 1px solid var(--color-line);
	text-align: left;
}

.entry-featured,
.single-entry__image {
	overflow: hidden;
	margin-bottom: 2rem;
	border-radius: var(--radius-md);
}

.entry-featured img,
.single-entry__image img {
	width: 100%;
}

.single-entry__header {
	padding: clamp(4rem, 8vw, 7rem) 0 2.8rem;
	text-align: center;
}

.single-entry__header .entry-meta {
	justify-content: center;
}

.single-entry__header h1 {
	font-size: clamp(2.5rem, 6vw, 4.9rem);
}

.single-entry__lead {
	color: var(--color-muted);
	font-size: 1.16rem;
}

.single-entry__image {
	max-width: 1100px;
	margin-inline: auto;
	box-shadow: var(--shadow-card);
}

.single-entry__image figcaption {
	padding: .55rem .9rem;
	color: var(--color-muted);
	background: var(--color-paper);
	font-size: .75rem;
}

.single-entry .entry-content {
	padding: 2.5rem 0 4rem;
}

.single-entry__footer {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--color-line);
}

.tag-list a {
	display: inline-flex;
	padding: .4rem .7rem;
	margin: .25rem;
	background: var(--color-sand);
	border-radius: 999px;
	font-size: .75rem;
	text-decoration: none;
}

.post-navigation {
	padding: 2rem 0;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	padding: 1rem;
	background: var(--color-paper);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
	text-decoration: none;
}

.post-navigation span {
	color: var(--color-muted);
	font-size: .7rem;
	font-weight: 750;
	text-transform: uppercase;
}

.post-navigation strong {
	color: var(--color-ink);
}

/* Cards genéricos, eventos e projetos */
.content-card,
.project-card {
	overflow: hidden;
	background: var(--color-paper);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
}

.content-card__image,
.project-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.content-card__image img,
.project-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content-card__body,
.project-card__body {
	padding: 1.35rem;
}

.project-archive {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.project-card__image--placeholder {
	position: relative;
	background: linear-gradient(145deg, var(--color-forest), var(--color-leaf));
}

.project-card__image--placeholder::before,
.project-card__image--placeholder::after,
.project-card__image--placeholder span {
	position: absolute;
	content: "";
	border-radius: 50%;
}

.project-card__image--placeholder::before { width: 100px; height: 100px; top: 15%; right: 15%; background: var(--color-sun); }
.project-card__image--placeholder::after { width: 80%; height: 60%; left: -10%; bottom: -30%; background: var(--color-rust); }
.project-card__image--placeholder span { width: 90%; height: 55%; right: -30%; bottom: -25%; background: rgba(255, 255, 255, .12); }

.event-archive {
	display: grid;
	gap: 1rem;
}

.event-row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.5rem;
	padding: 1.4rem;
	background: var(--color-paper);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
}

.event-row__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 90px;
	height: 90px;
	color: #fff;
	background: var(--color-rust);
	border-radius: var(--radius-sm);
}

.event-row__date strong {
	font-family: var(--font-display);
	font-size: 2.1rem;
	line-height: 1;
}

.event-row__date span {
	font-size: .65rem;
	font-weight: 750;
	text-transform: uppercase;
}

.event-row h2 {
	margin-bottom: .35rem;
	font-size: 1.7rem;
}

.event-row p:not(.eyebrow) {
	margin-bottom: .4rem;
	color: var(--color-muted);
}

.event-details {
	position: sticky;
	top: 2rem;
	padding: 1.5rem;
	background: var(--color-paper);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
}

.event-details h2 {
	font-size: 1.5rem;
}

.event-details p {
	display: flex;
	flex-direction: column;
	padding-bottom: .8rem;
	border-bottom: 1px solid var(--color-line);
}

.event-details small,
.document-meta small {
	color: var(--color-muted);
	font-size: .68rem;
	font-weight: 800;
	text-transform: uppercase;
}

/* Documentos */
.document-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.document-meta span {
	display: flex;
	flex-direction: column;
	min-width: 130px;
	padding: .75rem 1rem;
	color: var(--color-ink);
	background: var(--color-paper);
	border-radius: var(--radius-sm);
}

.document-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	padding: 1.3rem;
	margin: 2rem 0;
	background: var(--color-sand);
	border-radius: var(--radius-md);
}

/* Pesquisa e 404 */
.search-results-list {
	display: grid;
	gap: 1rem;
	max-width: 880px;
}

.search-result {
	padding: 1.4rem;
	background: var(--color-paper);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
}

.search-result h2 {
	font-size: 1.65rem;
}

.search-result p:last-child {
	margin-bottom: 0;
}

.not-found {
	display: grid;
	place-items: center;
	min-height: 68vh;
	padding: 5rem 0;
	text-align: center;
}

.not-found__code {
	margin: 0;
	color: var(--color-sand);
	font-family: var(--font-display);
	font-size: clamp(7rem, 20vw, 14rem);
	font-weight: 700;
	line-height: .7;
}

.not-found .search-form {
	margin: 1.5rem auto;
}

.empty-state {
	grid-column: 1 / -1;
	padding: 3rem;
	background: var(--color-paper);
	border: 1px dashed var(--color-line);
	border-radius: var(--radius-md);
	text-align: center;
}

/* Comentários */
.comments-area {
	padding: 2rem 0 4rem;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-body {
	padding: 1rem;
	margin: .8rem 0;
	background: var(--color-paper);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: .75rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
}

.form-submit .submit {
	padding: .75rem 1rem;
	color: #fff;
	background: var(--color-forest);
	border: 0;
	border-radius: 999px;
	font-weight: 800;
}

/* Rodapé */
.site-footer {
	position: relative;
	padding-top: 5rem;
	color: rgba(255, 255, 255, .72);
	background: #11271e;
}

.footer-motif {
	position: absolute;
	top: 0;
	right: 7%;
	display: flex;
	gap: 12px;
	transform: translateY(-50%);
}

.footer-motif span {
	display: block;
	width: 18px;
	height: 70px;
	background: var(--color-sun);
	border-radius: 999px;
	transform: rotate(35deg);
}

.footer-motif span:nth-child(2) { height: 95px; background: var(--color-rust); }
.footer-motif span:nth-child(3) { height: 55px; background: var(--color-leaf); }

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr .7fr 1fr;
	gap: 3rem;
	padding-bottom: 3.5rem;
}

.footer-grid h2,
.footer-widget__title {
	color: #fff;
	font-family: var(--font-body);
	font-size: .75rem;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.footer-about .brand-mark {
	color: #fff;
	margin-bottom: 1.3rem;
}

.footer-about .brand-mark__symbol {
	background: rgba(255, 255, 255, .1);
}

.footer-about .brand-mark__text small {
	color: rgba(255, 255, 255, .6);
}

.footer-about p {
	max-width: 520px;
}

.footer-about small {
	font-size: .7rem;
}

.footer-grid .menu,
.footer-contact {
	display: grid;
	gap: .55rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-grid a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
}

.footer-grid a:hover {
	color: var(--color-sun);
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.2rem;
}

.social-links a {
	font-size: .75rem;
	font-weight: 800;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .68rem;
}

.footer-bottom p {
	margin: 0;
}

/* Blocos */
.alignwide {
	width: min(1100px, calc(100vw - 40px));
	max-width: none;
	margin-right: 50%;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-right: 50%;
	margin-left: 50%;
	transform: translateX(-50%);
}

.wp-block-image img,
.wp-block-cover,
.wp-block-group.has-background {
	border-radius: var(--radius-md);
}

/* Entrada suave, respeitando preferência do usuário */
.js .reveal-ready {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .55s ease, transform .55s ease;
}

.js .reveal-ready.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
	.js .reveal-ready { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
	.header-main { min-height: 82px; }
	.menu-toggle { display: block; }
	.main-navigation {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 100;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: min(88vw, 420px);
		padding: 6rem 1.5rem 2rem;
		visibility: hidden;
	opacity: 0;
		transform: translateX(100%);
		background: var(--color-paper);
		box-shadow: -20px 0 60px rgba(0, 0, 0, .15);
		transition: .25s ease;
	}
	.main-navigation.is-open { visibility: visible; opacity: 1; transform: translateX(0); }
	.main-navigation .menu { display: block; width: 100%; }
	.main-navigation .menu-item { border-bottom: 1px solid var(--color-line); }
	.main-navigation .menu-item > a { padding: .9rem 0; font-size: 1rem; }
	.main-navigation .sub-menu { position: static; display: block; padding: 0 0 .7rem 1rem; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; background: transparent; }
	.header-cta { justify-content: center; margin-top: 1rem; }
	.home-hero__grid { grid-template-columns: .95fr 1.05fr; min-height: 600px; }
	.post-grid, .project-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
	.utility-bar__inner { justify-content: center; }
	.utility-bar p { display: none; }
	.utility-bar__links a:first-child { display: none; }
	.home-hero__grid { grid-template-columns: 1fr; padding-top: 4.5rem; }
	.home-hero__art { min-height: 430px; }
	.mural-art { right: 0; width: 100%; }
	.facts-strip { grid-template-columns: 1fr 1fr; }
	.facts-strip > div:nth-child(2) { border-right: 0; }
	.facts-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--color-line); }
	.event-feature__inner { grid-template-columns: auto 1fr auto; }
	.event-feature__label { grid-column: 1 / -1; }
	.heritage-grid, .transparency-layout, .entry-layout { grid-template-columns: 1fr; }
	.heritage-visual { min-height: 510px; }
	.event-details { position: static; }
	.page-hero__inner { align-items: flex-start; flex-direction: column; }
	.footer-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.site-shell { width: min(calc(100% - 28px), var(--shell)); }
	.brand-mark__text strong { font-size: .98rem; }
	.brand-mark__text small { font-size: .55rem; }
	.brand-mark__symbol { width: 44px; height: 44px; }
	.brand-mark__symbol svg { width: 34px; height: 34px; }
	.home-hero__grid { min-height: 0; gap: 1rem; }
	.home-hero__art { min-height: 330px; }
	.home-hero__seal { width: 82px; height: 82px; }
	.facts-strip { margin-bottom: -35px; }
	.facts-strip > div { padding: 1rem; }
	.event-feature { padding-top: 75px; }
	.event-feature__inner { grid-template-columns: auto 1fr; }
	.event-feature__inner > .button { grid-column: 1 / -1; justify-self: start; }
	.section-heading, .cta-panel, .footer-bottom { align-items: flex-start; flex-direction: column; }
	.post-grid, .project-archive, .footer-grid { grid-template-columns: 1fr; }
	.heritage-visual { min-height: 410px; }
	.heritage-visual__tile { transform: scale(.65); }
	.heritage-visual__tile--one { left: 8%; bottom: 18%; transform: scale(.55); }
	.heritage-visual__tile--two { right: 10%; bottom: 25%; transform: scale(.7); }
	.page-hero__badge, .page-hero__date { width: 115px; height: 115px; }
	.event-row { grid-template-columns: 1fr; }
	.event-row__date { width: 75px; height: 75px; }
	.event-row > .button { justify-self: start; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.document-meta { display: grid; grid-template-columns: 1fr 1fr; }
}
