.team-grid { margin-top: var(--space-lg); }
.team-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.team-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.team-card__body { padding: var(--space-md) var(--space-md) var(--space-lg); }
.team-card__body h3 { margin-bottom: 2px; }
.team-card__functie {
  font-size: 14px;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.team-card__body p:not(.team-card__functie) { font-size: 15px; color: var(--color-text-muted); }
@media (min-width: 640px) {
  .team-grid.slider { display: grid; grid-template-columns: repeat(2, 1fr); overflow-x: visible; max-width: 800px; }
  .team-grid.slider > * { flex: unset; }
}
@media (min-width: 920px) {
  .team-grid.slider { grid-template-columns: repeat(3, 1fr); max-width: none; }
}

.team-sfeer img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; max-height: 520px; }

.vacature-blok {
  background: var(--color-gold-wash);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .vacature-blok { grid-template-columns: 1fr auto; align-items: center; padding: var(--space-lg) var(--space-xl); }
}

/* Eén teamlid: foto en tekst naast elkaar */
.team-grid--solo .team-card { max-width: 980px; }
.team-card__functie { font-family: var(--font-heading); font-size: 13px; letter-spacing: 0.1em; line-height: 1.6; }
@media (min-width: 768px) {
  .team-grid--solo .team-card { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; }
  .team-grid--solo .team-card__body { padding: var(--space-xl); }
  .team-grid--solo .team-card__body h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: var(--space-sm); }
  .team-grid--solo .team-card__body p:not(.team-card__functie) { font-size: 17px; }
}

/* Team members without a photo yet: compact text cards below the main card */
.team-tekst {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  max-width: 980px;
}
.team-tekst:empty { display: none; }
.team-card--tekst { border-left: 3px solid var(--color-gold); }
.team-card--tekst .team-card__body { padding: var(--space-lg); }
@media (min-width: 768px) {
  .team-tekst { grid-template-columns: repeat(2, 1fr); }
}

/* multi-paragraph bios */
.team-card__body p:not(.team-card__functie) + p { margin-top: 0.8em; }
