@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

:root {
  --sb-primary: #4CA653;
  --sb-secondary: #F0EA50;
  --sb-cream: #FCFCF4;
  --sb-cream-dark: #F8F7E3;
  --sb-text: #000000;
  --sb-white: #ffffff;
  --sb-container: 1200px;
  --sb-font: "Bricolage Grotesque", sans-serif;
}

body.sb-site {
  margin: 0;
  font-family: var(--sb-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: var(--sb-text);
  background: var(--sb-cream);
  overflow-x: hidden;
}

.sb-main {
  min-height: 40vh;
}

.sb-page {
  font-family: var(--sb-font);
}

.sb-container {
  max-width: var(--sb-container);
  margin: 0 auto;
  padding: 0 24px;
}

.sb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 16px 0;
  transition: padding 0.25s ease, background 0.25s ease;
}

.sb-header--overlay {
  margin-bottom: 0;
}

.sb-header--inner {
  background: transparent;
}

.sb-header--inner .sb-header-inner {
  background: rgba(255, 255, 255, 0.92);
}

.sb-header.is-scrolled {
  padding-top: 6px;
  background: rgba(252, 252, 244, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sb-header.is-scrolled .sb-header-inner {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

.sb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 80px;
  max-width: var(--sb-container);
  margin: 0 auto;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 0 0 25px 25px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: min-height 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}

.sb-header.is-scrolled .sb-header-inner {
  border-radius: 0 0 20px 20px;
}

.sb-logo img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.sb-logo-text {
  font-size: 22px;
  font-weight: 600;
  color: var(--sb-primary);
  text-decoration: none;
}

.sb-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
}

.sb-nav > a,
.sb-nav-drop-btn {
  font-family: var(--sb-font);
  font-size: 15px;
  font-weight: 400;
  color: var(--sb-text);
  text-decoration: none;
  padding: 8px 10px;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.sb-nav > a:hover,
.sb-nav > a.active,
.sb-nav-drop-btn:hover,
.sb-nav-drop-btn.active {
  color: var(--sb-primary);
}

.sb-chevron {
  font-size: 10px;
  opacity: 0.7;
}

.sb-nav-item {
  position: relative;
}

.sb-dropdown {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 220px;
  background: var(--sb-white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
}

.sb-has-dropdown:hover .sb-dropdown,
.sb-has-dropdown.is-open .sb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.sb-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  color: var(--sb-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sb-dropdown li:last-child a {
  border-bottom: none;
}

.sb-dropdown a:hover {
  color: var(--sb-primary);
  background: var(--sb-cream);
}

.sb-btn--sm {
  padding: 10px 18px;
  font-size: 13px;
  flex-shrink: 0;
}

.sb-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.sb-btn {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 10px;
  font-family: var(--sb-font);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--sb-text);
  background: var(--sb-secondary);
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sb-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240, 234, 80, 0.45);
  color: var(--sb-text);
}

.sb-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--sb-text);
  color: var(--sb-white);
  border-radius: 50%;
  font-size: 12px;
}

.sb-hero-slider-wrap {
  position: relative;
  min-height: 100vh;
  padding: 0;
}

.sb-hero-swiper {
  width: 100%;
  min-height: 100vh;
}

.sb-hero-slide {
  min-height: 100vh;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  box-sizing: border-box;
  position: relative;
}

.sb-hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
  pointer-events: none;
}

.sb-hero-content {
  max-width: var(--sb-container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.sb-hero-cta {
  margin-top: 28px;
}

.sb-hero-pagination {
  bottom: 32px !important;
}

.sb-hero-pagination .swiper-pagination-bullet {
  background: var(--sb-white);
  opacity: 0.5;
  width: 10px;
  height: 10px;
}

.sb-hero-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--sb-secondary);
}

.sb-hero-prev,
.sb-hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: var(--sb-white);
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.sb-hero-prev { left: 20px; }
.sb-hero-next { right: 20px; }

.sb-hero h1 {
  font-family: var(--sb-font);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1em;
  color: var(--sb-white);
  margin: 0 0 20px;
  max-width: 720px;
}

.sb-hero p {
  font-size: 24px;
  font-weight: 200;
  line-height: 1.2;
  color: var(--sb-white);
  margin: 0;
  max-width: 560px;
}

