.events-upcoming-section {
  margin-top: 40px;
  padding: 38px 40px 40px;
  border-radius: 26px;
  background: var(--secondary-color);
}

.events-upcoming-section .upcoming-projects-section {
  margin: 0;
  padding: 0;
}

.events-upcoming-section .upcoming-projects-header .section-sub-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 8px 16px 8px 30px;
  border: 0;
  border-radius: 100px;
  background: var(--white-color);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: normal;
  text-transform: uppercase;
}

.events-upcoming-section .upcoming-projects-header .section-sub-title::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent-color);
}

.events-past-section {
  margin-top: 84px;
  padding-bottom: 32px;
}

.events-past-section > .section-row {
  margin-bottom: 34px;
}

.events-featured-past {
  margin-bottom: 42px;
}

.past-event-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: 220px;
  margin: 0 auto 42px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(120deg, #211b14, #34271d);
  color: var(--white-color);
  box-shadow: 0 18px 44px rgba(39, 29, 21, 0.12);
}

.past-event-card-count {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: var(--accent-color);
  color: var(--primary-color);
}

.past-event-card-count > span,
.past-event-card-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.past-event-card-count strong {
  margin: 2px 0;
  font-family: var(--heading-font);
  font-size: clamp(58px, 6vw, 78px);
  line-height: 0.95;
}

.past-event-card-count small {
  font-size: 13px;
}

.past-event-card-copy {
  align-self: center;
  padding: 26px clamp(26px, 4vw, 48px);
}

.past-event-card-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-color);
}

.past-event-card-copy h3 {
  margin: 0 0 8px;
  color: var(--white-color);
  font-family: var(--heading-font);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
}

.past-event-card-copy > p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 253, 248, 0.8);
  font-size: 14px;
  line-height: 1.55;
}

.past-event-card-results {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 12px 0;
  padding: 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: 12px;
  list-style: none;
}

.past-event-card-results li::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: var(--accent-color);
  content: "";
}

.past-event-card-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 700;
}

.past-event-card-link span {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.past-event-card-link:hover span,
.past-event-card-link:focus-visible span {
  transform: translateX(4px);
}

.events-upcoming-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 22px;
  background: #211b14;
  color: var(--primary-color);
  box-shadow: 0 18px 44px rgba(39, 29, 21, 0.1);
}

.events-upcoming-backdrop {
  position: absolute;
  z-index: -2;
  inset: -18px;
  overflow: hidden;
}

.events-upcoming-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px);
  opacity: 0.32;
  transform: scale(1.06);
}

.events-upcoming-feature::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, rgba(27, 25, 17, 0.92), rgba(27, 25, 17, 0.68));
  content: "";
}

.events-upcoming-feature-copy {
  max-width: 720px;
}

.events-upcoming-status {
  display: inline-block;
  margin-bottom: 14px;
  color: #edb85f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.events-upcoming-feature-copy h3 {
  margin: 0 0 10px;
  color: var(--white-color);
  font-family: var(--heading-font);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
}

.events-upcoming-theme {
  margin: 0;
  color: #f0bd66;
  font-family: var(--heading-font);
  font-size: clamp(20px, 2.2vw, 28px);
}

.events-upcoming-motto {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 20px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.events-upcoming-motto i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71aa3b;
}

.events-upcoming-summary {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: 17px;
  line-height: 1.65;
}

.events-upcoming-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 28px 0 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 248, 0.24);
}

.events-upcoming-facts dt {
  margin-bottom: 5px;
  color: #edb85f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.events-upcoming-facts dd {
  margin: 0;
  color: rgba(255, 253, 248, 0.92);
  font-size: 15px;
  line-height: 1.45;
}

.events-upcoming-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 14px;
}

.events-upcoming-poster {
  margin: 0;
  text-align: center;
}

.events-upcoming-poster img {
  display: block;
  width: 100%;
  max-height: 560px;
  aspect-ratio: 0.68;
  border: 5px solid rgba(255, 253, 248, 0.88);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.events-upcoming-poster figcaption {
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.76);
  font-size: 12px;
}

