/*
Theme Name: Green Pulse
Description: A climate and environmental news magazine: deep forest, electric lime, bold Epilogue headlines and data callouts.
Version: 1.0.0
Author: Pursae
License: GPL-2.0-or-later
Fonts: Epilogue and Public Sans (SIL Open Font License 1.1), self-hosted.
*/

@font-face { font-family: "Epilogue"; src: url("fonts/epilogue.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
	--gp-forest: #0f3d2e;
	--gp-lime: #c6f432;
	--gp-leaf: #2f9e44;
	--gp-paper: #f5f9f4;
}
body {
	--gp-bg: var(--gp-paper);
	--gp-ink: #10231b;
	--gp-surface: #ffffff;
	--gp-moss: color-mix(in srgb, var(--gp-leaf) 14%, var(--gp-bg));
	--gp-line: color-mix(in srgb, var(--gp-ink) 14%, transparent);
	--gp-rule: var(--gp-ink);
	--gp-muted: color-mix(in srgb, var(--gp-ink) 68%, var(--gp-bg));
	--gp-link: color-mix(in srgb, var(--gp-leaf) 68%, #000);
	--gp-on-forest: #eaf5e4;
	--gp-heat: #e8590c;
	--gp-head: "Epilogue", "Helvetica Neue", Arial, sans-serif;
	--gp-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gp-wrap: 1240px;
	--gp-measure: 700px;
	--gp-radius: 4px;
	--gp-shadow: 0 1px 0 rgba(16, 35, 27, .06), 0 14px 30px -18px rgba(16, 35, 27, .35);
}
body.gp-dark {
	--gp-bg: color-mix(in srgb, var(--gp-forest) 70%, #000);
	--gp-ink: #e6f2df;
	--gp-surface: color-mix(in srgb, var(--gp-forest) 82%, #000);
	--gp-moss: color-mix(in srgb, var(--gp-forest) 90%, var(--gp-lime));
	--gp-link: var(--gp-lime);
	--gp-line: color-mix(in srgb, var(--gp-ink) 16%, transparent);
	--gp-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7);
}
.gp-width-narrow { --gp-wrap: 1080px; }
.gp-width-wide { --gp-wrap: 1440px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--gp-bg);
	color: var(--gp-ink);
	font-family: var(--gp-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-content { flex: 1 0 auto; }
img, video, svg { max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--gp-link); text-decoration-thickness: 2px; text-underline-offset: .16em; text-decoration-color: color-mix(in srgb, var(--gp-leaf) 50%, transparent); }
a:hover { color: var(--gp-ink); text-decoration-color: var(--gp-lime); }
:focus-visible { outline: 3px solid var(--gp-leaf); outline-offset: 2px; box-shadow: 0 0 0 6px var(--gp-lime); }
h1, h2, h3, h4, h5, h6 { font-family: var(--gp-head); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin: 1.6em 0 .5em; color: var(--gp-ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.4rem; letter-spacing: -.015em; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
p, ul, ol, dl, blockquote, figure, table, pre { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .3em; }
li::marker { color: var(--gp-leaf); font-weight: 700; }
hr { border: 0; height: 3px; background: var(--gp-rule); margin: 2.4em 0; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
pre { background: var(--gp-surface); border: 1px solid var(--gp-line); padding: 1em; overflow: auto; border-radius: var(--gp-radius); }
mark, .gp-hl { background: linear-gradient(transparent 52%, var(--gp-lime) 52%, var(--gp-lime) 92%, transparent 92%); color: inherit; padding: 0 .1em; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; font-variant-numeric: tabular-nums; }
th, td { padding: .65em .8em; border-bottom: 1px solid var(--gp-line); text-align: left; vertical-align: top; }
th { font-family: var(--gp-head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
blockquote { margin-left: 0; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000; }
.skip-link:focus { top: 10px; left: 10px; display: block; background: var(--gp-lime); color: #10231b; padding: 14px 22px; font-weight: 700; text-decoration: none; }

/* ---------- Forms & buttons ---------- */
input, textarea, select, button { font: inherit; color: inherit; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], textarea, select {
	width: 100%; padding: .65em .85em; background: var(--gp-surface); border: 2px solid var(--gp-line); border-radius: var(--gp-radius); color: var(--gp-ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--gp-leaf); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gp-lime) 70%, transparent); }
textarea { min-height: 9em; resize: vertical; }
label { font-weight: 700; font-size: .92rem; }
.button, button[type="submit"], input[type="submit"], .wp-block-button__link, .wp-element-button, .search-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	padding: .75em 1.35em; border: 2px solid var(--gp-forest); border-radius: var(--gp-radius);
	background: var(--gp-forest); color: #fff; font-family: var(--gp-head); font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
	text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.button:hover, button[type="submit"]:hover, input[type="submit"]:hover, .wp-block-button__link:hover, .search-submit:hover { background: var(--gp-lime); border-color: var(--gp-forest); color: #10231b; box-shadow: 4px 4px 0 var(--gp-forest); transform: translate(-2px, -2px); }
.gp-dark .button, .gp-dark button[type="submit"], .gp-dark .wp-block-button__link, .gp-dark .search-submit { background: var(--gp-lime); color: #10231b; border-color: var(--gp-lime); }
.button--lime { background: var(--gp-lime); border-color: var(--gp-lime); color: #10231b; }
.button--lime:hover { background: #fff; border-color: #fff; box-shadow: 4px 4px 0 var(--gp-lime); }
.wp-block-button.is-style-outline > .wp-block-button__link, .is-style-outline .wp-block-button__link { background: transparent; color: var(--gp-ink); border-color: var(--gp-ink); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .8em; margin-bottom: 1.2em; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.search-form { display: flex; gap: .5em; max-width: 560px; }
.search-form__label { flex: 1; }
.wp-block-search__inside-wrapper { display: flex; gap: .5em; }
.wp-block-search__label { display: block; margin-bottom: .35em; }
.wp-block-search__button { margin: 0; }

/* ---------- Layout ---------- */
.site-header__inner, .content-wrap, .site-footer__inner, .gp-ticker__inner, .gp-hero__inner, .gp-signup__inner { width: min(100% - 40px, var(--gp-wrap)); margin-inline: auto; }
.content-wrap { padding: 3rem 0 4.5rem; }
.content-wrap.is-front { padding-top: 0; width: 100%; }
.content-wrap.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.sidebar-left .content-wrap.has-sidebar { grid-template-columns: 320px minmax(0, 1fr); }
.sidebar-left .content-wrap.has-sidebar .site-main { order: 2; }
.sidebar-none .content-wrap.has-sidebar { display: block; }
.sidebar-none .content-wrap.has-sidebar .widget-area { display: none; }
.site-main:focus { outline: 0; }
.entry-content > *, .comments-area, .post-navigation, .entry--page > .entry-header, .entry-footer, .no-results, .error-404 { max-width: var(--gp-measure); margin-left: auto; margin-right: auto; }
.has-sidebar .entry-content > *, .has-sidebar .comments-area, .has-sidebar .post-navigation, .has-sidebar .entry-footer { max-width: none; }
.content-wrap:not(.has-sidebar) .entry-content > .alignwide { max-width: var(--gp-wrap); }
.content-wrap:not(.has-sidebar) .entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.entry-content > :first-child { margin-top: 0; }
.entry-content::after { content: ""; display: table; clear: both; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 980px) {
	.content-wrap.has-sidebar, .sidebar-left .content-wrap.has-sidebar { display: block; }
	.content-wrap.has-sidebar .widget-area { margin-top: 3.5rem; }
}

/* ---------- Ticker ---------- */
.gp-ticker { background: var(--gp-lime); color: #10231b; font-size: .88rem; font-weight: 600; }
body:not(.gp-ticker-on) .gp-ticker { display: none; }
.gp-ticker__inner { display: flex; align-items: center; gap: 1rem; min-height: 38px; }
.gp-ticker__label { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--gp-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; background: #10231b; color: var(--gp-lime); padding: .2rem .6rem; border-radius: 2px; white-space: nowrap; }
.gp-ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gp-lime); animation: gp-pulse 1.6s ease-out infinite; }
@keyframes gp-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gp-lime) 80%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
.gp-ticker__text { margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.gp-ticker__link { color: #10231b; font-weight: 800; text-decoration: none; white-space: nowrap; }
.gp-ticker__link:hover { color: #10231b; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { background: var(--gp-forest); color: var(--gp-on-forest); position: relative; z-index: 20; border-bottom: 4px solid var(--gp-lime); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.site-branding { display: flex; align-items: center; gap: .75rem; margin-right: auto; }
.site-logo img { max-height: 56px; width: auto; }
.gp-mark { color: var(--gp-lime); display: inline-flex; flex: none; }
.site-title { font-family: var(--gp-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; margin: 0; line-height: 1; }
.site-title a { color: #fff; text-decoration: none; }
.site-title a:hover { color: var(--gp-lime); }
.site-description { margin: .25rem 0 0; font-size: .82rem; color: color-mix(in srgb, var(--gp-on-forest) 72%, transparent); }

.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation li { margin: 0; position: relative; }
.main-navigation a { display: block; text-decoration: none; color: inherit; }
.main-navigation .primary-menu { display: flex; align-items: center; }
.main-navigation .primary-menu > li > a { padding: 1.6rem .85rem; font-family: var(--gp-head); font-weight: 700; font-size: .98rem; letter-spacing: -.01em; color: #fff; position: relative; }
.main-navigation .primary-menu > li > a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: -4px; height: 4px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-navigation .primary-menu > li > a:hover, .main-navigation .primary-menu > .current-menu-item > a, .main-navigation .primary-menu > .current-menu-ancestor > a { color: var(--gp-lime); }
.main-navigation .primary-menu > li > a:hover::after, .main-navigation .primary-menu > .current-menu-item > a::after, .main-navigation .primary-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.menu-toggle { display: none; align-items: center; gap: .55rem; background: transparent; border: 2px solid color-mix(in srgb, #fff 40%, transparent); border-radius: var(--gp-radius); padding: .5rem .85rem; color: #fff; cursor: pointer; font-family: var(--gp-head); font-weight: 700; }
.menu-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.menu-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.gp-search { position: relative; }
.gp-search__toggle { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; cursor: pointer; border: 2px solid color-mix(in srgb, #fff 30%, transparent); }
.gp-search__toggle::-webkit-details-marker { display: none; }
.gp-search__toggle:hover, .gp-search[open] .gp-search__toggle { background: var(--gp-lime); color: #10231b; border-color: var(--gp-lime); }
.gp-search__form { position: absolute; right: 0; top: calc(100% + 18px); width: min(420px, calc(100vw - 32px)); display: flex; gap: .4rem; padding: .8rem; background: var(--gp-surface); border: 2px solid var(--gp-forest); box-shadow: 6px 6px 0 var(--gp-lime); border-radius: var(--gp-radius); z-index: 40; }
.gp-search__form label { flex: 1; }
.gp-search__form button { padding: .6em 1em; }

@media (min-width: 961px) {
	.main-navigation .sub-menu { position: absolute; top: 100%; left: .2rem; min-width: 230px; background: var(--gp-surface); color: var(--gp-ink); border: 2px solid var(--gp-forest); box-shadow: 6px 6px 0 var(--gp-lime); border-radius: var(--gp-radius); padding: .4rem 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 30; margin-top: 4px; }
	.main-navigation .sub-menu .sub-menu { top: -.5rem; left: 100%; }
	.main-navigation .sub-menu a { padding: .55rem 1.1rem; font-weight: 600; font-size: .95rem; color: var(--gp-ink); }
	.main-navigation .sub-menu a:hover { background: var(--gp-moss); color: var(--gp-ink); }
	.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.main-navigation .primary-menu > .menu-item-has-children > a { padding-right: 1.45rem; }
	.main-navigation .primary-menu > .menu-item-has-children > a::before { content: ""; position: absolute; right: .55rem; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); }
}
@media (max-width: 960px) {
	.site-header__inner { min-height: 64px; gap: .7rem; }
	.site-description { display: none; }
	.menu-toggle { display: inline-flex; }
	.main-navigation { order: 3; }
	.gp-search { order: 2; }
	.main-navigation .menu-wrap { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--gp-forest); border-top: 1px solid color-mix(in srgb, #fff 15%, transparent); border-bottom: 4px solid var(--gp-lime); padding: .3rem 20px 1rem; max-height: calc(100vh - 110px); overflow-y: auto; margin-top: 4px; }
	.main-navigation.toggled .menu-wrap { display: block; }
	.main-navigation .primary-menu { display: block; }
	.main-navigation .primary-menu > li > a { padding: .85rem 0; border-bottom: 1px solid color-mix(in srgb, #fff 14%, transparent); font-size: 1.1rem; }
	.main-navigation .primary-menu > li > a::after { display: none; }
	.main-navigation .sub-menu { padding-left: 1rem; }
	.main-navigation .sub-menu a { padding: .6rem 0; color: color-mix(in srgb, #fff 85%, transparent); border-bottom: 1px dashed color-mix(in srgb, #fff 14%, transparent); }
	.main-navigation .sub-menu a:hover { color: var(--gp-lime); }
	.gp-search__form { right: -60px; }
}
.sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.sticky-header .site-header { top: 32px; }
.sticky-header.is-scrolled .site-header { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
@media (max-width: 782px) { .admin-bar.sticky-header .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.sticky-header .site-header { top: 0; } }

/* ---------- Hero (front page lead) ---------- */
.gp-hero { background: var(--gp-forest); color: var(--gp-on-forest); position: relative; overflow: hidden; }
.gp-hero::before { content: ""; position: absolute; inset: 0; background: url("images/contours.svg") right center / 900px no-repeat; opacity: .5; pointer-events: none; }
.gp-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3.5rem; align-items: center; padding: 3.5rem 0 4rem; }
.gp-hero__kicker { display: inline-block; font-family: var(--gp-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; background: var(--gp-lime); color: #10231b; padding: .3rem .65rem; margin: 0 0 1.2rem; border-radius: 2px; }
.gp-hero__title { font-family: var(--gp-head); font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: .98; letter-spacing: -.045em; color: #fff; margin: 0 0 1.2rem; }
.gp-hero__lead { font-size: 1.2rem; color: color-mix(in srgb, var(--gp-on-forest) 86%, transparent); max-width: 32em; margin: 0 0 1.8rem; }
.gp-hero__actions { margin: 0; }
.gp-hero__media { position: relative; }
.gp-hero__media img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--gp-radius); box-shadow: 14px 14px 0 var(--gp-lime); }
.gp-hero__pulse { position: absolute; left: -6%; right: -6%; bottom: 14%; height: 48px; color: var(--gp-lime); pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.gp-hero__pulse svg { width: 100%; height: 100%; }
@media (max-width: 860px) {
	.gp-hero__inner { grid-template-columns: 1fr; gap: 2.4rem; padding: 2.6rem 0 3.4rem; }
	.gp-hero__media img { box-shadow: 8px 8px 0 var(--gp-lime); }
}

/* ---------- Front page sections (demo blocks) ---------- */
.entry--front .entry-content > * { max-width: var(--gp-wrap); width: min(100% - 40px, var(--gp-wrap)); }
.entry--front .entry-content > .alignfull { width: 100vw; max-width: none; }
.gp-section { padding: 4rem 20px; margin-top: 0 !important; margin-bottom: 0 !important; }
.gp-section > * { max-width: var(--gp-wrap); margin-left: auto !important; margin-right: auto !important; }
.gp-section > .wp-block-heading { margin-top: 0; }
.gp-section--moss { background: var(--gp-moss); }
.gp-section--forest { background: var(--gp-forest); color: var(--gp-on-forest); }
.gp-section--forest h2, .gp-section--forest h3, .gp-section--forest a:not(.wp-block-button__link) { color: #fff; }
.gp-section--forest .wp-block-button__link { background: var(--gp-lime); border-color: var(--gp-lime); color: #10231b; }
.gp-section--forest .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.gp-kicker { font-family: var(--gp-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--gp-link); margin-bottom: .4rem; display: flex; align-items: center; gap: .6rem; }
.gp-kicker::before { content: ""; width: 26px; height: 4px; background: var(--gp-lime); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gp-forest) 40%, transparent); }
.gp-section--forest .gp-kicker { color: var(--gp-lime); }
.gp-section-head { border-top: 4px solid var(--gp-rule); padding-top: .9rem; }
.gp-section--forest .gp-section-head { border-top-color: var(--gp-lime); }
.gp-lead { font-size: 1.2rem; color: var(--gp-muted); max-width: 40em; }
.gp-section--forest .gp-lead { color: color-mix(in srgb, var(--gp-on-forest) 82%, transparent); }
.gp-numbers { gap: 0 !important; border-top: 1px solid color-mix(in srgb, #fff 20%, transparent); }
.gp-numbers > .wp-block-column { padding: 1.6rem 1.4rem 0 0; border-right: 1px solid color-mix(in srgb, #fff 18%, transparent); padding-left: 1.4rem; }
.gp-numbers > .wp-block-column:first-child { padding-left: 0; }
.gp-numbers > .wp-block-column:last-child { border-right: 0; }
.gp-big { font-family: var(--gp-head); font-weight: 800; font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: .95; letter-spacing: -.05em; color: var(--gp-lime); margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.gp-section--moss .gp-big, .entry-content > .gp-big { color: var(--gp-forest); }
.gp-dark .gp-section--moss .gp-big { color: var(--gp-lime); }
.gp-numbers p:not(.gp-big) { color: color-mix(in srgb, var(--gp-on-forest) 85%, transparent); font-size: .98rem; }
.gp-guides { counter-reset: guide; gap: 1.2rem !important; }
.gp-guides > .wp-block-column { counter-increment: guide; background: var(--gp-surface); border: 2px solid var(--gp-ink); border-radius: var(--gp-radius); padding: 1.4rem 1.4rem 1.2rem; position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.gp-guides > .wp-block-column:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--gp-lime); }
.gp-guides > .wp-block-column::before { content: counter(guide, decimal-leading-zero); display: block; font-family: var(--gp-head); font-weight: 800; font-size: 2.6rem; letter-spacing: -.05em; line-height: 1; color: var(--gp-leaf); margin-bottom: .8rem; }
.gp-guides h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.gp-guides p { color: var(--gp-muted); font-size: .98rem; }
.gp-guides p:last-child { margin: 0; }
.gp-lead-story { gap: 2.4rem !important; align-items: center; }
.gp-lead-story .wp-block-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--gp-radius); }
.gp-lead-story h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-top: .2rem; }
.gp-campaign { background: var(--gp-lime); color: #10231b; border-radius: var(--gp-radius); padding: 2.6rem !important; display: grid !important; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: .6rem 2rem; align-items: center; }
.gp-campaign h2, .gp-campaign h3, .gp-campaign p { color: #10231b; }
.gp-campaign h2 { margin: 0; grid-column: 1; border: 0 !important; padding: 0 !important; }
.gp-campaign > p { grid-column: 1; margin: 0; }
.gp-campaign > .wp-block-buttons { grid-column: 2; grid-row: 1 / span 2; }
.gp-campaign .wp-block-buttons { margin: 0; justify-content: flex-end; }
.gp-campaign .wp-block-button__link { background: #10231b; border-color: #10231b; color: var(--gp-lime); }
@media (max-width: 760px) { .gp-campaign { grid-template-columns: 1fr; padding: 1.8rem !important; } .gp-campaign > .wp-block-buttons { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: .6rem; } }

/* Data callout block style for stories. */
.gp-stat { background: var(--gp-forest); color: var(--gp-on-forest); border-radius: var(--gp-radius); padding: 1.6rem 1.8rem !important; border-left: 10px solid var(--gp-lime); }
.gp-stat .gp-big { margin: 0 0 .3rem; color: var(--gp-lime); }
.gp-stat p { margin: 0; }
.gp-stat p + p { margin-top: .3rem; }
.gp-source { font-size: .85rem; color: var(--gp-muted); }

/* ---------- Page header ---------- */
.page-header { margin-bottom: 2.4rem; border-top: 4px solid var(--gp-rule); padding-top: 1rem; }
.page-header--front { margin-top: 3rem; }
.page-title { margin: 0; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-kicker { font-family: var(--gp-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--gp-link); margin: 0 0 .5rem; }
.archive-description { color: var(--gp-muted); margin-top: .7rem; font-size: 1.1rem; max-width: 40em; }
.archive-description p:last-child { margin: 0; }
.section-title { margin: 0; }
.search-term { background: linear-gradient(transparent 55%, var(--gp-lime) 55%, var(--gp-lime) 92%, transparent 92%); }
.page-header--search .search-form { margin-top: 1.3rem; }

/* ---------- Story cards ---------- */
.post-list { display: grid; gap: 2rem; }
.gp-layout-grid .post-list, .gp-layout-magazine .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1.8rem; }
.sidebar-none .gp-layout-grid .post-list, .gp-layout-grid .content-wrap:not(.has-sidebar) .post-list, .gp-layout-magazine .content-wrap:not(.has-sidebar) .post-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gp-card { display: flex; flex-direction: column; position: relative; border-top: 3px solid var(--gp-rule); padding-top: 1rem; }
.gp-card__media { display: block; overflow: hidden; border-radius: var(--gp-radius); margin-bottom: 1rem; }
.gp-card__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.gp-card:hover .gp-card__media img { transform: scale(1.04); filter: saturate(1.15); }
.gp-card__labels { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .65rem; }
.gp-pill { display: inline-block; font-family: var(--gp-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; line-height: 1; padding: .42rem .6rem .36rem; border-radius: 99px; background: var(--gp-moss); color: var(--gp-ink); text-decoration: none; border: 1px solid color-mix(in srgb, var(--gp-leaf) 35%, transparent); }
.gp-pill:hover { background: var(--gp-lime); color: #10231b; }
.gp-card .entry-title { font-size: 1.45rem; margin: 0 0 .55rem; letter-spacing: -.03em; }
.gp-card .entry-title a { color: var(--gp-ink); text-decoration: none; background: linear-gradient(transparent 60%, color-mix(in srgb, var(--gp-lime) 85%, transparent) 60%) 0 0 / 0 100% no-repeat; transition: background-size .3s ease; }
.gp-card .entry-title a:hover { background-size: 100% 100%; }
.entry-summary { color: var(--gp-muted); font-size: 1rem; }
.entry-summary p:last-child { margin-bottom: 0; }
.gp-card__foot { margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .85rem; color: var(--gp-muted); }
.gp-card__foot .byline { font-weight: 700; color: var(--gp-ink); }
.sticky-badge { display: inline-block; font-family: var(--gp-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; line-height: 1; padding: .42rem .6rem .36rem; border-radius: 99px; background: var(--gp-lime); color: #10231b; }
/* Magazine: the first story spans the row with the image beside it. */
.gp-layout-magazine .post-list > .gp-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 2.2rem; align-items: center; border-top-width: 6px; padding-top: 1.4rem; }
.gp-layout-magazine .post-list > .gp-card:first-child .gp-card__media { margin: 0; }
.gp-layout-magazine .post-list > .gp-card:first-child .entry-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.045em; }
.gp-layout-magazine .post-list > .gp-card:first-child .entry-summary { font-size: 1.1rem; }
.gp-layout-list .post-list { gap: 0; }
.gp-layout-list .gp-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.6rem; padding: 1.6rem 0; border-top-width: 1px; border-top-color: var(--gp-line); }
.gp-layout-list .gp-card:first-child { border-top: 3px solid var(--gp-rule); }
.gp-layout-list .gp-card__media { margin: 0; }
.gp-layout-list .gp-card:not(:has(.gp-card__media)) { grid-template-columns: 1fr; }
@media (max-width: 860px) {
	.gp-layout-grid .post-list, .gp-layout-magazine .post-list, .sidebar-none .gp-layout-grid .post-list, .gp-layout-grid .content-wrap:not(.has-sidebar) .post-list, .gp-layout-magazine .content-wrap:not(.has-sidebar) .post-list { grid-template-columns: 1fr; }
	.gp-layout-magazine .post-list > .gp-card:first-child { display: flex; }
	.gp-layout-magazine .post-list > .gp-card:first-child .gp-card__media { margin-bottom: 1rem; }
	.gp-layout-list .gp-card { grid-template-columns: 1fr; gap: 1rem; }
}
@media (min-width: 861px) and (max-width: 1100px) { .gp-layout-grid .content-wrap:not(.has-sidebar) .post-list, .gp-layout-magazine .content-wrap:not(.has-sidebar) .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body:not(.show-thumbs) .post-thumbnail { display: none; }
body:not(.show-thumbs).gp-layout-magazine .post-list > .gp-card:first-child, body:not(.show-thumbs).gp-layout-list .gp-card { grid-template-columns: 1fr; }
body:not(.show-author) .byline { display: none; }

/* ---------- Single & page ---------- */
.entry--single > .entry-header { margin-bottom: 2rem; max-width: 960px; }
.content-wrap:not(.has-sidebar) .entry--single > .entry-header { margin-left: auto; margin-right: auto; }
.entry--single .entry-title { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.045em; line-height: 1.02; margin: .2rem 0 1rem; }
.gp-standfirst { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; color: var(--gp-muted); margin: 0 0 1.3rem; max-width: 42em; }
.entry-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .9rem; color: var(--gp-muted); padding: .8rem 0; border-top: 1px solid var(--gp-line); border-bottom: 1px solid var(--gp-line); }
.entry-meta a { color: inherit; text-decoration: none; }
.entry-meta .author { color: var(--gp-ink); font-weight: 700; }
.entry-meta a:hover { color: var(--gp-link); }
.entry--page > .entry-header { margin-bottom: 2rem; }
.entry--page .entry-title { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.045em; }
.gp-mark-title { background: linear-gradient(transparent 58%, var(--gp-lime) 58%, var(--gp-lime) 90%, transparent 90%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.gp-dark .gp-mark-title { background: none; color: var(--gp-lime); }
.post-thumbnail--single, .post-thumbnail--page { margin: 0 auto 2.4rem; max-width: var(--gp-wrap); }
.post-thumbnail--single img, .post-thumbnail--page img { display: block; width: 100%; max-height: 600px; object-fit: cover; border-radius: var(--gp-radius); }
.entry-content { font-size: 1.12rem; }
.entry-content a { color: var(--gp-link); }
.entry-content .wp-block-button__link { color: #fff; }
.entry-content .wp-block-button__link:hover { color: #10231b; }
.entry-content .is-style-outline .wp-block-button__link { color: var(--gp-ink); }
.gp-dark .entry-content .wp-block-button__link { color: #10231b; }
.gp-dark .entry-content .is-style-outline .wp-block-button__link { color: var(--gp-ink); background: transparent; border-color: var(--gp-ink); }
.gp-section--forest .entry-content .wp-block-button__link, .entry-content .gp-section--forest .wp-block-button__link { color: #10231b; }
.entry-content .gp-campaign .wp-block-button__link { color: var(--gp-lime); }
.gp-lead-story h2 a, .entry-content .gp-lead-story h2 a { color: var(--gp-ink); text-decoration: none; background: linear-gradient(transparent 62%, var(--gp-lime) 62%, var(--gp-lime) 92%, transparent 92%); }
.gp-section h2:not(.gp-section-head), .entry--front .entry-content h2:not(.gp-section-head) { border-top: 0; padding-top: 0; }
.entry-content h2 { border-top: 3px solid var(--gp-rule); padding-top: .7rem; }
.entry-footer { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 3px solid var(--gp-rule); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .95rem; }
.tags-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.tags-links__label { font-family: var(--gp-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; margin-right: .3rem; }
.tags-links a { padding: .25em .75em; border: 2px solid var(--gp-ink); border-radius: 99px; text-decoration: none; color: var(--gp-ink); font-weight: 600; font-size: .88rem; }
.tags-links a:hover { background: var(--gp-lime); color: #10231b; border-color: var(--gp-lime); }
.author-info, .author-bio { max-width: var(--gp-measure); margin: 2.4rem auto 0; padding: 1.4rem; background: var(--gp-moss); border-radius: var(--gp-radius); display: flex; gap: 1.2rem; }
.author-info img, .author-bio img { border-radius: 50%; }
.entry--wide .entry-content > * { max-width: var(--gp-wrap); }

/* ---------- Blocks ---------- */
.wp-block-image img { border-radius: var(--gp-radius); }
.wp-block-image figcaption, .wp-element-caption, .wp-block-gallery figcaption { font-size: .85rem; color: var(--gp-muted); margin-top: .55rem; padding-left: .7rem; border-left: 3px solid var(--gp-lime); text-align: left; }
.wp-block-quote { border-left: 6px solid var(--gp-leaf); padding: .3rem 0 .3rem 1.4rem; font-size: 1.25rem; font-weight: 500; }
.wp-block-quote p:last-of-type { margin-bottom: .5rem; }
.wp-block-quote cite, .wp-block-pullquote cite { display: block; font-size: .85rem; font-style: normal; font-weight: 700; color: var(--gp-muted); text-transform: uppercase; letter-spacing: .05em; }
.wp-block-pullquote { background: var(--gp-lime); color: #10231b; border-radius: var(--gp-radius); padding: 2.2rem 2rem; margin: 2.4rem auto; text-align: left; border: 0; position: relative; }
.wp-block-pullquote::before { content: "\201C"; position: absolute; top: -.2rem; right: 1.2rem; font-family: var(--gp-head); font-weight: 800; font-size: 7rem; line-height: 1; color: color-mix(in srgb, #10231b 18%, transparent); }
.wp-block-pullquote blockquote { margin: 0; }
.wp-block-pullquote p { font-family: var(--gp-head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.03em; color: #10231b; }
.wp-block-pullquote cite { color: #10231b; }
.wp-block-separator { border: 0; height: 3px; background: var(--gp-rule); margin: 2.4em auto; }
.wp-block-columns { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.6em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
@media (max-width: 781px) {
	.wp-block-columns { flex-direction: column; }
	.wp-block-column { flex-basis: 100% !important; }
	.gp-numbers > .wp-block-column { border-right: 0; padding-left: 0; border-bottom: 1px solid color-mix(in srgb, #fff 18%, transparent); padding-bottom: 1rem; }
}
.wp-block-gallery.has-nested-images { display: flex; flex-wrap: wrap; gap: 1rem; }
.wp-block-gallery.has-nested-images figure.wp-block-image { flex: 1 1 calc(33.333% - 1rem); margin: 0; }
.wp-block-gallery.has-nested-images img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; padding: 3rem 2rem; overflow: hidden; border-radius: var(--gp-radius); color: #fff; }
.wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wp-block-cover__background { position: absolute; inset: 0; background: var(--gp-forest); opacity: .6; }
.wp-block-cover__inner-container { position: relative; z-index: 1; max-width: 760px; }
.wp-block-cover h2, .wp-block-cover h3, .wp-block-cover p { color: #fff; }
.wp-block-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; margin-bottom: 2em; }
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 2; }
.wp-block-media-text__media img { width: 100%; border-radius: var(--gp-radius); display: block; }
.wp-block-media-text__content > :first-child { margin-top: 0; }
@media (max-width: 700px) { .wp-block-media-text { grid-template-columns: 1fr; } .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 0; } }
.wp-block-table { overflow-x: auto; }
.wp-block-table table { background: var(--gp-surface); border-top: 3px solid var(--gp-rule); }
.wp-block-table thead th { background: var(--gp-moss); }
.wp-block-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
.wp-block-table tbody tr:hover { background: color-mix(in srgb, var(--gp-lime) 18%, transparent); }
.wp-block-details { border-top: 2px solid var(--gp-ink); padding: .9rem 0; }
.wp-block-details summary { cursor: pointer; font-family: var(--gp-head); font-weight: 700; font-size: 1.1rem; }
.wp-block-details[open] summary { margin-bottom: .6rem; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.wp-block-latest-posts { list-style: none; padding: 0; }
.wp-block-latest-posts li { margin: 0 0 1rem; }
.wp-block-latest-posts__post-title { font-family: var(--gp-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; color: var(--gp-ink); text-decoration: none; line-height: 1.25; }
.wp-block-latest-posts__post-title:hover { color: var(--gp-link); }
.wp-block-latest-posts__post-date { display: block; font-size: .82rem; color: var(--gp-muted); margin-top: .25rem; }
.wp-block-latest-posts__post-excerpt { color: var(--gp-muted); margin-top: .45rem; font-size: .98rem; }
.wp-block-latest-posts.wp-block-latest-posts__list.is-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; }
.wp-block-latest-posts.wp-block-latest-posts__list.is-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-block-latest-posts.wp-block-latest-posts__list.is-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-latest-posts.is-grid li { width: auto !important; margin: 0 !important; border-top: 3px solid var(--gp-rule); padding-top: .9rem; }
.wp-block-latest-posts.is-grid li .wp-block-latest-posts__post-title { font-size: 1.35rem; letter-spacing: -.03em; }
@media (max-width: 860px) { .wp-block-latest-posts.is-grid, .wp-block-latest-posts.is-grid.columns-2, .wp-block-latest-posts.wp-block-latest-posts__list.is-grid.columns-4 { grid-template-columns: 1fr; } }

/* ---------- Widgets ---------- */
.widget-area { font-size: 1rem; }
.widget { margin: 0 0 2.4rem; }
.widget:last-child { margin-bottom: 0; }
.widget-title, .widget .wp-block-heading { font-family: var(--gp-head); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .9rem; padding-top: .7rem; border-top: 4px solid var(--gp-rule); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: .5rem 0; margin: 0; border-bottom: 1px solid var(--gp-line); }
.widget a { color: var(--gp-ink); text-decoration: none; }
.widget a:hover { color: var(--gp-link); }
.widget .wp-block-latest-posts__post-title { font-size: 1rem; }
.widget p:last-child { margin-bottom: 0; }
.widget .wp-block-group { margin: 0; }
.gp-widget-stat { background: var(--gp-forest); color: var(--gp-on-forest); padding: 1.3rem; border-radius: var(--gp-radius); border-bottom: 6px solid var(--gp-lime); }
.gp-widget-stat .widget-title { color: var(--gp-lime); border-top-color: var(--gp-lime); }
.gp-widget-stat .gp-big { font-size: 3rem; margin: 0 0 .2rem; }
.wp-block-tag-cloud, .tagcloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.wp-block-tag-cloud a, .tagcloud a { font-size: .85rem !important; font-weight: 600; padding: .25em .75em; border: 2px solid var(--gp-ink); border-radius: 99px; }
.wp-block-tag-cloud a:hover { background: var(--gp-lime); border-color: var(--gp-lime); color: #10231b; }

/* ---------- Pagination & post navigation ---------- */
.pagination, .comments-navigation { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .9rem; border: 2px solid var(--gp-ink); border-radius: var(--gp-radius); color: var(--gp-ink); text-decoration: none; font-family: var(--gp-head); font-weight: 700; }
.page-numbers.current { background: var(--gp-ink); color: var(--gp-bg); }
a.page-numbers:hover { background: var(--gp-lime); color: #10231b; border-color: var(--gp-forest); }
.page-numbers.dots { border: 0; }
.post-navigation { margin-top: 3rem; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation a { display: block; text-decoration: none; color: var(--gp-ink); border-top: 3px solid var(--gp-rule); padding-top: .8rem; }
.post-navigation a:hover .post-title { background: linear-gradient(transparent 60%, var(--gp-lime) 60%); }
.post-navigation .meta-nav { display: block; font-family: var(--gp-head); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gp-link); margin-bottom: .3rem; }
.post-navigation .post-title { font-family: var(--gp-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
@media (max-width: 600px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { grid-column: 1; } }

/* ---------- Comments ---------- */
.comments-area { margin-top: 3.2rem; padding-top: 1.2rem; border-top: 4px solid var(--gp-rule); }
.comments-title, .comment-reply-title { font-size: 1.5rem; margin: 0 0 1.4rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 1.4rem; padding-left: 1.2rem; border-left: 3px solid var(--gp-lime); }
.comment-body { padding: 1.1rem 0; border-bottom: 1px solid var(--gp-line); }
.comment-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; margin-bottom: .5rem; font-size: .9rem; }
.comment-author { display: flex; align-items: center; gap: .6rem; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .fn { font-weight: 700; font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata a { color: var(--gp-muted); text-decoration: none; }
.comment-content p:last-child { margin-bottom: .4rem; }
.reply a, .comment-reply-link { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.bypostauthor > .comment-body .fn::after { content: "Author"; margin-left: .5rem; font-size: .7rem; background: var(--gp-lime); color: #10231b; border-radius: 99px; padding: .1em .55em; vertical-align: .1em; }
.comment-respond { margin-top: 2rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: .3rem; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-notes, .logged-in-as { color: var(--gp-muted); font-size: .95rem; }
.required { color: var(--gp-heat); }

/* ---------- 404 & empty ---------- */
.error-404 { text-align: center; padding: 2rem 0; }
.gp-flatline { position: relative; margin: 0 auto 1rem; max-width: 520px; color: var(--gp-leaf); }
.gp-flatline span { display: block; font-family: var(--gp-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: .9; letter-spacing: -.06em; color: var(--gp-ink); }
.gp-flatline svg { display: block; width: 100%; height: 44px; }
.error-404 .page-title { margin-bottom: .8rem; }
.error-404__text { color: var(--gp-muted); max-width: 34em; margin: 0 auto 1.6rem; }
.error-404 .search-form { margin: 0 auto 1.6rem; }
.no-results { padding: 2rem; background: var(--gp-moss); border-radius: var(--gp-radius); }
.no-results__title { margin-top: 0; }
.no-results .search-form { margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gp-forest); color: color-mix(in srgb, var(--gp-on-forest) 82%, transparent); margin-top: auto; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gp-lime); }
.gp-signup { background: var(--gp-lime); color: #10231b; }
.gp-signup__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: 2.2rem 0; flex-wrap: wrap; }
.gp-signup__title { font-family: var(--gp-head); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 .4rem; }
.gp-signup__text { margin: 0; max-width: 38em; }
.gp-signup .button { background: #10231b; border-color: #10231b; color: var(--gp-lime); }
.gp-signup .button:hover { background: #fff; color: #10231b; border-color: #10231b; box-shadow: 4px 4px 0 #10231b; }
.site-footer__inner { padding: 3.4rem 0 2rem; }
.gp-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 3rem; }
.gp-footer__name { display: flex; align-items: center; gap: .55rem; font-family: var(--gp-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; color: #fff; margin: 0 0 .6rem; }
.gp-footer__name svg { color: var(--gp-lime); }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; }
.footer-widgets .widget { margin: 0; }
.footer-widgets .widget-title, .footer-widgets .widget .wp-block-heading { color: var(--gp-lime); border-top-color: var(--gp-lime); }
.footer-widgets .widget li { border-bottom-color: color-mix(in srgb, #fff 12%, transparent); }
.footer-widgets .widget a { color: #fff; }
.footer-widgets .wp-block-latest-posts__post-date { color: color-mix(in srgb, #fff 60%, transparent); }
.gp-footer__bottom { margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid color-mix(in srgb, #fff 18%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.footer-navigation ul, .social-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.footer-navigation li, .social-navigation li { margin: 0; }
.social-navigation { margin-top: 1.1rem; }
.social-navigation ul { gap: .45rem; }
.social-navigation a { display: inline-block; padding: .3em .85em; border: 2px solid color-mix(in srgb, #fff 30%, transparent); border-radius: 99px; font-weight: 700; font-size: .85rem; }
.social-navigation a:hover { background: var(--gp-lime); border-color: var(--gp-lime); color: #10231b; }
.site-info { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
@media (max-width: 760px) { .gp-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Dark mode details ---------- */
.gp-dark .site-header, .gp-dark .site-footer, .gp-dark .gp-hero, .gp-dark .gp-section--forest, .gp-dark .gp-stat, .gp-dark .gp-widget-stat { background: color-mix(in srgb, var(--gp-forest) 55%, #000); }
.gp-dark .gp-pill { border-color: color-mix(in srgb, var(--gp-lime) 30%, transparent); }
.gp-dark .gp-kicker, .gp-dark .page-kicker, .gp-dark .post-navigation .meta-nav { color: var(--gp-lime); }
.gp-dark input[type="search"], .gp-dark input[type="text"], .gp-dark input[type="email"], .gp-dark textarea { background: color-mix(in srgb, var(--gp-forest) 60%, #000); }

/* ---------- Typography choices ---------- */
.gp-fonts-public { --gp-head: "Public Sans", system-ui, sans-serif; }
.gp-fonts-public h1, .gp-fonts-public h2, .gp-fonts-public .entry-title, .gp-fonts-public .gp-hero__title { letter-spacing: -.02em; }
.gp-fonts-editorial { --gp-body: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif; }
.gp-fonts-editorial .entry-content { font-size: 1.18rem; line-height: 1.7; }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.content-wrap { padding: 2.2rem 0 3rem; }
	.gp-ticker__link { display: none; }
	.gp-ticker__label { font-size: .68rem; }
	.site-title { font-size: 1.3rem; }
	.gp-mark svg { width: 32px; height: 32px; }
	.gp-section { padding: 2.8rem 16px; }
	.entry-content { font-size: 1.05rem; }
	.wp-block-pullquote { padding: 1.6rem 1.3rem; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; max-width: 100%; }
	.site-header__inner, .content-wrap, .site-footer__inner, .gp-ticker__inner, .gp-hero__inner, .gp-signup__inner { width: min(100% - 32px, var(--gp-wrap)); }
	.entry--front .entry-content > * { width: min(100% - 32px, var(--gp-wrap)); }
}
@media (max-width: 400px) { .menu-toggle__label { display: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	html { scroll-behavior: auto; }
}
@media print {
	.site-header, .site-footer, .widget-area, .comments-area, .post-navigation, .menu-toggle, .gp-ticker, .gp-hero { display: none; }
	body { background: #fff; color: #000; }
}

/* ---------- Refinements ---------- */
.gp-stat .gp-source { color: color-mix(in srgb, var(--gp-on-forest) 70%, transparent); margin-top: .6rem; }
.gp-widget-stat a { color: var(--gp-lime); font-weight: 700; }
.gp-widget-stat p { color: var(--gp-on-forest); }
.wp-block-table table, .wp-block-table th, .wp-block-table td { border-left: 0; border-right: 0; }
.wp-block-table th, .wp-block-table td { border-top: 0; border-bottom: 1px solid var(--gp-line); }
.wp-block-table thead th { border-bottom: 2px solid var(--gp-rule); }
.entry-content .wp-block-latest-posts__post-title { color: var(--gp-ink); text-decoration: none; }
.entry-content .wp-block-latest-posts__post-title:hover { color: var(--gp-link); }
.gp-numbers .gp-big { font-size: clamp(2.4rem, 4.4vw, 4rem); white-space: nowrap; }
