/* Home page only. Keep slide text clear of the side arrow buttons.
   The arrows are 3rem wide and sit on the screen edges from 48rem up,
   so the text column leaves room for an arrow plus a gap on each side. */
@media (min-width: 48rem) {
  .hero--slider .slide__content {
    width: min(100% - 2 * (3rem + clamp(1rem, 3vw, 2.5rem)), var(--wrap));
  }
}

/* Show the two feature photos whole, in their own proportions, instead of cropping them. */
.split__media.split__media--natural img { aspect-ratio: auto; height: auto; }

/* "Welcome to Loita" above "The forest standing": larger, so it reads as a greeting. */
.stake__welcome { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.15rem); gap: 0.75rem; line-height: 1.2; }
.stake__welcome::before { width: 2.75rem; height: 2px; }

/* Indigenous knowledge section: fig tree photo fills its column */
.split__media--tall { width: 100%; }
.split__media.split__media--tall img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border-radius: 6px; }

/* "Elephants need room to move": herd photo fills the wide column on the right,
   mirroring the fig tree section */
.split__media.split__media--wide { width: 100%; }
.split__media.split__media--wide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: 6px; }
@media (min-width: 56rem) {
  .split--media-right { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--media-right .split__media { order: 2; }
  .split__media.split__media--wide img { aspect-ratio: 1 / 1; object-position: 45% 50%; }
}

/* "Stand with Loita's elephants and forest": on phones and small tablets the
   panorama shows as a full photo above the text instead of hiding behind a
   dark overlay. */
@media (max-width: 48rem) {
  .cta-band--right { background: var(--forest); }
  .cta-band--right .cta-band__media { position: static; z-index: auto; }
  .cta-band--right .cta-band__media img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; display: block; }
  .cta-band--right::after { display: none; }
  .cta-band--right .wrap { padding-block: 2.5rem 3rem; }
}