/* 29 November 2026: Impact page name follows the standard page-hero treatment.
   The supplied, uncropped photo belongs with the rescue heading and copy below. */
.master-stage[data-button-page="our-impact"] .impact-page-name {
  display: block;
  height: auto;
  min-height: 0;
}

.master-stage[data-button-page="our-impact"] .impact-page-name #impact-title {
  font: 400 clamp(2.9rem, 5.6vw, 5.8rem)/1.06 Chennai, sans-serif;
  max-width: 18ch;
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.master-stage[data-button-page="our-impact"] .impact-page-name #impact-title > .heading-accent {
  color: var(--coral);
  font-style: normal;
}

/* Keep the existing page-content width and horizontal padding. The title's
   standard bottom padding supplies the entrance gap, so do not double it. */
.master-stage[data-button-page="our-impact"] .impact-opening {
  padding-top: 0;
  padding-bottom: 0;
}

.master-stage[data-button-page="our-impact"] .impact-rescue-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: start;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0;
}

.master-stage[data-button-page="our-impact"] .impact-rescue-copy {
  min-width: 0;
  max-width: none;
}

.master-stage[data-button-page="our-impact"] .impact-rescue-copy > #rescuing-food {
  margin: 0;
}

.master-stage[data-button-page="our-impact"] .impact-rescue-copy > #rescuing-food + p {
  margin-top: 1.4rem;
}

.master-stage[data-button-page="our-impact"] .impact-rescue-hero > .impact-hero-photo {
  width: 100%;
  max-width: 380px;
  margin: 0;
  align-self: start;
  justify-self: start;
}

.master-stage[data-button-page="our-impact"] .impact-rescue-hero > .impact-hero-photo > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 760px) {
  .master-stage[data-button-page="our-impact"] .impact-rescue-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .master-stage[data-button-page="our-impact"] .impact-rescue-hero > .impact-hero-photo {
    max-width: none;
  }
}
