/* =====================================================================
   RAD.SPORT.SZENE – Beitragsdesign 2027 („Magazin“)
   Datei: rsz-article.css  ·  Version 0.9 (Vorschau, 13.11.2026)
   Gilt nur für Einzelbeiträge (.single-post). Wird NACH Theme-CSS und
   CSS Hero geladen. Notbremse: Datei umbenennen bzw. Enqueue entfernen.
   Schriften im Live-Betrieb lokal hosten (keine Google-Server, DSGVO).
   Layout-Idee: Lesespalte 720 px, Medium Rectangle rechts im Textfluss.
   ===================================================================== */

:root {
  --rsz-ink: #15171a;        /* Überschriften */
  --rsz-text: #2b2e33;       /* Fließtext */
  --rsz-muted: #6c717a;      /* Meta, Bildnachweise */
  --rsz-line: #e4e2dd;       /* Linien */
  --rsz-tint: #f5f4f1;       /* Boxen */
  --rsz-red: #db1313;        /* Markenrot (wie Kalender) */
  --rsz-paper: #ffffff;
  --rsz-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --rsz-ui: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --rsz-body: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --rsz-col: 720px;
  --rsz-rail: 300px;
}

/* ---------- 1. Kopf: Titel unter das Bild statt darüber ---------- */
.single-post .cactus-top-style-post.style-2 .style-post-content { height: auto !important; background: var(--rsz-paper); }
.single-post .cactus-top-style-post.style-2 img.featured {
  /* Theme: Bild über volle Fensterbreite, Menü liegt oben drüber. Höhe begrenzen statt 1:1 (bis 1.170 px). */
  display: block; width: 100%; height: clamp(360px, 52vw, 760px); object-fit: cover; object-position: center 62%;
}
.single-post .cactus-top-style-post.style-2 .thumb-gradient { display: none; }
.single-post .cactus-top-style-post.style-2 .content-abs-post {
  position: static !important; padding: 36px 0 8px; margin: 0 auto; background: none;
}
.single-post .cactus-top-style-post .cactus-post-title.entry-title {
  font-family: var(--rsz-display) !important; font-weight: 700; color: var(--rsz-ink) !important;
  font-size: clamp(34px, 4.6vw, 58px) !important; line-height: 1.02 !important; letter-spacing: -0.005em;
  text-transform: none; text-wrap: balance; margin: 10px 0 18px; max-width: 20ch;
}
.single-post .content-abs-post .cactus-note-cat { background: none !important; padding: 0 !important; }
.single-post .content-abs-post .cactus-note-cat ~ .cactus-note-cat { display: none !important; } /* nur Hauptrubrik */
.single-post .content-abs-post .cactus-note-cat a {
  font-family: var(--rsz-ui); font-weight: 600; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; background: none !important; color: var(--rsz-red) !important; padding: 0;
}
.single-post .content-abs-post .cactus-info,
.single-post .content-abs-post .vcard {
  font-family: var(--rsz-ui); font-size: 14px; color: var(--rsz-muted) !important;
}

/* Kopf-Varianten 1 und 3 des Themes (Titel über/unter dem Bild, Brotkrumen): gleiche Optik */
.single-post .cactus-top-style-post .cactus-breadcrumb,
.single-post .heading-post {
  max-width: var(--rsz-col); margin-left: auto !important; margin-right: auto !important;
  padding-left: 0; padding-right: 0; float: none;
}
.single-post .cactus-top-style-post .cactus-breadcrumb { font-family: var(--rsz-ui); font-size: 13px; padding-top: 18px; }
.single-post .heading-post { padding-top: 24px; padding-bottom: 6px; }
.single-post .heading-post .entry-title {
  font-family: var(--rsz-display) !important; font-weight: 700 !important; color: var(--rsz-ink) !important;
  font-size: clamp(34px, 4.6vw, 58px) !important; line-height: 1.02 !important; letter-spacing: -0.005em !important;
  text-transform: none !important; text-wrap: balance; margin: 8px 0 22px !important;
}
.single-post .heading-post .posted-on { font-family: var(--rsz-ui); font-size: 14px; color: var(--rsz-muted); }
.single-post .heading-post .posted-on * { font-family: inherit !important; }
.single-post .heading-post .cactus-note-cat { background: none !important; padding: 0 !important; margin-right: 10px; }
.single-post .heading-post .cactus-note-cat a {
  font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  background: none !important; color: var(--rsz-red) !important; padding: 0 !important;
}
.single-post .heading-post .cactus-note-cat ~ .cactus-note-cat { display: none !important; }
.single-post .cactus-top-style-post.style-3 img.featured {
  display: block; width: 100%; height: auto; max-height: 680px; object-fit: cover;
}

