/**
 * ALP Nutrition Design-System: Blog (Archiv + Artikel)
 * Nur bestehende Tokens (tokens.css), keine neuen :root-Werte.
 * Scope-Praefixe: .blog-archive (Uebersicht), .bcard/.bgrid/.bpager (geteilt),
 * .bpost/.bpost-nav/.bpost-related (Artikel). Laedt via alp_assets()
 * auf is_home() / is_singular('post') / is_category() / is_tag().
 */

/* =========================================================
   1 · Archiv: kompakter Editorial-Kopf (links auf der Rail,
   kein Voll-Band mit Border; Grund = Body-Grund --bg)
   ========================================================= */
.blog-archive__head {
  padding: clamp(48px, 6vw, 80px) 0 clamp(16px, 2vw, 24px);
}
.blog-archive__head .eyebrow { margin-bottom: var(--s4); }
.blog-archive__head h1 {
  font-size: var(--fs-band-title);
  line-height: 1.06;
  letter-spacing: -0.022em;
  max-width: none;                     /* Rail-Regel: keine ch-Deckel */
}
.blog-archive__lead {
  margin-top: var(--s4);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: none;                     /* Rail-Regel: Lead laeuft die volle Schiene */
}

.blog-archive__list { padding: clamp(8px, 1vw, 16px) 0 var(--section-y); }

/* =========================================================
   2 · Karten-Grid: 3 / 2 / 1 Spalten, gleiche Luft wie das
   Produkt-Grid der Startseite (--s6 vertikal, --s5 horizontal)
   ========================================================= */
.bgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s6) var(--s5);
}

/* =========================================================
   3 · Beitragskarte (.bcard): weisse Karte, Bild oben,
   Chip + Serif-Titel + Excerpt + Meta. Ganze Karte klickbar
   (Stretched-Link), ruhiger Lift im Karten-Vokabular (pcard).
   ========================================================= */
.bcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-surface);
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.bcard:hover,
.bcard:focus-within { transform: translateY(-3px); box-shadow: var(--sh-card-hover); }

/* ---- Media: 16:10-Fenster; Foto zoomt sanft, Hairline haelt helle Fotos in Form ---- */
.bcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.bcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(22, 36, 63, .05);
  pointer-events: none;
}
.bcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.bcard:hover .bcard__img,
.bcard:focus-within .bcard__img { transform: scale(1.04); }

/* ---- Ohne Beitragsbild: gestaltetes Panel statt Grau.
   Lime-Wash-Verlauf, weisse Initial-Scheibe (NGC DIN Bold),
   Blatt-Wasserzeichen unten rechts (Marken-Ikonografie). ---- */
.bcard__panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--lime-wash) 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.bcard__panel::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 168px;
  height: 168px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A6C61C' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .5;
  transform: rotate(-10deg);
  pointer-events: none;
}
.bcard__initial {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--sh-card);
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--fs-h3-lg);
  line-height: 1;
  color: var(--ink);
  transition: transform var(--t-med) var(--ease-out);
}
.bcard:hover .bcard__initial,
.bcard:focus-within .bcard__initial { transform: translateY(-3px); }

/* ---- Body ---- */
.bcard__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
  flex: 1;
  padding: var(--s5);
}
.bcard__chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--lime-soft);
  color: var(--ink);
  font-size: var(--fs-nano);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
}
.bcard__title {
  margin: 0;
  font-size: var(--fs-h3);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: none;                     /* base.css h2 (18ch) neutralisieren */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.bcard__link { color: inherit; text-decoration: none; }
/* Stretched-Link: die ganze Karte ist das Ziel */
.bcard__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--r-surface);
}
.bcard__link:focus-visible { outline: none; box-shadow: none; }
.bcard__link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: -2px; }

