/*
Theme Name: Seven Generations Collective
Theme URI: https://7gencollective.org/
Author: Seven Generations Collective
Description: A custom nonprofit WordPress theme inspired by the Seven Generations Collective brand identity.
Version: 1.0.0
License: GPLv2 or later
Text Domain: seven-generations-collective
*/

:root {
  --deep-teal: #0e4853;
  --deep-teal-2: #07343c;
  --forest: #47694a;
  --sage: #9dae96;
  --warm-sand: #e8d7b8;
  --clay: #ce3f16;
  --clay-dark: #a83213;
  --charcoal: #2f2f2f;
  --soft-cream: #f7f3ec;
  --cream-2: #fffaf2;
  --ink: #0b2e3a;
  --muted: #5f6b6d;
  --line: rgba(14, 72, 83, 0.14);
  --shadow: 0 18px 45px rgba(14, 72, 83, 0.15);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft-cream);
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.site-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: white;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 9999;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  background: rgba(247, 243, 236, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

/* Full-width header layout */
.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 28px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

/* Brand/logo fully left */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 330px;
  justify-self: start;
}

.custom-logo {
  max-width: 70px;
  height: auto;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border: 4px solid var(--deep-teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--deep-teal);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  background: white;
}

.brand-mark::before {
  content: "✣";
}

.brand-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-subtitle {
  display: block;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 3px;
}

/* Navigation centered/right between logo and donate button */
.main-navigation {
  justify-self: end;
  margin-right: 32px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.main-navigation li {
  white-space: nowrap;
}

.main-navigation a {
  display: inline-flex;
  padding: 10px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  background: rgba(14, 72, 83, 0.08);
}

/* Search + donate button pinned right */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
}

.search-dot {
  border: 0;
  background: transparent;
  font-size: 20px;
  color: var(--ink);
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: var(--deep-teal);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  background: var(--deep-teal-2);
}

.button-clay {
  background: var(--clay);
}

.button-clay:hover {
  background: var(--clay-dark);
}

.button-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.85);
}

.button-outline:hover {
  background: white;
  color: var(--deep-teal);
}

.button-light {
  background: white;
  color: var(--deep-teal);
  border-color: rgba(14,72,83,.12);
}

/* Header mobile layout */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    padding: 14px 18px;
    gap: 16px;
  }

  .brand {
    min-width: 0;
    justify-self: start;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .custom-logo {
    max-width: 58px;
  }

  .main-navigation {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
  }

  .main-navigation ul {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px;
  }

  .main-navigation a {
    font-size: 13px;
    padding: 8px 9px;
  }

  .header-actions {
    justify-self: end;
  }
}

/* Decorative background */
.patterned {
  position: relative;
  overflow: hidden;
}
.patterned::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18px 18px, rgba(232,215,184,.24) 2px, transparent 3px),
    linear-gradient(135deg, transparent 42%, rgba(14,72,83,.055) 42% 58%, transparent 58%);
  background-size: 44px 44px, 86px 86px;
  pointer-events: none;
}
.patterned > * { position: relative; z-index: 1; }

/* Hero */
.hero {
  background: var(--deep-teal);
  color: white;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 520px;
}
.hero-copy {
  padding: clamp(48px, 8vw, 92px) 48px clamp(48px, 8vw, 92px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 -80px 0 -100vw;
  background:
    linear-gradient(90deg, rgba(7,52,60,.98), rgba(7,52,60,.86)),
    radial-gradient(circle at 86% 28%, rgba(157,174,150,.22), transparent 34%);
  z-index: 0;
}
.hero-copy > * { position: relative; z-index: 1; }
.eyebrow {
  color: var(--warm-sand);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: 13px;
  margin: 0 0 13px;
}
.hero h1,
.page-hero h1,
.section-heading h2,
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(43px, 6vw, 74px);
  max-width: 540px;
}
.hero p {
  font-size: 19px;
  max-width: 520px;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(7,52,60,.14), rgba(7,52,60,.05)),
    var(--sage);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.photo-placeholder {
  width: 100%;
  min-height: 220px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(14,72,83,.22), rgba(247,243,236,.45)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.24) 0 10px, transparent 10px 20px),
    #a9bcc3;
  border: 1px solid rgba(14,72,83,.12);
  display: grid;
  place-items: center;
  color: rgba(14,72,83,.48);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.photo-placeholder::before { content: attr(data-label); }
.hero-image .photo-placeholder {
  border-radius: 0;
  min-height: 100%;
  background:
    linear-gradient(45deg, rgba(14,72,83,.2), rgba(206,63,22,.16)),
    radial-gradient(circle at 72% 28%, rgba(255,255,255,.42), transparent 22%),
    #a8b7aa;
}