/* ---------- 2. Lesespalte + Medium Rectangle im Textfluss ---------- */
.single-post .body-content {
  display: block; clear: both; /* nicht neben die Teilen-Leiste des Themes rutschen */
  max-width: var(--rsz-col);
  margin: 0 auto;
  font-family: var(--rsz-body); font-size: 19px; line-height: 1.68; color: var(--rsz-text);
  font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased;
  hyphens: auto; -webkit-hyphens: auto;
}
.single-post .cactus-top-style-post.style-2 .content-abs-post { max-width: var(--rsz-col) !important; }
/* Medium Rectangle im Text (Advanced Ads, Wrapper-Klasse .rsz-mr, nach Absatz 2–3):
   rechts im Textfluss, ab 1100 px 120 px in den Seitenrand gezogen */
.single-post .body-content .rsz-mr {
  float: right; width: 300px; margin: 6px 0 18px 28px; position: relative; z-index: 1;
}
.single-post .body-content .rsz-mr small {
  display: block; font-family: var(--rsz-ui); font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rsz-muted); margin-bottom: 4px;
}
@media (min-width: 1100px) { .single-post .body-content .rsz-mr { margin-right: -120px; } }
@media (max-width: 700px) {
  .single-post .body-content .rsz-mr { float: none; margin: 28px auto; }
}
/* breite Elemente, Überschriften und Zitate nicht neben die Anzeige quetschen */
.single-post .body-content > .alignwide, .single-post .body-content > .alignfull,
.single-post .body-content > .wp-block-gallery, .single-post .body-content > .wp-block-table,
.single-post .body-content > .wp-block-media-text, .single-post .body-content > blockquote { clear: both; }

/* ---------- 3. Altlasten neutralisieren (Inline-Stile aus 2011–2018) ---------- */
.single-post .body-content [style*="color: #000000"],
.single-post .body-content [style*="color:#000000"],
.single-post .body-content [style*="color: #000"] { color: inherit !important; }
.single-post .body-content p[style*="font-size"],
.single-post .body-content span[style*="font-size"] { font-size: inherit !important; line-height: inherit !important; }
.single-post .body-content [style*="justify"] { text-align: left !important; }
/* Editor-Schriftgrößen vereinheitlichen (Zitate haben eigene Regeln) */
.single-post .body-content .has-medium-font-size:not(blockquote *),
.single-post .body-content .has-large-font-size:not(blockquote *) { font-size: inherit !important; }
.single-post .body-content .has-small-font-size { font-size: 15px !important; line-height: 1.5; }
.single-post .body-content .wp-block-spacer { height: 12px !important; }
.single-post .body-content .wp-block-spacer + .wp-block-spacer { display: none; }