.bcard__excerpt {
  margin: 0;
  font-size: var(--fs-meta);
  line-height: 1.55;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Meta unten gepinnt: Karten einer Reihe fluchten */
.bcard__meta {
  margin: var(--s1) 0 0;
  margin-top: auto;
  padding-top: var(--s3);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-micro);
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.bcard__metasep { color: var(--ink-subtle); }
.bcard__arrow {
  margin-left: auto;
  color: var(--ink);
  font-size: var(--fs-body);
  transition: transform var(--t-fast) var(--ease);
}
.bcard:hover .bcard__arrow,
.bcard:focus-within .bcard__arrow { transform: translateX(4px); }

/* =========================================================
   4 · Feature-Karte (neuester Beitrag, Seite 1): Querformat,
   Bild links / Copy rechts, grosszuegigere Typo
   ========================================================= */
.bcard--feature {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  margin-bottom: var(--s6);
}
.bcard--feature .bcard__media {
  aspect-ratio: auto;
  min-height: clamp(300px, 30vw, 420px);
}
.bcard--feature .bcard__img,
.bcard--feature .bcard__panel { position: absolute; inset: 0; }
.bcard--feature .bcard__initial { width: 104px; height: 104px; font-size: var(--fs-band-title); }
.bcard--feature .bcard__panel::after { width: 220px; height: 220px; right: -34px; bottom: -44px; }
.bcard--feature .bcard__body {
  justify-content: center;
  gap: var(--s4);
  padding: clamp(28px, 3.2vw, 48px);
}
.bcard--feature .bcard__title {
  font-size: var(--fs-h3-lg);
  line-height: 1.18;
  letter-spacing: -0.018em;
}
.bcard--feature .bcard__excerpt { font-size: var(--fs-body); -webkit-line-clamp: 3; }
.bcard--feature .bcard__meta { margin-top: var(--s2); }

/* =========================================================
   5 · Pagination (.bpager): Pill-Nummern, aktuelle Seite Navy
   ========================================================= */
.bpager { margin-top: clamp(40px, 5vw, 64px); }
.bpager .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
}
.bpager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-meta);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.bpager a.page-numbers:hover { border-color: var(--ink); transform: translateY(-1px); }
.bpager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.bpager .page-numbers.dots { border: none; background: none; color: var(--ink-subtle); }

/* WP-Hilfstexte (Nav-H2, Prev/Next-Labels) nur fuer Screenreader */
.blog-archive .screen-reader-text,
.bpost .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   6 · Archiv-Leerzustand: gestaltete Mitte statt nackter Zeile
   ========================================================= */
.blog-archive__empty {
  max-width: 520px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.blog-archive__empty-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: var(--r-pill);
  background: var(--lime-soft);
  color: var(--lime-deep);
  margin-bottom: var(--s4);
}
.blog-archive__empty-icon svg { width: 34px; height: 34px; }
.blog-archive__empty-title {
  font-size: var(--fs-h3-lg);
  line-height: 1.12;
  max-width: none;
  margin: 0 0 var(--s2);
}
.blog-archive__empty-text { color: var(--ink-muted); margin: 0 0 var(--s5); }

/* =========================================================
   7 · Artikel (.bpost): weisse Lesebuehne, zentrierter Kopf
   ========================================================= */
.bpost { background: var(--paper); --surface: var(--paper); }

.bpost__head {
  text-align: center;
  padding: clamp(48px, 6vw, 84px) 0 0;
}
.bpost__chip { margin-bottom: var(--s4); }
a.bpost__chip { transition: background var(--t-fast) var(--ease); }
a.bpost__chip:hover { background: var(--lime); }
.bpost__title {
  font-size: var(--fs-band-title);
  line-height: 1.08;
  letter-spacing: -0.022em;
  max-width: none;                     /* H1 laeuft die volle Rail (keine ch-Deckel) */
  margin: 0;
}
.bpost__meta {
  margin: var(--s4) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: var(--fs-meta);
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.bpost__metasep { color: var(--ink-subtle); }

/* ---- Beitragsbild: gerundeter Hero auf der 1200er-Rail (nur wenn vorhanden) ---- */
.bpost__hero { margin: clamp(32px, 4vw, 48px) 0 0; }
.bpost__hero-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--r-media);
  box-shadow: var(--sh-hair);
}
.bpost__hero-caption {
  margin-top: 10px;
  text-align: center;
  font-size: var(--fs-micro);
  color: var(--ink-muted);
}

