/* About Us */

.about-page,
.about-page * {
  font-family: Avenir;
}

.about-main {
  box-sizing: border-box;
  width: 980px;
  margin: 0 auto;
  padding: 24px 30px 54px;
}

.about-page-heading h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.about-page-rule {
  width: 918px;
  height: 1px;
  margin-top: 7px;
  background: #c9c9c9;
}

.about-introduction {
  width: 918px;
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
  text-align: justify;
}

.about-team {
  margin-top: 18px;
}

.about-section-heading h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.about-section-rule {
  width: 865px;
  height: 1px;
  margin-top: 4px;
  background: #c9c9c9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 277px);
  column-gap: 44px;
  row-gap: 30px;
  width: 919px;
  margin-top: 24px;
}

.team-member {
  width: 277px;
  min-width: 0;
}

.team-member > img,
.john-logo-frame {
  display: block;
  width: 277px;
  height: 184px;
}

.team-member > img {
  object-fit: cover;
}

.john-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.john-logo-frame img {
  display: block;
  width: 247px;
  height: 184px;
  object-fit: contain;
}

.team-member h3 {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
}

.team-role {
  min-height: 31px;
  margin: 1px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
}

.team-biography {
  margin: 17px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.43;
  text-align: justify;
}

.about-contributors {
  margin-top: 45px;
}

.about-contributors .about-section-rule {
  width: 918px;
}

.about-contributors > p {
  width: 918px;
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
  text-align: justify;
}

.about-contributors strong {
  font-weight: 700;
}

@media (max-width: 980px) {
  .about-main {
    width: calc(100% - 32px);
    padding-right: 0;
    padding-left: 0;
  }

  .about-page-rule,
  .about-introduction,
  .about-section-rule,
  .about-contributors .about-section-rule,
  .about-contributors > p {
    width: 100%;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
    width: 100%;
  }

  .team-member,
  .team-member > img,
  .john-logo-frame {
    width: 100%;
  }

  .team-member > img,
  .john-logo-frame {
    height: auto;
    aspect-ratio: 277 / 184;
  }

  .john-logo-frame img {
    width: 89%;
    height: 100%;
  }
}

@media (max-width: 760px) {
  .about-page-heading h1 {
    font-size: 33px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
    row-gap: 38px;
  }

  .team-role {
    min-height: 0;
  }

  .team-biography {
    margin-top: 14px;
  }

  .about-contributors {
    margin-top: 38px;
  }
}
