/* ==========================================================================
   PPCM Theme — Home (front-page)
   ========================================================================== */

.home-section {
  padding-block: var(--space-8);
}

/* SECTION 1 — Hero */
.home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding-block: clamp(72px, 8vw, 120px);
  color: var(--color-white);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  background-size: cover;
  background-position: center;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(27, 42, 74, 0.78), rgba(0, 0, 0, 0.55));
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
  width: 100%;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg, 16px);
  background: rgba(27, 42, 74, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-transparency: reduce) {
  .home-hero__inner,
  .impact-hero-carousel__content {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(27, 42, 74, 0.9);
  }
}

.home-hero__title {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.home-hero__subtext {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  margin-bottom: var(--space-6);
}

.home-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.home-hero .btn--donate {
  background: #FF6B35 !important;
  color: #FFFFFF !important;
  border-color: #FF6B35 !important;
}

.home-hero .btn--donate:hover {
  background: #e55a25 !important;
  border-color: #e55a25 !important;
  color: #FFFFFF !important;
}

.home-hero .btn--apply-outline {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  color: #FFFFFF !important;
}

.home-hero .btn--apply-outline:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

/* Hero Carousel */
.hero-carousel {
  overflow: hidden;
  touch-action: pan-y;
}

.hero-carousel__track {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-h, 80px));
  display: grid;
}

.hero-carousel__slide {
  grid-area: 1 / 1;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  pointer-events: none;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-carousel__slide .home-hero__inner {
  margin: 0 auto;
}

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.hero-carousel__arrow:hover {
  background: rgba(255, 107, 53, 0.8);
  border-color: #FF6B35;
}

.hero-carousel__arrow--prev {
  left: 24px;
}

.hero-carousel__arrow--next {
  right: 24px;
}

.hero-carousel__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-carousel__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.hero-carousel__dot:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.3);
}

.hero-carousel__dot.is-active {
  background: #FF6B35;
  border-color: #FF6B35;
  transform: scale(1.2);
}

.hero-carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 3;
}

.hero-carousel__progress-fill {
  height: 100%;
  width: 0%;
  background: #FF6B35;
  transition: width 5000ms linear;
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 80vh;
  }

  .hero-carousel__track {
    min-height: 80vh;
  }

  .hero-carousel__arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .hero-carousel__arrow--prev {
    left: 12px;
  }

  .hero-carousel__arrow--next {
    right: 12px;
  }

  .hero-carousel__dots {
    bottom: 20px;
    gap: 10px;
  }

  .hero-carousel__dot {
    width: 12px;
    height: 12px;
  }

  .home-hero__subtext {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .home-hero {
    min-height: 70vh;
    padding-block: clamp(48px, 6vw, 80px);
  }

  .hero-carousel__track {
    min-height: 70vh;
  }

  .hero-carousel__arrow {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .hero-carousel__arrow--prev {
    left: 8px;
  }

  .hero-carousel__arrow--next {
    right: 8px;
  }

  .hero-carousel__dots {
    bottom: 14px;
    gap: 8px;
  }

  .hero-carousel__dot {
    width: 10px;
    height: 10px;
  }

  .home-hero__subtext {
    font-size: 15px;
    margin-bottom: var(--space-4);
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .home-hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* SECTION 2 — Impact Counters */
.impact-counters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.impact-counter {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.impact-counter__number {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: var(--color-primary);
}

.impact-counter__label {
  margin-top: 6px;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* SECTION 3 — About Preview */
.home-about--has-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-about__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.82), rgba(0, 0, 0, 0.6));
  z-index: 0;
}

.home-about--has-bg .home-about__inner {
  position: relative;
  z-index: 1;
}

.home-about--has-bg,
.home-about--has-bg .home-about__content h2,
.home-about--has-bg .home-about__content p {
  color: var(--color-white);
}

.home-about--has-bg .home-about__content p {
  color: rgba(255, 255, 255, 0.9);
}

.home-about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 34px;
  align-items: center;
}

.home-about__image {
  border-radius: var(--radius-md);
  min-height: 360px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(27, 42, 74, 0.16));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* SECTION 4 — Crisis */
.home-crisis__inner h2 {
  color: var(--color-white);
}

.home-crisis__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 26px;
}

.home-crisis__stat {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px;
}

.home-crisis__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-white);
}

.home-crisis__stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
}

.home-crisis .btn--light {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: var(--color-white);
  background: transparent;
}

/* SECTION 5 — Eligibility */
.eligibility__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-6);
}

.eligibility__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.eligibility-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.eligibility-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 53, 0.14);
  color: var(--color-accent);
  font-size: 20px;
}

.eligibility-card__text {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
}

.eligibility__cta {
  margin-top: 22px;
  text-align: center;
}

