/*
Theme Name: AWE e.V. Classic
Theme URI: https://awe-ev.org
Description: A classic WordPress theme for African Women for Empowerment e.V. Built with NGO-focused features and multilingual support.
Version: 1.0.0
Author: AWE e.V.
Author URI: https://awe-ev.org
Text Domain: awe-ev-classic
Domain Path: /languages
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, translation-ready
*/

/**
 * NEW THEME COLOR SYSTEM
 *
 * Primary Palette:
 * - Primary 1: #c38e81 (Soft Terracotta/Mauve - main brand color)
 * - Primary 2: #e5dacf (Light Beige/Cream - backgrounds)
 * - Accent: #c6bfa9 (Sage/Taupe - highlights & accents)
 * - Dark: #543e34 (Warm Dark Brown - text & dark sections)
 * - Neutral: #95989a (Cool Gray - muted text)
 * - White: #ffffff
 * - Black: #000000
 *
 * Derived Colors (from palette):
 * - Primary Dark: #a47266 (darker primary for hovers)
 * - Primary Light: #d4afa3 (lighter primary for subtle backgrounds)
 * - Accent Dark: #b3a88e (darker accent for hovers)
 * - Accent Light: #dcd8c9 (lighter accent)
 * - Border: #d4cfc5 (warm neutral border)
 */

:root {
  /* Core Palette */
  --color-primary: #c38e81;
  --color-accent: #c6bfa9;
  --color-bg: #e5dacf;
  --color-bg-alt: #f0ebe5;
  --color-dark: #543e34;
  --color-muted: #95989a;
  --color-border: #d4cfc5;

  /* Derived Colors */
  --color-primary-dark: #a47266;
  --color-primary-light: #d4afa3;
  --color-accent-dark: #b3a88e;
  --color-accent-light: #dcd8c9;

  /* Essentials */
  --color-white: #ffffff;
  --color-black: #000000;

  /* State Colors (derived from palette for accessibility) */
  --color-success: #a8b89c;
  --color-warning: #c9a87a;
  --color-error: #b37164;
  --color-info: #a8acb0;

  /* UI Constants */
  --radius-lg: 1rem;
  --radius-md: 0.75rem;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 20px rgba(84, 62, 52, 0.08);
  --shadow-soft-hover: 0 12px 30px rgba(84, 62, 52, 0.14);
  --transition-fast: 0.2s ease;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: 2.7rem;
  letter-spacing: 0;
}

h2 {
  font-size: 2rem;
  letter-spacing: 0;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

small {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Utilities */
.section {
  padding: 4rem 0;
}

.section--light {
  background-color: var(--color-bg);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-bg-alt);
}

.section__header {
  margin-bottom: 2.25rem;
  max-width: 640px;
}

.section__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section__title {
  margin-bottom: 0.5rem;
}

.section__subtitle {
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft-hover);
  background-color: var(--color-primary-dark);
}

.btn--secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: none;
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

    .badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: rgba(195, 142, 129, 0.12);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}



.badge--muted {
  background-color: rgba(149, 152, 154, 0.08);
  color: var(--color-muted);
}
.card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 207, 197, 0.8);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-hover);
  border-color: rgba(179, 168, 142, 0.8);
}

.card__title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card__meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.card__body {
  font-size: 0.95rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
}

.card__link span {
  font-size: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(212, 207, 197, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--color-accent), var(--color-primary));
}

.logo-image {
  height: 60px;
  width: auto;
  max-width: 100%;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-left: 0.75rem;
}

.logo-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--color-dark);
  white-space: nowrap;
  text-transform: none;
}

.logo-tagline {
  font-weight: 400;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--color-muted);
  font-style: italic;
  white-space: nowrap;
  text-transform: none;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-dark);
  position: relative;
  transition: transform var(--transition-fast),
              opacity var(--transition-fast),
              top var(--transition-fast);
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -6px;
}

.nav-toggle-label span::after {
  top: 6px;
}

.main-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.main-nav-top ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.main-nav-top a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--color-muted);
  white-space: nowrap;
}

.main-nav-top a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transition: width var(--transition-fast);
}

.main-nav-top a:hover,
.main-nav-top a:focus {
  color: var(--color-dark);
}

.main-nav-top a:hover::after,
.main-nav-top a:focus::after {
  width: 100%;
}

.main-nav-bottom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.header-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.lang-toggle {
  display: inline-block;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  padding: 0.25rem 0.6rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--color-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.lang-toggle--active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: rgba(28, 78, 128, 0.06);
  font-weight: 600;
}

.lang-toggle--inactive {
  opacity: 0.5;
  cursor: not-allowed;
}

.lang-toggle:not(.lang-toggle--inactive):hover {
  color: var(--color-dark);
  border-color: var(--color-border);
}

.lang-toggle:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.main-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
}

.main-nav__cta .btn {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  box-shadow: none;
}

