/*
Theme Name: ouverture
Theme URI: https://ouverture.ch/
Author: Ueli Anken
Description: Minimalistisches Theme für ouverture.ch nach dem Mockup vom November 2026. Vier Sprachen über Polylang, Schrift IBM Plex Sans selbst gehostet, Navigation und Footer im Theme-Code.
Version: 1.0.3
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ouverture
*/

/* Schrift: IBM Plex Sans (SIL Open Font License 1.1, Lizenztext in assets/fonts/OFL.txt).
   Die @font-face-Regeln erzeugt WordPress aus der Schrift-Anmeldung in functions.php (wp_theme_json_data_theme, Checkliste Nr. 33) – hier keine eigenen. */

/* Typografie-System (2026-11-17, Entscheid Ueli «bereinigen»): Lesetext wie gehabt; ALLER Nebentext 14 px. Zwei Grautöne nach Funktion: --soft (#666) für Inhalt (Legenden, Zitatnamen, externer Link), --muted (#949494) für Navigation, Meta und Leises. Ausnahmen: Zahl im Kreis (.step) 12 px; Reihen-Angabe auf Karten (.card-series) 11 px, bewusst klein als Etikett. Keine weiteren Grössen einführen. */
:root {
	--ink: #111111;
	--text: #333333;
	--soft: #666666;
	--muted: #949494; /* leises Grau. 2026-11-10: von #999999 (2.85:1) auf #949494 (3.03:1 auf Weiss), damit Boxen WCAG 1.4.11 erfüllen */
	--line: #eeeeee;
	--line-strong: #dddddd;
	--pad: 56px;
	/* Box-Regel (Entscheid Ueli, 2026-11-10): alle Boxen und Formularlinien mit derselben Linie, Farbe und Ecke.
	   Gilt für Eingabefelder (Unterstrich), Checkbox, Knöpfe (.btn, submit) und CC-Icon im Footer.
	   Nur hier ändern, nie pro Element. */
	--ou-box-line: 1px;
	--ou-box-color: var(--muted);
	--ou-box-radius: 0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #ffffff;
	color: var(--ink);
	font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 400;
	line-height: 1.5;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 1100px; margin: 0 auto; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: #ffffff; padding: 8px 12px; }

/* Kopfzeile */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; padding: 40px var(--pad) 0; }
.logo { font-size: 20px; font-weight: 400; color: var(--ink); text-decoration: none; }
.nav-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.nav-link { font-size: 17px; color: var(--ink); text-decoration: none; }
.nav-link.current { text-decoration: underline; }
.nav-link:hover { color: var(--soft); }
.lang-switch { display: flex; gap: 10px; padding-left: 24px; border-left: 1px solid var(--line-strong); }
.lang-link { font-size: 14px; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; }
.lang-link.active { color: var(--ink); }
.lang-link:hover { color: var(--ink); }