.sb-section {
  padding: 80px 0;
}

.sb-section-tight-top {
  padding-top: 0;
}

.sb-section-title-spaced {
  margin-top: 48px;
}

.sb-mt-lg {
  margin-top: 40px;
}

.sb-link {
  color: var(--sb-primary);
  font-weight: 600;
  text-decoration: none;
}

.sb-page-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: var(--sb-primary);
  overflow: hidden;
  margin-top: 0;
}

.sb-page-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76, 166, 83, 0.92) 0%, rgba(47, 109, 51, 0.85) 100%);
}

.sb-page-banner-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 48px;
  color: var(--sb-white);
}

.sb-breadcrumb {
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.sb-breadcrumb a {
  color: var(--sb-white);
  text-decoration: none;
}

.sb-breadcrumb a:hover {
  text-decoration: underline;
}

.sb-page-banner h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  margin: 0;
  color: var(--sb-white);
}

.sb-page-banner p {
  margin: 12px 0 0;
  font-size: 18px;
  opacity: 0.95;
}

.sb-content-wrap {
  padding: 64px 0;
  background: var(--sb-cream);
}

.sb-testimonial-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--sb-primary);
  color: var(--sb-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 600;
}

.sb-footer-logo {
  max-height: 64px;
  margin-bottom: 16px;
}

.sb-footer-about,
.sb-footer-muted {
  opacity: 0.85;
  line-height: 1.5;
  margin: 0;
}

.sb-footer-contact {
  margin: 8px 0 0;
}

.sb-footer-follow {
  margin-top: 24px;
}

.sb-section-cream {
  background: var(--sb-cream);
}

.sb-section-gradient {
  background: linear-gradient(180deg, var(--sb-cream-dark) 0%, var(--sb-cream) 100%);
}

.sb-section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--sb-text);
  text-align: center;
  margin: 0 0 50px;
}

.sb-section-title.green {
  color: var(--sb-primary);
}

.sb-story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.sb-story-row.reverse .sb-story-media { order: 2; }
.sb-story-row.reverse .sb-story-text { order: 1; }

.sb-story-media img {
  width: 100%;
  border-radius: 15px;
  display: block;
  object-fit: cover;
}

.sb-story-text h2 {
  font-size: 30px;
  font-weight: 400;
  line-height: 35px;
  margin: 0 0 16px;
}

.sb-story-text p {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
}

.sb-stories-intro {
  max-width: 900px;
  margin: -32px auto 48px;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}

.sb-stories-empty {
  text-align: center;
  padding: 32px 24px;
  background: var(--sb-white);
  border-radius: 12px;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  color: #666;
}

.sb-stories-empty a {
  color: var(--sb-primary);
  font-weight: 600;
}

.sb-link-lg {
  font-size: 17px;
}

.sb-story-subtitle {
  font-size: 16px;
  color: var(--sb-primary);
  margin: -8px 0 12px !important;
  font-weight: 500;
}

.sb-story-photo-placeholder {
  width: 100%;
  min-height: 280px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--sb-primary), #2f6d33);
  color: var(--sb-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 600;
}

.sb-trustees-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sb-trustees-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.sb-trustees-title {
  margin-bottom: 16px !important;
}

.sb-trustees-intro {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}

.sb-trustees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.sb-trustee-card {
  background: var(--sb-white);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.sb-trustee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(76, 166, 83, 0.15);
}

.sb-trustee-photo-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--sb-cream-dark);
}

.sb-trustee-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-trustee-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sb-primary), #3d8a42);
  color: var(--sb-white);
  font-size: 48px;
  font-weight: 600;
}

.sb-trustee-name {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--sb-text);
}

.sb-trustee-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--sb-primary);
  margin: 0 0 10px;
}

.sb-trustee-bio {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

.sb-btn--outline {
  background: var(--sb-white);
  border: 2px solid var(--sb-primary);
  color: var(--sb-primary);
}

.sb-btn--outline:hover {
  background: var(--sb-primary);
  color: var(--sb-white);
  box-shadow: 0 6px 20px rgba(76, 166, 83, 0.25);
}

.sb-btn--outline:hover .sb-btn-icon {
  background: var(--sb-white);
  color: var(--sb-primary);
}

.sb-banner-cta {
  background: var(--sb-primary);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  max-width: var(--sb-container);
}

.sb-banner-cta h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--sb-white);
  margin: 0;
  flex: 1;
  min-width: 240px;
}