/* ---------- 4. Fließtext ---------- */
.single-post .body-content p {
  font: inherit; color: inherit; margin: 0 0 1.15em; padding: 0; overflow-wrap: break-word;
}
.single-post .body-content strong, .single-post .body-content b { font-weight: 600; color: var(--rsz-ink); }
.single-post .body-content a {
  color: var(--rsz-ink); text-decoration: underline; text-decoration-color: var(--rsz-red);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.single-post .body-content a:hover { color: var(--rsz-red); }
.single-post .body-content a:focus-visible { outline: 2px solid var(--rsz-red); outline-offset: 2px; }
.single-post .body-content a:has(> img) { text-decoration: none; }

/* Vorspann: erster Absatz (bisher fett) – Filter setzt .rsz-lead,
   ohne Filter greift :first-of-type als Rückfall nur bei Fettdruck */
.single-post .body-content p.rsz-lead,
.single-post .body-content > p:first-of-type:has(> strong:only-child),
.single-post .body-content > p:first-of-type:has(> b:only-child) {
  font-size: 22px; line-height: 1.55; color: var(--rsz-ink); margin-bottom: 1.4em;
}
.single-post .body-content p.rsz-lead strong,
.single-post .body-content p.rsz-lead b,
.single-post .body-content > p:first-of-type > strong:only-child,
.single-post .body-content > p:first-of-type > b:only-child { font-weight: 400; color: inherit; }
.single-post .body-content .rsz-dateline {
  font-family: var(--rsz-ui); font-weight: 600; font-size: .68em; letter-spacing: .1em;
  text-transform: uppercase; color: var(--rsz-red); margin-right: .35em;
}

/* ---------- 5. Überschriften ---------- */
.single-post .body-content h2,
.single-post .body-content p.rsz-subhead {
  font-family: var(--rsz-display); font-weight: 700; font-size: 34px; line-height: 1.08;
  color: var(--rsz-ink); text-wrap: balance; margin: 1.6em 0 .55em; padding-top: 18px; position: relative;
}
.single-post .body-content h2::before,
.single-post .body-content p.rsz-subhead::before {
  content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px; background: var(--rsz-red);
}
.single-post .body-content p.rsz-subhead b,
.single-post .body-content p.rsz-subhead strong { font-weight: inherit; color: inherit; }
.single-post .body-content h3 {
  font-family: var(--rsz-display); font-weight: 700; font-size: 27px; line-height: 1.12;
  color: var(--rsz-ink); text-wrap: balance; margin: 1.5em 0 .45em;
}
.single-post .body-content h4, .single-post .body-content h5 {
  font-family: var(--rsz-ui); font-weight: 600; font-size: 15px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--rsz-ink); margin: 1.6em 0 .5em;
}

/* ---------- 6. Bilder, Galerien, Bildunterschriften ---------- */
.single-post .body-content img { max-width: 100%; height: auto; display: block; }
.single-post .body-content p:has(> a > img), .single-post .body-content p:has(> img),
.single-post .body-content figure { margin: 2em 0; }
.single-post .body-content figure img { width: 100%; }
.single-post .body-content figcaption,
.single-post .body-content .wp-caption-text,
.single-post .body-content .wp-element-caption {
  font-family: var(--rsz-ui); font-size: 14px; line-height: 1.45; color: var(--rsz-muted);
  text-align: left; margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--rsz-red);
}
.single-post .body-content .rsz-credit { color: var(--rsz-muted); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.single-post .body-content .wp-block-gallery { gap: 6px !important; margin: 2em 0; }
.single-post .body-content .wp-block-gallery figcaption.blocks-gallery-caption { flex-basis: 100%; }
/* Bildtexte in Galerien: unter das Bild statt grauer Verlauf über dem Foto */
.single-post .body-content .wp-block-gallery.has-nested-images { align-items: flex-start; row-gap: 22px !important; column-gap: 16px !important; --wp--style--unstable-gallery-gap: 16px; }
.single-post .body-content .wp-block-gallery.has-nested-images figure.wp-block-image > a,
.single-post .body-content .wp-block-gallery.has-nested-images figure.wp-block-image img { flex: none !important; margin: 0 !important; display: block; width: 100%; }
.single-post .body-content .wp-block-gallery.has-nested-images figure.wp-block-image { flex-direction: column !important; justify-content: flex-start !important; margin: 0; }
.single-post .body-content .wp-block-gallery.has-nested-images:has(figcaption) figure.wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; height: auto !important; }
.single-post .body-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  position: static !important; background: none !important; color: var(--rsz-muted) !important;
  max-height: none !important; overflow: visible !important; text-shadow: none !important;
  text-align: left !important; font-family: var(--rsz-ui); font-size: 14px !important; line-height: 1.45 !important;
  padding: 8px 0 0 !important; margin: 0 !important; border: 0 !important; width: 100%;
  -webkit-mask-image: none !important; mask-image: none !important; backdrop-filter: none !important;
}
.single-post .body-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before { display: none !important; }
.single-post .body-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption a { color: inherit; }
/* Handy: Galerie mit Bildtexten seitlich wischen (ohne Script) */
@media (max-width: 600px) {
  .single-post .body-content .wp-block-gallery.has-nested-images:has(figcaption) {
    flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px !important;
    margin-right: -20px; padding-right: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .single-post .body-content .wp-block-gallery.has-nested-images:has(figcaption) > figure.wp-block-image {
    flex: 0 0 82% !important; width: 82% !important; max-width: none !important; scroll-snap-align: start;
  }
}
.single-post .body-content .wp-block-media-text { gap: 28px; margin: 2em 0; }
.single-post .body-content .wp-block-media-text__content { padding: 0 !important; font-size: 17px; }
@media (max-width: 600px) { .single-post .body-content .wp-block-media-text { display: block; } }

/* Breit (bis 1.080 px, Inhaltsbox) und Volle Breite (ganzes Fenster) – im Editor unter Ausrichtung */
#body-wrap { overflow-x: clip; }
@media (min-width: 800px) {
  .single-post .body-content > .alignwide {
    width: min(1080px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%);
  }
}
.single-post .body-content > .alignfull {
  width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%);
}
.single-post .body-content > .alignfull img, .single-post .body-content > .alignwide img { width: 100%; }
.single-post .body-content > .alignfull figcaption { max-width: var(--rsz-col); margin-left: auto; margin-right: auto; padding-left: 12px; }
@media (max-width: 760px) { .single-post .body-content > .alignfull figcaption { margin-left: 20px; margin-right: 20px; } }