/* Fusszeile */
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding: 32px var(--pad) 40px; font-size: 14px; }
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-sep { color: #cccccc; }
.footer-link { color: var(--ink); text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
.cc { width: 60px; /* Icons ca. 13 px, auf Höhe der Footer-Schrift (15 px). Grösse nur hier ändern: Breite × 19/88 = Icon-Durchmesser */ height: auto; display: block; border: var(--ou-box-line) solid var(--ou-box-color); border-radius: var(--ou-box-radius); } /* Box-Regel */
.cc-link { display: block; line-height: 0; color: var(--ou-box-color); } /* Symbole im Lizenzzeichen = Farbe der Box-Linie */
.cc-link:hover .cc { opacity: 0.7; }

/* Inhaltsbereich */
.site-main { flex: 1; padding: 64px var(--pad) 40px; }
.page-title { font-size: 32px; font-weight: 300; line-height: 1.25; margin: 0 0 48px; }
.hero { display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
.headline { font-size: clamp(40px, 8vw, 72px); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; margin: 0; max-width: 780px; }

/* Fliesstext in Seiten und Beiträgen */
.entry-content { font-size: 17px; line-height: 1.7; color: var(--text); max-width: 640px; }
.entry-content p { margin: 0 0 24px; }
.entry-content h2, .entry-content h3 { font-weight: 400; color: var(--ink); line-height: 1.3; margin: 40px 0 16px; }
.entry-content h2 { font-size: 22px; }
.entry-content h3 { font-size: 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 24px; padding-left: 1.2em; }
.entry-content figure { margin: 40px 0; }
/* Bildlegende im Text: siehe Regel «Bildlegende» weiter unten (eine Legende für alle Bilder, 2026-11-30). */
.entry-content blockquote.wp-block-quote { margin: 0 0 40px; padding: 0; border: 0; max-width: 640px; }
.entry-content blockquote.wp-block-quote p { font-size: 22px; line-height: 1.4; font-style: italic; color: var(--ink); margin: 0 0 10px; }
.entry-content blockquote.wp-block-quote cite { display: block; font-size: 14px; font-style: normal; color: var(--soft); }
.self-block { max-width: 640px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.self-block, .self-block > .wp-block-group__inner-container { box-sizing: border-box; }
.self-block > .wp-block-group__inner-container { display: flex; align-items: flex-start; gap: 32px; }
.self-block .self-photo { flex: 0 0 140px; margin: 0; }
.self-block .self-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); } /* Foto immer schwarzweiss, auch wenn ein Farbbild hochgeladen wird */
@media (max-width: 560px) { .self-block > .wp-block-group__inner-container { flex-direction: column; gap: 24px; } .self-block .self-photo { flex-basis: auto; width: 120px; } }
.self-block p { font-size: 17px; line-height: 1.6; color: var(--text); margin: -0.47em 0 0; } /* Oberkante der ersten Zeile (Versalhöhe) buendig mit der Oberkante des Fotos */
@media (max-width: 560px) { .self-block p { margin-top: 0; } }
.mail-protected { white-space: nowrap; }

/* Portfolio (HTML-Block in der Seite) */
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; max-width: 720px; margin-bottom: 48px; }
.group { display: flex; flex-direction: column; gap: 14px; }
.group-label, .full-label { font-size: 14px; color: var(--muted); text-transform: lowercase; margin: 0 0 4px; line-height: 1.5; }
.entry-content .group-label, .entry-content .full-label { margin: 0 0 4px; }
.client, .full-link { font-size: 20px; line-height: 1.4; color: var(--ink); text-decoration: none; }
.client:hover, .full-link:hover { color: var(--soft); }
.full { display: flex; flex-direction: column; gap: 10px; }

/* Kontakt */
.contact { display: flex; gap: 80px; }
.contact .form-col { display: flex; flex-direction: column; max-width: 420px; flex: 1; min-width: 0; }
.contact .page-title { margin-bottom: 32px; }
.contact .entry-content { max-width: none; }
.contact input[type="text"], .contact input[type="email"], .contact textarea {
	width: 100%; border: 0; border-bottom: var(--ou-box-line) solid var(--ou-box-color); padding: 8px 2px; font-size: 16px; font-family: inherit; color: var(--ink); background: transparent; border-radius: var(--ou-box-radius); /* Box-Regel: Unterstrich statt Rahmen bleibt */
}
.contact textarea { min-height: 90px; resize: none; }
.contact label { font-size: 14px; color: var(--muted); }
/* Button-Standard (Entscheid Ueli, 2026-11-09): kleiner, leiser Knopf mit feinem grauem Rahmen. Gilt für «submit» im Kontaktformular und für künftige Knöpfe (zum Beispiel «Call to action»): Klasse .btn an <a> oder <button>. Trefferfläche: unsichtbar 8 px grösser oben und unten. Linie, Farbe und Ecke nach Box-Regel (2026-11-10). */
.btn, .contact button, .contact input[type="submit"] {
	display: inline-block; position: relative; background: transparent; color: var(--ink); border: var(--ou-box-line) solid var(--ou-box-color); padding: 4px 18px; font-size: 14px; font-family: inherit; letter-spacing: 0.02em; line-height: 1.4; cursor: pointer; border-radius: var(--ou-box-radius); text-decoration: none;
}
.btn:hover, .contact button:hover, .contact input[type="submit"]:hover { border-color: var(--ink); background: var(--ink); color: #ffffff; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn::after, .contact button::after { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }
.contact button { align-self: flex-start; margin-top: 20px; }
.info-col { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.info-line { font-size: 16px; line-height: 1.6; margin: 0; }
.info-line a { text-decoration: underline; }

/* Blog: Übersicht */
.blog-intro { font-size: 17px; line-height: 1.6; color: #444444; max-width: 560px; margin: -32px 0 40px; }
.blog-intro p { margin: 0 0 16px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 40px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-link { font-size: 14px; letter-spacing: 0.02em; color: var(--muted); text-decoration: none; }
.filter-link.active { color: var(--ink); text-decoration: underline; }
.filter-link:hover { color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.thumb { width: 100%; aspect-ratio: 3 / 2; background: #f2f2f2; border: 1px solid #e5e5e5; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.is-empty { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.card-meta { display: flex; flex-direction: column; gap: 2px; }
.card-tag { font-size: 14px; color: var(--muted); }
.card-title { font-size: 16px; color: var(--ink); }
.card:hover .card-title { text-decoration: underline; }
.card-series { font-size: 11px; letter-spacing: 0.03em; color: var(--muted); text-transform: lowercase; }
.pagination { margin-top: 48px; font-size: 14px; }
.pagination .nav-links { display: flex; gap: 16px; }
.pagination a { text-decoration: none; color: var(--muted); }
.pagination a:hover, .pagination .current { color: var(--ink); }
.empty { color: var(--soft); }

/* Blog: einzelner Beitrag und Reihe */
.post-wrap { max-width: 640px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 32px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { padding: 0 8px; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.post-title { font-size: 32px; font-weight: 300; line-height: 1.25; margin: 0 0 28px; }
.post-lead { font-size: 19px; line-height: 1.6; color: var(--text); margin: 0 0 32px; }
.chapter-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 32px; font-size: 14px; }
.chapter-nav a { text-decoration: none; }
.chapter-nav a:hover { text-decoration: underline; }
.chapter-nav .next { text-align: right; }
.step { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); text-decoration: none; flex-shrink: 0; }
.step.current { border-color: var(--ink); color: var(--ink); font-weight: 500; }

/* Kleine Bildschirme */
@media (max-width: 900px) {
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	:root { --pad: 24px; }
	.site-header { padding-top: 24px; }
	.site-main { padding-top: 40px; }
	.page-title { margin-bottom: 32px; }
	.lang-switch { padding-left: 0; border-left: 0; }
	.contact { flex-direction: column; gap: 48px; }
	.groups { grid-template-columns: 1fr; gap: 32px; }
	.blog-intro { margin-top: -16px; }
	.chapter-nav { flex-direction: column; align-items: flex-start; }
	.chapter-nav .next { text-align: left; }
	.chapter-nav span:empty { display: none; }
}
@media (max-width: 560px) {
	.grid { grid-template-columns: 1fr; }
}

/* Kontaktformular */
.contact-form .row { display: flex; gap: 24px; }
.contact-form .row .field { flex: 1; min-width: 0; }
.contact-form .field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-note { font-size: 16px; line-height: 1.5; margin: 0 0 24px; }
.contact-form .form-note.error { color: #8a1c1c; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-bottom-color: var(--ink); }
.contact-form button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 600px) { .contact-form .row { flex-direction: column; gap: 0; } }

/* Mailadresse (Mail-Schutz): «@» kommt aus dem Stylesheet */
.mail-protected { white-space: nowrap; text-decoration: underline; cursor: pointer; }
.mail-protected .at::after { content: "@"; }

/* Rubrik-Text, Reisen und Kapitelliste */
.blog-intro.entry-content { max-width: 640px; margin: -8px 0 40px; font-size: 17px; line-height: 1.6; color: var(--text); }
.blog-intro.entry-content img { max-width: 100%; height: auto; }
.grid.trips { margin-bottom: 48px; }
.chapter-list { list-style: none; margin: 0 0 48px; padding: 0; max-width: 640px; }
.chapter-list li { border-bottom: 1px solid var(--line); }
.chapter-list a { display: flex; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; color: var(--ink); }
.chapter-list a:hover .chapter-title { text-decoration: underline; }
.chapter-list .chapter-title { font-size: 17px; line-height: 1.4; } /* Copy-Grösse wie Lesetext (2026-11-28, Ueli): Leitsatz mit 22 px klar grösser */
.chapter-list .track a { padding-left: 42px; }
.chapter-list .track .chapter-title { font-size: 16px; color: var(--soft); }
.chapter-list .track.placeholder { padding: 14px 0 14px 42px; }

/* Titelbild und Bildlegende im Beitrag (Standard für Otto-Beiträge): Seitenverhältnis in --img-ratio */
:root { --img-ratio: 3 / 2; }
.post-part { color: var(--muted); }
.post-part a { color: inherit; text-decoration: none; }
.post-part a:hover { color: var(--ink); text-decoration: underline; }
/* Reihenname in der Metazeile (Checkliste Nr. 47): leises Grau, Link ohne Unterstrich, keine eigene Zeile. */
.post-series { color: var(--muted); }
.post-series a { color: inherit; text-decoration: none; }
.post-series a:hover { color: var(--ink); text-decoration: underline; }
.post-figure { margin: 0 0 32px; }
.post-figure .post-figure-img, .post-figure .post-figure-ph { display: block; width: 100%; height: auto; aspect-ratio: var(--img-ratio); object-fit: cover; }
.post-figure .post-figure-ph { display: flex; align-items: center; justify-content: center; background: #f4f4f4; color: var(--muted); font-size: 14px; }
/* Haarlinie (Regel 2026-12-01): feiner Rahmen für Bilder mit hellem Rand (Screenshots, Dokumente, Grafiken); Fotos ohne.
   Eigene Kategorie, bewusst nicht die Box-Regel (--ou-box-*): ein Rahmen ist keine Bedienbox. Liegt innen auf dem Bildrand, ändert Grösse und Layout nicht.
   Gesetzt über das Häkchen «Haarlinie» im Bereich «Herkunft» (Klasse .ouv-haarlinie). Nur hier ändern. */
:root { --ou-haarlinie: var(--line-strong); }
img.ouv-haarlinie { outline: 1px solid var(--ou-haarlinie); outline-offset: -1px; }

/* Bildlegende (Regel 2026-11-30): eine Legende für alle Bilder – Titelbild und Bilder im Text. Nur hier ändern.
   Ändern sich Schrift, Zeilenhöhe oder Breite: auch die Zeilenprüfung in functions.php anpassen (W, FS, LH). */
.post-figure figcaption, .entry-content figcaption, .entry-content .wp-element-caption { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--soft); text-align: left; }
.post-figure figcaption.todo { color: var(--muted); }
@media (max-width: 600px) { .chapter-list .track a { padding-left: 42px; } }

/* Beitrag: Rhythmus und leise Navigation.
   Gruppen: Brotkrümel | Bild + Legende | Datum + Titel + Vor/Zurück | Text. Navigation ist grau und klein, damit sie den Lesefluss nicht stört. */
.crumbs { margin-bottom: 28px; }
.post-figure { margin-bottom: 28px; }
.post-meta { margin: 0 0 8px; }
.post-title { margin: 0 0 16px; }
.post-title + .post-lead, .post-title + .entry-content { margin-top: 32px; }
.post-wrap .chapter-nav { border: 0; padding: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.post-wrap .chapter-nav a { color: var(--muted); }
.post-wrap .chapter-nav a:hover { color: var(--ink); text-decoration: none; }
.post-wrap .chapter-nav.top { margin: 0 0 32px; }
.post-wrap .chapter-nav.bottom { margin: 56px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.post-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.post-footer a { color: var(--muted); text-decoration: none; }
.post-footer a:hover { color: var(--ink); }
.chapter-nav.bottom + .post-footer { margin-top: 12px; padding-top: 0; border-top: 0; }
@media (max-width: 560px) {
	.post-title { font-size: 28px; }
	.post-wrap .chapter-nav { gap: 6px; }
}

/* Ausreisser erlaubt: Bilder in anderem Format als 3:2 werden nicht zugeschnitten; lange Wörter und Adressen sprengen die Spalte nicht */
.post-figure.is-free .post-figure-img { width: auto; max-width: 100%; height: auto; aspect-ratio: auto; max-height: min(78vh, 760px); object-fit: contain; }
.entry-content, .post-title, .post-figure figcaption, .post-lead { overflow-wrap: break-word; }

/* Reise-Übersicht: Titelbild in Textspaltenbreite (640 px), wie im Beitrag */
.site-main > .post-figure { max-width: 640px; }

/* Kontaktformular: Einwilligung (Pflicht-Häkchen). Checkbox selbst gezeichnet nach Box-Regel (2026-11-10):
   leer = Rahmen, angekreuzt = gefülltes Quadrat mit weissem Innenabstand. */
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; }
.contact-form .consent input {
	flex: none; width: 16px; height: 16px; margin: 3px 0 0;
	-webkit-appearance: none; appearance: none;
	border: var(--ou-box-line) solid var(--ou-box-color); border-radius: var(--ou-box-radius);
	background: transparent; cursor: pointer;
}
.contact-form .consent input:checked { background: var(--ink); box-shadow: inset 0 0 0 2px #ffffff; }
.contact-form .consent input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.contact-form .consent label { font-size: 14px; line-height: 1.5; color: var(--muted); }
.contact-form .consent a { text-decoration: underline; }

/* Startseite: leise Zeile mit Name unter der Headline */
.hero-line { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 24px 0 0; }
.hero-line a { text-decoration: none; }
.hero-line a:hover { color: var(--ink); text-decoration: underline; }

/* Reise-Übersicht: Link zum Verfolgen unter dem Ziel der Reise, über dem Inhaltsverzeichnis */
.trip-track { max-width: 640px; margin: 0 0 40px; font-size: 14px; line-height: 1.5; color: var(--soft); }
.blog-intro.entry-content + .trip-track { margin-top: -16px; }
.trip-track a { text-decoration: none; color: var(--soft); }
.trip-track a:hover { color: var(--ink); text-decoration: underline; }

/* Reihen-Regeln v2 (2026-11-16): Inhaltsverzeichnis, Nachträge, Gäste, Sprachliste, Folge-Angaben mit grossem Anfangsbuchstaben */
.card-series { text-transform: none;}
.series-label { font-size: 14px; font-weight: 400; color: var(--muted); margin: 40px 0 4px; line-height: 1.5;}
.series-label + .chapter-list { margin-top: 0;}
.chapter-list .step:empty { border-color: transparent;}
.chapter-list .when { font-size: 14px; color: var(--muted); flex-shrink: 0; min-width: 84px;}
.chapter-list .is-original .chapter-title { color: var(--soft);}
.chapter-list .lang-note { font-size: 14px; color: var(--muted);}
/* Leitsatz einer Reihe (Checkliste Nr. 48, Entscheide Ueli 2026-11-26/28): das Textfeld der Reihe IST der Leitsatz; Format automatisch, keine Auswahl im Editor.
   Grösser als der Copytext: 22 px = gleicher Schriftgrad wie die Zitate auf attitude (Entscheid Ueli 2026-11-28, «kein Schriftmusterbuch»), normale Strichstärke, volle Textfarbe, nicht kursiv (Kursive = Signatur), ohne Guillemets (Zitat-Format bleibt fremden Stimmen vorbehalten).
   Gewollte Zeilenumbrüche (Vers, Stichworte) bleiben: jede Zeile ein Absatz, ohne Abstand dazwischen. Einführungsreihen behalten ihren längeren Text im normalen Format (.blog-intro). */
.blog-intro.series-lead { font-size: 22px; line-height: 1.4; color: var(--ink); font-weight: 400; font-style: normal; }
.blog-intro.series-lead p { margin: 0; }
/* Prolog/Epilog im Inhaltsverzeichnis: ohne Nummer, leise Zeile über dem Titel (wie die Metazeile im Beitrag). */
.chapter-list .chapter-text { display: flex; flex-direction: column; }
.chapter-list .chapter-role { font-size: 14px; line-height: 1.4; color: var(--muted); }
.chapter-list.guests a { padding-left: 42px;}
.post-addendum, .post-langs { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 32px 0 0;}
.post-addendum + .post-addendum, .post-addendum + .post-langs { margin-top: 8px;}
.post-addendum a, .post-langs a { color: inherit; text-decoration: none;}
.post-addendum a:hover, .post-langs a:hover { color: var(--ink); text-decoration: underline;}
.post-wrap .chapter-nav .all { white-space: nowrap;}

/* Signatur (Backlog F, 2026-11-16): immer kursiv in leisem Grau; im Editor Absatzstil «Signatur» */
.is-style-signatur, .entry-content .is-style-signatur { font-style: italic; color: var(--muted);}

/* Leise Zeile (2026-11-17): Absatzstil «Leise Zeile», gleiche Grösse und Farbe wie die leise Zeile der Startseite (.hero-line). Erstmals als Brücke zwischen Zitaten und Porträt auf attitude. */
.is-style-leise, .entry-content .is-style-leise { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 8px 0 48px;}

/* Porträt-Block (2026-11-16): Foto links, rechts Text und darunter die Signatur (Raster statt Reihe, damit weitere Absätze untereinander stehen) */
.self-block > .wp-block-group__inner-container { display: grid; grid-template-columns: 140px 1fr; column-gap: 32px; row-gap: 0; align-items: start;}
.self-block .self-photo { grid-column: 1; grid-row: 1 / span 20;}
.self-block .self-photo ~ * { grid-column: 2;}
.self-block p.is-style-signatur { margin-top: 24px;} /* = Abstand zwischen zwei Absätzen */
@media (max-width: 560px) {
	.self-block > .wp-block-group__inner-container { grid-template-columns: 1fr; row-gap: 0;}
	.self-block .self-photo { margin-bottom: 24px;}
	.self-block .self-photo, .self-block .self-photo ~ * { grid-column: 1; grid-row: auto;}
	.self-block p.is-style-signatur { margin-top: 24px;} /* = Abstand zwischen zwei Absätzen */
}
