/* ============================================================
   NCA MONTREAL — CUSTOM THEME
   Clean, fast, mobile-first. No framework bloat.
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Brand colours extracted from live site */
  --green-dark:   #1a4a2e;   /* header / footer bg */
  --green-mid:    #236b3e;   /* nav hover, section bg */
  --green-light:  #2e8b57;   /* accents, borders */
  --gold:         #c8972a;   /* CTA buttons, highlights */
  --gold-hover:   #a87820;
  --white:        #ffffff;
  --off-white:    #f8f6f1;   /* light section bg */
  --grey-light:   #e8e4dc;
  --grey-text:    #555555;
  --dark:         #1a1a1a;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  80px 0;
  --container:    1160px;
  --radius:       6px;

  /* Transitions */
  --ease:         0.2s ease;
}

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

html { scroll-behavior: smooth; }

/* Override WP global-styles which sets max-width:780px on body for single posts */
body,
body.single,
body.single-post,
body.wp-singular {
  max-width: none !important;
  width: 100% !important;
}

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

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

a { color: var(--green-light); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--green-dark);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

/* ── UTILITIES ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad); }
.section--light { background: var(--off-white); }
.section--green { background: var(--green-dark); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--white); }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform var(--ease);
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--white); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--green-dark); }

.btn--green {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn--green:hover { background: var(--green-mid); border-color: var(--green-mid); color: var(--white); }

/* ── TOP BAR ──────────────────────────────────────────────── */
.top-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  padding: 7px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--gold); }
.top-bar__contact { display: flex; gap: 20px; align-items: center; }
.top-bar__social  { display: flex; gap: 12px; align-items: center; }
.top-bar__social a { font-size: 0.85rem; }

/* ── HEADER / NAV ─────────────────────────────────────────── */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

/* Logo — override WP's inline width/height on custom-logo img */
.site-logo img,
.site-logo .custom-logo,
a.custom-logo-link img {
  height: 56px !important;
  width: auto !important;
  max-width: 180px;
  display: block;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green-dark);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
}
.primary-nav a:hover,
.primary-nav .current-menu-item a {
  background: var(--green-dark);
  color: var(--white);
}

.nav-donate {
  background: var(--gold) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}