/* Sections */
.section { padding: 74px 0; }
.section-cream { background: var(--cream-2); }
.section-teal { background: var(--deep-teal); color: white; }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.section-heading p { margin: 10px auto 0; max-width: 680px; color: var(--muted); }
.section-teal .section-heading p { color: rgba(255,255,255,.8); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.kicker { color: var(--clay); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.lead-title { margin: 8px 0 14px; font-size: clamp(32px, 4vw, 46px); }

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.image-strip .photo-placeholder { min-height: 210px; }

.focus-title {
  text-align: center;
  font-size: 34px;
  margin: 56px 0 22px;
}
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.icon-card,
.value-card,
.give-card,
.resource-card,
.board-card,
.program-card {
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(14,72,83,.07);
}
.icon {
  font-size: 36px;
  line-height: 1;
  color: var(--deep-teal);
  margin-bottom: 14px;
}
.icon.clay { color: var(--clay); }
.icon.forest { color: var(--forest); }
.icon.gold { color: #d99518; }
.icon-card h3,
.value-card h3 { margin: 0 0 6px; font-size: 20px; }
.icon-card p,
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }

.values-band {
  background: var(--deep-teal);
  color: white;
  padding: 36px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.value-mini {
  text-align: center;
  padding: 10px 16px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.value-mini:last-child { border-right: 0; }
.value-mini .icon { color: var(--warm-sand); margin-bottom: 10px; }
.value-mini h3 { font-size: 15px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .05em; }
.value-mini p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; }

.support-band {
  background: linear-gradient(90deg, rgba(14,72,83,.86), rgba(14,72,83,.64)), var(--forest);
  color: white;
  padding: 32px 0;
}
.support-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 24px;
}
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amounts a { background: white; color: var(--deep-teal); padding: 12px; border-radius: 10px; text-align: center; font-weight: 900; }

/* Page Heroes */
.page-hero {
  padding: 82px 0;
  background: linear-gradient(135deg, rgba(14,72,83,.95), rgba(71,105,74,.86)), var(--deep-teal);
  color: white;
  text-align: center;
}
.page-hero h1 { font-size: clamp(44px, 6vw, 70px); margin: 0 0 10px; }
.page-hero p { margin: 0 auto; max-width: 720px; font-size: 19px; color: rgba(255,255,255,.84); }

/* Page grids */
.program-list { display: grid; gap: 24px; }
.program-card { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.board-card { text-align: center; }
.board-card .photo-placeholder { min-height: 170px; margin-bottom: 14px; }
.board-card h3 { margin: 0 0 4px; font-size: 21px; }
.board-card p { margin: 0; color: var(--muted); }
.donate-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.giving-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.give-card { text-align: center; }
.donation-box { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.donation-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.donation-amounts button { background: var(--soft-cream); color: var(--ink); border: 1px solid var(--line); }
.donation-amounts button:hover { background: var(--warm-sand); }
.resource-grid, .involved-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 14px 16px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; background: white; font: inherit;
}
.contact-form textarea { min-height: 150px; }

/* Footer */
.site-footer { background: var(--deep-teal-2); color: white; padding: 44px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; }
.footer-grid h3 { margin: 0 0 12px; font-size: 22px; }
.footer-grid p,
.footer-grid a { color: rgba(255,255,255,.78); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 8px 0; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.68); font-size: 14px; }

/* Blog/default */
.content-area { padding: 70px 0; }
.entry-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.entry-title { margin-top: 0; }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; }
  .main-navigation { order: 3; width: 100%; overflow-x: auto; }
  .hero-grid, .split, .support-grid, .donate-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 0; }
  .hero-image { min-height: 310px; }
  .icon-card-grid, .values-grid, .resource-grid, .involved-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-shell { width: min(100% - 24px, 1180px); }
  .brand-title { font-size: 17px; }
  .brand-mark { width: 46px; height: 46px; }
  .main-navigation ul { gap: 2px; }
  .main-navigation a { font-size: 13px; padding: 8px 9px; }
  .header-actions .search-dot { display: none; }
  .hero h1 { font-size: 42px; }
  .hero-actions .button { width: 100%; }
  .image-strip, .icon-card-grid, .values-grid, .board-grid, .giving-options, .resource-grid, .involved-grid, .footer-grid { grid-template-columns: 1fr; }
  .amounts, .donation-amounts { grid-template-columns: repeat(2, 1fr); }
  .value-mini { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
}

