/* Portrait styling echoes the lavender in the Female TechTalk cover. */
#team {
  background: #faf8fc;
  padding: 88px 0 80px;
}
#team .section-header { max-width: 800px; margin: 0 auto 28px; }
#team .section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin: 20px auto 0;
  background: #bb91d4;
  border-radius: 2px;
}
#team .member { max-width: 440px; margin: 0 auto 44px; padding: 0 18px; text-align: left; }
#team .member .pic {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: calc(100% - 16px);
  max-width: 360px;
  margin: 0 auto 38px;
}
#team .member .pic::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  background: #bb91d4;
  z-index: -1;
}
#team .member .pic img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 8px 24px rgba(48, 37, 57, .08);
}
#team .pic:hover { cursor: default; }
#team .member h4 { color: #302539; font-size: 25px; margin: 0 0 16px; line-height: 1.3; }
#team .member span { color: #504956; font-size: 15px; line-height: 1.85; }
@media (max-width: 767px) {
  #team { padding: 60px 0 24px; }
  #team .member { margin-bottom: 54px; }
  #team .member h4 { font-size: 23px; }
}

/* Contrasting portrait frames: lavender for Sara, green for Elisabeth. */
#team .row > :first-child .pic::before { background: #bb91d4; }
#team .row > :nth-child(2) .pic::before { background: #27a885; }
