@font-face {
  font-family: 'Graphik';
  src: url("../font/Graphik-Thin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Graphik';
  src: url("../font/Graphik-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Graphik';
  src: url("../font/Graphik-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Graphik';
  src: url("../font/Graphik-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

#who-we-serve .s3 {
  background: url(/i/who-we-serve-c1.png) no-repeat center/cover;
  position: relative;
}

#who-we-serve .s3 .container {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 2rem;
  z-index: 1;
  position: relative;
}

#who-we-serve .s3 .container p, #who-we-serve .s3 .container a {
  color: #fff;
}

#who-we-serve .s3 .left {
  width: 50%;
  max-width: 560px;
}

#who-we-serve .s3 .left .feature div {
  display: block;
  border-top: solid 1px rgba(255, 255, 255, 0.6);
  position: relative;
  padding: 1.67rem 2.5rem 1.67rem 0;
  transition: color .3s ease;
}

#who-we-serve .s3 .left .feature p {
  font-family: "Roboto Serif", sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 2.16rem;
  line-height: 3rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all .3s ease;
}

#who-we-serve .s3 .left .feature div::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 3px;
  top: -1.5px;
  left: 0;
  background-color: #5B784D;
  transition: width 0.6s ease;
  z-index: 1;
}

#who-we-serve .s3 .left .feature div.sel p, #who-we-serve .s3 .left .feature div:hover p {
  color: #fff;
}

#who-we-serve .s3 .left .feature div.sel::before, #who-we-serve .s3 .left .feature div:hover::before {
  width: 100%;
}

#who-we-serve .s3 .left .feature div.sel::after, #who-we-serve .s3 .left .feature div:hover::after {
  opacity: 1;
}

#who-we-serve .s3 .right {
  width: 50%;
  max-width: 565px;
  position: relative;
}

#who-we-serve .s3 .right > div {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}

#who-we-serve .s3 .right > div.sel {
  opacity: 1;
  visibility: visible;
}

#who-we-serve .s3 .right h3 {
  color: #fff;
  margin-bottom: 2rem;
}

#who-we-serve .s3 .bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: background-image 0.7s ease;
  pointer-events: none;
}

#who-we-serve .s3 .bg-multigenerational-families {
  background-image: url("/i/who-we-serve-c1.png");
}

#who-we-serve .s3 .bg-business-owners {
  background-image: url("/i/who-we-serve-c5.png");
}

#who-we-serve .s3 .bg-emerging-wealth {
  background-image: url("/i/who-we-serve-c3.png");
}

#who-we-serve .s3 .bg-corporate-executives {
  background-image: url("/i/who-we-serve-c2.png");
}

#who-we-serve .s3 .bg-families-facing {
  background-image: url("/i/who-we-serve-c4.png");
}

#who-we-serve .s3 .mobile {
  display: none;
}

#who-we-serve .s3 .mobile .fx-nav {
  display: block;
  border-top: solid 1px rgba(255, 255, 255, 0.6);
  position: relative;
  padding: 1.67rem 2.5rem 1.67rem 0;
  transition: color .3s ease;
}

#who-we-serve .s3 .mobile .fx-nav p {
  font-family: "Roboto Serif", sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 2.16rem;
  line-height: 3rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all .3s ease;
}

#who-we-serve .s3 .mobile .fx-nav br {
  display: none;
}

#who-we-serve .s3 .mobile .fx-nav::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 3px;
  top: -1.5px;
  left: 0;
  background-color: #5B784D;
  transition: width 0.6s ease;
  z-index: 1;
}

#who-we-serve .s3 .mobile .fx-nav.fx-on p {
  color: #fff;
}

#who-we-serve .s3 .mobile .fx-nav.fx-on::before {
  width: 100%;
}

#who-we-serve .s3 .mobile .fx-nav.fx-on::after {
  opacity: 1;
  transform: translateY(-50%) rotate(-90deg);
}

#who-we-serve .s3 .mobile .fx-slide .content {
  padding-bottom: 3rem;
}

#who-we-serve .s3 .mobile .fx-slide .content h3 {
  display: none;
}

/***** MEDIA *****/
@media screen and (max-width: 1100px) {
  #who-we-serve .s3 .container {
    display: block;
  }
  #who-we-serve .s3 .left, #who-we-serve .s3 .right {
    display: none;
  }
  #who-we-serve .s3 .mobile {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  #who-we-serve .s3 .mobile .fx-nav p {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  #who-we-serve .s3 .mobile .fx-nav::after {
    width: 25px;
  }
  #who-we-serve .s3 .mobile .fx-slide .last {
    padding-bottom: 0;
  }
}