/* ---------- 7. Zitate ---------- */
.single-post .body-content blockquote,
.single-post .body-content .wp-block-quote {
  border: 0; margin: 2.2em 0; padding: 4px 0 0 56px; min-height: 64px; position: relative; background: none;
  font-family: var(--rsz-body); font-style: italic; font-weight: 400;
  font-size: 22px; line-height: 1.5; color: var(--rsz-ink); text-align: left;
}
.single-post .body-content blockquote::before {
  content: "„"; position: absolute; left: 0; top: -34px;
  font-family: var(--rsz-display); font-style: normal; font-weight: 700;
  font-size: 88px; line-height: 1; color: var(--rsz-red);
}
.single-post .body-content blockquote p {
  font: inherit !important; color: inherit !important; text-align: left !important; margin: 0 0 .5em; padding: 0;
}
.single-post .body-content blockquote em { font-style: inherit; }
.single-post .body-content blockquote cite,
.single-post .body-content blockquote + p.has-cyan-bluish-gray-color {
  display: block; font-family: var(--rsz-ui); font-style: normal; font-size: 14px;
  letter-spacing: .04em; color: var(--rsz-muted) !important; text-align: left !important;
  margin: -1.6em 0 2.2em 56px;
}
.single-post .body-content blockquote cite::before,
.single-post .body-content blockquote + p.has-cyan-bluish-gray-color::before { content: "— "; color: var(--rsz-red); }
.single-post .body-content blockquote cite { margin: 12px 0 0; }

/* ---------- 8. Boxen ---------- */
.single-post .body-content p.has-background,
.single-post .body-content .wp-block-group.has-background,
.single-post .body-content .rsz-box {
  background: var(--rsz-tint) !important; border-left: 4px solid var(--rsz-red);
  padding: 20px 24px !important; margin: 2em 0;
  font-family: var(--rsz-ui); font-size: 17px; line-height: 1.55; color: var(--rsz-text);
}
.single-post .body-content .rsz-box h4 { margin-top: 0; color: var(--rsz-red); }
.single-post .body-content .rsz-box ol, .single-post .body-content .rsz-box ul { margin-bottom: 0; }
.single-post .body-content hr, .single-post .body-content .wp-block-separator {
  border: 0; height: 1px; background: var(--rsz-line); margin: 2.4em 0; opacity: 1;
}