.bpost__body { padding: clamp(36px, 4.5vw, 56px) 0 clamp(64px, 8vw, 104px); }

/* =========================================================
   8 · Lesespalte (.bpost__prose): ~740px Lesemass fuer
   Fliesstext (bewusst schmaler als die Rail; Artikelkoerper,
   keine Sektions-Headline)
   ========================================================= */
.bpost__prose {
  max-width: none;
  margin-inline: auto;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink-muted);
}
.bpost__prose > * + * { margin-top: var(--s4); }
.bpost__prose > :first-child { margin-top: 0; }
.bpost__prose p { margin: 0; }

/* Zwischentitel: Serif, klare Hierarchie, base.css-18ch-Deckel neutralisieren */
.bpost__prose h2 {
  margin-top: clamp(40px, 5vw, 56px);
  font-size: var(--fs-h3-lg);
  line-height: 1.2;
  color: var(--ink);
  max-width: none;
}
.bpost__prose h2 + * { margin-top: var(--s3); }
.bpost__prose h3 {
  margin-top: var(--s6);
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.25;
  color: var(--ink);
}
.bpost__prose h3 + * { margin-top: var(--s3); }
.bpost__prose h4 { margin-top: var(--s5); color: var(--ink); }

/* Links: Ink mit Lime-Deep-Unterstrich (Marken-Linkbild) */
.bpost__prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lime-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.bpost__prose a:hover { text-decoration-thickness: 3px; }

/* Listen: Lime-Marker, ruhige Abstaende */
.bpost__prose ul,
.bpost__prose ol { margin: var(--s4) 0 0; padding-left: 1.2em; }
.bpost__prose li { margin-top: var(--s2); }
.bpost__prose li::marker { color: var(--green-ok); }

/* Zitat: Navy-Anker im Ueber-uns-Vokabular (weisse Serif-Stimme,
   Lime-Anfuehrung), als Panel in der Lesespalte */
.bpost__prose blockquote {
  margin: var(--s7) 0;
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3vw, 48px);
  background: linear-gradient(160deg, var(--ink) 0%, #1C2E51 100%);
  border: none;
  border-radius: var(--r-surface);
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.45;
  color: #fff;
  text-wrap: balance;
}
.bpost__prose blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: var(--fs-band-title);
  line-height: .55;
  color: var(--lime);
  margin-bottom: var(--s3);
}
.bpost__prose blockquote p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.bpost__prose blockquote p + p { margin-top: var(--s3); }
.bpost__prose blockquote cite {
  display: block;
  margin-top: var(--s4);
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--fs-meta);
  color: rgba(255, 255, 255, .66);
}

/* Bilder + Einbettungen: gerundet, Captions ruhig */
.bpost__prose img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  margin: var(--s5) 0;
  border-radius: var(--r-media);
}
.bpost__prose figure { margin: var(--s5) 0; text-align: left; }
.bpost__prose figure img { margin: 0; }
.bpost__prose p:empty { display: none; }
.bpost__prose figure { margin: var(--s6) 0; }
.bpost__prose figcaption {
  margin-top: 10px;
  font-size: var(--fs-micro);
  color: var(--ink-muted);
  text-align: center;
}
.bpost__prose iframe { max-width: 100%; border-radius: var(--r-media); }
.bpost__prose .wp-block-embed__wrapper iframe { width: 100%; }

/* Breite Bilder duerfen auf grossen Screens aus der Spalte treten */
@media (min-width: 1120px) {
  .bpost__prose .alignwide { margin-inline: -140px; }
}

