/* ==============================
  TEAM BLOCK
================================ */
.team {
  width: 100%;
  margin: 4rem auto;
  /* ==============================
    GRID
  ================================ */
  /* ==============================
    ITEM
  ================================ */
  /* ==============================
    RESPONSIVE
  ================================ */
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.team-item {
  display: flex;
  flex-direction: column;
  /* ==============================
    IMAGE
  ================================ */
  /* ==============================
    TEXT WRAPPER
  ================================ */
  /* Name (Title) */
  /* Job Title */
}
.team-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin-bottom: 0.75rem;
}
.team-item-content {
  margin: 0;
}
.team-item-name {
  display: block;
  margin-bottom: 0.25rem;
  font-size: var(--step-0);
}
.team-item-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-item img {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1/1;
  }
}
