/* Impact and Donate page (DN1): the totals as tiles, two to a row on a phone and four on a wide screen; logical properties only, so it lays out right to left, and no sideways scroll at 375 px. */
.impact-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}

@media (min-width: 900px) {
  .impact-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.impact-tile {
  padding: var(--s-4);
  overflow-wrap: anywhere;
}

.impact-tile .stat-figure,
.impact-partners .stat-figure {
  margin: 0;
  font-size: var(--fs-4);
}

.stat-figure.impact-hidden {
  color: var(--text-muted);
  font-size: var(--fs-2);
  font-weight: var(--fw-strong);
  letter-spacing: 0;
  line-height: 1.2;
}

.impact-fine {
  margin-block-start: var(--s-4);
  text-align: center;
}

.impact-partners {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
  .impact-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.impact-donate {
  display: grid;
  gap: var(--s-3);
  max-inline-size: 40rem;
  margin-inline: auto;
}

/* While every total is under the floor: one line and one action instead of the tiles. */
.impact-starting {
  max-inline-size: 44rem;
}
