/* ─ Card wrapper ─ */
.tg-team-card-6f4bceee {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  background: #FDFBF7;
}

/* ─ Image container ─ */
.tg-team-img-wrap-6f4bceee {
  width: 100%;
  overflow: hidden;
}

.tg-team-img-6f4bceee {
  background: #d4d4d4;
  overflow: hidden;
  width: 100%;
}

.tg-team-img-6f4bceee img.tg-team-img-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position is now controlled via widget settings */
  display: block;
}

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

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

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

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

/* ─ Fact Tiles Grid ─ */
.tg-team-facts-grid-6f4bceee {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  margin-top: auto; /* Pushes to bottom of card */
}

/* ─ Fact Tile (Glass Effect) ─ */
.tg-team-fact-6f4bceee {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: inherit; /* inherit from body alignment */
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.tg-team-fact-title-6f4bceee {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  display: block;
}

.tg-team-fact-desc-6f4bceee {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1.4;
  display: block;
}

/* ─ Hover lift (card-hover class handles transform + shadow) ─ */
.tg-team-card-6f4bceee.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tg-team-card-6f4bceee.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-6f4bceee img.img-zoom {
  transition: transform 0.25s ease;
}
.tg-team-card-6f4bceee:hover img.img-zoom {
  transform: scale(1.06);
}
