/* Humanist type, quiet blue, real people. Content remains owned by ACF.
 * Layers: header 10, donation 15, mobile navigation 20, skip link 30.
 * Shapes: panels/media 16px, controls 8px, primary actions pill-shaped.
 */
@font-face { font-family: "Fira Sans"; src: url("../fonts/FiraSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/FiraSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/FiraSans-SemiBold.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --canvas: #fcfcf9;
  --surface: #ffffff;
  --soft: #edf2fb;
  --warm: #f5f3e9;
  --ink: #202d46;
  --muted: #526077;
  --accent: #2453bf;
  --accent-hover: #19429f;
  --action: #39b9e0;
  --action-hover: #76d3ef;
  --on-accent: #202d46;
  --line: #d7dce5;
  --field-line: #8290a5;
  --error: #a62d30;
  --container: 1280px;
  --radius: 16px;
  --space: clamp(4rem, 7vw, 6rem);
  --gap: clamp(2rem, 5vw, 5rem);
  --motion: 240ms cubic-bezier(.32,.72,0,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "Fira Sans", system-ui, sans-serif; font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { color: var(--on-accent); background: var(--action); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
button, input, textarea, select { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0 0 1rem; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
h3 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.02em; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }
address { font-style: normal; }
.container { width: min(calc(100% - 5rem), var(--container)); margin-inline: auto; }
.section { padding-block: var(--space); }
.section--tint { background: var(--soft); }
.rich-text { color: var(--muted); }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text :is(ul, ol) { padding-left: 1.25rem; }
.rich-text a, .entry-content a { color: var(--accent); }
.rich-text a:hover, .entry-content a:hover { color: var(--accent-hover); }
.eyebrow { margin-bottom: 1.5rem; color: var(--accent); font-size: .875rem; font-weight: 500; line-height: 1.5; letter-spacing: .02em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 30; top: 1rem; left: 1rem; padding: .75rem 1rem; color: var(--on-accent); background: var(--action); border-radius: 8px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Navigation */
.topbar { color: var(--muted); background: var(--soft); font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; padding-block: .5rem; }
.topbar__message p { margin: 0; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.topbar__contact { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.topbar__contact svg { flex: 0 0 16px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.site-header { position: sticky; z-index: 10; top: 0; background: var(--canvas); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-branding { width: 220px; flex-shrink: 0; border-radius: 8px; }
.theme-toggle { display: none; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; transition: color var(--motion), border-color var(--motion), transform var(--motion); }
.has-js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: rotate(-12deg); }
.theme-toggle__moon, [data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }
.site-logo { position: relative; display: block; width: 100%; aspect-ratio: 522 / 104; }
.site-logo__animation { position: absolute; inset: 0; opacity: 0; }
.site-logo__animation svg { width: 100%; height: 100%; }
.site-logo.is-lottie-ready .site-logo__animation { opacity: 1; }
.site-logo.is-lottie-ready .site-logo__fallback { visibility: hidden; }
.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.site-nav__list { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.site-nav__list a { display: inline-block; padding-block: .5rem; font-size: 1rem; font-weight: 500; text-decoration: none; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list a[aria-current="page"] { color: var(--accent); }
.menu-toggle { display: none; align-items: center; gap: .75rem; min-height: 44px; padding: .5rem; color: var(--ink); background: transparent; border: 0; }
.menu-toggle__bars { position: relative; width: 24px; height: 20px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { position: absolute; top: 6px; left: 0; width: 24px; height: 2px; content: ""; background: currentColor; transition: transform var(--motion); }
.menu-toggle__bars::after { top: 14px; }
.is-menu-open .menu-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.is-menu-open .menu-toggle__bars::after { transform: translateY(-4px) rotate(-45deg); }

/* Actions */
.button, .mobile-donate { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.25rem; padding: .75rem 1.5rem; color: var(--on-accent); background: var(--action); border: 1px solid transparent; border-radius: 999px; font-weight: 500; font-size: 1rem; line-height: 1.5; text-decoration: none; text-align: center; transition: background var(--motion), color var(--motion), border-color var(--motion), transform var(--motion); }
.button::after, .text-link::after { content: ""; width: .5rem; height: .5rem; flex-shrink: 0; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform var(--motion); }
.button:hover::after, .text-link:hover::after { transform: translateX(3px) rotate(45deg); }
.button:active, .mobile-donate:active, .quote-control:active, .copy-button:active { transform: translateY(1px); }
.button--small { min-height: 2.75rem; padding: .5rem 1.25rem; font-size: .875rem; }
.button--outline, .button--quiet, .button--light { color: var(--ink); background: transparent; border-color: var(--line); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; margin-top: 1.5rem; color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); }
.text-link:hover { color: var(--accent-hover); text-decoration-color: currentColor; }

/* The reveal grows from the pointer's entry/exit point, just like the original CTAs. */
.button, .mobile-donate { position: relative; isolation: isolate; overflow: hidden; --button-reveal: var(--action-hover); }
.button::before, .mobile-donate::before { position: absolute; z-index: -1; top: var(--button-hover-y, 50%); left: var(--button-hover-x, 50%); width: max(225%, 18rem); aspect-ratio: 1; content: ""; border-radius: 50%; background: var(--button-reveal); pointer-events: none; transform: translate(-50%, -50%) scale(0); transition: transform 420ms cubic-bezier(.2,.8,.2,1); }
.button:is(:hover, :focus-visible), .mobile-donate:is(:hover, :focus-visible) { background: var(--action); color: var(--on-accent); border-color: transparent; }
.button:is(:hover, :focus-visible)::before, .mobile-donate:is(:hover, :focus-visible)::before { transform: translate(-50%, -50%) scale(1); }
.button--outline, .button--quiet, .button--light { --button-reveal: var(--action); }
.button--outline:is(:hover, :focus-visible), .button--quiet:is(:hover, :focus-visible), .button--light:is(:hover, :focus-visible) { background: transparent; border-color: var(--accent); }
.button__label, .button::after { position: relative; z-index: 1; }

/* A fine underline draws in from the left and leaves to the right. */
:is(.site-nav__list, .topbar__links, .site-footer, .contact-details) a, .text-link, :is(.rich-text, .entry-content, .post-entry__body) a:not(.button) { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: right bottom; background-repeat: no-repeat; transition: background-size 300ms ease, color var(--motion); }
:is(.site-nav__list, .topbar__links, .site-footer, .contact-details) a:is(:hover, :focus-visible), .text-link:is(:hover, :focus-visible), :is(.rich-text, .entry-content, .post-entry__body) a:not(.button):is(:hover, :focus-visible) { text-decoration: none; background-size: 100% 1px; background-position: left bottom; }
:is(.rich-text, .entry-content, .post-entry__body) a:not(.button) { text-decoration: underline; text-decoration-color: var(--line); }
.site-nav__list .current-menu-item > a, .site-nav__list a[aria-current] { color: var(--accent); text-decoration: none; background-size: 100% 1px; }

/* Homepage: full-height, uncropped photographs travel through the hero. */
.hero { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; width: min(calc(100% - 5rem), var(--container)); margin-inline: auto; padding-block: 3rem 4rem; }
.hero--collage { grid-template-columns: 1.05fr 1fr; }
.hero__content { order: 1; width: auto; margin: 0; padding-right: 1rem; }
.hero__copy h1 { max-width: 18ch; margin-bottom: 1.5rem; }
.hero__lede { max-width: 42ch; margin-bottom: 2rem; font-size: 1.125rem; line-height: 1.65; }
.hero__collage { order: 2; min-width: 0; align-self: stretch; }
.hero__media { --marquee-height: 32rem; position: relative; display: grid; align-items: center; height: var(--marquee-height); margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.hero__media-track { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media-copy, .hero__media-copy picture { height: 100%; }
.hero__media-copy img { width: 100%; height: 100%; object-fit: contain; }
.hero__media-copy + .hero__media-copy { display: none; }
.is-marquee-ready .hero__media-track { display: flex; width: max-content; height: var(--marquee-height); animation: hero-marquee var(--marquee-duration, 45s) linear infinite; }
.is-marquee-ready .hero__media-copy { display: flex; flex: 0 0 var(--marquee-width); width: var(--marquee-width); height: 100%; }
.is-marquee-ready .hero__media-copy picture { width: 100%; height: 100%; }
.is-marquee-ready .hero__media-copy img { width: 100%; max-width: none; height: 100%; object-fit: cover; }
.is-marquee-paused .hero__media-track, .is-marquee-away .hero__media-track { animation-play-state: paused; }
.marquee-toggle { position: absolute; right: 1rem; bottom: 1rem; display: none; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 50%; }
.is-marquee-ready .marquee-toggle { display: grid; }
.marquee-toggle span { width: 10px; height: 14px; border-inline: 3px solid currentColor; }
.is-marquee-paused .marquee-toggle span { width: 0; height: 0; margin-left: 3px; border: 7px solid transparent; border-right: 0; border-left: 10px solid currentColor; }
@keyframes hero-marquee { to { transform: translateX(-50%); } }
/* Hover never interrupts the marquee; its explicit pause control remains available. */
.about-gallery picture { display: block; height: 100%; }
.section--mission { border-top: 1px solid var(--line); }
.mission-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--gap); }
.mission-layout__copy h2 { max-width: 20ch; }
.mission-layout__copy .rich-text { max-width: 46ch; font-size: 1.125rem; }
.mission-layout__visual { min-width: 0; }
.mission-layout__visual > img { width: 100%; border-radius: var(--radius); }
.mission-video { position: relative; display: block; overflow: hidden; aspect-ratio: 16/10; border-radius: var(--radius); background: var(--soft); }
.mission-video picture, .mission-video img { width: 100%; height: 100%; object-fit: cover; }
.mission-video__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 4rem; height: 4rem; background: #ffffff; border-radius: 50%; transform: translate(-50%, -50%); transition: transform var(--motion); }
.mission-video__play::before { content: ""; width: 0; height: 0; margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid #2453bf; }
.mission-video:hover .mission-video__play { transform: translate(-50%, -50%) scale(1.08); }
.mission-video__label { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; width: fit-content; padding: .5rem .75rem; color: #ffffff; background: #202d46; border-radius: 8px; font-size: .875rem; }
.video-dialog { width: min(92vw, 68rem); max-width: none; padding: 0; overflow: visible; border: 0; background: transparent; }
.video-dialog::backdrop { background: rgb(12 22 39 / 85%); }
.video-dialog__frame { aspect-ratio: 16/9; background: #181818; }
.video-dialog__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-dialog__close { position: absolute; top: -3.5rem; right: 0; width: 44px; height: 44px; color: #ffffff; background: #202d46; border: 1px solid #ffffff; border-radius: 50%; }
.video-dialog__close span, .video-dialog__close::after { position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; content: ""; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.video-dialog__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.section--donation { padding-top: 0; }
.donation-panel { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; padding: 3rem; background: var(--soft); border-radius: var(--radius); }
.donation-panel .eyebrow { margin-bottom: 1rem; }
.donation-panel .rich-text { max-width: 48ch; }
.donation-panel__actions { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
.donation-panel__actions .button--light { background: var(--surface); }
.participation { padding-top: 2rem; }
.participation__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--gap); }
.participation__intro h2 { max-width: 18ch; }
.participation__intro .rich-text { max-width: 42ch; margin-bottom: 2rem; }
.participation__values { display: grid; }
.participation__values article { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.participation__values article:first-child { padding-top: 0; }
.participation__values h3 { margin: 0; color: var(--accent); }
.participation__values .rich-text { max-width: 32ch; }
.impact { padding-block: var(--space); background: var(--soft); }
.impact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.impact__copy h2 { max-width: 24ch; }
.impact__copy .button { margin-top: 1rem; }
.impact__figures { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.impact__figures div { padding-block: 1.5rem; }
.impact__figures strong { display: block; margin-bottom: .5rem; color: var(--accent); font-size: clamp(4rem, 7vw, 6rem); font-weight: 500; line-height: 1.1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.impact__figures span { display: block; max-width: 18ch; color: var(--muted); }
.quotes > .container { max-width: 1056px; }
.quotes__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.quotes__head h2 { max-width: 23ch; margin: 0; font-size: clamp(1.5rem, 2.3vw, 2rem); }
.quote-controls { display: none; gap: .5rem; }
.has-js .quote-controls { display: flex; }
.quote-control { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 44px; padding: .5rem 1rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; transition: color var(--motion), border-color var(--motion); }
.quote-control:hover { color: var(--accent); border-color: var(--accent); }
.quote-control span { width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.quote-control--previous span { transform: rotate(-135deg); }
.quote { margin: 0; padding: .5rem 0 2rem; }
.quote blockquote { max-width: 36ch; margin-bottom: 2rem; color: var(--accent); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.3; text-wrap: balance; }
.quote blockquote p { margin: 0; }
.quote figcaption { color: var(--muted); font-size: 1rem; }
.has-js .quotes-swiper { overflow: hidden; }
.has-js .quotes-swiper .swiper-wrapper { display: flex; width: 100%; transition: transform 400ms cubic-bezier(.32,.72,0,1); }
.has-js .quotes-swiper .swiper-slide { flex: 0 0 100%; min-width: 0; }
.volunteer-feature { background: var(--warm); }
.volunteer-feature__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--gap); align-items: center; }
.volunteer-feature__copy h2 { max-width: 19ch; }
.volunteer-feature__copy .rich-text { max-width: 49ch; }
.volunteer-feature__visual { margin: 0; }
.volunteer-feature__visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.story-support__grid { display: grid; grid-template-columns: .7fr 1fr; gap: var(--gap); align-items: center; }
.story-support figure { margin: 0; }
.story-support img { width: 100%; max-height: 36rem; object-fit: contain; border-radius: var(--radius); }
.story-support .rich-text { max-width: 50ch; margin-bottom: 2rem; }
.social-section__header { margin-bottom: 3rem; }
.social-section__header .rich-text { max-width: 58ch; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.social-card { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin: 0; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.social-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.social-card h3 { margin-bottom: .5rem; }
.social-card .text-link { margin-top: 0; }
.final-call { padding-block: var(--space); background: var(--soft); }
.final-call__content { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.final-call h2 { max-width: 29ch; margin: 0; font-size: clamp(2rem, 3vw, 3rem); }
.final-call .button-row { flex-shrink: 0; flex-direction: column; align-items: stretch; }

/* Inner pages */
.page-hero, .post-hero { padding-block: 4rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 24ch; }
.page-hero__text { max-width: 58ch; font-size: 1.125rem; }
.prose { max-width: 760px; }
.page-standard > .prose { padding-block: var(--space); }
.prose p + p { margin-top: 1.5rem; }
.prose--wide { max-width: 960px; }
.about-intro .prose { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
.about-intro .intro-copy { grid-column: 1 / -1; max-width: 44ch; margin-bottom: 1rem; color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.5; }
.about-intro .rich-text:last-child { grid-column: 1 / -1; }
.about-gallery { padding-top: 0; }
.about-gallery__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: stretch; }
.about-gallery figure { min-width: 0; height: clamp(18rem, 32vw, 27rem); margin: 0; overflow: hidden; border-radius: var(--radius); }
.about-gallery img { width: 100%; height: 100%; object-fit: cover; }
.about-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; }
.about-blocks article:first-child { grid-row: span 2; padding-right: 2rem; }
.about-blocks h2 { font-size: 2rem; }
.about-blocks article:first-child h2 { font-size: 3rem; }
.about-blocks .rich-text + .rich-text { margin-top: 1.5rem; }
.about-blocks ul { margin: 0; padding-left: 1.25rem; color: var(--muted); }
.about-blocks li + li { margin-top: .75rem; }
.transparency__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.transparency__card { padding: 3rem; background: var(--warm); border-radius: var(--radius); }
.transparency__card .rich-text { margin-bottom: 1.5rem; }
.bank-page__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.bank-card { padding: 3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.bank-card h2 { font-size: 2rem; }
.bank-card > .rich-text { margin-bottom: 2rem; }
.bank-aside { position: sticky; top: 7rem; padding: 2rem; background: var(--soft); border-radius: var(--radius); }
.bank-aside h2 { font-size: 1.5rem; line-height: 1.3; }
.bank-aside .rich-text { margin-bottom: 1.5rem; }
.bank-aside .text-link { display: flex; width: fit-content; }
.copy-field { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.copy-field > div { min-width: 0; }
.copy-field > div > span { display: block; margin-bottom: .5rem; color: var(--muted); font-size: .875rem; }
.copy-field strong { display: block; font-size: 1rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy-button { display: inline-flex; flex-shrink: 0; align-items: center; gap: .75rem; min-height: 44px; padding: .5rem .75rem; color: var(--accent); background: var(--soft); border: 1px solid transparent; border-radius: 8px; font-size: .875rem; }
.copy-button:hover { border-color: var(--accent); }
.copy-button__mark { position: relative; width: 12px; height: 12px; border: 1px solid currentColor; border-radius: 2px; }
.copy-button__mark::before { position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; content: ""; border-top: 1px solid currentColor; border-left: 1px solid currentColor; border-radius: 2px; }
.copy-status { min-height: 1.5rem; margin: 1rem 0 0; color: var(--accent); font-size: .875rem; }
.volunteer-page__grid, .contact-page__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: var(--gap); }
.volunteer-page .prose h2 { max-width: 20ch; }
.volunteer-page .prose .rich-text { margin-top: 1.5rem; }
.contact-details { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-details a { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding-block: 1rem; border-top: 1px solid var(--line); color: var(--accent); text-decoration: none; }
.contact-details strong { min-width: 10rem; color: var(--ink); }
.volunteer-form-wrap { padding: 2rem; background: var(--soft); border-radius: var(--radius); }
.volunteer-form-wrap h2, .contact-page h2 { font-size: 2rem; }
.contact-cards { display: grid; gap: 1rem; }
.contact-cards a { display: flex; flex-direction: column; gap: .5rem; padding: 2rem; background: var(--soft); border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; transition: border-color var(--motion); }
.contact-cards a:hover { border-color: var(--accent); }
.contact-cards strong { color: var(--muted); font-size: 1rem; font-weight: 400; }
.contact-cards span { color: var(--accent); font-size: 1.25rem; overflow-wrap: anywhere; }
.contact-card__address p { margin: 0; }

/* CF7 owns field order, names and messages. */
.wpcf7, .theme-form { margin-top: 2rem; }
.wpcf7 form, .theme-form { display: grid; gap: 1rem; }
.wpcf7 p, .wpcf7 .control-form { margin: 0; }
.wpcf7 .contact-form-wrapper, .wpcf7 .become-a-volunteer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpcf7 .control-form:has(textarea), .wpcf7 .control-form.action { grid-column: 1 / -1; }
.wpcf7 label, .theme-form label { display: grid; gap: .5rem; font-size: 1rem; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .wpcf7 textarea, .wpcf7 select, .theme-form input, .theme-form textarea { width: 100%; min-height: 3rem; margin: 0; padding: .75rem 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--field-line); border-radius: 8px; outline-offset: 2px; }
.wpcf7 textarea, .theme-form textarea { min-height: 10rem; resize: vertical; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: var(--muted); opacity: 1; }
/* A single text-colour contour, without a coloured fill, side stripe or outer halo.
   The padding adjustment keeps the text and surrounding layout stationary. */
:is(.wpcf7, .theme-form) :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select):focus { outline: none; background: var(--surface); border: 2px solid var(--ink); padding: calc(.75rem - 1px) calc(1rem - 1px); box-shadow: none; }
@media (forced-colors: active) { :is(.wpcf7, .theme-form) :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select):focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { width: auto; accent-color: var(--accent); }
.wpcf7 input[type="submit"] { min-height: 3rem; padding: .75rem 1.5rem; color: var(--on-accent); background: var(--action); border: 1px solid transparent; border-radius: 999px; font-weight: 500; transition: background var(--motion); }
.wpcf7 input[type="submit"]:hover { background: var(--action-hover); }
.wpcf7-not-valid-tip { color: var(--error); font-size: 1rem; }
.wpcf7 form .wpcf7-response-output, .form-message { padding: 1rem; margin: 1rem 0 0; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 8px; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .form-message--error { border-color: var(--error); }
.wpcf7 .wpcf7-spinner { vertical-align: middle; margin-inline: .75rem 0; }

.site-footer { padding-top: 4rem; background: var(--canvas); border-top: 1px solid var(--line); font-size: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.site-footer__brand img { width: 220px; margin-bottom: 1.5rem; }
.site-footer__brand .rich-text { max-width: 33ch; }
.site-footer .rich-text p { margin-bottom: 0; }
.footer-heading { margin: 0 0 1.5rem; font-size: 1rem; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .75rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .site-footer a:hover { color: var(--accent); }
.footer-text-link { display: inline-flex; margin-top: 1rem; color: var(--accent); }
.site-footer address { margin-bottom: .75rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom > div { display: flex; gap: 1.5rem; }
.mobile-donate { display: none; }

/* Editorial pages, archives and empty states */
.entry-content, .post-entry { max-width: 800px; }
.entry-content img, .post-entry img { border-radius: var(--radius); }
.post-hero__inner { max-width: 1120px; }
.post-hero h1 { max-width: 30ch; }
.post-hero__categories, .post-card__categories { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.post-hero__categories a, .post-card__categories a, .post-entry__footer a { color: var(--accent); font-size: .875rem; }
.post-hero__date { color: var(--muted); }
.post-entry { padding-block: var(--space); }
.post-entry__media { margin-bottom: 3rem; }
.post-entry__media img { width: 100%; max-height: 36rem; object-fit: cover; }
.post-entry__body :is(h2, h3, h4) { margin-top: 3rem; }
.post-entry__body h2 { font-size: 2rem; }
.post-entry__body p, .post-entry__body li { font-size: 1.125rem; color: var(--muted); }
.post-entry__body a { color: var(--accent); }
.post-entry__body blockquote { padding: 2rem; margin: 2rem 0; background: var(--soft); border-radius: var(--radius); }
.post-entry__body figure { margin: 2rem 0; }
.post-entry__footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.entry-content, .post-entry__body { overflow-wrap: anywhere; }
.entry-content iframe, .post-entry__body iframe { max-width: 100%; }
.blog-archive, .posts-list { padding-block: var(--space); }
.category-nav { margin-bottom: 3rem; overflow-x: auto; }
.category-nav ul { display: flex; gap: 1.5rem; margin: 0; padding: 0 0 1rem; list-style: none; }
.category-nav a { display: block; white-space: nowrap; }
.category-nav a[aria-current="page"] { color: var(--accent); }
.posts-list { display: grid; gap: 2rem; }
.posts-list article { padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.posts-list h2 { font-size: 1.5rem; }
.posts-list--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
.posts-list--archive .post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card__media { display: block; aspect-ratio: 16/9; background: var(--soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__content { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 2rem; }
.post-card__content .text-link { margin-top: auto; }
.pagination { margin-top: 2rem; }
.page-numbers { display: inline-block; min-width: 44px; padding: .5rem; text-align: center; }
.page-numbers.current { color: var(--on-accent); background: var(--action); border-radius: 8px; }
.archive-empty { color: var(--muted); }
.site-main--404 { padding-block: var(--space); }
.not-found { width: min(calc(100% - 3rem), 800px); margin-inline: auto; text-align: center; }
.not-found__mark { width: 80px; height: 80px; margin: 0 auto 2rem; background: url("/wp-content/uploads/2021/10/logo-paidiki-hara.svg") left center / 400px auto no-repeat; }
.not-found .rich-text { max-width: 50ch; margin: 1.5rem auto 2rem; }
.not-found .button-row { justify-content: center; }

@media (max-width: 1100px) {
  .container, .hero { width: min(calc(100% - 3rem), var(--container)); }
  .site-nav, .site-nav__list { gap: 1.5rem; }
  .site-branding { width: 190px; }
  .hero { gap: 2rem; }
  .site-header__inner { gap: 1.25rem; }
  .participation__values article { grid-template-columns: 1fr; gap: .75rem; }
  .bank-page__grid { grid-template-columns: 1.3fr 1fr; gap: 2rem; }
  .bank-card { padding: 2rem; }
  .site-footer__grid { gap: 2rem; }
  .social-card { gap: 1rem; }
}
@media (max-width: 860px) {
  :root { --space: 4rem; --gap: 3rem; }
  .topbar__links { gap: 1rem; }
  .site-header__inner { min-height: 4.5rem; }
  .site-branding { width: 180px; }
  .has-js .menu-toggle { display: inline-flex; z-index: 21; }
  .has-js .site-nav { position: fixed; z-index: 20; inset: 4.5rem 0 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem; padding: 2rem 1.5rem; background: var(--canvas); overflow-y: auto; visibility: hidden; opacity: 0; }
  .has-js .is-menu-open .site-nav { top: var(--menu-top, 4.5rem); visibility: visible; opacity: 1; transition: opacity var(--motion); }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list a { display: block; padding-block: 1.5rem; font-size: 1.5rem; }
  body.is-menu-open { overflow: hidden; }
  .has-js .admin-bar .site-nav { inset-block-start: calc(4.5rem + 32px); }
  html:not(.has-js) .site-header { position: static; }
  html:not(.has-js) .site-header__inner, html:not(.has-js) .site-nav { flex-direction: column; align-items: stretch; padding-block: 1rem; }
  .hero { padding-block: 3rem; gap: 2rem; }
  .hero--collage { grid-template-columns: 1fr 1fr; }
  .hero__copy h1 { font-size: 2.5rem; }
  .hero__lede { font-size: 1.125rem; }
  .hero .button-row { align-items: stretch; flex-direction: column; }
  .donation-panel { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .donation-panel__actions { flex-direction: row; flex-wrap: wrap; }
  .participation__grid, .impact__grid, .volunteer-feature__grid, .story-support__grid, .transparency__grid, .bank-page__grid, .volunteer-page__grid, .contact-page__grid { grid-template-columns: 1fr; }
  .participation__values article { grid-template-columns: 12rem 1fr; }
  .impact__figures { max-width: 36rem; }
  .quotes__head { align-items: start; }
  .quote-controls { flex-shrink: 0; }
  .social-grid { grid-template-columns: 1fr; gap: 1rem; }
  .social-card { grid-template-columns: 1fr 1.5fr; gap: 2rem; }
  .final-call__content { align-items: start; flex-direction: column; }
  .final-call .button-row { flex-direction: row; }
  .bank-aside { position: static; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .about-blocks { gap: 2rem; }
  .about-blocks article:first-child { padding-right: 0; }
}
@media (max-width: 620px) {
  :root { --space: 3rem; --gap: 2rem; }
  html { scroll-padding-top: 6rem; }
  body { padding-bottom: 5.5rem; }
  .container, .hero { width: calc(100% - 2rem); }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
  .topbar__inner { display: block; min-height: 40px; padding-block: 0; }
  .topbar__message, .topbar__social { display: none; }
  .topbar__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 .5rem; font-size: .875rem; }
  .topbar__links a { min-height: 40px; }
  .site-header__inner { gap: .5rem; }
  .site-branding { width: clamp(140px, 42vw, 180px); }
  .menu-toggle { font-size: .875rem; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-toggle { justify-content: center; width: 44px; padding: .5rem; }
  .hero, .hero--collage { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem 3rem; }
  .hero__content { padding: 0; }
  .hero__copy h1 { max-width: 19ch; font-size: clamp(2rem, 8.5vw, 2.75rem); }
  .hero__lede { max-width: 44ch; margin-bottom: 1.5rem; }
  .hero .eyebrow { margin-bottom: 1rem; }
  .hero .button-row { align-items: stretch; flex-direction: row; gap: .75rem; }
  .hero .button { flex: 1 1 auto; padding-inline: 1rem; font-size: .875rem; }
  .hero__media { --marquee-height: clamp(15rem, 60vw, 22rem); }
  .mission-layout { grid-template-columns: 1fr; gap: 2rem; }
  .mission-layout__copy .rich-text { font-size: 1rem; }
  .donation-panel { padding: 1.5rem; }
  .donation-panel__actions { flex-direction: column; }
  .participation { padding-top: 0; }
  .participation__values article { grid-template-columns: 1fr; gap: .75rem; padding-block: 1.5rem; }
  .impact__figures { gap: 1.5rem; }
  .impact__figures strong { font-size: 4rem; }
  .impact__figures span { font-size: .875rem; }
  .quotes__head { flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
  .quote blockquote { font-size: 1.75rem; }
  .quote { padding-bottom: 0; }
  .social-section__header { margin-bottom: 1.5rem; }
  .social-card { grid-template-columns: 1fr 1.2fr; gap: 1.5rem; }
  .social-card img { aspect-ratio: 1; }
  .social-card .text-link { font-size: .875rem; gap: .5rem; }
  .final-call__content { gap: 2rem; }
  .final-call .button-row { width: 100%; flex-direction: column; }
  .page-hero, .post-hero { padding-block: 3rem; }
  .page-hero__text { font-size: 1rem; }
  .about-intro .prose, .about-gallery__grid, .about-blocks { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-intro .intro-copy, .about-intro .rich-text:last-child { grid-column: auto; }
  .about-gallery figure { height: auto; aspect-ratio: 4/3; }
  .about-blocks article:first-child { grid-row: auto; }
  .about-blocks article:first-child h2 { font-size: 2rem; }
  .about-blocks article + article { padding-top: 1.5rem; }
  .transparency__card, .bank-card, .bank-aside, .volunteer-form-wrap { padding: 1.5rem; }
  .copy-field { flex-direction: column; align-items: start; gap: .75rem; }
  .contact-cards a { padding: 1.5rem; }
  .wpcf7 .contact-form-wrapper, .wpcf7 .become-a-volunteer-form { grid-template-columns: 1fr; }
  .site-footer { padding-top: 3rem; }
  .site-footer__grid { gap: 2rem 1.5rem; }
  .site-footer__brand, .site-footer__grid > :last-child { grid-column: 1 / -1; }
  .site-footer__brand .rich-text { max-width: 44ch; }
  .site-footer__grid > * { min-width: 0; overflow-wrap: anywhere; }
  .footer-heading { margin-bottom: 1rem; }
  .site-footer__bottom { flex-wrap: wrap; }
  .mobile-donate { position: fixed; z-index: 15; bottom: calc(1rem + env(safe-area-inset-bottom)); left: 1rem; right: 1rem; display: inline-flex; box-shadow: 0 4px 24px rgb(20 40 80 / 16%); }
  .has-home-hero:not(.has-passed-home-hero) .mobile-donate, .is-menu-open .mobile-donate { opacity: 0; visibility: hidden; pointer-events: none; }
  .posts-list--archive { grid-template-columns: 1fr; }
  .post-card__content { padding: 1.5rem; }
  .post-entry__body p, .post-entry__body li { font-size: 1rem; }
  .admin-bar .site-header { top: 0; }
  .has-js .admin-bar .site-nav { inset-block-start: 4.5rem; }
}
:root[data-theme="dark"] { color-scheme: dark; --canvas: #181d27; --surface: #202733; --soft: #242f43; --warm: #2b2d30; --ink: #f3f5fa; --muted: #c0c9d8; --accent: #39b9e0; --accent-hover: #76d3ef; --on-accent: #202d46; --line: #43506a; --field-line: #8594ad; --error: #ffa6a9; }
.site-footer__brand img { padding: .5rem; border-radius: 8px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { color-scheme: dark; --canvas: #181d27; --surface: #202733; --soft: #242f43; --warm: #2b2d30; --ink: #f3f5fa; --muted: #c0c9d8; --accent: #39b9e0; --accent-hover: #76d3ef; --on-accent: #202d46; --line: #43506a; --field-line: #8594ad; --error: #ffa6a9; }
  :root:not([data-theme]) :is(.site-branding, .site-footer__brand img, .not-found__mark) { background-color: #ffffff; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site-logo__animation { display: none; }
  .site-logo.is-lottie-ready .site-logo__fallback { visibility: visible; }
}
/* Full-bleed hero with full-height or stacked marquee layouts on mobile. */
.hero--full-width.hero--collage { position: relative; isolation: isolate; width: 100%; max-width: none; min-height: clamp(34rem, calc(100svh - 7.5rem), 48rem); grid-template-columns: minmax(0, 1fr); margin: 0; padding-block: 4rem; overflow: hidden; }
.hero--full-width .hero__collage { position: absolute; z-index: -1; inset: 0; }
.hero--full-width .hero__media { --marquee-height: 100%; height: 100%; border-radius: 0; }
.hero--full-width .hero__media::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, var(--canvas) 0%, color-mix(in srgb, var(--canvas) 97%, transparent) 34%, color-mix(in srgb, var(--canvas) 72%, transparent) 52%, transparent 80%); }
.hero--full-width .hero__content { width: min(calc(100% - 5rem), var(--container)); margin-inline: auto; padding: 0; }
.hero--full-width .hero__copy { max-width: 38rem; }
.hero--full-width .hero__copy h1 { max-width: 15ch; font-size: clamp(2.5rem, 4.2vw, 4rem); }
.hero--full-width .hero__lede { max-width: 36ch; }
.hero--full-width .marquee-toggle { z-index: 1; }

/* An editorial lead story with two lighter entries, using real WordPress posts. */
.home-journal__heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.home-journal__heading h2, .home-journal__heading .text-link { margin: 0; }
.home-journal__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 3rem; }
.journal-story { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.journal-story:first-child { grid-row: span 2; display: block; }
.journal-story__image { display: block; overflow: hidden; aspect-ratio: 4/3; border-radius: var(--radius); background: var(--soft); }
.journal-story:first-child .journal-story__image { aspect-ratio: 16/9; margin-bottom: 1.5rem; }
.journal-story__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion); }
.journal-story__image:hover img { transform: scale(1.03); }
.journal-story time { display: block; margin-bottom: .5rem; font-size: .875rem; color: var(--muted); }
.journal-story h3 { font-size: 1.5rem; }
.journal-story h3 a { text-decoration: none; }
.journal-story h3 a:is(:hover, :focus-visible) { color: var(--accent); text-decoration: none; }
.journal-story p { color: var(--muted); margin-bottom: 0; }
.journal-story:not(:has(.journal-story__image)) { grid-template-columns: minmax(0, 1fr); }
.contact-cards .contact-card { display: block; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card > strong { display: block; margin-bottom: .5rem; }
.contact-card--address { cursor: default; }
@media (max-width: 1100px) { .hero--full-width .hero__content { width: calc(100% - 3rem); } }
@media (min-width: 621px) and (max-width: 860px) {
  .hero--full-width .hero__copy { max-width: 34rem; }
  .hero--full-width .hero__media::after { background: linear-gradient(90deg, var(--canvas), color-mix(in srgb, var(--canvas) 95%, transparent) 50%, color-mix(in srgb, var(--canvas) 50%, transparent)); }
}
@media (max-width: 620px) {
  .hero--full-width.hero--collage { min-height: calc(100dvh - var(--hero-top-offset, calc(7rem + 1px))); padding-block: calc(44px + 2rem) 1rem; gap: 0; align-items: end; }
  .hero--full-width .hero__content { width: calc(100% - 2rem); align-self: end; }
  .hero--full-width .hero__collage { position: absolute; inset: 0; }
  .hero--full-width .hero__media { --marquee-height: 100%; height: 100%; }
  .hero--full-width.hero--mobile-full .hero__media-copy img { width: 100%; height: 100%; object-fit: cover; }
  .hero--full-width .hero__media::after { display: none; }
  .hero--full-width .marquee-toggle { top: 1rem; bottom: auto; }
  .hero--full-width.hero--mobile-full .hero__copy { --ink: #202d46; --muted: #526077; --accent: #2453bf; --accent-hover: #19429f; --line: #d7dce5; color-scheme: light; color: var(--ink); padding: 1.5rem; border-radius: var(--radius); background: rgb(255 255 255 / 92%); }
  .hero--full-width .hero__copy h1 { max-width: 19ch; font-size: clamp(2rem, 8.5vw, 2.75rem); }
  .hero--full-width.hero--mobile-stacked { padding-block: 0 1.5rem; gap: 1.5rem; align-content: start; grid-template-rows: auto 1fr; }
  .hero--full-width.hero--mobile-stacked .hero__content { order: 1; align-self: center; }
  .hero--full-width.hero--mobile-stacked .hero__collage { position: relative; z-index: auto; inset: auto; order: 0; }
  .hero--full-width.hero--mobile-stacked .hero__media { --marquee-height: clamp(10rem, 28svh, 18rem); height: var(--marquee-height); }
  .home-journal__grid { grid-template-columns: minmax(0, 1fr); }
  .journal-story:first-child { grid-row: auto; }
  .contact-cards .contact-card { padding: 1.5rem; }
}
@media print {
  .topbar, .site-header, .mobile-donate, .quote-controls, .copy-button, .video-dialog { display: none !important; }
  body { color: #202d46; background: #ffffff; padding: 0; }
  .section { padding-block: 2rem; }
  .has-js .quotes-swiper { overflow: visible; }
  .has-js .quotes-swiper .swiper-wrapper { display: block; transform: none !important; }
}
/* Blog archives and post navigation use clean links; inline article links keep their reading cue. */
.blog-archive :is(.category-nav a, .post-card__categories a, .post-card h2 a, .post-card .text-link),
.post-hero__categories a,
.post-entry__footer a,
.post-navigation a,
.related-posts a { text-decoration: none; background-image: none; }
.blog-archive :is(.category-nav a, .post-card__categories a, .post-card h2 a, .post-card .text-link):is(:hover, :focus-visible),
.post-hero__categories a:is(:hover, :focus-visible),
.post-entry__footer a:is(:hover, :focus-visible),
.post-navigation a:is(:hover, :focus-visible),
.related-posts a:is(:hover, :focus-visible) { text-decoration: none; background-image: none; color: var(--accent-hover); }

.post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: 0 2.5rem; }
.post-navigation__link { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.post-navigation__link--next { align-items: flex-end; text-align: right; }
.post-navigation__label { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .8rem; font-weight: 600; }
.post-navigation__link strong { color: var(--ink); font-size: .95rem; line-height: 1.4; }

.related-posts { padding-block: clamp(3rem, 6vw, 5rem); background: var(--soft); }
.related-posts__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.related-posts__header h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.related-posts__controls { display: none; gap: .5rem; }
.related-posts.is-enhanced .related-posts__controls { display: flex; }
.related-posts__control { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.related-posts__control:disabled { opacity: .45; cursor: default; }
.related-posts__swiper:not(.swiper-initialized) { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-color: var(--line) transparent; }
.related-posts__swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; width: max-content; gap: 1rem; }
.related-posts__swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 min(78vw, 23rem); width: min(78vw, 23rem); height: auto; scroll-snap-align: start; }
.related-posts__swiper.swiper-initialized { overflow: hidden; }
.related-post { display: flex; height: auto; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.related-post__media { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--canvas); }
.related-post__media img { width: 100%; height: 100%; object-fit: cover; }
.related-post__content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.25rem; }
.related-post__content time { color: var(--muted); font-size: .85rem; }
.related-post__content h3 { margin: 0; font-size: 1.2rem; line-height: 1.4; }
.related-post__content h3 a { color: var(--ink); }

@media (max-width: 620px) {
  .post-navigation { gap: .5rem; padding-block-end: 2rem; }
  .post-navigation__link { gap: .35rem; padding: .85rem .75rem; }
  .post-navigation__label { gap: .25rem; font-size: .7rem; }
  .post-navigation__link strong { font-size: .85rem; }
  .related-posts__control { width: 40px; height: 40px; }
}
.post-entry { padding-block-end: clamp(2rem, 4vw, 3rem); }
.blog-archive .page-numbers { text-decoration: none; background-image: none; }
.entry-content .post-entry__footer a { text-decoration: none; background-image: none; }
.entry-content .post-entry__footer a:is(:hover, :focus-visible) { text-decoration: none; background-image: none; }
/* Complianz consent UI follows the site palette, typography, and control shapes. */
.cmplz-cookiebanner {
  --cmplz_banner_background_color: var(--surface);
  --cmplz_banner_border_color: var(--line);
  --cmplz_banner_border_width: 1px;
  --cmplz_banner_border_radius: var(--radius);
  --cmplz_banner_margin: .75rem;
  --cmplz_title_font_size: 1.25rem;
  --cmplz_text_color: var(--ink);
  --cmplz_text_font_size: 1rem;
  --cmplz_text_line_height: 1.5;
  --cmplz_hyperlink_color: var(--accent);
  --cmplz_link_font_size: .875rem;
  --cmplz_category_body_font_size: .875rem;
  --cmplz_button_accept_background_color: var(--action);
  --cmplz_button_accept_border_color: var(--action);
  --cmplz_button_accept_text_color: var(--on-accent);
  --cmplz_button_deny_background_color: var(--surface);
  --cmplz_button_deny_border_color: var(--line);
  --cmplz_button_deny_text_color: var(--ink);
  --cmplz_button_settings_background_color: var(--soft);
  --cmplz_button_settings_border_color: var(--line);
  --cmplz_button_settings_text_color: var(--ink);
  --cmplz_button_border_radius: 999px;
  --cmplz_button_font_size: 1rem;
  --cmplz_category_header_always_active_color: var(--accent);
  --cmplz_category_header_title_font_size: 1rem;
  --cmplz_category_header_active_font_size: .8rem;
  --cmplz_slider_active_color: var(--accent);
  --cmplz_slider_inactive_color: var(--line);
  --cmplz_slider_bullet_color: var(--surface);
  font-family: inherit;
  color: var(--ink);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  padding: 1.5rem;
  grid-gap: 1rem;
  box-shadow: 0 4px 24px color-mix(in srgb, var(--ink) 16%, transparent) !important;
}
.cmplz-cookiebanner .cmplz-title { font-weight: 600; letter-spacing: -.02em; }
.cmplz-cookiebanner .cmplz-message { color: var(--muted); }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: color var(--motion), background-color var(--motion);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close:hover { color: var(--accent); background: var(--soft); }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category {
  background-color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description {
  color: var(--muted);
  line-height: 1.5;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
  min-height: 3rem;
  padding: .75rem 1.25rem;
  font-family: inherit;
  line-height: 1.25;
  transition: color var(--motion), background-color var(--motion), border-color var(--motion), transform var(--motion);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:is(:hover, :focus-visible) {
  background-color: var(--action-hover);
  border-color: var(--action-hover);
  color: var(--on-accent);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:is(.cmplz-deny, .cmplz-view-preferences, .cmplz-save-preferences, .cmplz-manage-options):is(:hover, :focus-visible) {
  background-color: var(--soft);
  border-color: var(--accent);
  color: var(--accent);
}
.cmplz-cookiebanner .cmplz-links .cmplz-link { text-underline-offset: .2em; }
#cmplz-cookiebanner-container .cmplz-cookiebanner :is(.cmplz-btn, .cmplz-link, .cmplz-close, .cmplz-category-toggle):focus-visible,
#cmplz-manage-consent .cmplz-manage-consent:focus-visible {
  outline: 3px solid var(--accent) !important;
  outline-offset: 3px;
}
#cmplz-manage-consent {
  --cmplz_banner_background_color: var(--surface);
  --cmplz_banner_border_color: var(--line);
  --cmplz_banner_border_width: 1px;
  --cmplz_banner_border_radius: var(--radius);
  --cmplz_text_color: var(--ink);
}
#cmplz-manage-consent .cmplz-manage-consent {
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  box-shadow: 0 4px 24px color-mix(in srgb, var(--ink) 16%, transparent) !important;
}
@media (max-width: 620px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner { padding: 1.25rem 1rem; }
}