.real-hero-photo {
  background:
    linear-gradient(90deg, rgba(7,52,60,.45), rgba(7,52,60,.05)),
    url(https://7gencollective.org/wp-content/uploads/2026/10/hero.jpg.jpg);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* Homepage hero photo refinement */
@media (min-width: 900px) {
  .home .hero-grid {
    grid-template-columns: 0.95fr 1.35fr;
    width: min(1400px, calc(100% - 36px));
  }

  .home .hero-copy {
    padding-left: clamp(24px, 5vw, 72px);
  }

  .home .real-hero-photo {
    min-height: 620px;
    background-size: cover;
    background-position: 39% bottom;
  }
}

/* Darken left edge of homepage hero photo */
.home .real-hero-photo {
  position: relative !important;
  overflow: hidden !important;
}

.home .real-hero-photo::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 260px !important;
  height: 100% !important;
  background: linear-gradient(
    90deg,
    rgba(14, 75, 83, 1) 0%,
    rgba(14, 75, 83, 0.92) 35%,
    rgba(14, 75, 83, 0.45) 65%,
    rgba(14, 75, 83, 0) 100%
  ) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}
	
/* Final desktop header layout */
.site-header {
  position: relative !important;
  width: 100% !important;
  background: #f7f3ec;
}

.site-header .header-inner {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 118px !important;
  padding: 14px 28px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}

/* Logo/brand pinned left */
.site-header .brand {
  position: absolute !important;
  left: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 10 !important;
}

/* Menu has room between brand and donate button */
.site-header .main-navigation {
  margin-left: 470px !important;
  margin-right: 210px !important;
  flex: 1 !important;
}

/* Donate/search pinned right */
.site-header .header-actions {
  position: absolute !important;
  right: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

/* Mobile header layout */
@media (max-width: 768px) {
  .site-header .header-inner {
    min-height: auto !important;
    padding: 14px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .site-header .brand {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin-bottom: 14px !important;
  }

  .site-header .main-navigation {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  .site-header .header-actions {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin-top: 12px !important;
  }
}

/* About page photo */
.real-about-photo {
  min-height: 420px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(14,72,83,.10), rgba(247,243,236,.06)),
    url(https://7gencollective.org/wp-content/uploads/2026/10/about-children.jpg);
  background-size: 118%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* Buddy icon image styling */
.buddy-icon-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}

.icon-card {
  text-align: center;
}

/* SHIELD value icon images */
.shield-value-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

/* SHIELD icon visibility on dark teal band */
.shield-value-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
  padding: 8px;
  background: rgba(247, 243, 236, 0.92);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
/* Homepage photo strip */
.home-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-strip-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .home-photo-strip {
    grid-template-columns: 1fr;
  }

  .home-strip-photo {
    height: 280px;
  }
}

/* Donate page */
.donation-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.donation-box h2 {
  margin-top: 0;
}

.donation-main-button {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.donation-note {
  font-size: 14px;
  text-align: center;
  color: var(--muted);
  margin-bottom: 0;
}

.donate-closing {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.donate-closing h2 {
  color: #fff;
  margin-bottom: 12px;
}

.donate-closing p {
  color: rgba(247, 243, 236, 0.88);
  font-size: 18px;
}

/* Homepage support CTA */
.support-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.support-cta .button {
  min-width: 230px;
  justify-content: center;
}

.support-cta p {
  max-width: 380px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
  color: rgba(247, 243, 236, 0.82);
}

@media (max-width: 800px) {
  .support-cta {
    align-items: flex-start;
  }

  .support-cta p {
    text-align: left;
  }
}

/* Board page */
.board-intro {
  max-width: 850px;
  margin-bottom: 38px;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.board-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.board-photo-wrap {
  border-radius: 24px;
  overflow: hidden;
  background: var(--soft-cream);
  border: 1px solid var(--line);
}

.board-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.board-card-content h3 {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: clamp(26px, 3vw, 34px);
}

.board-role {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(206, 63, 22, 0.10);
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.maiden-name {
  font-size: 0.72em;
  color: var(--muted);
  font-weight: 600;
}

.board-card-content p {
  color: var(--charcoal);
}

.board-closing {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.board-closing h2 {
  color: #fff;
  margin-bottom: 12px;
}

.board-closing p {
  color: rgba(247, 243, 236, 0.88);
  font-size: 18px;
}

@media (max-width: 850px) {
  .board-card {
    grid-template-columns: 1fr;
  }

  .board-photo {
    height: 360px;
  }
}

@media (max-width: 520px) {
  .board-card {
    padding: 22px;
  }

  .board-photo {
    height: 300px;
  }
}

/* Board page alignment refinement */
.board-card-content {
  text-align: left;
}

.board-card-content h3 {
  text-align: left;
}

.board-role {
  justify-content: flex-start;
}

.board-card-content p {
  text-align: left;
  max-width: 900px;
}

/* Board page paragraph spacing */
.board-card-content p {
  text-align: left;
  max-width: 900px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.board-card-content p:last-child {
  margin-bottom: 0;
}

/* Board photo crop refinement */
.board-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 14%;
  display: block;
  background: #F7F3EC;
  padding: 0;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.contact-main {
  max-width: 900px;
}

.contact-main p {
  line-height: 1.75;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.contact-card h3 {
  margin: 12px 0 8px;
  color: var(--teal);
}

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

.contact-card a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

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

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.contact-box h2 {
  margin-top: 0;
}

.contact-list {
  margin: 18px 0 24px;
  padding-left: 20px;
}

.contact-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.contact-button {
  width: 100%;
  justify-content: center;
}

.contact-note {
  font-size: 14px;
  text-align: center;
  color: var(--muted);
  margin-bottom: 0;
  margin-top: 18px;
}

.contact-closing {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact-closing h2 {
  color: #fff;
  margin-bottom: 12px;
}

.contact-closing p {
  color: rgba(247, 243, 236, 0.88);
  font-size: 18px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* Programs page */
.program-intro {
  max-width: 880px;
  margin-bottom: 38px;
}

.program-intro p {
  line-height: 1.75;
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.program-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.program-featured,
.program-wide {
  grid-column: 1 / -1;
}

.program-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
  font-weight: 800;
}

.program-icon.clay {
  background: var(--clay);
}

.program-icon.forest {
  background: var(--forest);
}

.program-icon.gold {
  background: #D99518;
}

.program-status {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(14, 72, 83, 0.10);
  color: #0E4853;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.program-card h2 {
  margin: 0 0 12px;
  color: #0E4853;
}

.program-card p {
  line-height: 1.7;
}

.program-card p:last-child {
  margin-bottom: 0;
}

.program-closing {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.program-closing h2 {
  color: #fff;
  margin-bottom: 12px;
}

.program-closing p {
  color: rgba(247, 243, 236, 0.88);
  font-size: 18px;
}

@media (max-width: 850px) {
  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card,
  .program-featured,
  .program-wide {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .program-card {
    grid-template-columns: 1fr;
  }

  .program-icon {
    margin-bottom: 4px;
  }
}	

/* Resources page */
.resource-intro {
  max-width: 850px;
  margin-bottom: 34px;
}

.resource-intro p {
  line-height: 1.75;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.resource-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: left;
}

.resource-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

.resource-icon.forest {
  background: var(--forest);
}

.resource-icon.clay {
  background: var(--clay);
}

.resource-icon.gold {
  background: #D99518;
}

.resource-icon.teal {
  background: #0E4853;
}

.resource-card h3 {
  color: var(--teal);
  margin: 0 0 10px;
}

.resource-card p {
  line-height: 1.65;
  margin-bottom: 0;
}

.resource-closing {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.resource-closing h2 {
  color: #fff;
  margin-bottom: 12px;
}

.resource-closing p {
  color: rgba(247, 243, 236, 0.88);
  font-size: 18px;
}

@media (max-width: 1000px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

/* Get Involved page */
.involved-intro {
  max-width: 900px;
  margin-bottom: 36px;
}

.involved-intro p {
  line-height: 1.75;
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.involved-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.involved-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

.involved-icon.clay {
  background: var(--clay);
}

.involved-icon.forest {
  background: var(--forest);
}

.involved-icon.gold {
  background: #D99518;
}

.involved-icon.teal {
  background: #0E4853;
}

.involved-card h3 {
  color: var(--teal);
  margin: 0 0 10px;
}

.involved-card p {
  line-height: 1.65;
  margin-bottom: 22px;
}

.involved-card .button {
  margin-top: auto;
  justify-content: center;
}

.involved-closing {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.involved-closing h2 {
  color: #fff;
  margin-bottom: 12px;
}

.involved-closing p {
  color: rgba(247, 243, 236, 0.88);
  font-size: 18px;
}

@media (max-width: 1050px) {
  .involved-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .involved-grid {
    grid-template-columns: 1fr;
  }
}

/* Get Involved matching button colors */
.involved-button {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.involved-button.clay-button {
  background: var(--clay);
  color: #fff;
}

.involved-button.forest-button {
  background: var(--forest);
  color: #fff;
}

.involved-button.gold-button {
  background: #D99518;
  color: #fff;
}

.involved-button.teal-button {
  background: #0E4853;
  color: #fff;
}

.involved-button:hover {
  filter: brightness(0.95);
  color: #fff;
}