/* Home page portrait grid and sliding biographies, using the About palette. */
body.about-modern #people.about-team {
  background: var(--paper, #fff);
  color: var(--text-color);
}

body.about-modern #people.about-team #people-title {
  color: var(--secondary-color);
  font-family: var(--font-weight-700) !important;
  font-size: 50px;
  font-weight: 500;
  line-height: 131.1%;
}

#people.about-team .new-memeber-section {
  height: 400px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-color);
  text-align: left;
  isolation: isolate;
}

#people.about-team .new-memeber-section::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(0deg, rgba(24, 21, 64, .85) 0%, rgba(72, 107, 234, .26) 22%, rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}

#people.about-team .member_image {
  width: 100%;
  height: 400px;
  padding: 0;
}

#people.about-team .member_image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
}

#people.about-team .team-initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--gradient-left-to-right);
  color: #fff;
  font-family: var(--font-weight-700);
  font-size: 100px;
}

#people.about-team .member_name {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  max-width: 100%;
  padding: 20px;
  color: #fff;
}

#people.about-team .member_name h3,
#people.about-team .member_details h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-weight-700) !important;
  font-size: 26px;
  font-weight: 500;
  line-height: 131.1%;
}

#people.about-team .member_name p,
#people.about-team .member_details .team-role {
  margin: 0;
  color: #fff;
  font-family: var(--font-weight-400);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

#people.about-team .member_details {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--primary-color);
  color: #fff;
  transition: top .5s;
}

#people.about-team .member_details .team-role {
  margin-bottom: 24px;
}

#people.about-team .member_details p {
  margin-top: 0;
  color: #fff;
  font-family: var(--font-weight-400);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

#people.about-team .team-linkedin {
  display: inline-block;
  margin-left: 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

#people.about-team .new-memeber-section:hover .member_details,
#people.about-team .new-memeber-section:focus-within .member_details,
#people.about-team .new-memeber-section.is-open .member_details {
  top: 0;
}

#people.about-team .new-memeber-section.is-closed .member_details {
  top: 100%;
}

#people.about-team .new-memeber-section:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body.about-modern #people.about-team #people-title {
    font-size: 35px;
    line-height: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #people.about-team .member_details {
    transition: none;
  }
}
