/* ─ Card wrapper ─ */
.tg-team-card-8c5d0519 {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;           /* clips image into rounded corners */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* ─ Image container ─ */
.tg-team-img-8c5d0519 {
  background: #d4d4d4;       /* fallback while image loads */
  overflow: hidden;
  flex-shrink: 0;
}

.tg-team-img-8c5d0519 img.tg-team-img-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;      /* keeps faces visible — critical for portrait photos */
  display: block;
}

/* ─ Card body ─ */
.tg-team-body-8c5d0519 {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* ─ Name ─ */
.tg-team-name-8c5d0519 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}

/* ─ Role ─ */
.tg-team-role-8c5d0519 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─ Bio ─ */
.tg-team-bio-8c5d0519 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
}

/* ─ Hover lift (card-hover class handles transform + shadow) ─ */
.tg-team-card-8c5d0519.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tg-team-card-8c5d0519.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -6px rgba(0, 0, 0, 0.12);
}

/* ─ Image zoom on card hover ─ */
.tg-team-card-8c5d0519 img.img-zoom {
  transition: transform 0.25s ease;
}
.tg-team-card-8c5d0519:hover img.img-zoom {
  transform: scale(1.06);
}
