.team {
    padding: 215px var(--margin) 0;
}

.team__grid {
    margin-top: 51px;
    row-gap: 40px;
}

.team__photo {
    aspect-ratio: 334 / 408;
    overflow: hidden;
    background: var(--c-placeholder);
}

.team__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team__name {
    margin-top: 20px;
}

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