/* BASAKU – Logo color palette */
:root {
  --brown-dark: #2c1810;
  --brown: #4a3728;
  --brown-light: #6b4e3d;
  --green-dark: #1a3320;
  --green: #2d5a27;
  --green-light: #3d7a35;
  --white: #ffffff;
  --cream: #faf8f5;
  --yellow: #f1c40f;
  --orange: #e67e22;
  --red: #c0392b;
  --red-bright: #e74c3c;
  --shadow: rgba(44, 24, 16, 0.15);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--brown-dark);
  background: var(--cream);
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  flex-shrink: 0;
}

.logo-link:hover {
  color: var(--yellow);
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--white);
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.nav-list > li {
  flex-shrink: 0;
  position: relative;
}

.nav-list > li.has-dropdown:hover .nav-dropdown,
.nav-list > li.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 200px;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 8px 24px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--white);
  white-space: nowrap;
  border-radius: 0;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow);
}

.nav-list > li > a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-list > li > a:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.08);
}

.nav-btn-donate {
  background: var(--orange) !important;
  color: var(--white) !important;
  margin-left: 0.5rem;
  padding: 0.5rem 1rem !important;
  font-weight: 600;
}

.nav-btn-donate:hover {
  background: #d35400 !important;
  color: var(--white) !important;
}

.dropdown-trigger::after {
  content: '';
  display: inline-block;
  margin-left: 0.35em;
  vertical-align: 0.2em;
  border: 4px solid transparent;
  border-top-color: currentColor;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 8px 20px var(--shadow);
  }

  .nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    align-content: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
  }

  .nav-list > li > a {
    display: block;
    padding: 0.6rem 0.5rem;
  }

  .nav-list > li.has-dropdown .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    margin-top: 0.25rem;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.25s ease;
  }

  .nav-list > li.has-dropdown.is-open .nav-dropdown {
    max-height: 320px;
    padding: 0.5rem 0;
  }

  .nav-dropdown a {
    padding: 0.5rem 1rem 0.5rem 1.5rem;
  }

  .dropdown-trigger::after {
    transition: transform 0.2s ease;
  }

  .nav-list > li.has-dropdown.is-open .dropdown-trigger::after {
    transform: rotate(180deg);
    vertical-align: 0.1em;
  }
}

/* Hero slider */
.hero {
  min-height: 70vh;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(26, 51, 32, 0.35) 0%, rgba(26, 51, 32, 0.72) 100%);
  pointer-events: none;
}

.hero-slide-1 {
  background-image: url("images/hero section.jpeg");
  background-color: var(--green-dark);
}

.hero-slide-1::after {
  background: linear-gradient(180deg, rgba(26, 51, 32, 0.4) 0%, rgba(26, 51, 32, 0.75) 100%);
}

.hero-slide-2 {
  background-image: url("images/activities.jpeg");
  background-color: var(--brown-dark);
}

.hero-slide-2::after {
  background: linear-gradient(180deg, rgba(44, 24, 16, 0.35) 0%, rgba(44, 24, 16, 0.7) 100%);
}

.hero-slide-3 {
  background-image: url("images/2024%20leadership%20BY%20Chairman%20Eric%20Wataki.jpeg");
  background-color: var(--green-dark);
}

.hero-slide-3::after {
  background: linear-gradient(180deg, rgba(26, 51, 32, 0.4) 0%, rgba(26, 51, 32, 0.72) 100%);
}

.hero-slide-4 {
  background-image: url("images/basaaku family.jpeg");
  background-color: var(--green-dark);
}

.hero-slide-4::after {
  background: linear-gradient(180deg, rgba(26, 51, 32, 0.35) 0%, rgba(26, 51, 32, 0.72) 100%);
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero .hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-slide-2 .hero-logo,
.hero-slide-3 .hero-logo,
.hero-slide-4 .hero-logo {
  display: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: 0.05em;
}

.hero-tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  margin: 0 0 0.25rem;
}

.hero-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0 0 2rem;
}

.hero .btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.hero .btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-color: var(--white);
}

/* Hero arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

@media (max-width: 640px) {
  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-prev {
    left: 0.5rem;
  }

  .hero-next {
    right: 0.5rem;
  }
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-dot:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.3);
}

.hero-dot.is-active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.2);
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.35rem;
}

.page-hero-tagline {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.page-hero-donate {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--brown) 100%);
}

.page-hero-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.page-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 51, 32, 0.75) 0%, rgba(26, 51, 32, 0.92) 100%);
  z-index: 0;
}

.page-hero-img .container {
  position: relative;
  z-index: 1;
}

/* Image grids and fit */
.img-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.img-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.img-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.img-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 640px) {
  .img-grid-two,
  .img-grid-three,
  .img-grid-four {
    grid-template-columns: 1fr;
  }
}

.img-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.img-grid .img-fit:hover,
.page-img-wrap .img-fit:hover {
  transform: scale(1.03);
}

.img-grid .img-fit {
  aspect-ratio: 4/3;
}

.page-img-wrap {
  max-width: 640px;
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow);
}

