.team {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.team-title {
  margin: 0;
  font-family: var(--principal-font);
  color: var(--purple-blue);
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.team-member-img {
  width: 178px;
  height: 178px;
  object-fit: cover;
}

.team-member-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-member-name,
.team-member-description {
  margin: 0;
  font-family: var(--principal-font);
  font-size: 16px;
  line-height: 24px;
}

.team-member-name {
  color: var(--purple-blue);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.team-member-description {
  color: #17192CCC;
  font-weight: 400;
}

@media (max-width:1024px) {
  .team {
    gap: 24px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    24px: 16px;16px;16p;16;1;
    gap: 24px 16px;
  }

  .team-member-img {
    width: 147px;
    height: 147px;
  }
}

@media (max-width:400px) {
  .team-member-img {
    width: 100%;
  }
}