/*
Theme Name: Cary on Bikes
Theme URI: https://caryonbikes.org
Author: Cary on Bikes
Description: Custom theme for Cary on Bikes, a nonprofit bicycle advocacy organization in Cary, NC.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cary-on-bikes
Tags: custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ==========================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ========================================================================== */
:root {
  /* Brand greens */
  --green:         #00b050;
  --green-dark:    #00824a;
  --green-ink:     #0f5132;
  --green-light:   #7ef0ac;
  --green-pale:    #eafaf0;
  --green-muted:   #e8f4ec;
  --green-off:     #f1f7f2;
  --green-off2:    #fbfdfb;

  /* Text */
  --text:          #18211c;
  --text-dark:     #0c1410;
  --text-body:     #26312a;
  --text-muted:    #46524a;
  --text-secondary:#6a776e;
  --text-faint:    #8a968d;

  /* Blue */
  --blue:          #1f7ec4;
  --blue-light:    #e9f2fb;

  /* Neutrals */
  --white:         #ffffff;
  --border:        #e4e9e4;
  --border-light:  #cdd6cf;
  --border-inner:  #eef2ee;

  /* Footer */
  --footer-bg:     #18211c;
  --footer-text:   #cdd6cf;
  --footer-muted:  #9fb0a4;
  --footer-dim:    #6f8276;
  --footer-border: #2a352e;
  --footer-icon:   #28332c;

  /* Spacing & shape */
  --radius-sm:     9px;
  --radius-md:     16px;
  --radius-lg:     18px;
  --radius-xl:     20px;
  --radius-pill:   100px;
  --container:     1240px;
  --section-pad-x: 64px;
  --section-pad-y: 56px;

  /* Typography */
  --font:          'Nunito', sans-serif;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: #e7e5df;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-dark);
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. SITE WRAPPER
   ========================================================================== */
#page {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 8px 40px rgba(20, 30, 24, 0.12);
  overflow: hidden;
  min-height: 100vh;
}

.site-content {
  /* main content area between header and footer */
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  gap: 16px;
}

/* Logo lockup */
.site-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-link:hover {
  text-decoration: none;
}

.logo-mark {
  height: 46px;
  width: auto;
  display: block;
}

.site-wordmark {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

.site-wordmark .on {
  color: var(--green);
}

/* Primary navigation */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation ul li a {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: #3f4d45;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a,
.main-navigation ul li.current-menu-ancestor > a {
  font-weight: 800;
  background: var(--green-muted);
  color: var(--green-dark);
}

/* Header social icons */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--green-off);
  color: var(--green-dark);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.header-social a:hover {
  background: var(--green-muted);
  color: var(--green);
}

.header-social svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

/* Hamburger button (mobile) */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green-off);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--green-dark);
  flex-shrink: 0;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-family: var(--font);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 40px 30px;
  flex-wrap: wrap;
}

