.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person {
  padding: 18px;
  overflow: hidden;
}

.team-portrait {
  display: block;
  width: 82%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  margin: 0 auto 22px;
  background: #e7e7e7;
  transition: transform .45s ease, box-shadow .45s ease;
}

.person:hover .team-portrait {
  transform: scale(1.025);
  box-shadow: 0 16px 36px rgba(9, 43, 59, .14);
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-portrait { width: 76%; max-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .team-portrait { transition: none; }
}

@media (min-width: 901px) {
  .team-grid[data-panel="florida"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
