@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
#team .s1 {
  background: url(/i/Team-Hero.jpg) no-repeat center/cover;
}

#team .s2 {
  background: linear-gradient(326deg, #92BCD8 -13.09%, #012231 102.4%);
}

#team .s2 h3 {
  color: #fff;
}

#team .s2 .s2-hline {
  width: 100%;
  height: 1px;
  margin: 3rem 0;
  background: rgba(255, 255, 255, 0.5);
}

#team .s2 .card-sec {
  margin-top: 7.5rem;
}

#team .s2 .card-sec .left {
  background: url(/i/quote-thumbnail-2.jpg) no-repeat center/cover;
}

#team .s3 .team-filter {
  border-bottom: solid 1px #92BCD8;
  display: flex;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

#team .s3 .team-filter a {
  display: block;
  padding: 1rem 3rem;
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  color: #92BCD8;
  cursor: pointer;
}

#team .s3 .team-filter a::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 4px;
  bottom: -2px;
  left: 0;
  background-color: #005076;
  transition: width .3s ease;
}

#team .s3 .team-filter a.on {
  color: #005076;
}

#team .s3 .team-filter a.on::after {
  width: 100%;
}

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

#team .s3 .team-grid .person {
  display: block;
}

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

#team .s3 .team-grid .person .img-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 335 / 335;
}

#team .s3 .team-grid .person .img-wrap::before {
  content: '';
  position: absolute;
  display: block;
  width: 35px;
  height: 35px;
  background: url(/i/svg/default-arrow.svg) no-repeat center/contain;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  transition: all .3s ease;
}

#team .s3 .team-grid .person .content {
  padding-top: 1.5rem;
}

#team .s3 .team-grid .person .content .name {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 5px;
  transition: color .3s ease;
}

#team .s3 .team-grid .person .content .title {
  font-size: 1rem;
}

#team .s3 .team-grid .person:hover .img-wrap::before {
  background-image: url(/i/svg/hover-arrow.svg);
}

#team .s3 .team-grid .person:hover .content .name {
  color: #005076;
}

@media screen and (max-width: 1100px) {
  #team .s3 .team-filter a {
    padding: 1rem 1rem;
  }
  #team .s3 .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 980px) {
  #team .s2 h3 br {
    display: none;
  }
  #team .s2 .card-sec {
    margin-top: 5rem;
  }
  #team .s3 .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  #team .s3 .team-filter {
    gap: 1rem;
  }
  #team .s3 .team-filter a {
    font-size: 1.2rem;
    padding: 1rem 0.3rem;
  }
  #team .s3 .team-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 767px) {
  #team .s1 {
    background: url(/i//Team-hero-mobile.jpg) no-repeat center/cover;
  }
}
