/* ===========================================================================
   Notfallpraxis — Pfad (Fassung 7.4, Bauvertrag §2.2, VORGABE-global §9, l15)

   Ab 600 die ganze Kette: 14/20, Glieder Weiss 80 % unterstrichen, Trenner
   chevron-right 14 Weiss 60 %, letztes Glied Semi Bold Weiss ohne Strich
   (aria-current). ≤ 599 nur „‹ Elternseite“: Chevron links 16, 14/20
   unterstrichen, Tippfläche 44 (V11). Auf Hell (falls je dort) Slate.
   =========================================================================== */

body.hbl-npz .npz-pfad { margin: 0; font-size: 14px; line-height: 20px; color: var(--white); }
body.hbl-npz .npz-pfad-liste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.hbl-npz .npz-pfad-liste li { display: inline-flex; align-items: center; margin: 0; }
body.hbl-npz .npz-pfad-liste li + li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin: 0 8px;
  background: color-mix(in srgb, currentColor 60%, transparent);
  -webkit-mask: var(--npz-i-chevron-rechts) center / 14px 14px no-repeat;
  mask: var(--npz-i-chevron-rechts) center / 14px 14px no-repeat;
}
body.hbl-npz .npz-pfad a {
  color: color-mix(in srgb, currentColor 80%, transparent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
/* Vorfahren Weiss 80 %. Der Selektor braucht (0,4,2): grundlagen.css färbt jeden Link in
   :is(p, li) auf der Bühne/im Titelband Weiss 100 % mit (0,3,3) (QA v-hno-2). Hover bleibt
   Taupe (grundlagen.css, 0,4,3). */
body.hbl-npz .npz-pfad .npz-pfad-liste a:not(.wp-block-button__link) {
  position: relative;
  color: color-mix(in srgb, var(--white) 80%, transparent);
}
/* Trefferfläche 44 hoch ohne Optikänderung (QA responsive-11): eine unsichtbare Fläche
   12 über und unter dem 20er Glied; Zeile, Strich und Fokusring bleiben, wie sie sind. */
body.hbl-npz .npz-pfad .npz-pfad-liste a:not(.wp-block-button__link)::after {
  content: "";
  position: absolute;
  inset: -12px 0;
}
body.hbl-npz .npz-pfad a:hover { color: var(--taupe); }
body.hbl-npz .npz-pfad [aria-current="page"] { font-weight: 600; color: var(--white); }
body.hbl-npz .npz-pfad-zurueck { display: none; }

@media (max-width: 599px) {
  body.hbl-npz .npz-pfad-liste { display: none; }
  body.hbl-npz .npz-pfad-zurueck {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--white) !important;
  }
  body.hbl-npz .npz-pfad-zurueck::before {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: var(--npz-i-chevron-links) center / 16px 16px no-repeat;
    mask: var(--npz-i-chevron-links) center / 16px 16px no-repeat;
  }
}