.sb-overview-label {
  font-size: 20px;
  color: var(--sb-primary);
  text-align: center;
  margin: 0 0 12px;
}

.sb-overview h2 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--sb-primary);
  text-align: center;
  margin: 0 0 40px;
  white-space: pre-line;
}

.sb-overview-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
}

.sb-overview-image img {
  width: 100%;
  height: auto;
  display: block;
}

.sb-overview-text {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
}

.sb-tabs { margin-top: 48px; }

.sb-tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

.sb-tab-list button {
  font-family: var(--sb-font);
  font-size: 16px;
  padding: 12px 24px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: var(--sb-white);
  border-radius: 999px;
  cursor: pointer;
}

.sb-tab-list button.active {
  background: var(--sb-primary);
  color: var(--sb-white);
  border-color: var(--sb-primary);
}

.sb-tab-panel { display: none; }
.sb-tab-panel.active { display: block; }

.sb-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.sb-work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

.sb-work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.75) 100%);
}

.sb-work-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: var(--sb-white);
}

.sb-work-card h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--sb-white);
}

.sb-work-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.sb-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.sb-impact-grid h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--sb-primary);
  margin: 0 0 8px;
}

.sb-impact-sub {
  text-align: center;
  margin-bottom: 40px;
}

.sb-testimonials {
  background: var(--sb-cream-dark);
  border-radius: 24px;
  padding: 48px 32px;
}

.sb-testimonial-slide {
  display: none;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.sb-testimonial-slide.active { display: grid; }

.sb-testimonial-slide blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}

.sb-testimonial-slide cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
}

.sb-testimonial-slide img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.sb-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.sb-carousel-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sb-primary);
  background: var(--sb-white);
  color: var(--sb-primary);
  cursor: pointer;
  font-size: 18px;
}

/* Homepage photo gallery (bento grid) */
.sb-gallery-home {
  background: linear-gradient(180deg, var(--sb-white) 0%, var(--sb-cream) 100%);
}

.sb-gallery-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.sb-gallery-title {
  margin-bottom: 12px !important;
}

.sb-gallery-sub {
  margin: 0;
  font-size: 17px;
  line-height: 26px;
  color: #555;
}

.sb-gallery-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 14px;
}

.sb-gallery-tile {
  position: relative;
  grid-column: span 4;
  grid-row: span 2;
  border: none;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.sb-gallery-tile--hero {
  grid-column: span 8;
  grid-row: span 3;
}

.sb-gallery-tile:nth-child(2) {
  grid-column: span 4;
  grid-row: span 2;
}

.sb-gallery-tile:nth-child(3) {
  grid-column: span 4;
  grid-row: span 2;
}

.sb-gallery-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.85;
  transition: opacity 0.3s;
}

.sb-gallery-tile-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  color: var(--sb-white);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 12px;
}

.sb-gallery-tile-title {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.sb-gallery-tile-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sb-secondary);
  color: var(--sb-text);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.sb-gallery-tile-zoom {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--sb-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  margin-left: auto;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}

.sb-gallery-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(76, 166, 83, 0.22);
}

.sb-gallery-tile:hover img {
  transform: scale(1.06);
}

.sb-gallery-tile:hover .sb-gallery-tile-shade {
  opacity: 1;
}

.sb-gallery-tile:hover .sb-gallery-tile-zoom {
  opacity: 1;
  transform: scale(1);
}