/* ---------- 9. Listen & Tabellen ---------- */
.single-post .body-content ul, .single-post .body-content ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.single-post .body-content li { font-size: inherit; line-height: inherit; margin-bottom: .35em; }
.single-post .body-content li::marker { color: var(--rsz-red); font-family: var(--rsz-ui); font-weight: 600; }
.single-post .body-content .wp-block-table, .single-post .body-content table { margin: 2em 0; }
.single-post .body-content .wp-block-table { overflow-x: auto; }
.single-post .body-content table {
  width: 100%; border-collapse: collapse; hyphens: manual; -webkit-hyphens: manual;
  font-family: var(--rsz-ui); font-size: 15px; font-variant-numeric: tabular-nums;
}
.single-post .body-content th, .single-post .body-content td {
  padding: 9px 12px; border: 0; border-bottom: 1px solid var(--rsz-line); text-align: left; vertical-align: top;
}
.single-post .body-content thead th, .single-post .body-content tr:first-child th {
  font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--rsz-muted); border-bottom: 2px solid var(--rsz-ink);
}
.single-post .body-content td.rsz-num, .single-post .body-content th.rsz-num { text-align: right; white-space: nowrap; }
.single-post .body-content table.has-fixed-layout { table-layout: auto; }

@media (max-width: 600px) {
  .single-post .body-content table { display: block; overflow-x: auto; font-size: 14px; } /* alte Tabellen ohne Block-Hülle */
  .single-post .body-content th, .single-post .body-content td { padding: 8px 8px; }
  .single-post .body-content .wp-block-table table { display: table; }
  /* ab 3 Spalten: Mindestbreite, seitlich wischen statt Buchstabensalat */
  .single-post .body-content table:has(tr > :nth-child(3)) { min-width: 540px; }
}

/* ---------- 10. Videos & Einbettungen ---------- */
.single-post .body-content iframe { max-width: 100%; }
.single-post .body-content .wp-block-embed.is-type-video,
.single-post .body-content .wp-block-embed.is-type-video .wp-block-embed__wrapper { width: 100% !important; display: block; }
.single-post .body-content iframe[src*="youtube"], .single-post .body-content iframe[src*="vimeo"] {
  width: 100% !important; height: auto !important; aspect-ratio: 16 / 9;
}

/* ---------- 11. Empfohlene Beiträge (YARPP) ---------- */
.single-post .body-content .yarpp { border-top: 2px solid var(--rsz-ink); margin-top: 3em; padding-top: 14px; }
.single-post .body-content .yarpp h4 { margin-top: 0; }
.single-post .body-content .yarpp ol { list-style: none; padding: 0; font-family: var(--rsz-display); font-size: 22px; line-height: 1.2; }
.single-post .body-content .yarpp li { border-bottom: 1px solid var(--rsz-line); padding: 10px 0; margin: 0; }
.single-post .body-content .yarpp a { text-decoration: none; }

/* ---------- 12. Handy ---------- */
@media (max-width: 600px) {
  .single-post .body-content { font-size: 18px; line-height: 1.62; }
  .single-post .body-content p.rsz-lead,
  .single-post .body-content > p:first-of-type:has(> strong:only-child) { font-size: 20px; }
  .single-post .body-content h2, .single-post .body-content p.rsz-subhead { font-size: 29px; }
  .single-post .body-content blockquote { font-size: 19px; padding-left: 40px; }
  .single-post .body-content blockquote::before { font-size: 68px; top: -26px; }
  .single-post .body-content blockquote + p.has-cyan-bluish-gray-color { margin-left: 40px; }
}

/* =====================================================================
   13. Abstands-System (8-px-Raster). Abstände ergeben sich aus der Art
   des Elements – Spacer-Blöcke der Redaktion werden ignoriert.
   ===================================================================== */
