/* User-supplied portraits: preserve the original image and its proportions. */
.comparison-page .person-photo, .profile-shell .person-photo { height: auto; aspect-ratio: 1122 / 1402; }
.person-photo .staff-portrait { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Leave enough trailing space for the last mobile portrait to align like the first. */
@media (max-width: 800px) {
  .comparison-page .team-track { --staff-width: 85%; --staff-gap: 22px; gap: var(--staff-gap); }
  .comparison-page .team-track .person { flex-basis: var(--staff-width); }
  .comparison-page .team-track::after { content: ''; flex: 0 0 max(0px, calc(100% - var(--staff-width) - var(--staff-gap))); }
}
