/* WH Team – scoped */
.wh-team-grid{
  display:grid;
  grid-template-columns:repeat(1,minmax(0,1fr));
  gap:24px;
}

@media (min-width: 640px){
  .wh-team-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1024px){
  .wh-team-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}

.wh-team-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;

  /* besserer Rand / mehr „Card“ */
  border:1px solid rgba(16,24,40,.08);
  box-shadow:0 14px 38px rgba(16,24,40,.10);

  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.wh-team-card:hover{
  transform:translateY(-3px);
  border-color:rgba(140,58,118,.18);
  box-shadow:0 20px 60px rgba(16,24,40,.14);
}

/* Der ganze Card-Link (Wrapper) */
.wh-team-card__link{
  display:block;

  /* Wichtig: damit Theme-Unterstreichungen nicht greifen */
  text-decoration:none !important;
  color:inherit;
}

/* Sicherheit: auch alle Links innerhalb der Cards nie unterstreichen */
.wh-team-card a{
  text-decoration:none !important;
}

.wh-team-card__media{
  aspect-ratio: 4 / 3;
  background:linear-gradient(135deg, rgba(140,58,118,.10), rgba(140,58,118,.02));
  display:flex;
  align-items:center;
  justify-content:center;
}

.wh-team-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.wh-team-card__body{
  padding:18px 18px 16px;
}

.wh-team-card__name{
  font-size:1.25rem;
  line-height:1.2;
  margin:0 0 8px;

  /* Name immer Vereinslila */
  color:#8C3A76;
}

.wh-team-card__position{
  margin:0 0 12px;
  color:#94A6BF;
}

.wh-team-card__contact{
  display:flex;
  flex-direction:column;   /* neu: immer untereinander */
  align-items:flex-start;  /* neu: links bündig */
  gap:6px;                 /* neu: kompakter */
  font-size:.95rem;
}


/* Kontaktlinks: immer Vereinslila (Theme-Blau überstimmen) */
.wh-team-card__contact a,
.wh-team-card__contact a:visited{
  color:#8C3A76 !important;
  text-decoration:none !important;
}

.wh-team-card__contact a:hover,
.wh-team-card__contact a:focus{
  color:#733061 !important;
  text-decoration:none !important;
}

/* Tastatur-Fokus sichtbar */
.wh-team-card__link:focus-visible{
  outline:2px solid rgba(140,58,118,.40);
  outline-offset:4px;
  border-radius:18px;
}

/* Single Team Member – modern (scoped) */
.wh-team-single__wrap{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
}

.wh-team-single__hero{
  padding:44px 0 28px;
}

.wh-team-single__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:22px;
  align-items:center;
}

@media (min-width: 900px){
  .wh-team-single__grid{
    grid-template-columns: 420px 1fr;
    gap:32px;
  }
}

.wh-team-single__media{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(16,24,40,.08);
  box-shadow:0 18px 60px rgba(16,24,40,.12);
  background:#fff;
}

.wh-team-single__img{
  width:100%;
  height:auto;
  display:block;
}

.wh-team-single__img--placeholder{
  aspect-ratio: 4 / 3;
  background:linear-gradient(135deg, rgba(140,58,118,.12), rgba(140,58,118,.02));
}

.wh-team-single__kicker{
  margin:0 0 10px;
  font-size:.95rem;
}

.wh-team-single__kicker a{
  color:#8C3A76 !important;
  text-decoration:none !important;
}

.wh-team-single__kicker a:hover{
  color:#733061 !important;
}

.wh-team-single__title{
  margin:0 0 10px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height:1.1;
  color:#1f2937;
}

.wh-team-single__position{
  margin:0 0 16px;
  color:#94A6BF;
  font-size:1.05rem;
}

.wh-team-single__contact{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
}

.wh-team-single__contact-link{
  color:#8C3A76 !important;
  text-decoration:none !important;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(140,58,118,.22);
  background:rgba(140,58,118,.06);
}

.wh-team-single__contact-link:hover{
  color:#733061 !important;
  border-color:rgba(140,58,118,.35);
  background:rgba(140,58,118,.09);
}

.wh-team-single__body{
  padding:12px 0 60px;
}

.wh-team-single__card{
  background:#fff;
  border-radius:22px;
  border:1px solid rgba(16,24,40,.08);
  box-shadow:0 18px 60px rgba(16,24,40,.10);
  overflow:hidden; /* wichtig für Header-Balken */
}

/* Header-Balken wie in single-hund.php (Galerie-Optik) */
.wh-team-single__h2{
  margin:0;
  padding:14px 18px;
  font-size:1.05rem;
  letter-spacing:.2px;
  color:#8C3A76;

  background: linear-gradient(180deg, rgba(140,58,118,.12), rgba(140,58,118,.03));
  border-bottom:1px solid rgba(16,24,40,.08);
}

/* Body-Spacing bleibt clean */
.wh-team-single__bio{
  padding:16px 18px 18px;
  color:rgba(0,0,0,.78);
}

.wh-team-single__bio{
  color:rgba(0,0,0,.78);
}

.wh-team-single__bio a{
  color:#8C3A76 !important;
  text-decoration:underline;
}
