/* Abschnitt "Unser Ärzteteam" (Seite 1012) – ergänzt 2026-09-21.
   Greift nur hinter dem Anker <a name="1012">, alle anderen Abschnitte bleiben unberührt. */

/* Kopf: wie die weißen Abschnitte (dünne Linie mit Spitze) statt grauem Streifenkasten */
body .container article a[name="1012"] ~ header {
  background: url(img/p_header_gr.png) no-repeat;
}
body .container article a[name="1012"] ~ header h1 {
  color: #7c7c7b;
}
body .container article a[name="1012"] ~ header h1::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 0 24px -6px 0;
  background: url(img/icon_team.png) no-repeat center / 40px 40px;
}

/* Luft zwischen Kopf und Fotos */
body .container article a[name="1012"] ~ section .wp-block-columns {
  margin-top: 44px;
}
body .container article a[name="1012"] ~ section .wp-block-image {
  margin-bottom: 18px;
}

/* Namen: Titel klein darüber, Name groß; Aufklappen dezent angezeigt */
body .container article a[name="1012"] ~ section summary {
  display: block;
  list-style: none;
  cursor: pointer;
  font-family: "Dosis", sans-serif;
  line-height: 1.3;
}
body .container article a[name="1012"] ~ section summary::-webkit-details-marker {
  display: none;
}
body .container article a[name="1012"] ~ section summary strong:first-child {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7c7c7b;
}
body .container article a[name="1012"] ~ section summary strong:last-child {
  font-size: 22px;
  font-weight: 600;
  color: #3c3c3b;
}
body .container article a[name="1012"] ~ section summary::after {
  content: "Werdegang +";
  display: block;
  margin-top: 10px;
  font: 600 12px/1 "Dosis", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5f7a14;
}
body .container article a[name="1012"] ~ section details[open] > summary::after {
  content: "Werdegang –";
}
body .container article a[name="1012"] ~ section summary:focus-visible {
  outline: 2px solid #5f7a14;
  outline-offset: 4px;
}

/* Aufgeklappter Werdegang: ruhige, gut lesbare Spalte */
body .container article a[name="1012"] ~ section details[open] > summary {
  margin-bottom: 18px;
}
body .container article a[name="1012"] ~ section details > p {
  max-width: 26em;
  margin: 0 auto 8px;
  color: #646363;
  line-height: 1.6;
}

/* Leere Galerie samt Trennpunkten ausblenden (erscheint wieder, sobald Bilder drin sind) */
body .container article a[name="1012"] ~ section figure.wp-block-gallery:empty,
body .container article a[name="1012"] ~ section hr.is-style-dots:has(+ figure.wp-block-gallery:empty) {
  display: none;
}

/* Fotos: dezent abgerundete Ecken (nur Darstellung, Bilddateien unverändert) */
body .container article a[name="1012"] ~ section .wp-block-image img {
  border-radius: 10px;
}

/* Foto ist ebenfalls klickbar (öffnet den Werdegang, siehe team.js) */
body .container article a[name="1012"] ~ section .wp-block-image img {
  cursor: pointer;
}
