/* ==========================================================================
   Alger Matters — Shared Styles
   ========================================================================== */

:root {
  --blue: #2968A8;
  --blue-dark: #1B4A7A;
  --blue-light: #E8F1FA;
  --orange: #E8652D;
  --orange-dark: #C4501E;
  --orange-light: #FFF0E8;
  --green: #3D9B42;
  --green-dark: #2E7A32;
  --green-light: #EAF5EA;
  --sky: #5BBBE8;

  --text: #2C3E50;
  --text-light: #5A6E7F;
  --text-muted: #8A9BAD;
  --bg: #FAFBFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.10);
  --radius: 10px;
  --radius-lg: 16px;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Libre Franklin', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-cta {
  color: var(--orange-light);
  font-weight: 600;
}
.top-bar-cta:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.logo-link:hover { color: var(--text); }
.logo-img { width: 48px; height: 48px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--blue-dark);
}
.logo-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-main a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-main a:hover, .nav-main a.active {
  color: var(--blue);
  background: var(--blue-light);
}
.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1B4A7A 0%, #2968A8 50%, #3D9B42 100%);
  padding: 100px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(61,155,66,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(232,101,45,0.15) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--sky);
}
.hero-sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,101,45,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--blue-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--text);
  line-height: 1.25;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-label--light { color: var(--sky); }

/* ---------- Pillars ---------- */
.pillars {
  padding: 90px 0;
  background: var(--white);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar-card {
  background: var(--bg);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text);
}
.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ---------- Impact Band ---------- */
.impact-band {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 80px 0;
  color: #fff;
}
.impact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.impact-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
.impact-text p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  font-size: 1.02rem;
}
.impact-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 22px 28px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 18px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sky);
  white-space: nowrap;
}
.stat-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

/* ---------- Featured ---------- */
.featured {
  padding: 90px 0;
  background: var(--bg);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 28px;
}
.featured-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.featured-card--large {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}
.featured-card--large .featured-img {
  flex: 1;
  min-height: 280px;
}
.featured-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.featured-body {
  padding: 28px;
}
.featured-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.featured-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--text);
}
.featured-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}
.link-arrow {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange);
}
.link-arrow:hover { color: var(--orange-dark); }

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-inner p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-inner .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1a2a3a;
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-links h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-links a, .footer-links p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.35);
}

/* ---------- Page Headers ---------- */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 70px 0 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
}
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Content Sections ---------- */
.content-section {
  padding: 80px 0;
}
.content-section--alt {
  background: var(--white);
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.content-grid--reverse .content-img-wrap { order: -1; }
.content-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.content-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.content-text h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 16px;
  line-height: 1.25;
}
.content-text p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.content-text .btn { margin-top: 10px; }

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.card-body {
  padding: 24px;
}
.card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}
.card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ---------- Form Styles ---------- */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(41,104,168,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Donation Specific ---------- */
.donate-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.donate-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text);
}
.donate-address {
  background: var(--blue-light);
  border: 1px solid rgba(41,104,168,0.15);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--blue-dark);
}
.donate-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.donate-steps li {
  counter-increment: step;
  padding: 14px 0;
  padding-left: 48px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.donate-steps li:last-child { border-bottom: none; }
.donate-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 32px;
  height: 32px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- Event Specific ---------- */
.event-highlight {
  background: linear-gradient(135deg, var(--green-light), var(--orange-light));
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}
.event-highlight-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.event-highlight-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.event-highlight-body h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.event-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}
.event-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---------- Volunteer Specific ---------- */
.volunteer-roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.role-card:hover { border-color: var(--blue); }
.role-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}
.role-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}
.role-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.role-tag--green { background: var(--green-light); color: var(--green-dark); }
.role-tag--blue { background: var(--blue-light); color: var(--blue-dark); }
.role-tag--orange { background: var(--orange-light); color: var(--orange-dark); }

/* ---------- Sidebar Layout ---------- */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