/* Tabellen: eigene Scroll-Zone statt Seiten-Overflow */
.bpost__prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: var(--fs-meta);
  line-height: 1.5;
}
.bpost__prose th,
.bpost__prose td {
  padding: 12px var(--s3);
  border: none;
  border-bottom: 1px solid var(--line);
  text-align: left;
  min-width: 120px;
}
.bpost__prose thead th {
  font-size: var(--fs-data);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1.5px solid var(--ink-subtle);
}
.bpost__prose .wp-block-table { overflow-x: auto; }

.bpost__prose hr {
  margin: var(--s7) 0;
  border: none;
  height: 1px;
  background: var(--line);
}
.bpost__prose pre {
  overflow-x: auto;
  padding: var(--s4);
  background: var(--bg-soft);
  border-radius: var(--r-chip);
  font-size: var(--fs-meta);
}

/* Mehrseitige Beitraege (wp_link_pages) */
.bpost__pages {
  margin-top: var(--s6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-meta);
  color: var(--ink-muted);
}
.bpost__pages .bpost__page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.bpost__pages a { text-decoration: none; }
/* aktuelle Seite: Zahl steht ohne Link direkt im nav -> Navy-Pille */
.bpost__pages > .bpost__page-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.bpost__pages a:hover .bpost__page-num { border-color: var(--ink); }

/* =========================================================
   9 · Vor/Zurueck-Karten + Ruecklink
   ========================================================= */
.bpost-nav {
  max-width: none;
  margin: clamp(48px, 6vw, 72px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.bpost-nav__card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: var(--s5);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  text-decoration: none;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease);
}
.bpost-nav__card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: var(--sh-card-hover);
}
.bpost-nav__card--next { text-align: right; align-items: flex-end; }
.bpost-nav__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-nano);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bpost-nav__glyph { transition: transform var(--t-fast) var(--ease); }
.bpost-nav__card--prev:hover .bpost-nav__glyph { transform: translateX(-4px); }
.bpost-nav__card--next:hover .bpost-nav__glyph { transform: translateX(4px); }
.bpost-nav__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.bpost__back {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}

/* =========================================================
   10 · Related (.bpost-related): auf dem kuehlen Body-Grund,
   Sektionskopf im sec-head-Vokabular, 3 bcards
   ========================================================= */
.bpost-related { padding: clamp(64px, 8vw, 104px) 0; }
.bpost-related__head { margin-bottom: var(--s7); }
.bpost-related__head .eyebrow { margin-bottom: var(--s3); }
.bpost-related__head h2 {
  font-size: var(--fs-h2);
  line-height: 1.1;
  max-width: none;
}

/* =========================================================
   11 · Kommentare (nur falls offen): ruhige Karten + Formularfelder
   ========================================================= */
.bpost .comments-area { max-width: none; margin: clamp(48px, 6vw, 72px) auto 0; }
.bpost .comments-title,
.bpost .comment-reply-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  max-width: none;
  margin: 0 0 var(--s5);
}
.bpost .comment-list { list-style: none; margin: 0 0 var(--s6); padding: 0; display: grid; gap: var(--s4); }
.bpost .comment-list .children { list-style: none; margin: var(--s4) 0 0; padding-left: var(--s5); display: grid; gap: var(--s4); }
.bpost .comment-body {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  padding: var(--s5);
  font-size: var(--fs-meta);
}
.bpost .comment-meta { margin-bottom: var(--s3); font-size: var(--fs-micro); color: var(--ink-muted); }
.bpost .comment-author .fn { font-style: normal; font-weight: 600; color: var(--ink); }
.bpost .comment-form { display: grid; gap: var(--s4); }
.bpost .comment-form label { display: block; margin-bottom: 6px; font-size: var(--fs-meta); font-weight: 600; color: var(--ink); }
.bpost .comment-form input[type="text"],
.bpost .comment-form input[type="email"],
.bpost .comment-form input[type="url"],
.bpost .comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-meta);
}
.bpost .comment-form input:focus-visible,
.bpost .comment-form textarea:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink);
}
.bpost .form-submit { margin: 0; }
.bpost .form-submit .submit {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 26px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--sans);
  font-size: var(--fs-meta);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--sh-lime);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.bpost .form-submit .submit:hover { background: var(--lime-deep); transform: translateY(-2px); }