.nav-donate:hover { background: var(--gold-hover) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  aria-label: "Menu";
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green-dark);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="80" r="50" fill="rgba(255,255,255,0.03)"/></svg>') no-repeat center/cover;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__text h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
}
.hero__text .hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__image { border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.hero__image img { width: 100%; height: 400px; object-fit: cover; }

/* Home: no hero image – full width text */
.hero--centered {
  text-align: center;
  padding: 120px 0 100px;
}
.hero--centered .hero__text { max-width: 760px; margin: 0 auto; }
.hero--centered h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.hero--centered .hero__actions { justify-content: center; }

/* ── ABOUT STRIP (homepage) ───────────────────────────────── */
.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-strip__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-strip__images img {
  border-radius: var(--radius);
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.about-strip__images img:first-child {
  grid-column: 1 / -1;
  height: 260px;
}

/* ── DONATE CTA BAND ──────────────────────────────────────── */
.donate-band {
  background: linear-gradient(90deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.donate-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.donate-band p  { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { background: var(--off-white); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid var(--gold);
}
.testimonial-card__quote {
  font-style: italic;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-light);
}
.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 2px;
}
.testimonial-card__role { font-size: 0.8rem; color: var(--grey-text); }

/* ── MAP SECTION ──────────────────────────────────────────── */
.map-section .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}
.map-section__content h2 { margin-bottom: 1rem; }
.map-section__content p  { color: var(--grey-text); margin-bottom: 1.5rem; }
.map-section__embed {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.map-section__embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--green-dark);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.page-hero .breadcrumb {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.page-hero .breadcrumb a { color: var(--gold); }

/* ── GENERIC PAGE CONTENT ─────────────────────────────────── */
.page-content {
  padding: 72px 0;
}
.page-content--narrow .container { max-width: 800px; }

.entry-content h2 { font-size: 1.75rem; margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 1.35rem; margin: 1.75rem 0 0.75rem; }
.entry-content p  { color: var(--grey-text); margin-bottom: 1.1rem; }
.entry-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.1rem; }
.entry-content ul li { color: var(--grey-text); margin-bottom: 0.4rem; }

/* ── TEAM GRID ────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 2.5rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  padding: 28px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform var(--ease), box-shadow var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--green-light);
}
.team-card__name { font-family: var(--font-heading); font-size: 1.05rem; color: var(--green-dark); margin-bottom: 4px; }
.team-card__role { font-size: 0.8rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── SERVICES / ACTIVITIES CARDS ──────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 2.5rem;
}
.card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: var(--white);
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.13); }
.card__image img { width: 100%; height: 200px; object-fit: cover; }
.card__body { padding: 24px; }
.card__title { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--green-dark); }
.card__text  { font-size: 0.9rem; color: var(--grey-text); }

/* ── BLOG ─────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 2.5rem;
}
.post-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform var(--ease);
}
.post-card:hover { transform: translateY(-4px); }
.post-card__thumbnail img { width: 100%; height: 220px; object-fit: cover; }
.post-card__thumbnail--placeholder {
  height: 220px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
  font-weight: 700;
}
.post-card__thumbnail--placeholder::after {
  content: 'NCA';
}
.post-card__body { padding: 24px; }
.post-card__meta { font-size: 0.78rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.post-card__title { font-size: 1.2rem; margin-bottom: 0.6rem; }
.post-card__title a { color: var(--green-dark); }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt { font-size: 0.9rem; color: var(--grey-text); margin-bottom: 1.25rem; }
.post-card__link { font-size: 0.875rem; font-weight: 600; color: var(--green-light); }
.post-card__link:hover { color: var(--gold); }

/* Single post */
.single-post { max-width: 780px; margin: 0 auto; }
.single-post__meta { font-size: 0.85rem; color: var(--grey-text); margin-bottom: 1.5rem; }
.single-post__thumbnail { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.single-post__thumbnail img { width: 100%; max-height: 480px; object-fit: cover; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 3rem; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--grey-light);
  color: var(--green-dark);
  transition: background var(--ease), color var(--ease);
}
.pagination a:hover, .pagination .current {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

/* ── CONTACT FORM ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info__item { display: flex; gap: 14px; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-info__icon {
  width: 40px;
  height: 40px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 0.9rem;
}
.contact-info__label { font-size: 0.78rem; color: var(--grey-text); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-info__value { color: var(--green-dark); font-weight: 500; }

.contact-form { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 8px 40px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--green-dark); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-light);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .site-logo img,
.footer-brand .custom-logo,
.footer-brand a.custom-logo-link img {
  height: 64px !important;
  width: auto !important;
  max-width: 180px;
  margin-bottom: 16px;
  /* No invert — logo is a JPG with white bg which breaks with brightness(0) invert(1).
     Drop a subtle border-radius + background pill so it sits cleanly on the dark footer. */
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  padding: 4px;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: background var(--ease), color var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--ease);
}
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--gold); }

/* ── NOTICE / ALERT BANNER ────────────────────────────────── */
.notice-bar {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
}
.notice-bar a { color: var(--white); text-decoration: underline; }

/* ── SKIP LINK (accessibility) ────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  z-index: 9999;
}

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-page-intro__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-page-intro__content p {
  color: var(--grey-text);
  margin-bottom: 1rem;
}

/* Stat cards */
.about-page-intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.stat-card {
  background: var(--off-white);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  border-bottom: 4px solid var(--gold);
}
.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-text);
}

/* Black History Month */
.bhm-section { background: var(--off-white); }
.bhm-section__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.bhm-tabs {
  display: flex;
  gap: 8px;
  margin: 1.5rem 0 1.25rem;
  flex-wrap: wrap;
}
.bhm-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--grey-light);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey-text);
  cursor: pointer;
  transition: all var(--ease);
}
.bhm-tab:hover { border-color: var(--green-light); color: var(--green-dark); }
.bhm-tab.is-active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.bhm-panel { display: none; }
.bhm-panel.is-active { display: block; }
.bhm-panel p { color: var(--grey-text); margin-bottom: 1rem; }

.bhm-section__video h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--green-dark);
}
.bhm-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.bhm-video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Community band */
.community-band {
  position: relative;
  padding: 100px 0;
  background:
    linear-gradient(rgba(26,74,46,0.82), rgba(26,74,46,0.82)),
    url('https://ozu.srz.mybluehost.me/wp-content/uploads/2023/01/home_gallery_1.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}
.community-band h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.community-band p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ── MISSION PAGE ─────────────────────────────────────────── */
.mission-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.mission-intro__content p { color: var(--grey-text); margin-bottom: 1rem; }
.mission-intro__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* Values row */
.mission-values {
  display: flex;
  gap: 32px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-light);
}
.mission-value { text-align: center; }
.mission-value__icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}
.mission-value__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-dark);
}