@media (max-width: 767px) {
  .events-upcoming-section {
    margin-top: 28px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .events-past-section {
    margin-top: 56px;
    padding-bottom: 20px;
  }

  .events-past-section > .section-row {
    margin-bottom: 24px;
  }

  .events-featured-past {
    margin-bottom: 30px;
  }

  .events-upcoming-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    border-radius: 18px;
    padding: 26px 22px;
  }

  .events-upcoming-summary {
    font-size: 15px;
  }

  .events-upcoming-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .events-upcoming-poster {
    width: min(100%, 290px);
    margin-inline: auto;
  }
}

/* Individual event stories */
.event-detail {
  background: var(--bg-color);
}

.event-story {
  width: min(100% - 48px, 1300px);
  margin: 0 auto;
  padding: 44px 0 clamp(64px, 8vw, 112px);
}

.event-back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.25s ease, color 0.25s ease;
}

.event-back-link span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-color);
  font-size: 18px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.event-back-link:hover,
.event-back-link:focus-visible {
  color: var(--text-color);
  transform: translateX(-3px);
}

.event-back-link:hover span,
.event-back-link:focus-visible span {
  background: var(--primary-color);
  color: var(--white-color);
}

.event-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--text-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.event-kicker::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent-color);
  content: "";
}

.event-story h1,
.event-story h2,
.event-story h3,
.event-story p {
  margin-top: 0;
}

.event-story h1 {
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.event-story h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.event-story p {
  color: var(--text-color);
  font-size: 17px;
  line-height: 1.7;
}

.event-story figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.event-story figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-story figcaption {
  padding-top: 12px;
  color: var(--text-color);
  font-size: 13px;
  line-height: 1.5;
}

/* GBV march: an energetic image-led feature with a prominent attendance estimate. */
.event-story--march .march-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.march-hero-copy h1 {
  max-width: 9ch;
  margin-bottom: 24px;
}

.march-hero-copy > p {
  max-width: 520px;
  margin-bottom: 26px;
}

.march-hero-image {
  min-height: 460px;
}

.march-hero-image img {
  min-height: 460px;
}

.march-hero-image figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(39, 29, 21, 0.76);
  color: var(--white-color);
  backdrop-filter: blur(12px);
}

.march-meta,
.home-event-meta,
.planting-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
}

.march-meta span::before,
.home-event-meta span::before,
.planting-meta span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 9px 2px 0;
  border-radius: 50%;
  background: var(--accent-color);
  content: "";
}

.march-count-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(36px, 8vw, 118px);
  align-items: center;
  margin: 82px 0 76px;
  padding: 48px 0;
  border-top: 1px solid var(--divider-color);
  border-bottom: 1px solid var(--divider-color);
}