.sb-gallery-tile:focus-visible {
  outline: 3px solid var(--sb-primary);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .sb-gallery-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .sb-gallery-tile,
  .sb-gallery-tile--hero,
  .sb-gallery-tile:nth-child(2),
  .sb-gallery-tile:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .sb-gallery-tile--hero {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 480px) {
  .sb-gallery-bento {
    grid-auto-rows: 140px;
    gap: 10px;
  }

  .sb-gallery-tile--hero {
    grid-row: span 1;
  }
}

.sb-partners-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-partners-carousel .sb-partners-swiper {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
}

.sb-partners-prev,
.sb-partners-next {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sb-primary);
  background: var(--sb-white);
  color: var(--sb-primary);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.sb-partners-prev:disabled,
.sb-partners-next:disabled {
  opacity: 0.35;
  cursor: default;
}

.sb-partner-card {
  background: var(--sb-white);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px 16px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.sb-partner-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(76, 166, 83, 0.35);
}

.sb-partner-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.sb-partner-link img {
  max-height: 72px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

.sb-partner-name {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  color: var(--sb-muted, #333);
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-partners-empty {
  text-align: center;
  color: #666;
  font-size: 16px;
  padding: 24px;
  background: var(--sb-white);
  border-radius: 12px;
  border: 1px dashed rgba(0, 0, 0, 0.15);
}

.sb-partners-empty a {
  color: var(--sb-primary);
  font-weight: 600;
}

@media (max-width: 640px) {
  .sb-partners-prev,
  .sb-partners-next {
    display: none;
  }
}

.sb-donate-strip {
  background: var(--sb-primary);
  padding: 80px 24px;
  text-align: center;
}

.sb-donate-strip h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--sb-white);
  font-weight: 400;
  margin: 0 auto 32px;
  max-width: 700px;
}

.sb-footer {
  background: var(--sb-text);
  color: var(--sb-white);
  padding: 60px 0 24px;
}

.sb-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.sb-footer h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--sb-secondary);
}

.sb-footer ul { list-style: none; padding: 0; margin: 0; }
.sb-footer ul li { margin-bottom: 8px; }
.sb-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.sb-footer a:hover { color: var(--sb-secondary); }

.sb-footer-social { display: flex; gap: 12px; margin-top: 16px; }
.sb-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.sb-newsletter input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-family: var(--sb-font);
  box-sizing: border-box;
}

.sb-newsletter button {
  padding: 12px 20px;
  background: var(--sb-secondary);
  border: none;
  border-radius: 8px;
  font-family: var(--sb-font);
  font-weight: 600;
  cursor: pointer;
}

.sb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

.sb-text-center { text-align: center; }

/* Mobile fixed donate bar */
.sb-mobile-donate {
  display: none;
}

.sb-mobile-donate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--sb-white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  border: 2px solid var(--sb-secondary);
}

.sb-mobile-donate-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.25;
  color: var(--sb-text);
  min-width: 0;
}

.sb-mobile-donate-copy strong {
  font-size: 14px;
  font-weight: 600;
}

.sb-mobile-donate-copy span {
  opacity: 0.75;
  font-size: 12px;
}

.sb-mobile-donate-btn {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 8px;
  flex-shrink: 0;
  font-family: var(--sb-font);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sb-text);
  background: var(--sb-secondary);
  padding: 12px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.sb-mobile-donate-btn .sb-btn-icon {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.sb-nav-mobile-donate {
  display: none;
}

@media (max-width: 1199px) {
  .sb-nav > a,
  .sb-nav-drop-btn {
    font-size: 14px;
    padding: 6px 8px;
  }
  .sb-btn--sm {
    display: none;
  }
}

@media (max-width: 991px) {
  body.sb-site {
    padding-bottom: 88px;
  }

  .sb-mobile-donate {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 999;
  }

  .sb-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .sb-header-inner {
    position: relative;
    flex-wrap: nowrap;
    padding: 10px 16px;
    min-height: 64px;
    border-radius: 0 0 20px 20px;
  }

  .sb-logo img {
    height: 48px;
  }

  .sb-logo-text {
    font-size: 18px;
  }

  .sb-nav {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--sb-white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }

  .sb-nav.open { display: flex; }

  .sb-nav-toggle {
    display: block;
    margin-left: auto;
  }

  .sb-header-donate { display: none; }

  .sb-nav .sb-nav-mobile-donate {
    display: flex;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .sb-nav-mobile-donate .sb-btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
  }
  .sb-has-dropdown .sb-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 12px;
    display: none;
  }
  .sb-has-dropdown.is-open .sb-dropdown {
    display: block;
  }
  .sb-has-dropdown:hover .sb-dropdown {
    transform: none;
  }
  .sb-story-row,
  .sb-testimonial-slide.active { grid-template-columns: 1fr; }
  .sb-story-row.reverse .sb-story-media,
  .sb-story-row.reverse .sb-story-text { order: unset; }
  .sb-impact-grid { grid-template-columns: 1fr; }
  .sb-banner-cta { padding: 28px 24px; }
}
