/* Shared team layout for the home and about pages. */
#team .team-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}
#team .team-card {
  grid-column: span 2;
  padding: 1.5rem;
  background: var(--linen-light);
  border: 1px solid var(--linen);
  border-radius: 4px;
}
#team .team-card:nth-child(4) { grid-column: 2 / span 2; }
#team .team-card:nth-child(5) { grid-column: 4 / span 2; }
#team .team-photo {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 496 / 668;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 1.5rem;
}
#team .team-card h3 {
  min-height: 3.25rem;
  font-size: 1.2rem;
  line-height: 1.35;
}
#team .team-role {
  min-height: 6rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--eucalyptus-dark);
}
@media (max-width: 900px) {
  #team .team-grid { grid-template-columns: 1fr; }
  #team .team-card,
  #team .team-card:nth-child(4),
  #team .team-card:nth-child(5) { grid-column: auto; }
  #team .team-card h3, #team .team-role { min-height: 0; }
}
