/* Transcending Personal Training
   Team page only. Builds on about.css (body has .page-about .page-team). */


/* ==========================================================================
   Hero (title only; the lineup sits right under it)
   ========================================================================== */

.page-team .abm-hero.ob {
  padding-bottom:36px;
  border-bottom:0;
}


/* ==========================================================================
   Team lineup: photos edge to edge, names over a fade to black
   ========================================================================== */

.page-team .tm-sec {
  background:#0b0b0b;
  padding:0 0 72px;
}

.page-team .tm-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.page-team .tm-card {
  display:flex;
  flex-direction:column;
  border-right:1px solid #1f1f1f;
  scroll-margin-top:96px;
}

.page-team .tm-card:last-child {
  border-right:0;
}

.page-team .tm-fig {
  position:relative;
  margin:0;
}

.page-team .tm-photo {
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover;
  display:block;
  background:#f2f1ef;
}

.page-team .tm-fig::after {
  content:"";
  position:absolute;
  inset:45% 0 0;
  background:linear-gradient(transparent,#0b0b0b 92%);
  pointer-events:none;
}

.page-team .tm-badge {
  position:absolute;
  z-index:1;
  left:32px;
  top:24px;
  background:var(--red-dark);
  color:#fff;
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:6px 10px;
  border-radius:3px;
}

.page-team .tm-over {
  position:absolute;
  z-index:1;
  left:32px;
  right:32px;
  bottom:8px;
}

.page-team .tm-role {
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--red-ink);
}

.page-team .tm-over h2.tm-name {
  font-size:clamp(2.6rem,4vw,3.8rem);
  color:#fff;
  margin:4px 0 0;
}

.page-team .tm-body {
  padding:10px 32px 0;
  max-width:460px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.page-team .tm-bio {
  font-size:.98rem;
  line-height:1.8;
  color:rgba(255,255,255,.78);
  margin-bottom:18px;
}

.page-team .tm-bio strong {
  color:#fff;
}

.page-team .tm-bio a {
  color:var(--red-ink);
  font-weight:700;
}

.page-team .tm-meta {
  border-top:1px solid #262626;
  padding-top:14px;
  margin:auto 0 0;
  display:grid;
  gap:10px;
}

.page-team .tm-meta dt {
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#a39e98;
}

.page-team .tm-meta dd {
  margin:2px 0 0;
}

.page-team .tm-chips {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
  padding:0;
  list-style:none;
}

.page-team .tm-chips li {
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  border:1px solid #333;
  border-radius:99px;
  padding:5px 10px;
  color:#fff;
}


/* ==========================================================================
   Intro line under the lineup
   ========================================================================== */

.page-team .tm-intro {
  background:#fff;
  padding:56px 5vw 64px;
}

.page-team .tm-intro .ob-sub {
  margin:0;
}

.page-team .tm-lede {
  max-width:62ch;
  font-size:1.02rem;
  line-height:1.85;
  color:var(--mid);
  margin-top:22px;
}

.page-team .tm-lede strong {
  color:var(--ink);
}

@media (max-width:760px) {
  .page-team .abm-hero.ob {
    padding-bottom:24px;
  }

  .page-team .tm-sec {
    padding-bottom:20px;
  }

  .page-team .tm-grid {
    grid-template-columns:1fr;
  }

  .page-team .tm-card {
    border-right:0;
    border-bottom:1px solid #1f1f1f;
    padding-bottom:32px;
  }

  .page-team .tm-card:last-child {
    border-bottom:0;
  }

  .page-team .tm-over {
    left:18px;
    right:18px;
  }

  .page-team .tm-badge {
    left:18px;
  }

  .page-team .tm-body {
    padding:8px 18px 0;
  }

  .page-team .tm-intro {
    padding:44px 18px 52px;
  }
}
