/* Staff portraits: larger frames while keeping the existing visual design. */
.person-card img,
.person-card .avatar {
  width: 112px;
  height: 140px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
}
.profile-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
}
.profile-aside img,
.profile-aside > .avatar {
  width: 300px;
  height: 375px;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}
.profile-aside > div:not(.avatar) {
  min-width: 0;
  overflow-wrap: break-word;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .people-grid { grid-template-columns: minmax(0, 1fr); }
  .person-card { padding: 20px; gap: 16px; }
  .person-card img,
  .person-card .avatar {
    width: 96px;
    height: 120px;
  }
  .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .profile-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
  }
  .profile-aside img,
  .profile-aside > .avatar {
    width: 220px;
    height: 275px;
    max-height: none;
    margin: 0;
  }
  .profile-aside > div:not(.avatar) { width: 100%; text-align: center; }
  .profile-aside .roles { margin-top: 0; }
  .profile-aside .text-link { width: fit-content; margin-left: auto; margin-right: auto; }
}
