#team .s1 .plx-bg {
  background: url(/i/team_hero.jpg) center/cover no-repeat;
}

#team .s2 .contain > h3 {
  margin-bottom: 7.5rem;
}

#team .s2 .team-wrapper {
  margin-top: 5rem;
}

#team .s2 .team-wrapper:first-child {
  margin-top: 0;
}

#team .s2 .team-wrapper h2 {
  margin-bottom: 4.5rem;
}

#team .s2 .team-wrapper .title-wrapper {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4.5rem;
}

#team .s2 .team-wrapper .title-wrapper h2 {
  margin-bottom: 0;
  min-width: 560px;
}

#team .s2 .team-wrapper .title-wrapper p {
  font-family: "haboro-contrast-normal", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 2.1rem;
  border-top: 1px solid #336C80;
  padding-top: .6rem;
}

#team .s2 .team-wrapper .title-wrapper p span {
  color: #AB4110;
  font-size: 3rem;
  display: inline-block;
  margin-right: .6rem;
}

#team .s2 .team-wrapper .team-container {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 3.2rem 0;
}

#team .s2 .team-wrapper .img-wrapper {
  position: relative;
}

#team .s2 .team-wrapper .img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

#team .s2 .team-wrapper .img-wrapper .person-accolades {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 92, 125, 0.95);
  backdrop-filter: blur(7.5px);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 1;
  padding: 1.5rem;
}

#team .s2 .team-wrapper .img-wrapper .person-accolades ul {
  list-style-type: none;
  padding-left: 1rem;
}

#team .s2 .team-wrapper .img-wrapper .person-accolades li {
  font-family: "kanit", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: .8rem;
  line-height: normal;
  color: #fff;
  position: relative;
  margin-bottom: .3rem;
}

#team .s2 .team-wrapper .img-wrapper .person-accolades li::before {
  content: '';
  position: absolute;
  display: block;
  width: .25rem;
  height: .25rem;
  left: -1rem;
  top: .7em;
  background-color: #CFE0EE;
}

#team .s2 .team-wrapper p.name {
  font-family: "haboro-contrast-normal", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.25em;
  color: #002536;
  transition: color .3s ease;
  margin: 1rem 0 .25rem;
}

#team .s2 .team-wrapper .person:hover .img-wrapper .person-accolades {
  opacity: 1;
}

#team .s2 .team-wrapper .person:hover p.name {
  color: #AB4110;
}

@media screen and (min-width: 1101px) {
  #team #container .s2 .person {
    width: 25.5%;
    padding: 0 1%;
    border-right: 1px solid rgba(51, 108, 128, 0.5);
  }
  #team #container .s2 .person:nth-child(4n), #team #container .s2 .person:nth-child(4n + 1), #team #container .s2 .person:first-child {
    width: 24.5%;
  }
  #team #container .s2 .person:nth-child(4n + 1), #team #container .s2 .person:first-child {
    padding: 0 1% 0 0;
  }
  #team #container .s2 .person:nth-child(4n) {
    padding: 0 0 0 1%;
    border-right: 0;
  }
  #team #container .s2 .person:last-child {
    border-right: 0;
  }
}

@media screen and (max-width: 1280px) {
  #team #container .s2 .person-accolades li {
    font-size: .7rem;
  }
}

@media screen and (max-width: 980px) {
  #team #container .s2 .team-wrapper .title-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  #team #container .s2 .team-wrapper .title-wrapper h2 {
    min-width: 100%;
  }
}

@media screen and (max-width: 1100px) and (min-width: 851px) {
  #team #container .s2 .team-wrapper .person {
    width: 33.833%;
    border-right: 1px solid rgba(51, 108, 128, 0.5);
    padding: 0 1%;
  }
  #team #container .s2 .team-wrapper .person:nth-child(3n), #team #container .s2 .team-wrapper .person:nth-child(3n + 1), #team #container .s2 .team-wrapper .person:first-child {
    width: 32.833%;
  }
  #team #container .s2 .team-wrapper .person:nth-child(3n + 1), #team #container .s2 .team-wrapper .person:first-child {
    padding: 0 1% 0 0;
  }
  #team #container .s2 .team-wrapper .person:nth-child(3n) {
    padding: 0 0 0 1%;
    border-right: 0;
  }
  #team #container .s2 .team-wrapper .person:last-child {
    border-right: 0;
  }
}

@media screen and (max-width: 850px) and (min-width: 501px) {
  #team #container .s2 .team-wrapper .person {
    width: 50%;
  }
  #team #container .s2 .team-wrapper .person:nth-child(odd) {
    padding-right: 1%;
    border-right: 1px solid rgba(51, 108, 128, 0.5);
  }
  #team #container .s2 .team-wrapper .person:nth-child(even) {
    padding-left: 1%;
  }
  #team #container .s2 .team-wrapper .person:last-child {
    border-right: 0;
  }
}

@media screen and (max-width: 850px) {
  #team #container .s2 .team-wrapper .img-wrapper .person-accolades li {
    font-size: 1rem;
  }
}

@media screen and (max-width: 500px) {
  #team #container .s2 .team-wrapper .person {
    width: 100%;
  }
}