.single-post .body-content .wp-block-spacer { display: none !important; }
.single-post .body-content > p { margin: 0 0 22px; }
.single-post .body-content > h2 { margin: 64px 0 14px; }
.single-post .body-content > h3 { margin: 44px 0 10px; }
.single-post .body-content > h4 { margin: 32px 0 8px; }
.single-post .body-content > h2:first-child, .single-post .body-content > h3:first-child { margin-top: 0; }
/* Überschrift direkt nach Überschrift: enger */
.single-post .body-content > :is(h2, h3) + :is(h3, h4) { margin-top: 14px; }

.single-post .body-content > :is(figure, .wp-block-gallery, .wp-block-embed, .wp-block-video, .wp-block-media-text, p:has(> a > img), p:has(> img)) { margin-top: 40px; margin-bottom: 40px; }
.single-post .body-content > .alignwide { margin-top: 56px; margin-bottom: 56px; }
.single-post .body-content > .alignfull { margin-top: 72px; margin-bottom: 72px; }
.single-post .body-content > :is(blockquote, .wp-block-quote, .wp-block-table, .rsz-facts, p.has-background, .wp-block-group.has-background) { margin-top: 48px; margin-bottom: 48px; }

/* Bildstrecke: Bildblöcke direkt hintereinander rücken auf 12 px zusammen (wie in einer Galerie) */
.single-post .body-content > :is(figure.wp-block-image, .wp-block-gallery, .wp-block-video):has(+ :is(figure.wp-block-image, .wp-block-gallery, .wp-block-video)),
.single-post .body-content > :is(figure.wp-block-image, .wp-block-gallery, .wp-block-video):has(+ .wp-block-spacer + :is(figure.wp-block-image, .wp-block-gallery, .wp-block-video)) { margin-bottom: 0; }
.single-post .body-content > :is(figure.wp-block-image, .wp-block-gallery, .wp-block-video) + :is(figure.wp-block-image, .wp-block-gallery, .wp-block-video),
.single-post .body-content > :is(figure.wp-block-image, .wp-block-gallery, .wp-block-video) + .wp-block-spacer + :is(figure.wp-block-image, .wp-block-gallery, .wp-block-video) { margin-top: 12px; }
/* in einer Bildstrecke steht der Bildtext erst unter dem letzten Bild sauber – Abstand bleibt gleich */
.single-post .body-content > figure.wp-block-image:has(+ :is(figure.wp-block-image, .wp-block-gallery)) figcaption { margin-bottom: 0; }

/* ---------- 14. Block-Stile (Seitenleiste „Stile“): einheitliche Formate ---------- */
.single-post .body-content .is-style-rsz-32 img,
.single-post .body-content .is-style-rsz-32 figure.wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto !important; }
.single-post .body-content .is-style-rsz-45 img,
.single-post .body-content .is-style-rsz-45 figure.wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto !important; }
.single-post .body-content .wp-block-gallery:is(.is-style-rsz-32, .is-style-rsz-45) figure.wp-block-image { align-self: flex-start; }
/* Galerie mit 3:2 oder 4:5: alle Bilder einer Reihe gleich breit (keine Restzeile über volle Breite) */
.single-post .body-content .wp-block-gallery.columns-2:is(.is-style-rsz-32, .is-style-rsz-45) > figure.wp-block-image { flex: 0 0 calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2) !important; }
.single-post .body-content .wp-block-gallery.columns-3:is(.is-style-rsz-32, .is-style-rsz-45) > figure.wp-block-image { flex: 0 0 calc(33.333% - var(--wp--style--unstable-gallery-gap, 16px) * 2 / 3) !important; }
.single-post .body-content .wp-block-gallery.columns-4:is(.is-style-rsz-32, .is-style-rsz-45) > figure.wp-block-image { flex: 0 0 calc(25% - var(--wp--style--unstable-gallery-gap, 16px) * 3 / 4) !important; }

/* ---------- 15. Zwischenzeile in Abschnitten (H4 „rsz-zwischen“) ---------- */
.single-post .body-content > h4.rsz-zwischen {
  font-family: var(--rsz-display); font-weight: 700; font-size: 23px; line-height: 1.15;
  letter-spacing: 0; text-transform: none; color: var(--rsz-ink); margin: 32px 0 6px;
}