/* Vision section */
.vision-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.vision-section__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.vision-section__content p { color: var(--grey-text); margin-bottom: 1rem; }

/* Progress bars */
.progress-bars { margin-top: 2rem; display: flex; flex-direction: column; gap: 20px; }
.progress-item__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.progress-item__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-dark);
}
.progress-item__value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
}
.progress-track {
  height: 8px;
  background: var(--grey-light);
  border-radius: 50px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-dark), var(--green-light));
  border-radius: 50px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── COMMUNITY PAGE ───────────────────────────────────────── */
.community-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2.5rem;
}
.community-gallery__item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.community-gallery__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.community-gallery__item:hover img { transform: scale(1.04); }
.community-gallery__item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.4;
  padding: 28px 14px 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.community-gallery__item:hover figcaption { opacity: 1; }

/* ── SERVICES PAGE ────────────────────────────────────────── */
.services-group { margin-bottom: 3.5rem; }
.services-group__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--grey-light);
}
.services-group__icon { font-size: 1.75rem; }
.services-group__title {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin: 0;
}
.card__placeholder {
  height: 200px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ── ACTIVITIES PAGE ──────────────────────────────────────── */
.activity-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.activity-filter {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--grey-light);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey-text);
  cursor: pointer;
  transition: all var(--ease);
}
.activity-filter:hover { border-color: var(--green-light); color: var(--green-dark); }
.activity-filter.is-active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.activity-card__meta {
  margin-bottom: 6px;
}
.activity-card__location {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}
.activity-card.is-hidden { display: none; }

/* ── 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: 1rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--grey-text); text-align: center; }

/* ── RESPONSIVE ───────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .community-gallery { grid-template-columns: 1fr 1fr; }
  .mission-intro__grid  { grid-template-columns: 1fr; }
  .vision-section__grid { grid-template-columns: 1fr; }
  .vision-section__image { order: -1; }
  .about-page-intro__stats { position: static; grid-template-columns: repeat(4, 1fr); }
  .bhm-section__grid { grid-template-columns: 1fr; }
  .hero__image      { display: none; }
  .hero__actions    { justify-content: center; }
  .about-strip .container { grid-template-columns: 1fr; }
  .about-strip__images    { grid-template-columns: 1fr 1fr; }
  .map-section .container { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .contact-layout   { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-pad: 56px 0; }

  .top-bar__social { display: none; }

  .nav-toggle   { display: flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 16px 0;
    border-top: 2px solid var(--green-dark);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a  { border-radius: 0; padding: 12px 24px; }

  .about-page-intro__stats { grid-template-columns: 1fr 1fr; }

  .community-gallery { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 60px; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .about-strip__images { grid-template-columns: 1fr; }
  .about-strip__images img:first-child { height: 200px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .cards-grid    { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
}

/* ── LOGO SIZE OVERRIDES ──────────────────────────────────── */
/* WP injects inline width/height attrs on custom-logo — force our sizes */
.site-logo img,
.site-logo .custom-logo,
a.custom-logo-link img {
  height: 56px !important;
  width: auto !important;
  max-width: 180px;
}

/* Footer logo — JPG has white bg so invert/circle doesn't work.
   Use mix-blend-mode to blend it into the dark green footer. */
.footer-brand a.custom-logo-link img,
.footer-brand .custom-logo {
  height: 64px !important;
  width: auto !important;
  max-width: 180px;
  border-radius: 4px;
  mix-blend-mode: luminosity;
  opacity: 0.85;
}

/* ── HOMEPAGE — ABOUT STRIP ───────────────────────────────── */
.about-strip { padding-top: 48px !important; }

.about-strip__images img {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.about-strip__images img:first-child {
  grid-column: 1 / -1;
  height: 260px !important;
}
.about-strip__images img:not(:first-child) {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover;
}

/* ── BLOG POST CARDS ──────────────────────────────────────── */
.post-card__thumbnail--placeholder {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card__thumbnail--placeholder::after {
  content: 'NCA';
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
}

/* ── ACTIVITY CARDS (CPT) ─────────────────────────────────── */
.activity-card__date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius);
  padding: 4px 10px;
  margin-bottom: 10px;
  line-height: 1.1;
}
.activity-card__day   { font-size: 1.4rem; font-weight: 700; font-family: var(--font-heading); }
.activity-card__month { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; }

