.team-photo {
  margin: 1.25rem 0;
}

.team-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.team-gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.team-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 8rem), 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}

.team-gallery img {
  max-height: 8rem;
}

.team-trainings {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}