/* ---------- 16. Fakten-Box (Touren, Reiseberichte, Tests) ---------- */
.single-post .body-content .rsz-facts {
  background: var(--rsz-tint); border-top: 4px solid var(--rsz-red); padding: 20px 24px 8px;
  font-family: var(--rsz-ui); font-variant-numeric: tabular-nums;
}
.single-post .body-content .rsz-facts > h4,
.single-post .body-content .rsz-facts > .rsz-facts-title { margin: 0 0 12px !important; font-family: var(--rsz-ui); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--rsz-red); }
.single-post .body-content .rsz-facts .rsz-facts-grid,
.single-post .body-content .rsz-facts.wp-block-group > .wp-block-group__inner-container,
.single-post .body-content .rsz-facts:not(:has(.rsz-facts-grid)) {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 4px 20px;
}
.single-post .body-content .rsz-facts > h4 { grid-column: 1 / -1; }
.single-post .body-content .rsz-facts p { margin: 0 0 12px !important; font-size: 17px; line-height: 1.3; color: var(--rsz-ink); }
.single-post .body-content .rsz-facts p strong, .single-post .body-content .rsz-facts p b {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rsz-muted);
}
.single-post .body-content .rsz-facts p.rsz-facts-wide { grid-column: 1 / -1; }
.single-post .body-content .rsz-facts > .rsz-facts-title { grid-column: 1 / -1; margin: 0 0 10px !important; font-size: 13px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rsz-red) !important; }
/* Routenzeile unter einer Tour-Überschrift */
.single-post .body-content > p.rsz-route {
  font-family: var(--rsz-ui); font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--rsz-muted);
  margin: -4px 0 18px;
}
/* Vollbild nie höher als der Bildschirm (4:3-Fotos würden sonst 1.300 px hoch) */
.single-post .body-content > .alignfull img { max-height: 82vh; object-fit: cover; }
/* Handy: Bildreihen nicht in 3–4 Briefmarken – 3er-Reihe = 1 groß + 2, 4er = 2 × 2 */
@media (max-width: 600px) {
  .single-post .body-content .wp-block-gallery.columns-3:is(.is-style-rsz-32, .is-style-rsz-45):not(:has(figcaption)) > figure.wp-block-image,
  .single-post .body-content .wp-block-gallery.columns-4:is(.is-style-rsz-32, .is-style-rsz-45):not(:has(figcaption)) > figure.wp-block-image {
    flex: 0 0 calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2) !important;
  }
  .single-post .body-content .wp-block-gallery.columns-3:is(.is-style-rsz-32, .is-style-rsz-45):not(:has(figcaption)) > figure.wp-block-image:first-child { flex-basis: 100% !important; }
}