.main-nav__cta .btn:hover {
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.5rem 0;
  }

  .logo {
    min-width: 0;
  }

  .logo-text {
    min-width: 0;
    margin-left: 0.5rem;
  }

  .logo-title,
  .logo-tagline {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .nav-toggle-label {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    display: none;
    align-items: stretch;
    padding-bottom: 0.75rem;
  }

  .main-nav-top ul {
    flex-direction: column;
    padding: 0.75rem 1.5rem 0.5rem;
    gap: 0.75rem;
  }

  .main-nav-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.5rem;
    gap: 0.5rem;
  }

  .main-nav__cta {
    flex-wrap: wrap;
  }

  .nav-toggle:checked + .nav-toggle-label + .main-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    top: 0;
    transform: rotate(-90deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    top: 0;
    opacity: 0;
  }
}

/* Hero */
.hero {
  padding: 4.5rem 0 4rem;
  background: radial-gradient(circle at top left, rgba(195, 142, 129, 0.15), transparent 55%),
              radial-gradient(circle at bottom right, rgba(198, 191, 169, 0.15), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  margin-bottom: 0.75rem;
}

.hero-title {
  margin-bottom: 0.75rem;
}

.hero-text {
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
}

.hero-meta span {
  color: var(--color-muted);
}

.hero-figure {
  justify-self: center;
}

.hero-figure-box {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft-hover);
  border: 1px solid rgba(212, 207, 197, 0.9);
  max-width: 360px;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.hero-stat strong {
  font-size: 1.2rem;
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.5rem;
  }
}

/* Programmes */
.programmes-grid {
  margin-top: 1.5rem;
}

.programme-card {
  height: 100%;
}

.programme-card .card__title {
  margin-bottom: 0.5rem;
}

/* Featured projects */
.projects-grid {
  margin-top: 1.5rem;
}

.project-card .card__meta {
  margin-bottom: 0.35rem;
}

/* News & Events */
.news-layout {
  align-items: flex-start;
}

.news-block {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 207, 197, 0.9);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.news-block__title {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  font-size: 0.92rem;
}

.news-item-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.news-item-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Get involved */
.cta {
  text-align: center;
}

.cta p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* Newsletter */
.newsletter-band {
  padding: 3.5rem 0;
}

.newsletter-inner {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 207, 197, 0.9);
  padding: 2rem 2rem 2.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 1.75rem;
  align-items: center;
}

@media (max-width: 900px) {
  .newsletter-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.newsletter-copy h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.newsletter-copy p {
  margin-bottom: 0.5rem;
}

.newsletter-copy small {
  font-size: 0.8rem;
}

.newsletter-form {
  display: grid;
  gap: 0.75rem;
}

.newsletter-form-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .newsletter-form-row {
    grid-template-columns: minmax(0, 1.6fr) auto;
    align-items: center;
  }
}

.newsletter-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.newsletter-form-field label {
  font-weight: 600;
  color: var(--color-dark);
}

.newsletter-form-field input[type="email"] {
  border-radius: 0.9rem;
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.9rem;
  font: inherit;
  background-color: #ffffff;
  min-width: 0;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.newsletter-form-field input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(195, 142, 129, 0.25);
}

.newsletter-helper {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  background-color: #543e34;
  color: #d4cfc5;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dcd8c9;
}