/* =========================================================
   12 · Responsive: 1024 / 768 / 560
   ========================================================= */
@media (max-width: 1024px) {
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
  .bcard--feature .bcard__media { min-height: 260px; }
  .bcard--feature .bcard__title { font-size: var(--fs-h3); }
}

@media (max-width: 768px) {
  .bcard--feature { grid-template-columns: 1fr; }
  .bcard--feature .bcard__media { aspect-ratio: 16 / 9; min-height: 0; }
  .bcard--feature .bcard__body { padding: var(--s5); }
  .bpost__hero-img { max-height: 420px; }
  .bpost-nav { grid-template-columns: 1fr; }
  .bpost-nav__card--next { text-align: left; align-items: flex-start; }
}

@media (max-width: 560px) {
  .bgrid { grid-template-columns: 1fr; }
  .bpager .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; }
  .bpost__meta { flex-wrap: wrap; row-gap: 4px; }
  .bpost__prose blockquote { padding: var(--s5) var(--s5); }
}

/* =========================================================
   13 · Reduced Motion: Zustaende ohne Bewegung
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .bcard,
  .bcard__img,
  .bcard__initial,
  .bcard__arrow,
  .bpager .page-numbers,
  .bpost-nav__card,
  .bpost-nav__glyph,
  .bpost .form-submit .submit { transition: none; }
  .bcard:hover,
  .bcard:focus-within,
  .bpost-nav__card:hover,
  .bpager a.page-numbers:hover,
  .bpost .form-submit .submit:hover { transform: none; }
  .bcard:hover .bcard__img,
  .bcard:focus-within .bcard__img,
  .bcard:hover .bcard__initial,
  .bcard:focus-within .bcard__initial,
  .bcard:hover .bcard__arrow,
  .bcard:focus-within .bcard__arrow,
  .bpost-nav__card--prev:hover .bpost-nav__glyph,
  .bpost-nav__card--next:hover .bpost-nav__glyph { transform: none; }
}

/* =========================================================
   Alt-Content-Haertung (WPBakery-Aera): gilt fuer alle Artikel
   ========================================================= */
/* Spaltenreste neutralisieren: Text laeuft immer die volle Rail */
.bpost__prose .wpb_column,
.bpost__prose [class*="vc_col-"],
.bpost__prose .vc_row,
.bpost__prose .wpb_wrapper {
  width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Floats von Alt-Bildern aufloesen */
.bpost__prose img { float: none !important; }
/* Nackte URLs niemals ueberlaufen lassen */
.bpost__prose a { overflow-wrap: anywhere; }
/* Erster Absatz als Lead (groesser, dunkler) */
.bpost__prose > p:first-child {
  font-size: var(--fs-h4);
  line-height: 1.65;
  color: var(--ink);
}
/* Listen mit Lime-Markern */
.bpost__prose ul li::marker { color: var(--lime-deep); }
/* Quellen-Fussnoten (Absaetze, die der Port mit .bpost__source markiert) */
.bpost__prose .bpost__source {
  font-size: var(--fs-micro);
  color: var(--ink-subtle);
  border-left: 2px solid var(--lime-soft);
  padding-left: 14px;
  margin-top: var(--s5);
  overflow-wrap: anywhere;
}
/* Leere Link-/Linienfragmente aus Alt-Markup verstecken */
.bpost__prose a:empty,
.bpost__prose blockquote a:empty,
.bpost__prose hr:last-child { display: none; }
/* Aneinanderklebende br-Zeilen: Grundabstand sichern */
.bpost__prose p { margin-top: 0; }
.bpost__prose p + p { margin-top: var(--s4); }

/* Weisse Thumbnails (Freisteller/Logos) sitzen auf getoentem Grund statt weiss-auf-weiss */
.bcard__media { background: var(--bg-soft); }
