/* Story cards: a 4:3 photograph, then the words, one hairline under. The grid
   fills whatever it is given (the whole site width on /stories/): as many
   columns as fit at 20rem, each growing to 30rem at most. auto-fit collapses
   the empty columns, so a single short row of cards sits centered (Costa,
   2026-09-15); with more than one row every column is in use and a partial
   last row stays left, under the columns above it. */

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 30rem));
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: var(--lg);
}

.story-card {
  display: block;
  color: var(--text);
  font-weight: var(--light);
  border-bottom: var(--hair);
  padding-bottom: var(--md);
  transition: border-color var(--normal);
}

.story-card:hover { text-decoration: none; border-bottom-color: var(--accent); }
.story-card .zoom { margin-bottom: var(--sm); }
.story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-body { display: block; }
.story-title { display: block; font-size: 1.35rem; line-height: 1.2; margin: 0.2rem 0 0.4rem; }
.story-lede { display: block; color: var(--text-2); font-size: var(--small); line-height: 1.5; }