/* Footer logo column */
.footer-brand {
  max-width: 340px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-logo-link:hover {
  text-decoration: none;
}

.footer-mark {
  height: 40px;
  width: auto;
  filter: brightness(1.05);
  display: block;
}

.footer-wordmark {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.footer-wordmark .on {
  color: #2bd07e;
}

.footer-tagline {
  font-size: 14.5px;
  color: var(--footer-muted);
  line-height: 1.55;
}

/* Footer nav columns */
.footer-nav-columns {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-nav-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--footer-dim);
  margin-bottom: 14px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-col ul li a {
  font-size: 14.5px;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav-col ul li a:hover {
  color: var(--white);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 40px;
  border-top: 1px solid var(--footer-border);
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 13px;
  color: #7e9085;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--footer-icon);
  color: var(--footer-text);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.footer-social a:hover {
  background: var(--green-dark);
  color: var(--white);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

/* ==========================================================================
   6. HERO (Home page)
   ========================================================================== */
.hero {
  position: relative;
  height: 560px;
  background: var(--text-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(8,16,12,0.86) 0%, rgba(8,16,12,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 64px;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 176, 80, 0.22);
  border: 1px solid rgba(43, 208, 126, 0.5);
  color: var(--green-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.04;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 19px;
  color: #dfe7e1;
  line-height: 1.55;
  margin-bottom: 28px;
}

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

/* Carousel controls */
.hero-controls {
  position: absolute;
  bottom: 28px;
  left: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.3s, background 0.3s;
  cursor: pointer;
  border: none;
}

.hero-dot.active {
  width: 30px;
  background: var(--green);
}

.hero-dot:not(.active) {
  width: 6px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow.prev { right: 120px; }
.hero-arrow.next { right: 68px; }

.hero-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ==========================================================================
   7. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  opacity: 0.88;
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  font-size: 16.5px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(0, 176, 80, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  font-size: 16.5px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  font-size: 15.5px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 22px rgba(0, 176, 80, 0.3);
}

.btn-white {
  background: var(--white);
  color: var(--green-ink);
  font-size: 15.5px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  font-size: 15.5px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
}

.btn-muted {
  background: var(--green-off);
  color: var(--green-dark);
  font-size: 15.5px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   8. PAGE HERO BANNER (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  height: 240px;
  background: var(--text-dark);
  display: flex;
  align-items: flex-end;
  padding: 0 var(--section-pad-x) 36px;
  overflow: hidden;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.7;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,16,12,0.85) 0%, rgba(8,16,12,0.3) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-breadcrumb {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
}

/* ==========================================================================
   9. SECTION CONTAINERS
   ========================================================================== */
.section-inner {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.section-inner-sm {
  padding: 40px var(--section-pad-x);
}

/* Section label (small uppercase tag above headings) */
.section-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.section-label-blue {
  color: var(--blue);
}

/* ==========================================================================
   10. MISSION SECTION (Home)
   ========================================================================== */
.mission-section {
  text-align: center;
  padding: 60px var(--section-pad-x);
  max-width: 880px;
  margin: 0 auto;
}

.mission-section p {
  font-size: 25px;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.55;
}

.mission-section p .accent {
  color: var(--green);
}

/* ==========================================================================
   11. HOME TEASERS (events + news side by side)
   ========================================================================== */
.home-teasers {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  padding: 0 var(--section-pad-x) 64px;
}

/* Event teaser card */
.event-teaser-card {
  background: var(--green-ink);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--green-pale);
}

.event-date-box {
  width: 78px;
  background: var(--green);
  border-radius: 10px;
  padding: 12px 0;
  text-align: center;
  margin-bottom: 20px;
}

.event-date-month {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.event-date-day {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}

.event-teaser-card h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.event-teaser-card p {
  font-size: 15.5px;
  color: #bfe6cd;
  line-height: 1.55;
  margin-bottom: 18px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.event-meta-item {
  font-size: 14.5px;
  font-weight: 700;
  color: #bfe6cd;
}

/* News teaser card */
.news-teaser-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.news-teaser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.news-teaser-header .section-label {
  margin-bottom: 0;
}

.news-all-link {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}

.news-all-link:hover {
  text-decoration: underline;
}

.news-teaser-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eef2ee;
}

.news-teaser-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.news-teaser-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.news-teaser-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.news-teaser-item:hover .news-teaser-title {
  color: var(--green-dark);
}

/* ==========================================================================
   12. ABOUT PAGE SECTIONS
   ========================================================================== */
.mission-box {
  background: var(--green-off);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 48px;
}

.mission-box p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-body);
}

/* Vision / Values grid */
.vision-heading {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.vision-intro {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.vision-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}

.vision-card h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.vision-card p {
  font-size: 14.5px;
  color: #56635a;
  line-height: 1.55;
}

/* Board of Directors */
.board-heading {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.board-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.board-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--green-dark);
  flex-shrink: 0;
}

.board-avatar.blue {
  background: var(--blue-light);
  color: var(--blue);
}

.board-name {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.board-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   13. JOIN / DONATE PAGE
   ========================================================================== */
.join-intro {
  font-size: 16.5px;
  color: #56635a;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.join-heading {
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.membership-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
}

.membership-card.featured {
  border: 2px solid var(--green);
  box-shadow: 0 14px 34px rgba(0, 176, 80, 0.18);
}

.membership-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.membership-tier {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.membership-tier.green { color: var(--green-dark); }
.membership-tier.blue  { color: var(--blue); }

.membership-price {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.membership-price-period {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.membership-benefits {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}

.membership-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  color: var(--text-body);
}

.membership-benefits li::before {
  content: '✓';
  font-weight: 900;
  flex-shrink: 0;
  color: var(--green-dark);
}

.membership-benefits li.blue-check::before {
  color: var(--blue);
}

/* Donation box */
.donation-box {
  background: var(--green-ink);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.donation-box-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
}

.donation-box h2 {
  font-size: 25px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.donation-box p {
  font-size: 15.5px;
  color: #bfe6cd;
  line-height: 1.6;
}

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.donation-amount {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 14px 0;
  text-align: center;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.donation-amount:hover,
.donation-amount.active {
  background: var(--white);
  color: var(--green-ink);
}

/* ==========================================================================
   14. EVENTS PAGE
   ========================================================================== */
.featured-event-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0;
  background: var(--green-ink);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 36px;
}

.featured-event-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.featured-event-content {
  padding: 42px;
  color: var(--green-pale);
}

.featured-event-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.featured-event-content h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.featured-event-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #bfe6cd;
  margin-bottom: 22px;
}

.featured-event-meta {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.event-meta-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.event-meta-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-meta-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

/* Upcoming events list */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.event-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.event-list-date {
  width: 56px;
  text-align: center;
  flex-shrink: 0;
}

.event-list-month {
  font-size: 13px;
  font-weight: 800;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.event-list-month.blue { color: var(--blue); }

.event-list-day {
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  display: block;
}

.event-list-details {
  flex: 1;
}

.event-list-name {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 3px;
}

.event-list-info {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.event-list-rsvp {
  font-size: 14px;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
  flex-shrink: 0;
}

.event-list-rsvp:hover {
  text-decoration: underline;
}

.event-list-rsvp.blue { color: var(--blue); }

/* Plugin slot notice */
.plugin-slot {
  background: var(--blue-light);
  border: 1px dashed var(--blue);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.plugin-slot p {
  margin-bottom: 6px;
}

.plugin-slot strong {
  font-weight: 800;
}

/* ==========================================================================
   15. NEWS PAGE (blog index)
   ========================================================================== */
.news-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 36px;
}

.news-featured-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.news-featured-content {
  padding: 32px 40px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.news-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 10px;
  display: block;
}

.news-featured-content h2 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.news-featured-content p {
  font-size: 15.5px;
  line-height: 1.6;
  color: #56635a;
  margin-bottom: 18px;
}

.news-more-heading {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.news-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
}

.news-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.news-card-image-placeholder {
  width: 100%;
  height: 170px;
  background: var(--green-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.news-card-body {
  padding: 22px;
  flex: 1;
}

.news-card-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--text);
}

/* ==========================================================================
   16. CONTACT PAGE
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}

.contact-heading {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.contact-intro {
  font-size: 15.5px;
  color: #56635a;
  margin-bottom: 28px;
}

/* Form styles */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--green-off2);
  border: 1px solid #d8e0d9;
  border-radius: 11px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input {
  height: 48px;
}

.contact-form textarea {
  height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.contact-form .btn-green {
  font-size: 16px;
  padding: 15px 34px;
}

/* Contact sidebar */
.contact-info-card {
  background: var(--green-off);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-icon.blue {
  background: var(--blue);
}

.contact-info-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.contact-social-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.contact-social-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  margin-bottom: 14px;
  display: block;
}

.contact-social-buttons {
  display: flex;
  gap: 12px;
}

.contact-social-btn {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--green-off);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  text-decoration: none;
  transition: background 0.15s;
}

.contact-social-btn:hover {
  background: var(--green-muted);
}

.contact-social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   17. SINGLE POST
   ========================================================================== */
.single-post-wrap {
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: 820px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.single-post-wrap h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
}

.single-post-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.single-post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
}

.single-post-content p { margin-bottom: 1.25em; }
.single-post-content h2 { font-size: 24px; font-weight: 900; margin: 1.5em 0 0.5em; color: var(--text); }
.single-post-content h3 { font-size: 20px; font-weight: 800; margin: 1.25em 0 0.4em; }
.single-post-content ul, .single-post-content ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.single-post-content li { margin-bottom: 0.4em; }
.single-post-content a { color: var(--blue); }
.single-post-content blockquote {
  border-left: 4px solid var(--green);
  padding: 8px 20px;
  margin: 1.5em 0;
  background: var(--green-off);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-body);
}

.back-to-news {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
  margin-top: 32px;
  padding: 10px 20px;
  background: var(--green-off);
  border-radius: var(--radius-pill);
}

.back-to-news:hover {
  background: var(--green-muted);
  text-decoration: none;
}

/* ==========================================================================
   18. GENERIC PAGE CONTENT
   ========================================================================== */
.page-content {
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: 860px;
}

.page-content h2 { font-size: 28px; font-weight: 900; margin-bottom: 0.75em; color: var(--text); }
.page-content h3 { font-size: 22px; font-weight: 800; margin-bottom: 0.6em; }
.page-content p { font-size: 16px; line-height: 1.7; margin-bottom: 1.2em; color: var(--text-body); }
.page-content ul, .page-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.page-content li { margin-bottom: 0.4em; font-size: 16px; color: var(--text-body); }

/* ==========================================================================
   19. UTILITY
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --section-pad-x: 40px;
  }

  .hero h1 { font-size: 44px; }
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .membership-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-event-card { grid-template-columns: 1fr; }
  .featured-event-image { height: 280px; min-height: unset; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-content { padding: 28px; }
  .news-featured-image { height: 240px; }
  .contact-layout { grid-template-columns: 1fr; }
  .home-teasers { grid-template-columns: 1fr; }
  .donation-box-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-pad-x: 24px;
    --section-pad-y: 40px;
  }

  /* Mobile header */
  .header-inner { padding: 14px 20px; }
  .logo-mark { height: 36px; }
  .site-wordmark { font-size: 19px; }
  .main-navigation { display: none; }
  .main-navigation.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 99;
    padding: 12px 16px;
  }
  .main-navigation.is-open ul {
    flex-direction: column;
    gap: 4px;
  }
  .main-navigation.is-open ul li a {
    font-size: 16px;
    padding: 12px 14px;
  }
  .menu-toggle { display: flex; }
  .header-social { display: none; }

  /* Mobile hero */
  .hero { height: 460px; }
  .hero-content { padding: 0 24px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-controls { left: 24px; }
  .hero-arrow { display: none; }

  .page-hero { height: 180px; padding: 0 24px 24px; }
  .page-hero h1 { font-size: 30px; }

  .mission-section { padding: 40px 24px; }
  .mission-section p { font-size: 19px; }

  .vision-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .donation-amounts { grid-template-columns: repeat(2, 1fr); }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; padding: 32px 24px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 16px 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  .single-post-wrap { padding: 32px 24px; }
  .single-post-wrap h1 { font-size: 28px; }
}
