/* Seven sections: one desktop row, balanced 4+3 on narrower screens. */
@media (min-width: 1151px) {
  .explore-sections { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (min-width: 751px) and (max-width: 1150px) {
  .explore-sections { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .explore-sections > .card { grid-column: span 3; }
  .explore-sections > .card:nth-child(n+5) { grid-column: span 4; }
}

/* Preserve face framing independently of translated text height. */
.portraits .portrait { align-items: start; }
.portraits .portrait .face {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.portraits .portrait.quantum .face { object-position: 58% center; }
.portraits .portrait > div { min-width: 0; align-self: center; }
@media (min-width: 751px) and (max-width: 1200px), (max-width: 480px) {
  .portraits .portrait { grid-template-columns: minmax(0, 1fr); }
  .portraits .portrait .face { aspect-ratio: 1 / 1; }
  .portraits .portrait > div { padding: 24px 20px; align-self: start; }
}
.portraits .portrait.federico .face { object-position: 29% center; }
