#team .s2 .container {
  max-width: 1120px;
}

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

#team .s3 .title {
  padding-bottom: 1.5rem;
  border-bottom: solid 1px rgba(0, 0, 0, 0.3);
  margin-bottom: 3rem;
}

#team .s3 .wrap {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 2rem;
}

#team .s3 .locations {
  min-width: 210px;
  height: 360px;
  position: sticky;
  top: 200px;
}

#team .s3 .locations p {
  font-size: 1.2rem;
  color: #444444;
  opacity: 0.4;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all .3s ease;
}

#team .s3 .locations p.active {
  opacity: 1;
  font-weight: 500;
  color: #006C53;
}

#team .s3 .team-grid {
  max-width: 1045px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  row-gap: 2.5rem;
}

#team .s3 .team-grid .person .img-wrap {
  position: relative;
}

#team .s3 .team-grid .person .img-wrap img {
  width: 100%;
}

#team .s3 .team-grid .person .img-wrap span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10.4px);
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 14px;
  color: #fff;
}

#team .s3 .team-grid .person .info {
  padding-top: 1.2rem;
}

#team .s3 .team-grid .person .info p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.25em;
  margin-bottom: 5px;
  transition: color .3s ease;
}

#team .s3 .team-grid .person .info p:last-of-type {
  font-size: 16px;
  opacity: 0.7;
}

#team .s3 .team-grid .person:hover .info p:first-of-type {
  color: #006C53;
}

@media screen and (max-width: 1300px) {
  #team .s3 .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1023px) {
  #team .s3 .wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #team .s3 .locations {
    height: auto;
    top: auto;
    position: relative;
    min-width: auto;
    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 500px;
  }
  #team .s3 .locations p {
    margin-bottom: 0;
  }
  #team .s3 .team-grid {
    max-width: none;
  }
}

@media screen and (max-width: 767px) {
  #team .s3 {
    padding-bottom: 5rem;
  }
  #team .s3 .locations p {
    font-size: 1rem;
  }
  #team .s3 .team-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  #team .s3 .team-grid .person .info p:last-of-type {
    font-size: 15px;
  }
}