.march-count {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.march-count strong {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.march-count span {
  margin-top: 12px;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
}

.march-count small {
  margin-top: 6px;
  color: var(--text-color);
  font-size: 13px;
}

.march-story h2 {
  max-width: 14ch;
  margin-bottom: 18px;
}

.march-story p:last-child {
  margin-bottom: 0;
}

.march-photo-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.march-photo-note figure {
  height: 340px;
}

.march-photo-note h2 {
  max-width: 13ch;
  margin-bottom: 16px;
}

.march-photo-note p {
  max-width: 480px;
  margin-bottom: 0;
}

/* Children's Home visit: a visual sequence of the meal, performances, and time together. */
.event-story--home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.home-hero-heading h1 {
  max-width: 11ch;
  margin-bottom: 22px;
}

.home-hero-heading > p {
  max-width: 480px;
  margin-bottom: 26px;
}

.home-hero-image {
  height: 500px;
}

.home-hero-image figcaption {
  padding: 14px 18px;
  background: var(--secondary-color);
}

.home-partners {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
  gap: 24px 42px;
  align-items: center;
  margin: 76px 0 92px;
  padding: 34px 0;
  border-top: 1px solid var(--divider-color);
  border-bottom: 1px solid var(--divider-color);
}

.home-partners-intro h2 {
  max-width: 9ch;
  font-size: 32px;
}

.home-partner span {
  color: var(--text-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.home-partner h3 {
  margin: 8px 0;
  font-size: 24px;
}

.home-partner p,
.home-partners-note {
  margin-bottom: 0;
  font-size: 14px;
}

.home-partner--accent {
  padding-left: 28px;
  border-left: 1px solid var(--divider-color);
}

.home-partners-note {
  grid-column: 2 / -1;
  margin-top: -12px;
  color: var(--text-color);
}

.home-day {
  padding: clamp(32px, 5vw, 64px);
  border-radius: 24px;
  background: var(--secondary-color);
}

.home-day-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px 60px;
  align-items: end;
  margin-bottom: 36px;
}

.home-day-heading .event-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.home-day-heading h2 {
  max-width: 11ch;
}

.home-day-heading p {
  margin-bottom: 4px;
}

.home-moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-moment {
  padding-bottom: 8px;
}

.home-moment--performance {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-radius: 14px;
  background: var(--primary-color);
}

.home-performance-mark {
  margin-bottom: 24px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: 76px;
  line-height: 0.9;
}

.home-moment--performance > span {
  color: var(--accent-color);
}

.home-moment--performance h3 {
  color: var(--white-color);
}

.home-moment--performance p {
  color: rgba(255, 253, 248, 0.78);
}

.home-moment img {
  width: 100%;
  height: 230px;
  margin-bottom: 22px;
  border-radius: 14px;
  object-fit: cover;
}

.home-moment > span {
  display: block;
  margin-bottom: 10px;
  color: var(--text-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-moment h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.home-moment p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Cultural Expo: a program-led showcase with membership growth as its outcome. */
.event-story--expo .expo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.expo-hero-copy h1 {
  max-width: 11ch;
  margin-bottom: 22px;
}

.expo-hero-copy > p {
  max-width: 500px;
  margin-bottom: 30px;
}

.expo-hero-image {
  height: 540px;
}

.expo-hero-image figcaption {
  padding: 14px 18px;
  background: rgba(39, 29, 21, 0.78);
  color: var(--white-color);
}

.expo-member-outcome {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 410px;
  padding-top: 20px;
  border-top: 1px solid var(--divider-color);
}

.expo-member-outcome strong {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: 54px;
  line-height: 1;
}

.expo-member-outcome span {
  max-width: 170px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.expo-program {
  margin: 88px calc((100% - 100vw) / 2) 82px;
  padding: clamp(40px, 6vw, 76px) max(24px, calc((100vw - 1300px) / 2));
  background: var(--primary-color);
  color: var(--white-color);
}

.expo-program .event-kicker,
.expo-program h2 {
  color: var(--white-color);
}

.expo-program-heading h2 {
  max-width: 17ch;
  margin-bottom: 40px;
}

.expo-program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--dark-divider-color);
}

.expo-program-item {
  min-height: 190px;
  padding: 24px 22px 12px 0;
}

.expo-program-item + .expo-program-item {
  padding-left: 22px;
  border-left: 1px solid var(--dark-divider-color);
}

.expo-program-item > span {
  display: block;
  margin-bottom: 26px;
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 700;
}

.expo-program-item h3 {
  margin-bottom: 10px;
  color: var(--white-color);
  font-size: 21px;
}

.expo-program-item p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 14px;
}

.expo-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.expo-after figure {
  height: 360px;
}

.expo-after-copy h2 {
  max-width: 12ch;
  margin-bottom: 18px;
}

.expo-after-copy p {
  margin-bottom: 24px;
}

/* Green Gatundu: a field record centered on the planting result and lessons. */
.event-story--planting .planting-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.planting-hero-copy h1 {
  max-width: 11ch;
  margin-bottom: 22px;
}

.planting-hero-copy > p {
  max-width: 500px;
  margin-bottom: 26px;
}

.planting-hero-image {
  height: 460px;
}

.planting-hero-image figcaption {
  padding: 14px 18px;
  background: rgba(39, 29, 21, 0.78);
  color: var(--white-color);
}

.planting-record {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
  margin: 78px 0 88px;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 24px;
  background: var(--primary-color);
}

.planting-count {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--white-color);
}

.planting-count strong {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: clamp(84px, 11vw, 150px);
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.planting-count span {
  margin-top: 16px;
  color: var(--white-color);
  font-size: 18px;
  font-weight: 700;
}

.planting-count small {
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 13px;
}

.planting-review .event-kicker,
.planting-review h2 {
  color: var(--white-color);
}

.planting-review h2 {
  max-width: 14ch;
  margin-bottom: 16px;
}

.planting-review p {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.78);
}

.planting-lessons {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 36px 76px;
  align-items: start;
}

.planting-lessons-heading h2 {
  max-width: 11ch;
}

.planting-lesson-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--divider-color);
}

