/* =========================================
   TEAM PAGE ONLY
   Template body class: page-template-team-php
   ========================================= */

.page-template-team-php .team-banner {
  background: #fafaf7;
}

.page-template-team-php .team-banner .our-partners-heading h2 {
  color: #16161a;
  font-size: 72px;
  font-style: normal;
  line-height: 64px;
  letter-spacing: -0.9px;
  padding: 88px 0px;
}

.page-template-team-php .our-team {
  background: #fafaf7;
  padding: 0 0 150px;
}

.page-template-team-php .our-team-flex {
  display: grid;
  gap: 48px;
}

.page-template-team-php .our-team-sub {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 160px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(24px, 3vw, 32px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0px 2px 50px 0px rgba(0, 0, 0, 0.3);
  min-height: 220px;
}

.page-template-team-php .our-team-image {
  width: clamp(110px, 14vw, 160px);
  height: clamp(110px, 14vw, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-template-team-php .our-team-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.page-template-team-php .our-team-content {
  min-width: 0;
  padding-right: clamp(0px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-template-team-php .our-team-content h2 {
  color: #232329;
  font-size: clamp(32px, 4vw, 52px);
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}

.page-template-team-php .our-team-content .team-description,
.page-template-team-php .our-team-content .team-description p {
  color: #232329;
  font-family: "Calibre-semibold";
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 18px);
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.164px;
  margin: 0;
}

.page-template-team-php .our-team-content .team-description > * + * {
  margin-top: 12px;
}

.page-template-team-php .our-team-content .team-description strong,
.page-template-team-php .our-team-content .team-description b {
  font-family: "Calibre-bold";
  font-weight: 700;
}

/* Tablet */
@media only screen and (max-width: 901px) {
  .page-template-team-php .team-banner .our-partners-heading h2 {
    font-size: 62px;
    line-height: 54px;
    padding: 68px 0px;
  }

  .page-template-team-php .our-team {
    padding-bottom: 100px;
  }

  .page-template-team-php .our-team-sub {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    min-height: 0;
  }

  .page-template-team-php .our-team-image {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }

  .page-template-team-php .our-team-content {
    padding-right: 0;
    align-items: center;
  }

  .page-template-team-php .our-team-content h2 {
    margin-bottom: 10px;
  }
}

/* Mobile */
@media only screen and (max-width: 701px) {
  .page-template-team-php .team-banner .our-partners-heading h2 {
    font-size: 42px;
    line-height: 40px;
    padding: 38px 0px;
  }

  .page-template-team-php .our-team {
    padding-bottom: 60px;
  }

  .page-template-team-php .our-team-flex {
    gap: 24px;
  }

  .page-template-team-php .our-team-sub {
    padding: 20px 16px;
    gap: 18px;
    border-radius: 16px;
  }

  .page-template-team-php .our-team-image {
    width: 112px;
    height: 112px;
  }

  .page-template-team-php .our-team-content h2 {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 10px;
  }

  .page-template-team-php .our-team-content .team-description,
  .page-template-team-php .our-team-content .team-description p {
    font-size: 16px;
  }
}