/* SECTION 6 — Programs */
.programs-overview__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto var(--space-6);
}

.programs-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  justify-items: center;
}

.programs-overview__grid:only-child .program-card:only-child,
.programs-overview__grid .program-card:only-child {
  grid-column: 2;
}

.program-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.program-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(27, 42, 74, 0.08);
  color: var(--color-primary);
  font-size: 22px;
  margin-bottom: 12px;
}

.program-card__badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 53, 0.14);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.program-card__desc {
  color: var(--color-text-muted);
}

.program-card__link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 700;
  color: var(--color-primary);
}

.program-card__link:hover {
  color: var(--color-accent);
}

/* SECTION 7 — Stories Carousel */
.stories__head {
  text-align: center;
  margin-bottom: var(--space-5);
}

.stories__carousel {
  position: relative;
}

.stories__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
}

.story-slide {
  scroll-snap-align: start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 160px 1fr;
}

.story-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-slide__photo-fallback {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.14), rgba(255, 107, 53, 0.14));
}

.story-slide__content {
  padding: 16px 16px 18px;
}

.story-slide__name {
  margin: 0 0 6px;
}

.story-slide__meta {
  margin: 0 0 10px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.story-slide__quote {
  margin: 0 0 12px;
  color: var(--color-text);
  font-style: italic;
}

.story-slide__facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--color-primary);
}

.stories__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
}

.stories__nav--prev { left: -8px; }
.stories__nav--next { right: -8px; }

.stories__footer {
  margin-top: 18px;
  text-align: center;
}

/* SECTION — Industry Prospective Recruiters */
.recruiters-section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-6);
}

.recruiters-section__head h2 {
  margin-bottom: 8px;
}

.recruiters-section__head p {
  color: #666;
  font-size: 16px;
}

.recruiters-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.recruiters-marquee__track {
  display: flex;
  gap: 48px;
  align-items: center;
  width: max-content;
  animation: recruiters-scroll 40s linear infinite;
}

.recruiters-marquee:hover .recruiters-marquee__track {
  animation-play-state: paused;
}

.recruiters-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 120px;
}

.recruiters-marquee__item img {
  max-height: 50px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}

.recruiters-marquee__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.recruiters-marquee__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 8px 16px;
  background: #f0f0f0;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #1B2A4A;
  white-space: nowrap;
}

@keyframes recruiters-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .recruiters-marquee__track {
    gap: 32px;
    animation-duration: 30s;
  }

  .recruiters-marquee__item {
    height: 48px;
    min-width: 90px;
  }

  .recruiters-marquee__item img {
    max-height: 40px;
    max-width: 90px;
  }
}

@media (max-width: 576px) {
  .recruiters-marquee__track {
    gap: 24px;
    animation-duration: 22s;
  }

  .recruiters-marquee__item {
    height: 40px;
    min-width: 80px;
  }

  .recruiters-marquee__item img {
    max-height: 32px;
    max-width: 80px;
  }

  .recruiters-marquee__fallback {
    font-size: 11px;
    padding: 6px 12px;
    height: 40px;
  }
}

/* SECTION 8 — SDG */
.sdg__head { text-align: center; margin-bottom: var(--space-5); }

.sdg__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.sdg-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.sdg-card__badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(27, 42, 74, 0.10);
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.sdg-card__desc { color: var(--color-text-muted); margin: 0; }

/* SDG — Environmental Awareness Videos */
.sdg-env {
  margin-top: var(--space-7, 48px);
  background: #0d1b2a;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  color: #fff;
}

.sdg-env__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #0f2640 0%, #152e4d 100%);
  flex-wrap: wrap;
}

.sdg-env__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sdg-env__header-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 2px;
  color: #fff;
}