.footer-about__name {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.footer-links a,
.footer-social a {
  color: #d4cfc5;
  opacity: 0.9;
}

.footer-links a:hover,
.footer-social a:hover {
  opacity: 1;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(179, 168, 142, 0.5);
  font-size: 0.8rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #b3a88e;
  border-top: 1px solid rgba(179, 168, 142, 0.4);
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Page Templates */
.page-header {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(circle at top left, rgba(195, 142, 129, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(198, 191, 169, 0.12), transparent 55%);
  border-bottom: 1px solid var(--color-border);
}

.page-header__breadcrumb {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.page-header__title {
  margin-bottom: 0.5rem;
}

.page-header__intro {
  max-width: 640px;
  font-size: 0.98rem;
}

.page-layout {
  margin-top: 2.5rem;
}

.page-content {
  font-size: 0.98rem;
}

.page-content p {
  margin-bottom: 1.1rem;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  margin-top: 1.8rem;
}

.page-content ul,
.page-content ol {
  padding-left: 1.2rem;
  margin: 0 0 1.1rem;
  color: var(--color-muted);
}

.page-content li {
  margin-bottom: 0.4rem;
}

/* Sidebar */
.sidebar {
  display: grid;
  gap: 1.5rem;
}

.sidebar-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 207, 197, 0.9);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
}

.sidebar-box__title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.sidebar-links a {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.92rem;
}

.sidebar-links a:hover {
  text-decoration: underline;
}

.sidebar-callout {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
}

.sidebar-callout p {
  margin-bottom: 0.5rem;
}

.sidebar-callout small {
  display: block;
  margin-bottom: 0.4rem;
}

/* Highlights */
.highlights {
  margin-top: 0.5rem;
}

.highlights-grid {
  margin-top: 1.5rem;
}

.highlight-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid rgba(212, 207, 197, 0.9);
  box-shadow: var(--shadow-soft);
}

.highlight-item strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.highlight-item span {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Single Post */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.post-meta__date {
  display: inline-flex;
  align-items: center;
}

.post-meta__categories a {
  color: var(--color-primary);
  font-weight: 500;
}

.post-meta__categories a:hover {
  text-decoration: underline;
}

.single-post {
  max-width: 820px;
  margin: 0 auto;
}

.single-post__featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.single-post__featured-image img {
  width: 100%;
  height: auto;
}

.single-post__content {
  font-size: 1rem;
  line-height: 1.7;
}

.single-post__content p {
  margin-bottom: 1.2rem;
}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.single-post__content ul,
.single-post__content ol {
  padding-left: 1.5rem;
  margin: 0 0 1.2rem;
  color: var(--color-muted);
}

.single-post__content li {
  margin-bottom: 0.5rem;
}

.single-post__tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.tags-label {
  font-weight: 600;
  color: var(--color-dark);
  margin-right: 0.5rem;
}

.single-post__tags a {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.single-post__tags a:hover {
  text-decoration: underline;
}

/* Post Navigation */
.post-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .nav-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.nav-previous,
.nav-next {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-next {
  text-align: right;
}

.nav-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-weight: 600;
}

.nav-previous a,
.nav-next a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color var(--transition-fast);
}

.nav-previous a:hover,
.nav-next a:hover {
  color: var(--color-accent);
}

.nav-back {
  text-align: center;
}

/* Archive */
.archive-header {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(circle at top left, rgba(195, 142, 129, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(198, 191, 169, 0.12), transparent 55%);
  border-bottom: 1px solid var(--color-border);
}

.archive-header__title {
  margin-bottom: 0.5rem;
}

.archive-header__intro {
  max-width: 640px;
  font-size: 0.98rem;
  color: var(--color-muted);
}

.archive-grid {
  margin-bottom: 2rem;
}

.archive-card__image {
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.archive-card__image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-fast);
}

.archive-card__image a:hover img {
  transform: scale(1.05);
}

.archive-card__categories {
  margin-bottom: 0.75rem;
}

/* Pagination */
.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color var(--transition-fast),
              color var(--transition-fast);
}

.pagination a {
  background-color: #ffffff;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.pagination a:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.pagination .current {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
}

.pagination .dots {
  border: none;
  background: transparent;
  color: var(--color-muted);
}

/* Search and utility fallback templates */
.search-results-list {
  display: grid;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.search-result {
  display: grid;
  gap: 0.75rem;
}

.search-result:hover {
  transform: none;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.result-type {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.result-title {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.result-title a {
  color: var(--color-dark);
}

.result-title a:hover {
  color: var(--color-primary);
}

.result-excerpt p {
  margin-bottom: 0;
}

.result-link {
  justify-self: start;
}

.no-results,
.error-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.25rem;
}

.no-results-search,
.error-search {
  margin-top: 1.5rem;
}

.no-results-suggestions {
  margin-top: 2rem;
  text-align: left;
}

.no-results-suggestions h3 {
  text-align: center;
}

.no-results-suggestions ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: 360px;
  margin: 1rem auto 0;
  padding: 0;
}

.no-results-suggestions a {
  color: var(--color-primary);
  font-weight: 600;
}

.error-content {
  display: grid;
  gap: 2rem;
}

.error-content h2 {
  font-size: 1.3rem;
}

.error-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .no-results,
  .error-content {
    padding: 1.5rem;
  }

  .error-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Screen reader text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  clip: auto;
  height: auto;
  width: auto;
  display: block;
  font-size: 1rem;
  font-weight: bold;
  padding: 1rem;
  background-color: var(--color-bg);
  color: var(--color-dark);
  z-index: 100;
  text-decoration: none;
  border-radius: var(--radius-md);
}

/* Filter Bar */
.filter-bar {
  margin-top: 2rem;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 207, 197, 0.9);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

.filter-bar__label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-right: 0.5rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.filter-field label {
  font-weight: 600;
  color: var(--color-muted);
}

.filter-field select {
  min-width: 160px;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  background-color: #ffffff;
  color: var(--color-dark);
  transition: border-color var(--transition-fast);
}

.filter-field select:focus {
  outline: none;
  border-color: var(--color-primary);
}

@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-field select {
    width: 100%;
  }
}

/* Projects Section */
.projects-section {
  padding-top: 2.5rem;
}

.projects-grid {
  margin-top: 1.5rem;
}

.project-card .badge {
  margin-bottom: 0.5rem;
}

.project-card .card__meta {
  margin-bottom: 0.4rem;
}

.project-card .card__body {
  flex: 1;
}

/* ============================================
   SINGLE PROJECT TEMPLATE
   ============================================ */

/* Project Wrapper */
.project-wrapper {
  padding: 3rem 0 2.5rem;
}

.project-single {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

/* Project Header */
.project-header {
  margin-bottom: 2rem;
}

.project-header h1 {
  margin-bottom: 1.25rem;
  font-size: 2.5rem;
  line-height: 1.2;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.project-meta-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  font-weight: 600;
}

.project-meta-item .badge {
  align-self: flex-start;
}

/* Project Featured Image */
.project-featured-image {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.project-featured-image span {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Project Body */
.project-body {
  max-width: 760px;
  margin: 2rem auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #6b584e;
}

.project-body p {
  margin-bottom: 1.25rem;
}

.project-body h2,
.project-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.project-body ul,
.project-body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.project-body li {
  margin-bottom: 0.5rem;
}

/* Project Outcomes */
.project-outcomes {
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--color-bg);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
}

.project-outcomes h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.project-outcomes ul {
  margin: 0;
  padding-left: 1.5rem;
}

.project-outcomes li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Project Highlight Box */
.project-highlight {
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #ebe6df 0%, #ffffff 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.project-highlight blockquote {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--color-dark);
  border: none;
}

.project-highlight small {
  display: block;
  margin-top: 0.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.project-highlight-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.project-highlight-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-highlight-stat span:first-child {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.project-highlight-stat span:last-child {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

/* Back to Projects Link */
.project-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.project-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.project-back a:hover {
  color: var(--color-accent);
  gap: 0.75rem;
}

.project-back a span {
  font-size: 1.2rem;
}

/* Related Projects Section */
.related-projects {
  padding: 3.5rem 0;
  background: var(--color-bg-alt);
}

.related-projects__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.related-projects__header h2 {
  margin-bottom: 0.75rem;
}

.related-projects__header p {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.related-card {
  transition: var(--transition-fast);
}

.related-card .badge {
  margin-bottom: 0.75rem;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-hover);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .project-single {
    padding: 1.5rem;
  }

  .project-header h1 {
    font-size: 2rem;
  }

  .project-meta-row {
    gap: 1rem;
  }

  .project-featured-image {
    min-height: 280px;
  }

  .project-body {
    font-size: 1rem;
  }

  .project-highlight {
    padding: 1.5rem;
  }

  .project-highlight-stats {
    gap: 1.5rem;
  }

  .project-highlight-stat span:last-child {
    font-size: 1.5rem;
  }

  .related-projects {
    padding: 2.5rem 0;
  }
}

/* ============================================
   PROGRAMME TAXONOMY ARCHIVE
   ============================================ */

/* Programme Hero */
.programme-hero {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(circle at top left, rgba(195, 142, 129, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(198, 191, 169, 0.12), transparent 55%);
  border-bottom: 1px solid var(--color-border);
}

.programme-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.programme-hero__title {
  margin-bottom: 0.75rem;
  font-size: 2.5rem;
}

.programme-hero__intro {
  font-size: 0.98rem;
  max-width: 640px;
  color: var(--color-muted);
  line-height: 1.6;
}

.programme-hero__intro p {
  margin-bottom: 0.75rem;
}

/* Programme Banner */
.programme-banner {
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(135deg, rgba(195, 142, 129, 0.25), rgba(195, 142, 129, 0.3));
  border: 1px solid rgba(212, 207, 197, 0.9);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.programme-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.programme-banner span {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
}

/* Programme About Section */
.programme-about {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.programme-about__body {
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.programme-about__body p {
  margin-bottom: 1.1rem;
  color: var(--color-muted);
}

/* Programme Projects Section */
.programme-projects {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

.programme-projects .projects-grid {
  margin-top: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .programme-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .programme-hero__title {
    font-size: 2rem;
  }

  .programme-banner {
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  .programme-hero {
    padding: 2rem 0 1.5rem;
  }

  .programme-hero__title {
    font-size: 1.75rem;
  }

  .programme-about {
    padding-top: 2rem;
  }

  .programme-projects {
    padding-bottom: 2.5rem;
  }
}

/* ============================================
   EVENTS ARCHIVE
   ============================================ */

/* Event Filters */
.event-filters {
  margin-top: 2rem;
  display: inline-flex;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 207, 197, 0.9);
  box-shadow: var(--shadow-soft);
}

.event-filter-btn {
  border: none;
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-muted);
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.event-filter-btn.is-active {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.event-filter-btn:not(.is-active):hover {
  background-color: rgba(226, 232, 240, 0.7);
  color: var(--color-dark);
}

/* Events Section */
.events-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* Event Item */
.event-item {
  position: relative;
}

.event-item__header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.event-item__main {
  flex: 1;
}

.event-item__date-block {
  min-width: 80px;
  text-align: right;
  font-size: 0.85rem;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.event-item__date-block strong {
  display: block;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* Card Meta Items */
.card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card__meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-muted);
}

/* Grid List Layout */
.grid--list {
  grid-template-columns: minmax(0, 1fr);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .event-item__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-item__date-block {
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .event-filters {
    width: 100%;
    justify-content: space-between;
  }

  .event-filter-btn {
    flex: 1;
    text-align: center;
    padding-inline: 0.75rem;
  }
}

/* ============================================
   SINGLE EVENT TEMPLATE
   ============================================ */

/* Event Hero */
.event-hero {
  padding: 3rem 0 1rem;
  background: radial-gradient(circle at top left, rgba(195, 142, 129, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(198, 191, 169, 0.12), transparent 55%);
  border-bottom: 1px solid var(--color-border);
}

.event-breadcrumb {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.event-hero h1 {
  font-size: 2.1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.event-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-bottom: 0.15rem;
}

.event-meta-value {
  color: var(--color-dark);
  font-weight: 500;
}

.event-register {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.event-register-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  max-width: 400px;
}

/* Event Single Content */
.event-single {
  padding: 2.5rem 0 3.5rem;
}

.event-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  align-items: flex-start;
}

.event-body {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 2rem 2.1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 207, 197, 0.9);
}

.event-body h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  margin-top: 0;
}

.event-body h3 {
  font-size: 1.25rem;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.event-body p + h3,
.event-body p + h4 {
  margin-top: 1.4rem;
}

.event-content {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.event-content p {
  margin-bottom: 1rem;
}

.event-content ul,
.event-content ol {
  margin: 1rem 0 1rem 1.25rem;
  padding: 0;
  font-size: 0.95rem;
}

.event-content li {
  margin-bottom: 0.3rem;
}

/* Event Sidebar */
.event-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-info-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.event-info-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.event-info-list li {
  margin-bottom: 0.4rem;
  color: var(--color-muted);
}

.event-info-list strong {
  color: var(--color-dark);
}

/* Event Gallery */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.event-gallery img,
.event-gallery .event-gallery-image {
  border-radius: 0.75rem;
  height: 90px;
  width: 100%;
  object-fit: cover;
  background-color: var(--color-bg-alt);
}

/* Event Back Link */
.event-back {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* Additional Utility Classes */
.inline-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.inline-link:hover {
  color: #a47266;
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-primary);
  border-color: transparent;
  box-shadow: none;
  padding-inline: 0;
  justify-content: flex-start;
  font-weight: 600;
}

.btn--ghost:hover {
  background-color: transparent;
  color: #a47266;
  text-decoration: underline;
  box-shadow: none;
  transform: none;
}

.badge--muted {
  background-color: rgba(149, 152, 154, 0.08);
  color: var(--color-muted);
}

/* Responsive Adjustments */
@media (max-width: 960px) {
  .event-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .event-hero {
    padding: 2rem 0 1rem;
  }

  .event-hero h1 {
    font-size: 1.75rem;
  }

  .event-body {
    padding: 1.5rem;
  }

  .event-single {
    padding: 2rem 0 2.5rem;
  }
}

@media (max-width: 640px) {
  .event-meta-row {
    gap: 0.75rem 1.25rem;
  }

  .event-register {
    flex-direction: column;
    align-items: stretch;
  }

  .event-register .btn {
    width: 100%;
  }

  .event-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================
   NEWSLETTER ARCHIVE
   ============================================ */

/* Filters Bar */
.filters-bar {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(212, 207, 197, 0.9);
  box-shadow: var(--shadow-soft);
}

.filters-bar__label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.filters-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.filter-field label {
  font-weight: 600;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.filter-field select {
  min-width: 160px;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  background-color: #ffffff;
  color: var(--color-dark);
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.filter-field select:hover {
  border-color: var(--color-primary);
}

.filter-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(195, 142, 129, 0.15);
}

/* Newsletter Section */
.newsletter-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* Newsletter Card */
.newsletter-card {
  display: flex;
  flex-direction: column;
}

.newsletter-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.newsletter-card__header .card__title {
  margin-bottom: 0.35rem;
}

.newsletter-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.newsletter-card__meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Button Group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.btn-group .btn {
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .filters-bar {
    align-items: flex-start;
    padding: 0.75rem 1rem;
  }

  .filters-bar__label {
    width: 100%;
  }

  .filters-group {
    width: 100%;
  }

  .filter-field {
    flex: 1;
    min-width: 140px;
  }

  .filter-field select {
    min-width: auto;
    width: 100%;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }
}

/* ============================================
   SINGLE NEWSLETTER ISSUE TEMPLATE
   ============================================ */

/* Newsletter Hero */
.newsletter-hero {
  padding: 3rem 0 2rem;
  background: radial-gradient(circle at top left, rgba(195, 142, 129, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(198, 191, 169, 0.12), transparent 55%);
  border-bottom: 1px solid var(--color-border);
}

.newsletter-breadcrumb {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.newsletter-hero h1 {
  font-size: 2.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.newsletter-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.75rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.newsletter-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-bottom: 0.15rem;
}

.newsletter-meta-value {
  color: var(--color-dark);
  font-weight: 500;
}

.newsletter-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.newsletter-cta-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  max-width: 500px;
}

/* Newsletter Single Content */
.newsletter-single {
  padding: 2.5rem 0 3.5rem;
}

.newsletter-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  align-items: flex-start;
}

.newsletter-body {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 207, 197, 0.9);
}

.newsletter-body h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  margin-top: 0;
}

.newsletter-body h3 {
  font-size: 1.25rem;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.newsletter-body p + h3,
.newsletter-body p + h4 {
  margin-top: 1.4rem;
}

.newsletter-content {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.newsletter-content p {
  margin-bottom: 1rem;
}

.newsletter-content ul,
.newsletter-content ol {
  margin: 1rem 0 1rem 1.25rem;
  padding: 0;
  font-size: 0.95rem;
}

.newsletter-content li {
  margin-bottom: 0.3rem;
}

/* Newsletter Highlight Box */
.newsletter-highlight {
  margin: 1.4rem 0 1.6rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background-color: rgba(195, 142, 129, 0.06);
  border: 1px dashed rgba(195, 142, 129, 0.35);
  font-size: 0.92rem;
  line-height: 1.6;
}

.newsletter-highlight strong {
  color: var(--color-primary);
}

/* Newsletter Sidebar */
.newsletter-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.newsletter-sidebar .card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.newsletter-info-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.newsletter-info-list li {
  margin-bottom: 0.4rem;
  color: var(--color-muted);
}

.newsletter-info-list strong {
  color: var(--color-dark);
}

/* Topics List (Pills) */
.topics-list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.topics-list li {
  margin: 0;
  font-size: 0.8rem;
}

.topics-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background-color: rgba(149, 152, 154, 0.06);
  color: var(--color-muted);
  border: 1px solid rgba(212, 207, 197, 0.9);
  font-size: 0.8rem;
}

/* Newsletter Back Link */
.newsletter-back {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* More Issues Section */
.newsletter-more {
  padding: 0 0 3.5rem;
}

.newsletter-more-header {
  margin-bottom: 1.5rem;
}

.newsletter-more-header h2 {
  margin-bottom: 0.5rem;
}

.newsletter-more-header p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.newsletter-more-item-title {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  color: var(--color-dark);
}

.newsletter-more-item-title a {
  color: var(--color-dark);
  transition: color var(--transition-fast);
}

.newsletter-more-item-title a:hover {
  color: var(--color-primary);
}

.newsletter-more-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

/* Responsive Adjustments */
@media (max-width: 960px) {
  .newsletter-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .newsletter-hero {
    padding: 2rem 0 1.5rem;
  }

  .newsletter-hero h1 {
    font-size: 1.8rem;
  }

  .newsletter-body {
    padding: 1.5rem;
  }

  .newsletter-single {
    padding: 2rem 0 2.5rem;
  }

  .newsletter-more {
    padding: 0 0 2.5rem;
  }
}

@media (max-width: 640px) {
  .newsletter-meta-row {
    gap: 0.75rem 1.25rem;
  }

  .newsletter-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-cta .btn {
    width: 100%;
  }
}

/* ============================================
   DOCUMENTS ARCHIVE TEMPLATE
   ============================================ */

/* Documents Section */
.documents-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* Document Card - Horizontal Layout */
.document-card {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              border-color var(--transition-fast);
}

.document-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft-hover);
  border-color: rgba(179, 168, 142, 0.8);
}

.document-card .card__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(195, 142, 129, 0.9), rgba(198, 191, 169, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.document-card .card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.document-card .card__title {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.document-card .card__title a {
  color: var(--color-dark);
  transition: color var(--transition-fast);
}

.document-card .card__title a:hover {
  color: var(--color-primary);
}

.document-card .card__meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: center;
}

.document-card .card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.document-card .card__meta strong {
  color: var(--color-dark);
  font-weight: 600;
}

.document-card .card__body {
  font-size: 0.95rem;
  margin-top: 0.15rem;
  margin-bottom: 0.6rem;
}

.document-card .card__body p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.document-card .card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .document-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .document-card .card__icon {
    flex: 0 0 auto;
  }

  .document-card .card__actions {
    width: 100%;
  }

  .document-card .card__actions .btn {
    flex: 1;
    min-width: 120px;
  }
}

   PARTNERS ARCHIVE TEMPLATE
   ============================================ */

/* Partners Section */
.partners-section {
  padding-top: 2.75rem;
  padding-bottom: 3.5rem;
}

.partners-section__header {
  margin-bottom: 2rem;
  text-align: left;
}

.partners-section__header h2 {
  margin-bottom: 0.5rem;
}

.partners-section__subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 640px;
}

/* 4-Column Grid */
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

/* Partner Card */
.partner-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 1.25rem;
}

.partner-card__logo {
  width: 120px;
  height: 80px;
  border-radius: 0.85rem;
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.partner-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-card__logo-placeholder {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-muted);
  opacity: 0.4;
}

.partner-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
}

.partner-card__name a {
  color: var(--color-dark);
  transition: color var(--transition-fast);
}

.partner-card__name a:hover {
  color: var(--color-primary);
}

.partner-card__country {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.partner-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
  transition: color var(--transition-fast);
}

.partner-card__link:hover {
  color: var(--color-accent);
}

.partner-card__link span {
  font-size: 1rem;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .partners-section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 520px) {
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================================================
   SINGLE PARTNER TEMPLATE
   ===================================================================== */

.partner-single-wrapper {
  padding: 3rem 0 3.5rem;
}

.partner-single-grid {
  align-items: flex-start;
}

.partner-hero-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 207, 197, 0.9);
}

.partner-logo-box {
  width: 180px;
  height: 110px;
  border-radius: 1rem;
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo-placeholder {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-muted);
}

.partner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.partner-meta small {
  margin: 0;
}

.partner-website {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.partner-website a {
  color: var(--color-primary);
  font-weight: 600;
}

.partner-website a:hover {
  text-decoration: underline;
}

.partner-body {
  max-width: 720px;
  font-size: 0.98rem;
}

.partner-body p {
  margin-bottom: 1.1rem;
}

.partner-back-link {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.partner-back-link a {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.partner-back-link a:hover {
  text-decoration: underline;
}

.partner-back-link a span {
  font-size: 1rem;
}

/* Projects with this partner section */
.project-card__programme {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}

/* =====================================================================
   PEOPLE ARCHIVE TEMPLATE
   ===================================================================== */

/* Role filters (tabs) */
.people-filters {
  margin-top: 2rem;
  display: inline-flex;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 207, 197, 0.9);
  box-shadow: var(--shadow-soft);
  gap: 0.25rem;
  flex-wrap: wrap;
}

.people-filter {
  border-radius: var(--radius-pill);
  padding: 0.4rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  background-color: transparent;
  color: var(--color-muted);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.people-filter--active {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.people-filter:not(.people-filter--active):hover {
  background-color: rgba(149, 152, 154, 0.06);
  color: var(--color-dark);
}

@media (max-width: 640px) {
  .people-filters {
    width: 100%;
    justify-content: space-between;
  }

  .people-filter {
    flex: 1;
    padding-inline: 0.4rem;
    font-size: 0.85rem;
    text-align: center;
  }
}

/* People grid */
.people-section {
  padding-top: 2.75rem;
  padding-bottom: 3.5rem;
}

.person-card {
  align-items: flex-start;
}

.person-card__header {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  width: 100%;
}

.person-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background-color: var(--color-bg-alt);
  overflow: hidden;
  flex-shrink: 0;
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-muted);
}

.person-card__heading {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.person-card__name {
  font-size: 1rem;
  font-weight: 700;
}

.person-card__name a {
  color: var(--color-dark);
  text-decoration: none;
}

.person-card__name a:hover {
  color: var(--color-primary);
}

.person-card__role {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.person-card__body {
  font-size: 0.92rem;
  margin-top: 0.4rem;
}

.person-card__body p {
  margin-bottom: 0;
}

.person-card__link {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

.person-card__link:hover {
  text-decoration: underline;
}

.person-card__link span {
  font-size: 1rem;
}

/* =====================================================================
   CONTACT PAGE TEMPLATE
   ===================================================================== */

/* Page header */
.page-header {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(circle at top left, rgba(195, 142, 129, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(198, 191, 169, 0.12), transparent 55%);
  border-bottom: 1px solid var(--color-border);
}

.page-header__title {
  margin-bottom: 0.5rem;
}

.page-header__intro {
  max-width: 640px;
  font-size: 0.98rem;
}

/* Contact layout */
.contact-layout {
  padding-top: 2.75rem;
  padding-bottom: 3.5rem;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 207, 197, 0.9);
}

.contact-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  font-size: 0.96rem;
}

.contact-detail-label {
  font-weight: 600;
  color: var(--color-dark);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-details p {
  margin-bottom: 0;
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.82rem;
  color: var(--color-muted);
  text-decoration: none;
}

.contact-social a:hover {
  color: var(--color-dark);
  border-color: var(--color-dark);
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.92rem;
}

.form-field label {
  font-weight: 600;
  color: var(--color-dark);
}

.form-field span.required {
  color: var(--color-accent);
  margin-left: 0.15rem;
}

.form-field input,
.form-field textarea {
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.85rem;
  font: inherit;
  resize: vertical;
  min-height: 44px;
  background-color: #ffffff;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast);
}

.form-field textarea {
  min-height: 140px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(195, 142, 129, 0.25);
  background-color: #ffffff;
}

.form-actions {
  margin-top: 0.5rem;
}

.form-helper {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* Form success/error messages */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  border: 1px solid;
}

.form-message p {
  margin: 0;
  color: inherit;
}

.form-message--success {
  background-color: #eff3ea;
  border-color: #bccaa8;
  color: #6b7d5e;
}

.form-message--error {
  background-color: #f5e8e4;
  border-color: #d4afa3;
  color: #8d564a;
}

/* Form field validation states */
.form-field--error input,
.form-field--error textarea,
.form-field--error select {
  border-color: #c99186;
  background-color: #f5e8e4;
}

.form-field--error input:focus,
.form-field--error textarea:focus,
.form-field--error select:focus {
  border-color: #b37164;
  outline-color: #b37164;
}

.field-error {
  display: block;
  color: #b37164;
  font-size: 0.85rem;
  margin-top: 0.375rem;
  font-weight: 500;
}

/* Form submitting state */
.form-submitting button[type="submit"],
.form-submitting input[type="submit"] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-submitting button[type="submit"]::after,
.form-submitting input[type="submit"]::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* External link icon */
.external-link-icon {
  font-size: 0.85em;
  opacity: 0.6;
  margin-left: 0.2em;
}

/* Get involved CTA band */
.cta-band {
  padding: 3rem 0 3.2rem;
  text-align: center;
}

.cta-band__title {
  margin-bottom: 0.4rem;
}

.cta-band__text {
  font-size: 0.98rem;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* =====================================================================
   LEGAL PAGES (IMPRESSUM, PRIVACY POLICY)
   ===================================================================== */

.legal-section {
  padding: 3rem 0 3.5rem;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  padding: 2.25rem 2.4rem 2.4rem;
}

@media (max-width: 640px) {
  .legal-inner {
    padding: 1.75rem 1.6rem 1.8rem;
  }
}

.legal-intro {
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.4rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.1rem 1.25rem;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.96rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

.legal-content a:hover {
  color: var(--color-primary-dark);
}

.legal-content hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 1.75rem 0;
}

.legal-footnote {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* =====================================================================
   DONATIONS PAGE TEMPLATE
   ===================================================================== */

/* Page header additions */
.page-header__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.page-header__tags {
  margin-top: 1rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: rgba(28, 78, 128, 0.06);
  color: var(--color-dark);
  border: 1px solid rgba(212, 207, 197, 0.9);
}

/* Donation hero layout */
.donation-layout {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.donation-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.donation-copy h2 {
  font-size: 1.5rem;
}

.donation-impact-list {
  margin-top: 0.2rem;
}

.donation-summary {
  font-size: 0.95rem;
}

.donation-highlight-card {
  position: relative;
  overflow: hidden;
}

.donation-highlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(224, 122, 95, 0.16), transparent 55%);
  pointer-events: none;
}

.donation-highlight-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.donation-highlight-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.amount-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.amount-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 207, 197, 0.9);
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.9);
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
}

.amount-pill--active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.amount-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.9);
}

.custom-amount {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.custom-amount input {
  max-width: 140px;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  font: inherit;
  background-color: #ffffff;
}

.donation-frequency {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.frequency-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 207, 197, 0.9);
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  background-color: rgba(248, 250, 252, 0.8);
  font-size: 0.88rem;
}

.frequency-pill--active {
  background-color: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}

.donation-security-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* Donation methods grid */
.donation-methods {
  padding-bottom: 3.5rem;
}

.section__header {
  margin-bottom: 2rem;
  max-width: 680px;
}

.section__title {
  margin-bottom: 0.4rem;
}

.section__subtitle {
  font-size: 0.97rem;
}

.bank-details {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.bank-details strong {
  color: var(--color-dark);
}

.bank-details p {
  margin-bottom: 0.75rem;
}

.in-kind-list {
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
}

/* Donation story band */
.story-band {
  padding-top: 3rem;
  padding-bottom: 3.4rem;
}

.story-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.story-quote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.3rem;
  margin: 1.2rem 0;
  font-style: italic;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.story-signature {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.2rem;
}

/* =============================================================================
   PHASE 22 – Single Person Profile (single-person.php)
   ============================================================================= */

/* Person single wrapper */
.person-single-wrapper {
  padding: 3rem 0 3.5rem;
}

.person-single-grid {
  align-items: flex-start;
}

.person-hero-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.person-avatar {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background-color: var(--color-bg-alt);
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-soft);
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-name {
  font-size: 2rem;
  letter-spacing: 0;
}

.person-role-main {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-muted);
}

.person-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.person-meta span::before {
  content: "• ";
}

.person-meta span:first-child::before {
  content: "";
}

.person-intro {
  font-size: 0.98rem;
  max-width: 520px;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 0.5rem;
}

.person-links a {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
}

.person-links a:hover {
  text-decoration: underline;
}

.person-back-link {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.person-back-link a {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.person-back-link a span {
  font-size: 1rem;
}

.person-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.person-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.person-section p {
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
}

.person-section ul {
  margin: 0.35rem 0 0.9rem 1.2rem;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.person-section li {
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .person-single-wrapper {
    padding-top: 2.5rem;
  }

  .person-hero-card {
    align-items: center;
    text-align: center;
  }

  .person-meta {
    justify-content: center;
  }

  .person-intro {
    max-width: none;
  }

  .person-back-link {
    text-align: center;
  }
}

/* =============================================================================
   PHASE 23 - Volunteer Page (page-get-involved.php)
   ============================================================================= */

/* Volunteer hero / intro */
.volunteer-layout {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.volunteer-why {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.volunteer-why h2 {
  font-size: 1.5rem;
}

.volunteer-why ul {
  margin-top: 0.2rem;
}

.volunteer-steps-card {
  position: relative;
  overflow: hidden;
}

.volunteer-steps-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(195, 142, 129, 0.12), transparent 60%);
  pointer-events: none;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  position: relative;
}

.steps-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.93rem;
}

.steps-list span.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: rgba(195, 142, 129, 0.12);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.steps-footer {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: var(--color-muted);
}

/* Opportunities grid */
.volunteer-opportunities {
  padding-bottom: 3.5rem;
}

.opportunity-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.opportunity-meta span + span::before {
  content: " • ";
  padding: 0 0.25rem;
}

/* Volunteer form band */
.volunteer-form-band {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.volunteer-form-inner {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 207, 197, 0.9);
  padding: 2.2rem 2rem 2rem;
}

.volunteer-form-header {
  max-width: 640px;
  margin-bottom: 1.7rem;
}

.form-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 720px) {
  .form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