.planting-lesson-list article > span {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: 24px;
}

.planting-lesson-list h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.planting-lesson-list p {
  margin-bottom: 0;
  font-size: 15px;
}

.planting-detail-image {
  grid-column: 2;
  height: 300px;
}

.event-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  padding: 15px 21px;
  border-radius: 999px;
  background: var(--accent-color);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.event-gallery-link span {
  font-size: 18px;
  line-height: 1;
}

.event-gallery-link:hover,
.event-gallery-link:focus-visible {
  transform: translateY(-2px);
  background: var(--primary-color);
  color: var(--white-color);
}

.mazingira-gallery-button {
  gap: 20px;
  font-weight: 600;
}

.mazingira-gallery-button span {
  font-size: 16px;
}

button.event-gallery-link:disabled {
  border: 0;
  color: var(--primary-color);
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
}

button.event-gallery-link:disabled:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: none;
}

/* Mazingira Day report: a typographic event story designed to work without photos. */
.event-story--mazingira {
  width: min(100% - 48px, 1240px);
  padding-top: clamp(118px, 13vw, 168px);
}

.mazingira-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.34fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 6vw, 78px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 15%, rgba(223, 174, 100, 0.16), transparent 28%),
    linear-gradient(125deg, #203323 0%, #17251b 100%);
  color: var(--white-color);
}

.mazingira-hero::after {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(223, 174, 100, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(223, 174, 100, 0.035), 0 0 0 70px rgba(223, 174, 100, 0.025);
  content: "";
  pointer-events: none;
}

.mazingira-hero-copy,
.mazingira-attendance {
  position: relative;
  z-index: 1;
}

.mazingira-hero .event-kicker {
  color: var(--accent-color);
}

.mazingira-hero h1 {
  max-width: 12ch;
  margin-bottom: 12px;
  color: var(--white-color);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

.mazingira-theme {
  margin-bottom: 8px;
  color: var(--accent-color) !important;
  font-family: var(--heading-font);
  font-size: clamp(21px, 2.5vw, 30px) !important;
}

.mazingira-pillars {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--white-color) !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.mazingira-pillars i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82b747;
}

.mazingira-hero-copy > p:not(.mazingira-theme):not(.mazingira-pillars) {
  max-width: 720px;
  color: rgba(255, 253, 248, 0.8);
}

.mazingira-hero .march-meta {
  color: var(--white-color);
}

.mazingira-attendance {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.075);
  text-align: center;
  backdrop-filter: blur(8px);
}

.mazingira-attendance > span:first-child {
  color: var(--accent-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mazingira-attendance strong {
  color: var(--white-color);
  font-family: var(--heading-font);
  font-size: clamp(88px, 10vw, 132px);
  line-height: 0.98;
}

.mazingira-attendance small {
  color: rgba(255, 253, 248, 0.78);
  font-size: 13px;
}

.mazingira-attendance .mazingira-attendance-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-top: 18px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
}

.mazingira-results,
.mazingira-partners {
  margin-top: clamp(64px, 9vw, 108px);
}

.mazingira-section-heading {
  max-width: 660px;
  margin-bottom: 30px;
}

.mazingira-section-heading h2,
.mazingira-give-section h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.5vw, 46px);
}

.mazingira-section-heading > p {
  margin-bottom: 0;
}

.mazingira-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mazingira-result {
  min-height: 275px;
  padding: 25px 22px;
  border-radius: 18px;
  background: var(--secondary-color);
}

