/* Team Section */
.team-member {
  margin-bottom: 5rem;
  position: relative;
}

.team-member__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 2rem;
}

.team-member__description {
  margin-top: 72px;
}

.team-member__title-group {
  position: relative;
  left: -92px;
}

.team-member__name {
  font-size: 114px;
  color: var(--brand-bg);
  margin-bottom: 0;
  border-bottom: 2px solid var(--brand-bg);
  line-height: 90px;
}

.team-member__role {
  font-size: 53px;
  color: var(--brand-bg);
  margin-bottom: 50px;
  font-style: italic;
  line-height: 63px;
}

.team-member__bio {
  color: var(--brand-bg);
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.team-member__quote {
  font-size: 69px;
  color: var(--brand-bg);
  margin: 27px 0;
  padding: 1.5rem;
  position: relative;
  line-height: 67px;
  text-align: center;
}

@media (max-width: 767.98px) {
  .team-member {
    margin-bottom: 0;
    margin-top: 0;
  }
  .team-member__quote {
      font-size: 49px;
      color: var(--brand-bg);
      margin: 0;
      padding: 1.5rem 0;
      position: relative;
      line-height: 53px;
      text-align: center;
  }
  .team-member__bio {
    font-size: 1.2rem;
    line-height: normal;
  }
  .team-member__title-group {
    position: static;
    left: initial;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    bottom: -83px;
    z-index: 2;
    padding-top: 30px;
    padding-bottom: 10px;
  }
  .team-member__image {
    height: initial;
    margin-bottom: 0;
  }
  .team-member__name {
    font-size: 74px;
    margin-bottom: 0;
    border-bottom: 0 none;
    line-height: 70px;
  }
  .team-member__role {
    font-size: 25px;
    font-style: italic;
    line-height: 1;
    margin-bottom: 0;
  }
  .flip-horizontal {
    transform: scaleX(-1);
  }
}
@media (max-width: 575.98px) {
  .team-member__image-container {
    padding-left: 0;
    padding-right: 0;
  }
}
