@media (min-width: 1024px) {
  .team-grid-balanced {
    grid-template-rows: 1fr 1fr;
  }

  .team-grid-balanced > :nth-child(5) {
    grid-column-start: 2;
  }
}

.team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #f1f5f9;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.team-card-bio {
  flex: 1;
}