.mazingira-result--green {
  background: #24392a;
}

.mazingira-result > span {
  display: block;
  margin-bottom: 22px;
  color: #bd8c49;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.mazingira-result--green > span {
  color: var(--accent-color);
}

.mazingira-result strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: clamp(52px, 6vw, 76px);
  line-height: 0.9;
}

.mazingira-result--green strong,
.mazingira-result--green h3,
.mazingira-result--green p {
  color: var(--white-color);
}

.mazingira-result h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.mazingira-result p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.6;
}

.mazingira-give-section {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin: clamp(56px, 8vw, 96px) 0;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 22px;
  background: var(--accent-color);
}

.mazingira-give-mark {
  color: rgba(39, 29, 21, 0.15);
  font-family: var(--heading-font);
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.mazingira-give-section h2 {
  max-width: 18ch;
}

.mazingira-give-section p {
  max-width: 720px;
  margin: 0;
  color: rgba(39, 29, 21, 0.8);
}

.mazingira-partner-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--divider-color);
}

.mazingira-partner-list article {
  min-height: 130px;
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--divider-color);
}

.mazingira-partner-list article + article {
  padding-left: 24px;
  border-left: 1px solid var(--divider-color);
}

.mazingira-partner-list h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.mazingira-partner-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.mazingira-transparency {
  margin-top: 64px;
  padding: 28px 32px;
  border-left: 4px solid var(--accent-color);
  background: var(--secondary-color);
}

.mazingira-transparency .event-kicker {
  margin-bottom: 10px;
}

.mazingira-transparency p {
  max-width: 900px;
  margin: 0;
  font-size: 14px;
}

