#team .img-bg .img-blue {
  background: url(/i/team-hero-bl.jpg) no-repeat center/cover;
}

#team .img-bg .img-light {
  background: url(/i/team-hero-lt.jpg) no-repeat center/cover;
}

#team .s2 {
  padding-bottom: 7.5rem;
}

#team .s2 .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.5rem;
  row-gap: 4rem;
}

#team .s2 .person {
  display: block;
}

#team .s2 .person .img-wrap {
  display: block;
  position: relative;
  height: 500px;
  margin-bottom: 1.7rem;
  overflow: hidden;
}

#team .s2 .person .img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: 400 / 500;
}

#team .s2 .person .img-wrap .color {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}

#team .s2 .person .content .name {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

#team .s2 .person:hover .img-wrap .color {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 1200px) {
  #team .s2 .container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
  #team .s2 .person .img-wrap {
    height: 430px;
  }
}

@media screen and (max-width: 767px) {
  #team .s2 {
    padding-bottom: 5rem;
  }
  #team .s2 .container {
    grid-template-columns: repeat(1, 1fr);
  }
  #team .s2 .person .img-wrap {
    height: 400px;
  }
}
