/* Owner-requested screen-size corrections, 4 December 2026.
   Preserve copy, assets, colours, typography and form/payment behaviour. */
.master-stage {
  --layout-content: 1260px;
  --layout-gutter: clamp(1.3rem, 4vw, 3rem);
  --layout-inset: max(var(--layout-gutter), calc((100% - var(--layout-content)) / 2));
}
.master-stage .site-header {
  width: 100%;
  max-width: none;
}
.master-stage .site-header,
.master-stage .site-footer {
  padding-inline: var(--layout-inset);
}
.master-stage main > :is(.page-hero, .page-content, .stories-hero, .donate-hero, .donate-primary, .shop-shell) {
  width: 100%;
  max-width: calc(var(--layout-content) + 2 * var(--layout-gutter));
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}
.master-stage.stories-page .stories-section-inner,
.master-stage.donate-page .donate-section-inner {
  max-width: var(--layout-content);
}

/* Keep coloured section backgrounds full width while their content is bounded. */
.master-stage.homepage main > section {
  padding-inline: var(--layout-inset);
}
.master-stage.homepage main > .inline-quote {
  padding-inline: max(var(--layout-gutter), calc((100% - 960px) / 2));
}
.master-stage.homepage .hero-copy {
  align-self: center;
}
.master-stage.homepage .hero-copy > p {
  max-width: 54ch;
}
.master-stage.homepage :is(.hero, .who-we-serve, .practical-support-lead, .impact-lead, .changing-hunger-copy) {
  column-gap: clamp(1.5rem, 3vw, 3rem);
}
.master-stage.homepage .who-we-serve {
  align-items: center;
}
.master-stage.homepage .who-we-serve-image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}
.master-stage.homepage .who-we-serve-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 901px) {
  .master-stage.homepage .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .master-stage.homepage .involvement-card.contribution-layout-c {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1rem;
  }
  .master-stage.homepage .contribution-layout-c > .contribution-icon {
    width: 88px;
    height: 88px;
  }
}
@media (max-width: 900px) {
  .master-stage.homepage .hero-copy > p {
    max-width: 62ch;
  }
  .master-stage.homepage .who-we-serve-image {
    max-width: 440px;
    justify-self: center;
  }
  .master-stage.homepage .practical-photo,
  .master-stage.homepage .impact-lead > .photo-frame {
    max-width: 600px;
    justify-self: center;
  }
}