@media (max-width: 991px) {
  .march-hero-image,
  .march-hero-image img,
  .home-hero-image,
  .expo-hero-image,
  .planting-hero-image {
    min-height: 0;
    height: 380px;
  }

  .march-hero,
  .home-hero,
  .expo-hero,
  .planting-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .home-moments {
    grid-template-columns: 1fr 1fr;
  }

  .expo-program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expo-program-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .expo-program-item:nth-child(n + 3) {
    border-top: 1px solid var(--dark-divider-color);
  }

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

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

  .mazingira-partner-list article:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .event-story {
    width: min(100% - 36px, 600px);
    padding: 40px 0 68px;
  }

  .event-story--mazingira {
    padding-top: 40px;
  }

  .past-event-card {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
    border-radius: 18px;
  }

  .past-event-card-count {
    min-height: 120px;
    align-items: center;
    padding: 16px;
    text-align: center;
  }

  .past-event-card-count strong {
    font-size: 54px;
  }

  .past-event-card-copy {
    padding: 22px;
  }

  .past-event-card-results {
    flex-direction: column;
    gap: 7px;
  }

  .mazingira-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
    border-radius: 20px;
  }

  .mazingira-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .mazingira-attendance {
    min-height: 0;
    padding: 20px;
  }

  .mazingira-attendance strong {
    font-size: 88px;
  }

  .mazingira-result-grid,
  .mazingira-partner-list,
  .mazingira-give-section {
    grid-template-columns: 1fr;
  }

  .mazingira-result {
    min-height: 0;
  }

  .mazingira-result > span {
    margin-bottom: 12px;
  }

  .mazingira-give-section {
    gap: 12px;
    margin: 54px 0;
    padding: 26px 22px;
  }

  .mazingira-give-mark {
    font-size: 50px;
  }

  .mazingira-partner-list article,
  .mazingira-partner-list article + article,
  .mazingira-partner-list article:nth-child(odd) {
    min-height: 0;
    padding: 18px 0;
    border-left: 0;
  }

  .mazingira-transparency {
    margin-top: 48px;
    padding: 22px;
  }

  .event-back-link {
    margin-bottom: 30px;
  }

  .event-story h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .event-story h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .event-story p {
    font-size: 15px;
  }

  .event-story--march .march-hero,
  .event-story--home .home-hero,
  .event-story--expo .expo-hero,
  .event-story--planting .planting-hero,
  .march-count-section,
  .march-photo-note,
  .home-day-heading,
  .expo-after,
  .planting-record,
  .planting-lessons {
    grid-template-columns: 1fr;
  }

  .march-hero-image,
  .march-hero-image img,
  .home-hero-image,
  .expo-hero-image,
  .expo-after figure,
  .planting-hero-image {
    height: 300px;
  }

  .march-count-section {
    gap: 24px;
    margin: 52px 0;
    padding: 30px 0;
  }

  .march-count strong {
    font-size: 68px;
  }

  .march-photo-note figure {
    height: 260px;
  }

  .home-partners {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 52px 0 60px;
    padding: 28px 0;
  }

  .home-partners-intro,
  .home-partners-note {
    grid-column: 1 / -1;
  }

  .home-partners-intro h2 {
    max-width: 14ch;
  }

  .home-partner--accent {
    padding-left: 16px;
  }

  .home-partners-note {
    margin-top: 0;
  }

  .home-day {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .home-day-heading {
    gap: 12px;
    margin-bottom: 24px;
  }

  .home-day-heading .event-kicker {
    grid-column: auto;
  }

  .home-day-heading h2 {
    max-width: 14ch;
  }

  .home-moments {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-moment img {
    height: 230px;
  }

  .home-moment--performance {
    min-height: 270px;
    padding: 24px;
  }

  .expo-member-outcome strong {
    font-size: 48px;
  }

  .expo-program {
    margin: 56px calc((100% - 100vw) / 2) 58px;
    padding: 42px 24px;
  }

  .expo-program-grid {
    grid-template-columns: 1fr;
  }

  .expo-program-item,
  .expo-program-item + .expo-program-item,
  .expo-program-item:nth-child(3) {
    min-height: auto;
    padding: 20px 0;
    border-top: 1px solid var(--dark-divider-color);
    border-left: 0;
  }

  .expo-program-item > span {
    margin-bottom: 12px;
  }

  .planting-record {
    gap: 28px;
    margin: 54px 0 60px;
    padding: 30px 24px;
    border-radius: 18px;
  }

  .planting-count strong {
    font-size: 98px;
  }

  .planting-lessons {
    gap: 24px;
  }

  .planting-detail-image {
    grid-column: auto;
    height: 240px;
  }
}

/* Compact shared header for individual event stories. */
header.main-header.event-detail-header {
  position: relative;
  background: var(--bg-color);
  border-bottom: 1px solid var(--divider-color);
}

.event-detail-header .navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.event-detail-header .event-header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
}

.event-detail-header .header-sidebar-btn .btn-popup {
  margin-left: 20px;
}

.event-detail-header .header-btn a:focus-visible,
.event-detail-header .header-sidebar-btn .btn-popup:focus-visible {
  outline: 3px solid var(--thimo-brown);
  outline-offset: 4px;
}

.event-detail-header .header-btn a:active,
.event-detail-header .header-sidebar-btn .btn-popup:active {
  transform: translateY(1px);
}

@media (max-width: 991px) {
  .event-detail-header .navbar .container-fluid {
    gap: 14px;
  }

  .event-detail-header .navbar-brand img {
    height: 62px;
    max-width: min(34vw, 220px);
  }

  .event-detail-header .header-sidebar-btn .btn-popup {
    width: 46px;
    height: 46px;
    margin-left: 12px;
  }
}

@media (max-width: 380px) {
  .event-detail-header .navbar .container-fluid {
    gap: 8px;
  }

  .event-detail-header .navbar-brand {
    flex: 1 1 0;
    min-width: 0;
  }

  .event-detail-header .navbar-brand img {
    height: 50px;
    max-width: 100%;
  }

  .event-detail-header .header-btn .btn-default {
    padding: 12px 38px 12px 13px;
    font-size: 12px;
  }

  .event-detail-header .header-btn .btn-default::before {
    width: 30px;
    height: 30px;
  }

  .event-detail-header .header-sidebar-btn .btn-popup {
    width: 40px;
    height: 40px;
    margin-left: 8px;
  }
}