/* Shared portrait frames and profile typography on the homepage and Team page. */
#team .team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
}
#team .row.team-grid { margin-left: 0; margin-right: 0; }
#team .team-grid > * { min-width: 0; width: auto; max-width: none; padding: 0; }
#team .team-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  margin: 0 0 20px;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
#team .team-grid img[src="img/monika.jpeg"] { object-position: 55% 0%; }
#team .team-grid img[src="img/sam.jpg"] { object-position: 50% 20%; }
#team .team-grid img[src="img/karolina-jurgielewicz-hair-stylist-taunton2.jpg"] { object-position: 50% 0%; }
#team .team-grid img[src="img/cali.jpeg"] { object-position: 50% 80%; }
#team .team-grid h3 {
  font-family: 'Amatic SC', cursive;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.06;
  color: #222;
  text-align: center;
  margin: 0 0 16px;
}
#team .team-grid p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #444;
  text-align: left;
  margin: 0 0 22px;
}
@media (min-width: 601px) and (max-width: 1199.98px) {
  #team .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 600px) {
  #team .team-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #team .team-grid > * { width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
  #team .team-grid p { font-size: 16px; }
}