.page-img-wrap .img-fit {
  aspect-ratio: 16/10;
}

/* Kumi University block (home) */
.kumi-university-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
}

.kumi-university-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow);
}

.kumi-university-img .img-fit {
  aspect-ratio: 3/4;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kumi-university-content p {
  margin-bottom: 1rem;
}

.kumi-university-content .btn {
  margin-top: 0.25rem;
}

@media (max-width: 700px) {
  .kumi-university-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .kumi-university-img .img-fit {
    aspect-ratio: 4/3;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover {
  background: #d35400;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

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

.btn-small {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-buttons .btn {
  margin: 0;
  min-width: 160px;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Blog preview (home) */
.blog-preview {
  margin: 1.5rem 0;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
}

.blog-preview-card {
  display: block;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(44, 24, 16, 0.08);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-preview-card-img {
  padding: 0;
  overflow: hidden;
}

.blog-preview-card-image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
}

.blog-preview-card-image .img-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-preview-card-img:hover .blog-preview-card-image .img-fit {
  transform: scale(1.05);
}

.blog-preview-card-img .blog-preview-label,
.blog-preview-card-img h3,
.blog-preview-card-img p,
.blog-preview-card-img .blog-preview-link {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.blog-preview-card-img .blog-preview-label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.blog-preview-card-img .blog-preview-link {
  display: inline-block;
  padding-bottom: 1.25rem;
}

.blog-preview-card:hover {
  box-shadow: 0 8px 24px var(--shadow);
  border-color: var(--green);
}

.blog-preview-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.blog-preview-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--green-dark);
}

.blog-preview-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--brown);
}

.blog-preview-link {
  font-weight: 600;
  color: var(--green);
}

/* Blog list (blog page) */
.blog-list {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.blog-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(44, 24, 16, 0.08);
  border-left: 4px solid var(--green);
}

.blog-card-with-img {
  padding: 0;
  border-left: none;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
}

.blog-card-img .img-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card-with-img:hover .blog-card-img .img-fit {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.25rem 1.5rem;
}

@media (min-width: 700px) {
  .blog-card-with-img {
    grid-template-columns: 280px 1fr;
    border-left: 4px solid var(--green);
  }

  .blog-card-img {
    aspect-ratio: auto;
    min-height: 200px;
  }
}

.blog-card-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--green-dark);
}

.blog-card-meta {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--brown);
}

.blog-card-link {
  font-weight: 600;
  color: var(--green);
}

.blog-card-link:hover {
  color: var(--orange);
}

.section-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--brown-light);
}

/* Support the Association (home) - full width */
.support-section-full {
  padding-left: 0;
  padding-right: 0;
}

.support-section-inner {
  max-width: none;
  width: 100%;
  padding: 3.5rem 1.5rem;
}

.support-section-inner .section-title,
.support-section-inner .lead,
.support-section-inner .support-cta,
.support-section-inner > p > .btn {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.support-section-inner .section-title,
.support-section-inner .lead {
  display: block;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 1.5rem auto 2rem;
  max-width: 960px;
  background: rgba(44, 24, 16, 0.08);
}

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

@media (max-width: 480px) {
  .support-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

.support-card {
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  max-width: 320px;
}

.support-grid .support-card {
  max-width: none;
}

.support-card:hover {
  box-shadow: 0 8px 24px var(--shadow);
}

.support-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
}

.support-card-image .img-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.support-card:hover .support-card-image .img-fit {
  transform: scale(1.06);
}

.support-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.support-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--green-dark);
}

.support-card-body > p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--brown);
  flex: 1;
}

.support-card-body .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.support-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--brown);
}

.support-section-inner .support-cta {
  text-align: center;
}

.support-cta {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--brown);
  font-weight: 500;
}

.support-section-inner > p:last-of-type {
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Learn Lumasaba page */
.section-learn {
  background: linear-gradient(180deg, var(--cream) 0%, rgba(255, 252, 245, 0.5) 100%);
}

.container-learn {
  max-width: 720px;
}

.learn-intro {
  margin-bottom: 2rem;
}

.learn-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.learn-block {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 4px solid var(--green);
  transition: box-shadow 0.2s ease;
}

.learn-block:hover {
  box-shadow: 0 6px 20px var(--shadow);
}

.learn-block-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(241, 196, 15, 0.5);
}

.learn-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.learn-list li {
  margin-bottom: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(44, 24, 16, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.learn-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.learn-word {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.05rem;
  min-width: 8rem;
}

.learn-meaning {
  color: var(--brown);
  font-size: 0.95rem;
  line-height: 1.45;
}

.learn-block-months .learn-list li {
  flex-wrap: nowrap;
}

.learn-months-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 2rem;
}

.learn-months-grid li {
  padding: 0.5rem 0;
  border-bottom: none;
}

.learn-block-months .learn-word {
  min-width: auto;
}

.learn-footer-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--brown);
  margin: 0 !important;
}

.learn-footer-note a {
  color: var(--green);
  font-weight: 600;
  text-underline-offset: 3px;
}

.learn-footer-note a:hover {
  color: var(--orange);
}