/* ---------- 17. Unter dem Beitrag: Weiterlesen-Karten, Navigation, Teilen ---------- */
/* YARPP-Liste im Text entfällt – Relevanz kommt jetzt in die Karten darunter (Theme-Option „YARPP“) */
.single-post .body-content .yarpp { display: none !important; }
.single-post .cactus-related-posts .title-related-post {
  font-family: var(--rsz-ui) !important; font-size: 13px !important; font-weight: 600 !important;
  letter-spacing: .12em; text-transform: uppercase; color: var(--rsz-ink) !important;
}
.single-post .cactus-related-posts .cactus-post-title.entry-title,
.single-post .cactus-related-posts .cactus-post-title.entry-title a {
  font-family: var(--rsz-display) !important; font-weight: 700 !important; font-size: 21px !important;
  line-height: 1.12 !important; letter-spacing: 0 !important; text-transform: none !important;
  color: var(--rsz-ink) !important; margin: 12px 0 6px !important; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.single-post .cactus-related-posts .cactus-post-title.entry-title a:hover { color: var(--rsz-red) !important; }
.single-post .cactus-related-posts .picture img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.single-post .cactus-related-posts .posted-on, .single-post .cactus-related-posts .cactus-info {
  font-family: var(--rsz-ui) !important; font-size: 13px !important; color: var(--rsz-muted) !important;
}
.single-post .cactus-navigation-post { font-family: var(--rsz-ui); }
.single-post .cactus-navigation-post .prev-post > a, .single-post .cactus-navigation-post .next-post > a {
  font-family: var(--rsz-display) !important; font-weight: 700 !important; font-size: 18px !important;
  line-height: 1.2 !important; text-transform: none !important; color: var(--rsz-ink) !important;
}
.single-post .cactus-navigation-post .prev-post span, .single-post .cactus-navigation-post .next-post span {
  font-family: var(--rsz-ui) !important; font-size: 11px !important; letter-spacing: .12em; color: var(--rsz-red) !important;
}
/* Daumen runter und „Melden“ ausblenden – wirkt auf einem Magazin fehl am Platz */
.single-post .cactus-share-and-like .report-button,
.single-post .cactus-share-and-like .like-button .unlike, .single-post .cactus-share-and-like [class*="dislike"] { display: none !important; }

/* ---------- 18. Teilen (eigene Leiste) – Theme-Leisten aus ---------- */
.single-post .cactus-share-and-like, .single-post .update_design_post_on { display: none !important; }
.single-post .body-content .rsz-share {
  clear: both; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--rsz-line); font-family: var(--rsz-ui);
}
.single-post .body-content .rsz-share-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rsz-muted); margin-right: 4px; }
.single-post .body-content .rsz-share a, .single-post .body-content .rsz-share button {
  font: 600 14px/1 var(--rsz-ui) !important; color: var(--rsz-ink) !important; background: var(--rsz-tint); border: 1px solid var(--rsz-line); text-transform: none !important; letter-spacing: 0 !important;
  border-radius: 999px; padding: 9px 14px; text-decoration: none; cursor: pointer;
}
.single-post .body-content .rsz-share a:hover, .single-post .body-content .rsz-share button:hover { background: var(--rsz-ink); color: #fff !important; border-color: var(--rsz-ink); }
.single-post .body-content .rsz-share :focus-visible { outline: 2px solid var(--rsz-red); outline-offset: 2px; }
/* Kopf exakt an der Textkante ausrichten (Textspalte hat 40 px Theme-Innenabstand) */
.single-post .cactus-top-style-post .cactus-breadcrumb,
.single-post .heading-post,
.single-post .cactus-top-style-post.style-2 .content-abs-post { max-width: 640px !important; }

/* 19) „Mehr über …“ – Beiträge zum selben Thema */
.single-post .body-content .rsz-more { clear: both; margin: 48px 0 0; padding: 24px 0 0; border-top: 3px solid var(--rsz-ink); }
.single-post .body-content .rsz-more + .rsz-more { margin-top: 32px; }
.single-post .body-content .rsz-more .rsz-more-title { font-family: var(--rsz-display) !important; font-size: 26px !important; line-height: 1.1 !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--rsz-ink) !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; }
.single-post .body-content .rsz-more .rsz-more-title::before { display: none !important; }
.single-post .body-content .rsz-more ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.single-post .body-content .rsz-more li { margin: 0 !important; padding: 12px 0 !important; border-bottom: 1px solid var(--rsz-line); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.single-post .body-content .rsz-more li::before { display: none !important; }
.single-post .body-content .rsz-more li a { font-family: var(--rsz-ui); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--rsz-ink); text-decoration: none; }
.single-post .body-content .rsz-more li a:hover { color: var(--rsz-red); }
.single-post .body-content .rsz-more .rsz-more-date { font-family: var(--rsz-ui); font-size: 13px; color: var(--rsz-muted); white-space: nowrap; }
.single-post .body-content .rsz-more .rsz-more-all { display: inline-block; margin-top: 14px; font-family: var(--rsz-ui); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--rsz-red); text-decoration: none; }
@media (max-width: 600px) {
  .single-post .body-content .rsz-more li { flex-direction: column; gap: 2px; }
}