/* ---------- News Page ---------- */
.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 50px;
}
.news-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.news-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.news-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-featured-body h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 14px;
  line-height: 1.3;
}
.news-featured-body p {
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.65;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pillars-grid, .cards-grid, .volunteer-roles { grid-template-columns: 1fr 1fr; }
  .impact-inner, .content-grid, .news-featured, .event-highlight { grid-template-columns: 1fr; }
  .content-grid--reverse .content-img-wrap { order: 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card--large { grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .page-header h1 { font-size: 2rem; }
}

@media (max-width: 640px) {
  .top-bar-inner { flex-direction: column; gap: 4px; text-align: center; }
  .pillars-grid, .cards-grid, .volunteer-roles { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 2rem; }

  .mobile-toggle { display: flex; }
  .nav-main {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-main.open { display: flex; }
  .nav-main a { padding: 12px 0; }
  .nav-cta { margin-left: 0 !important; text-align: center; margin-top: 8px; }

  .event-highlight { padding: 28px; }
}

/* ==========================================================================
   Single Page / Legal Page Styles (moved from inline)
   ========================================================================== */

.single-content {
  max-width: 760px;
  margin: 0 auto;
}
.single-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 32px 0 12px;
  color: var(--text);
}
.single-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.single-content .lead {
  font-size: 1.08rem;
  color: var(--text);
  font-weight: 500;
}
.single-hero-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.single-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.single-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
}
.back-link:hover { color: var(--blue-dark); }

/* ==========================================================================
   Event Info Box
   ========================================================================== */

.event-info-box {
  background: var(--blue-light);
  border: 1px solid rgba(41,104,168,0.15);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 0 28px;
}
.event-info-box dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  margin-bottom: 4px;
}
.event-info-box dd {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 16px;
}
.event-info-box dd:last-child { margin-bottom: 0; }

/* ==========================================================================
   Legal Pages (Privacy, Terms)
   ========================================================================== */

.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--text);
}
.legal-content p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.legal-content ul {
  margin: 0 0 16px 24px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}
.legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ==========================================================================
   News Article Specific
   ========================================================================== */

.article-img-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-style: italic;
}

/* ==========================================================================
   Utility / Helper Classes (previously inline)
   ========================================================================== */

.tag-featured { background: var(--orange); color: #fff; }
.tag-community { background: var(--blue-light); color: var(--blue-dark); }
.tag-program { background: var(--green-light); color: var(--green-dark); }
.tag-event { background: var(--orange-light); color: var(--orange-dark); }

.sidebar-card--info {
  background: var(--blue-light);
  border-color: rgba(41,104,168,0.15);
}
.sidebar-card--info h4 { color: var(--blue-dark); }

.sidebar-card--success {
  background: var(--green-light);
  border-color: rgba(61,155,66,0.15);
}
.sidebar-card--success h4 { color: var(--green-dark); }

.sidebar-card--warning {
  background: var(--orange-light);
  border-color: rgba(232,101,45,0.15);
}
.sidebar-card--warning h4 { color: var(--orange-dark); }

.sidebar-card--muted {
  background: var(--bg);
}

.sidebar-card small-text,
.sidebar-card .small-text {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.section-bg-muted { background: var(--bg); }
.section-bg-white { background: var(--white); }

.cta-full-width { width: 100%; }
.text-center { text-align: center; }

.note-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

.block-cta-button {
  display: block;
  text-align: center;
  padding: 10px 20px;
}

.featured-tag-orange {
  background: var(--orange-light);
  color: var(--orange);
}

.icon-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.icon-card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* 404 page */
.error-page {
  padding: 100px 0 120px;
  text-align: center;
}
.error-page .error-code {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 10px;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--text);
}
.error-page p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.error-page .error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Screen-reader only */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* WP Alignment classes */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignwide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }

/* Fluent Forms baseline override */
.fluentform .ff-el-group label {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  margin-bottom: 6px !important;
}
.fluentform .ff-el-input--content input,
.fluentform .ff-el-input--content textarea,
.fluentform .ff-el-input--content select {
  padding: 12px 16px !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  font-size: 0.92rem !important;
  font-family: var(--font-body) !important;
}
.fluentform .ff-btn-submit {
  background: var(--orange) !important;
  border: 2px solid var(--orange) !important;
  color: #fff !important;
  padding: 14px 30px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
}
.fluentform .ff-btn-submit:hover {
  background: var(--orange-dark) !important;
  border-color: var(--orange-dark) !important;
}

/* ==========================================================================
   Page-specific helper classes
   ========================================================================== */

.section-header--left { text-align: left; }

.volunteer-form-intro {
  color: var(--text-light);
  margin-bottom: 28px;
}

.donate-program-card {
  margin-bottom: 20px;
}
.donate-program-card:last-child { margin-bottom: 0; }

.cta-btn-top-margin { margin-top: 16px; }

/* ==========================================================================
   Fluent Forms Column Layout
   ========================================================================== */

.fluentform .ff-t-container {
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}
.fluentform .ff-t-cell {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
@media (max-width: 640px) {
  .fluentform .ff-t-container {
    flex-direction: column !important;
  }
  .fluentform .ff-t-cell {
    flex: 1 1 100% !important;
  }
}