.activity-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.activity-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--off-white);
  color: var(--grey-text);
  border: 1px solid var(--grey-light);
}
.activity-pill--free { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.activity-pill--paid { background: #fef3c7; color: #92400e; border-color: #fde68a; }

/* ── SERVICE CARDS (CPT) ──────────────────────────────────── */
.service-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--grey-light);
}
.service-card__link {
  font-size: 0.8rem;
  color: var(--grey-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
a.service-card__link { color: var(--green-light); }
a.service-card__link:hover { color: var(--gold); }

/* ── SINGLE POST — TWO COLUMN LAYOUT ─────────────────────── */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.single-post-main {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.single-post__thumbnail img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}
.single-post__meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--grey-light);
  font-size: 0.82rem;
  color: var(--grey-text);
}
.single-post__cat {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.single-post__cat:hover { background: var(--gold); color: var(--white); }
.single-post__body { padding: 28px 28px 8px; }
.single-post__body p  { color: var(--grey-text); line-height: 1.8; margin-bottom: 1.1rem; }
.single-post__body h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.single-post__body h3 { font-size: 1.2rem; margin: 1.5rem 0 0.6rem; }
.single-post__body img { border-radius: var(--radius); margin: 1rem 0; }
.single-post__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 28px;
  border-top: 1px solid var(--grey-light);
  font-size: 0.8rem;
}
.single-post__tags > span { font-weight: 600; color: var(--grey-text); text-transform: uppercase; letter-spacing: 0.06em; }
.single-post__tag {
  padding: 3px 12px;
  border-radius: 50px;
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  color: var(--green-dark);
  font-size: 0.8rem;
}
.single-post__tag:hover { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.single-post__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 28px 0;
  border-top: 1px solid var(--grey-light);
  margin-top: 8px;
}
.single-post-main > a[href] {
  display: inline-block;
  padding: 0 28px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-light);
}
.single-post-main > a[href]:hover { color: var(--gold); }

/* ── SIDEBAR ──────────────────────────────────────────────── */
.single-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}
.sidebar-widget {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.sidebar-widget__title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.sidebar-posts { display: flex; flex-direction: column; gap: 14px; }
.sidebar-posts__item { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-posts__thumb { flex-shrink: 0; width: 60px; height: 60px; border-radius: var(--radius); overflow: hidden; }
.sidebar-posts__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-posts__text { display: flex; flex-direction: column; gap: 4px; }
.sidebar-posts__link { font-size: 0.875rem; font-weight: 600; color: var(--green-dark); line-height: 1.3; }
.sidebar-posts__link:hover { color: var(--gold); }
.sidebar-posts__date { font-size: 0.75rem; color: var(--grey-text); }
.sidebar-cats { display: flex; flex-direction: column; gap: 8px; }
.sidebar-cats a {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--green-dark);
  padding: 6px 0;
  border-bottom: 1px solid var(--grey-light);
}
.sidebar-cats a:hover { color: var(--gold); }
.sidebar-cats a span { color: var(--grey-text); font-size: 0.8rem; }
.sidebar-widget--donate { background: var(--green-dark); color: rgba(255,255,255,0.85); }
.sidebar-widget--donate h4 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.sidebar-widget--donate p { font-size: 0.875rem; margin-bottom: 16px; line-height: 1.6; }

/* ── RESPONSIVE ADDITIONS ─────────────────────────────────── */
@media (max-width: 1024px) {
  .single-post-layout { grid-template-columns: 1fr; }
  .single-post-sidebar { position: static; }
  .about-page-intro__stats { position: static; grid-template-columns: repeat(4, 1fr); }
  .community-gallery { grid-template-columns: 1fr 1fr; }
  .mission-intro__grid  { grid-template-columns: 1fr; }
  .vision-section__grid { grid-template-columns: 1fr; }
  .vision-section__image { order: -1; }
}

@media (max-width: 768px) {
  .single-post-layout { grid-template-columns: 1fr; }
  .about-page-intro__stats { grid-template-columns: 1fr 1fr; }
  .community-gallery { grid-template-columns: 1fr; }
}