@media (max-width: 600px) {
  .learn-months-grid {
    grid-template-columns: 1fr;
  }

  .learn-block {
    padding: 1.25rem 1.25rem;
  }
}

/* Gallery page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 4px 12px var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 8px 24px var(--shadow);
  transform: translateY(-2px);
}

.gallery-item .img-fit {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(44, 24, 16, 0.06);
}

.section-donate {
  background: rgba(241, 196, 15, 0.12);
  border-top: 1px solid rgba(241, 196, 15, 0.25);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--green-dark);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--yellow);
  display: inline-block;
}

.lead {
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

.section p {
  margin: 0 0 1rem;
}

.section ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.section li {
  margin-bottom: 0.35rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--green-dark);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
}

.card-vision {
  background: rgba(45, 90, 39, 0.08);
  border-left-color: var(--green);
}

.card-mission {
  background: rgba(241, 196, 15, 0.12);
  border-left-color: var(--yellow);
}

/* History block */
.history-block-img {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow);
}

.history-block-img .img-fit {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.history-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(74, 55, 40, 0.12);
}

.history-block h3 {
  margin: 0 0 1rem;
  color: var(--green-dark);
}

.list-highlight {
  list-style: none;
  padding-left: 0;
}

.list-highlight li {
  position: relative;
  padding-left: 1.5rem;
}

.list-highlight li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.list-benefits li::marker {
  color: var(--orange);
}

/* Activity grid */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.activity-item {
  padding: 1.25rem;
  background: rgba(45, 90, 39, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(45, 90, 39, 0.12);
}

.activity-item h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--green-dark);
}

.activity-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brown);
}

.activities-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--brown-light);
}

/* Contact */
.container-narrow {
  max-width: 560px;
}

.contact-form-success {
  padding: 1.5rem;
  background: rgba(45, 90, 39, 0.12);
  border: 1px solid rgba(45, 90, 39, 0.3);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  color: var(--green-dark);
}

.contact-form-success p {
  margin: 0;
  font-weight: 500;
}

.contact-form {
  margin: 1.5rem 0 2rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-dark);
  margin: 1rem 0 0.35rem;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid rgba(74, 55, 40, 0.25);
  border-radius: 8px;
  background: var(--white);
  color: var(--brown-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form select {
  cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.15);
}

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

.contact-form .btn {
  margin-top: 1.25rem;
}

.form-hint {
  margin: 1rem 0 0.5rem;
  font-size: 0.9rem;
  color: var(--brown);
  font-weight: 500;
}

.contact-method-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  margin: 0.75rem 0 1.25rem;
  max-width: 420px;
}

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

.contact-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brown-dark);
  padding: 0.6rem 0.85rem;
  background: var(--white);
  border: 1px solid rgba(74, 55, 40, 0.18);
  border-radius: 8px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-checkbox-label:hover {
  border-color: var(--green);
  background: rgba(45, 90, 39, 0.04);
}

.contact-checkbox-label input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  cursor: pointer;
  accent-color: var(--green);
  flex-shrink: 0;
}

.contact-checkbox-label input:focus {
  outline: none;
}

.contact-checkbox-label:has(input:focus) {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.2);
}

.contact-checkbox-label:has(input:checked) {
  border-color: var(--green);
  background: rgba(45, 90, 39, 0.08);
}

.contact-field-row {
  margin-top: 1rem;
}

.contact-field-row[hidden] {
  display: none !important;
}

.form-error {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--red);
  font-weight: 500;
}

.donate-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--brown-light);
}

/* Membership form (about page) */
.section-membership .contact-form {
  margin-top: 2rem;
  max-width: 560px;
}

.membership-form-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-dark);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(241, 196, 15, 0.4);
}

.membership-form-success {
  max-width: 560px;
}

.contact-form .required {
  color: var(--red);
}

.membership-type-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0 1.25rem;
}

.membership-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--brown-dark);
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid rgba(74, 55, 40, 0.18);
  border-radius: 8px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.membership-radio-label:hover {
  border-color: var(--green);
  background: rgba(45, 90, 39, 0.04);
}

.membership-radio-label input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.35rem 0 0;
  cursor: pointer;
  accent-color: var(--green);
  flex-shrink: 0;
}

.membership-radio-label input:focus {
  outline: none;
}

.membership-radio-label:has(input:focus) {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.2);
}

.membership-radio-label:has(input:checked) {
  border-color: var(--green);
  background: rgba(45, 90, 39, 0.08);
}

.membership-radio-label span {
  line-height: 1.45;
}

.membership-form-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--brown);
}

.membership-form-note a {
  color: var(--green);
  font-weight: 600;
  text-underline-offset: 3px;
}

.membership-form-note a:hover {
  color: var(--orange);
}

.contact-other {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(74, 55, 40, 0.12);
}

.section-contact .contact-placeholder {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(241, 196, 15, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

/* Footer */
.footer {
  background: var(--brown-dark);
  color: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer p {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.footer a {
  color: var(--yellow);
}

.footer-founded {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-tagline {
  font-weight: 600;
  color: var(--yellow);
  margin-top: 0.5rem;
}