.sdg-env__header-text p {
  font-size: 13px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.sdg-env__stat {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 18px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.sdg-env__stat span {
  color: rgba(255, 255, 255, 0.7);
}

.sdg-env__stat strong {
  color: #4fc3f7;
  display: block;
}

.sdg-env__body {
  padding: 24px 28px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sdg-env__body h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #4fc3f7;
}

.sdg-env__body h4 i {
  margin-right: 6px;
}

.sdg-env__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sdg-env__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s;
}

.sdg-env__tag:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sdg-env__tag-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .sdg-env__header {
    padding: 18px 20px;
  }

  .sdg-env__stat {
    margin-left: 0;
    width: 100%;
  }

  .sdg-env__body {
    padding: 18px 20px 22px;
  }

  .sdg-env__tag {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* SDG — ESG environment video gallery (Customizer)
   Scoped under .sdg-env so global h3/p/button rules + WP-injected styles
   cannot override after Publish / Customizer preview. */
.sdg-env .sdg-esg-videos {
  margin-top: var(--space-6, 32px);
}

.sdg-env .sdg-esg-videos__card {
  background: linear-gradient(
    145deg,
    rgba(63, 126, 68, 0.14) 0%,
    rgba(13, 27, 42, 0.92) 42%,
    rgba(15, 38, 64, 0.98) 100%
  );
  border: 1px solid rgba(86, 192, 43, 0.22);
  border-radius: var(--radius-md, 12px);
  padding: 22px 24px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.sdg-env .sdg-esg-videos header.sdg-esg-videos__head {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  margin-bottom: var(--space-5, 24px);
}

.sdg-env .sdg-esg-videos h3.sdg-esg-videos__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #e8f5e9;
  line-height: 1.3;
}

.sdg-env .sdg-esg-videos p.sdg-esg-videos__subtitle {
  font-family: var(--font-body);
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.sdg-env .sdg-esg-videos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.sdg-env .sdg-esg-videos__grid--single {
  max-width: min(100%, 640px);
  margin-inline: auto;
}

.sdg-env .sdg-esg-videos__grid--single .sdg-esg-videos__caption {
  text-align: center;
}

.sdg-env article.sdg-esg-videos__tile {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.sdg-env .sdg-esg-videos__aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1624;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
}

.sdg-env button.sdg-esg-videos__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  background: #000;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  line-height: 1;
  text-align: center;
  color: #fff;
  box-shadow: none;
  min-height: 0;
  min-width: 0;
}

.sdg-env .sdg-esg-videos__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

.sdg-env .sdg-esg-videos__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.sdg-env .sdg-esg-videos__poster:hover .sdg-esg-videos__play,
.sdg-env .sdg-esg-videos__poster:focus-visible .sdg-esg-videos__play {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(56, 142, 60, 0.98);
}

.sdg-env .sdg-esg-videos__poster:focus-visible {
  outline: 2px solid #81c784;
  outline-offset: 3px;
}

.sdg-env .sdg-esg-videos__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sdg-env .sdg-esg-videos p.sdg-esg-videos__caption {
  font-family: var(--font-body);
  margin: 10px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.sdg-env .sdg-esg-videos p.sdg-esg-videos__footer {
  font-family: var(--font-body);
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 600px) {
  .sdg-env .sdg-esg-videos__grid:not(.sdg-esg-videos__grid--single) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .sdg-env .sdg-esg-videos__grid:not(.sdg-esg-videos__grid--single) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* SECTION 9 — Blog */
.blog-cards__head {
  text-align: center;
  margin-bottom: var(--space-5);
}

.blog-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-rows: 180px 1fr;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__thumb-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(27, 42, 74, 0.16));
}

.blog-card__body {
  padding: 16px 16px 18px;
}

.blog-card__cat {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.blog-card__title {
  margin: 0 0 10px;
}

.blog-card__title a {
  color: var(--color-primary);
}

.blog-card__excerpt {
  color: var(--color-text-muted);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 14px;
}

.blog-card__more {
  color: var(--color-primary);
  font-weight: 800;
}

/* SECTION 10 — Partners */
.home-partners__inner {
  text-align: center;
}

.home-partners__logos {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.home-partners__logo {
  min-width: 240px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  font-weight: 800;
  color: var(--color-primary);
}

.link--arrow {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 800;
  color: var(--color-accent);
}

/* SECTION 11 — Newsletter */
.home-newsletter__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.home-newsletter__form {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.home-newsletter__form input[type="email"] {
  width: 100%;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

/* Responsive core for home (fine-tuned in responsive.css too) */
@media (max-width: 992px) {
  .impact-counters__grid { grid-template-columns: repeat(2, 1fr); }
  .home-about__inner { grid-template-columns: 1fr; }
  .home-crisis__stats { grid-template-columns: repeat(2, 1fr); }
  .eligibility__grid { grid-template-columns: repeat(2, 1fr); }
  .programs-overview__grid { grid-template-columns: 1fr; }
  .programs-overview__grid .program-card:only-child { grid-column: auto; }
  .sdg__grid { grid-template-columns: repeat(2, 1fr); }
  .blog-cards__grid { grid-template-columns: 1fr; }
  .home-newsletter__inner { grid-template-columns: 1fr; }
  .home-newsletter__form { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .story-slide {
    grid-template-columns: 120px 1fr;
  }

  .story-slide__content {
    padding: 14px 14px 16px;
  }

  .story-slide__name {
    font-size: 1rem;
  }

  .story-slide__quote {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .stories__footer {
    margin-top: 14px;
  }
}

@media (max-width: 480px) {
  .story-slide {
    grid-template-columns: 1fr;
  }

  .story-slide__media {
    max-height: 180px;
    overflow: hidden;
  }
}

