/* Five photo-led impact highlights; deliberately independent of the hero slider. */
.section--local .local-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
}
.section--local .local-card {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  color: var(--text-main);
  box-shadow: 0 8px 28px rgba(72, 20, 73, 0.065);
}
.section--local .local-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 28px) / 2);
  justify-self: center;
}
.local-card__body { padding: 30px 32px 34px; flex: 1; }
.section--local .local-card__number {
  margin-bottom: 14px;
  color: #b12d78;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
}
.section--local .local-card h3 {
  margin-bottom: 15px;
  color: var(--color-plum);
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.08;
}
.section--local .local-card p {
  max-width: none;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.impact-carousel { position: relative; }
.impact-carousel__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--bg-stripes);
  touch-action: pan-y pinch-zoom;
}
.impact-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 220ms var(--ease-premium);
}
.impact-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
}
.impact-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.impact-carousel__slide img:not([src]) { visibility: hidden; }
.impact-carousel__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.93);
  color: var(--color-plum);
  box-shadow: 0 2px 10px rgba(20, 8, 22, 0.12);
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 160ms var(--ease-premium), background-color 160ms var(--ease-premium);
}
.impact-carousel__arrow--prev { left: 12px; }
.impact-carousel__arrow--next { right: 12px; }
.impact-carousel__arrow svg { width: 17px; height: 17px; }
.impact-carousel__arrow:active { background: #f8d4e8; }
.impact-carousel__dots {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 50%;
  display: flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  transform: translateX(-50%);
  box-shadow: 0 2px 10px rgba(20, 8, 22, 0.08);
}
.impact-carousel__dot {
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.impact-carousel__dot::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b738e;
}
.impact-carousel__dot[aria-pressed="true"]::after, .impact-carousel__dot--static::after { background: var(--brand-primary); }
.impact-carousel__dot--static { cursor: default; }
.impact-carousel__error {
  position: absolute;
  inset: 0;
  padding: 24px;
  background: var(--bg-stripes);
  color: var(--text-main);
  font-size: 14px;
}
.impact-carousel__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.impact-carousel:not(.is-ready) .impact-carousel__arrow,
.impact-carousel:not(.is-ready) .impact-carousel__dots { display: none; }
@media (hover: hover) and (pointer: fine) {
  .impact-carousel__arrow { opacity: 0; }
  .impact-carousel:hover .impact-carousel__arrow,
  .impact-carousel:focus-within .impact-carousel__arrow { opacity: 1; }
  .impact-carousel__arrow:hover { background: #f8d4e8; }
}
@media (max-width: 760px) {
  .section--local .local-grid { grid-template-columns: 1fr; gap: 24px; }
  .section--local .local-card:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
  .local-card__body { padding: 25px 25px 30px; }
  .impact-carousel__arrow { opacity: 1; }
  .impact-carousel__arrow--prev { left: 8px; }
  .impact-carousel__arrow--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .impact-carousel__track, .impact-carousel__arrow { transition: none; }
}

/* Preserve a proportional image canvas on older Safari without aspect-ratio. */
@supports not (aspect-ratio: 3 / 2) {
  .impact-carousel__viewport { height: 0; padding-top: 66.6667%; }
  .impact-carousel__track { position: absolute; inset: 0; }
}
/* Historical photos remain readable when scripting is disabled. */
html:not(.js) .impact-carousel__slide > img[data-src] { display: none; }
