/* =========================================================================
   Arbeitsjournal — Theme-Stylesheet
   Quelle: design_handoff_arbeitsjournal/README.md ("Zeig was du machst v2")
   ========================================================================= */

/* ---- Fonts (lokal, kein Google-CDN zur Laufzeit — DSGVO) ---- */

@font-face {
	font-family: 'IBM Plex Mono';
	src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IBM Plex Mono';
	src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IBM Plex Mono';
	src: url('../fonts/ibm-plex-mono-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Instrument Serif';
	src: url('../fonts/instrument-serif-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Instrument Serif';
	src: url('../fonts/instrument-serif-400-italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-var.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-var.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* Zweite Schrift-Kombination ("Klassisch"), wählbar im Customizer unter
   Arbeitsjournal: Schriften — ebenfalls lokal gehostet. */
@font-face {
	font-family: 'Source Serif 4';
	src: url('../fonts/source-serif-4-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Source Serif 4';
	src: url('../fonts/source-serif-4-400-italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Source Sans 3';
	src: url('../fonts/source-sans-3-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Source Sans 3';
	src: url('../fonts/source-sans-3-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* ---- Design Tokens ---- */

:root {
	--cream: #F2EDE1;
	--ink: #1C1A14;
	--ink-soft: #5B584C;
	--blue: #2B36E0;
	--blue-deep: #1B2299;
	--blue-tint: #DCE0FA;
	--navy: #171A3D;

	--card-bg: #F7F3EA;
	--card-bg-hover: #FFFDF8;
	--card-border: #D8D1BF;
	--line: #C9C2B0;
	--date: #8B8674;
	--progress: #A8B0EE;
	--headline-dark: #AEB6FF;
	--body-dark: #C7CAEA;
	--stripe: #E4DECD;
	--link-hover-bg: #D2D7F8;

	--font-sans: 'Inter', system-ui, sans-serif;
	--font-mono: 'IBM Plex Mono', monospace;
	--font-serif: 'Instrument Serif', serif;

	--row-gap: 56px;
}

/* ---- Reset / Base ---- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--cream);
	font-family: var(--font-sans);
}
h1, h2, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}
::selection { background: var(--blue); color: var(--cream); }

/* ---- Page frame ---- */

.dispatch-page {
	min-height: 100vh;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-sans);
	padding: 0 3.6vw;
}
.dispatch-container { max-width: 1180px; margin: 0 auto; }

/* ---- Header ---- */

.dispatch-header {
	max-width: 1180px;
	margin: 0 auto;
	border-top: 1px solid var(--line);
	padding-top: 14px;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}
.dispatch-header__brand,
.dispatch-header__nav a { color: var(--blue); }
.dispatch-header__nav { display: flex; gap: 22px; flex-wrap: wrap; }
/* Kopfzeilen-Menü (wp_nav_menu) genau wie die feste Navigation darstellen. */
.dispatch-header__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dispatch-header__menu li { margin: 0; }
.dispatch-header__menu a { color: var(--blue); }
.dispatch-header__menu .current-menu-item > a,
.dispatch-header__menu .current_page_item > a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Hero ---- */

.dispatch-hero {
	position: relative;
	padding: 4.6vw 0 3.2vw;
	min-height: 360px;
}
.dispatch-hero__motif {
	position: absolute;
	right: 0;
	top: 4.6vw;
	width: 330px;
	display: grid;
	gap: 9px;
	pointer-events: none;
}
.dispatch-hero__motif-row { display: flex; gap: 7px; height: 9px; }
.dispatch-hero__motif-bar.is-tint { background: var(--blue-tint); }
.dispatch-hero__motif-bar.is-filled { background: var(--blue); }
.dispatch-hero__motif--image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 260px;
	object-fit: contain;
}
.dispatch-hero__content { position: relative; }
.dispatch-eyebrow {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 22px;
}
.dispatch-hero__headline {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(44px, 6.4vw, 104px);
	line-height: 0.98;
	letter-spacing: -0.02em;
	color: var(--blue);
}
.dispatch-hero__intro {
	margin-top: 26px;
	max-width: 46ch;
	font-size: 15px;
	line-height: 1.75;
	color: var(--ink-soft);
	text-wrap: pretty;
}

/* ---- Timeline ---- */

.dispatch-timeline { position: relative; padding: 0 0 200px; }
.dispatch-timeline__line {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--line);
}
.dispatch-timeline__list {
	position: relative;
	display: grid;
	row-gap: var(--row-gap);
	padding-top: 40px;
}
.dispatch-timeline__empty { font-size: 15px; color: var(--ink-soft); padding: 40px 0; }

.dispatch-row { display: grid; grid-template-columns: 1fr 1fr; }

.dispatch-item { position: relative; }
.dispatch-item--left { grid-column: 1; padding-right: 52px; }
.dispatch-item--right { grid-column: 2; padding-left: 52px; }

.dispatch-item--left::before {
	content: '';
	position: absolute;
	right: 0;
	top: 36px;
	width: 52px;
	height: 1px;
	background: var(--line);
}
.dispatch-item--left::after {
	content: '';
	position: absolute;
	right: -3px;
	top: 33px;
	width: 7px;
	height: 7px;
	background: var(--blue);
}
.dispatch-item--right::before {
	content: '';
	position: absolute;
	left: 0;
	top: 36px;
	width: 52px;
	height: 1px;
	background: var(--line);
}
.dispatch-item--right::after {
	content: '';
	position: absolute;
	left: -3px;
	top: 33px;
	width: 7px;
	height: 7px;
	background: var(--blue);
}
/* Flachere Link-Karten: Konnektor etwas höher angesetzt */
.dispatch-item--shallow.dispatch-item--left::before,
.dispatch-item--shallow.dispatch-item--right::before { top: 32px; }
.dispatch-item--shallow.dispatch-item--left::after,
.dispatch-item--shallow.dispatch-item--right::after { top: 29px; }

/* ---- Card base ---- */

.dispatch-card { display: block; }

.dispatch-card--text,
.dispatch-card--gallery,
.dispatch-card--audio {
	border: 1px solid var(--card-border);
	background: var(--card-bg);
	padding: 26px 28px;
	transition: background-color .15s ease, border-color .15s ease;
}
.dispatch-card--text:hover,
.dispatch-card--gallery:hover,
.dispatch-card--audio:hover {
	border-color: var(--blue);
	background: var(--card-bg-hover);
}

.dispatch-card--link {
	background: var(--blue-tint);
	padding: 24px 28px;
	transition: background-color .15s ease;
}
.dispatch-card--link:hover { background: var(--link-hover-bg); }

.dispatch-card--note {
	position: relative;
	overflow: hidden;
	background: var(--navy);
	padding: 30px 32px;
}

/* ---- Card meta line ---- */

.dispatch-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 16px;
}
.dispatch-card__meta-date { color: var(--date); }
.dispatch-card--link .dispatch-card__meta { color: var(--blue-deep); margin-bottom: 14px; }
.dispatch-card--link .dispatch-card__meta-date { color: var(--blue-deep); }

/* ---- Card title ---- */

.dispatch-card__title {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(24px, 3vw, 34px);
	color: var(--blue);
}
.dispatch-card--text .dispatch-card__title { margin: 0 0 12px; line-height: 1.05; letter-spacing: -0.015em; }
.dispatch-card--gallery .dispatch-card__title { margin: 0 0 18px; line-height: 1.05; }
.dispatch-card--audio .dispatch-card__title { margin: 0 0 16px; line-height: 1.05; }
.dispatch-card--link .dispatch-card__title {
	margin: 0;
	font-size: clamp(21px, 2.6vw, 30px);
	line-height: 1.15;
	color: var(--blue-deep);
}

/* ---- Card body elements ---- */

.dispatch-card__teaser {
	font-size: 14px;
	line-height: 1.75;
	color: var(--ink-soft);
	text-wrap: pretty;
}
.dispatch-card__continue {
	margin-top: 18px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
}
.dispatch-card__outlet {
	margin-top: 14px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue-deep);
}

/* ---- Photo tiles (Fotostrecke) ---- */

.dispatch-card__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.dispatch-photo { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dispatch-photo img { width: 100%; height: 100%; object-fit: cover; }
.dispatch-photo--square { aspect-ratio: 1; }
.dispatch-photo--landscape { aspect-ratio: 4 / 3; }

.dispatch-photo--placeholder {
	background: repeating-linear-gradient(45deg, var(--stripe) 0 5px, var(--cream) 5px 10px);
	font-family: var(--font-mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	color: var(--date);
	text-align: center;
}
.dispatch-photo--landscape.dispatch-photo--placeholder {
	background: repeating-linear-gradient(45deg, var(--stripe) 0 6px, var(--cream) 6px 12px);
	font-size: 10px;
}
.dispatch-photo--more {
	background: var(--blue-tint);
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--blue-deep);
}

/* ---- Audio bar ---- */

.dispatch-card__audio-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--blue-tint);
	padding: 12px 14px;
}
.dispatch-card__audio-play {
	width: 26px;
	height: 26px;
	flex: none;
	background: var(--blue);
	color: var(--cream);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
}
.dispatch-card__audio-progress { flex: 1; height: 1px; background: var(--progress); }
.dispatch-card__audio-time {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--blue-deep);
}

/* ---- Fassadenraster (Notiz-Karte + Footer) ---- */

.dispatch-facade-grid {
	position: absolute;
	pointer-events: none;
	background-image:
		repeating-linear-gradient(to right, var(--headline-dark) 0 1px, transparent 1px 48px),
		repeating-linear-gradient(to bottom, var(--headline-dark) 0 1px, transparent 1px 48px);
}
.dispatch-card__note-grid { right: -20px; top: 0; width: 240px; height: 100%; opacity: 0.22; }
.dispatch-footer__grid { right: -30px; top: 0; width: 380px; height: 100%; opacity: 0.2; }

.dispatch-card__note-content { position: relative; }
.dispatch-card__note-meta {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--headline-dark);
	margin-bottom: 14px;
}
.dispatch-card__note-quote {
	max-width: 34ch;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(20px, 2.4vw, 27px);
	line-height: 1.3;
	color: var(--headline-dark);
	text-wrap: pretty;
}
.dispatch-card__note-followup {
	margin-top: 16px;
	max-width: 40ch;
	font-size: 14px;
	line-height: 1.75;
	color: var(--body-dark);
}

/* ---- Footer ---- */

.dispatch-footer {
	position: relative;
	overflow: hidden;
	background: var(--navy);
	margin: 0 -3.6vw;
	padding: 3.2vw 3.6vw;
}
.dispatch-footer__inner {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	flex-wrap: wrap;
}
.dispatch-footer__eyebrow {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--headline-dark);
	margin-bottom: 12px;
}
.dispatch-footer__name {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(22px, 3vw, 34px);
	color: var(--headline-dark);
}
.dispatch-footer__links {
	display: flex;
	gap: 22px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.dispatch-footer__links a { color: var(--body-dark); }
.dispatch-footer__links a:hover { color: var(--headline-dark); }

/* ---- Detail column (Beitrag / Über mich / Kontakt / generische Seiten) ---- */

.dispatch-detail { max-width: 760px; margin: 0 auto; padding: 40px 0 140px; }
.dispatch-detail__back {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
}
.dispatch-detail__meta {
	display: flex;
	gap: 20px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
	margin: 64px 0 20px;
}
.dispatch-detail__meta-date { color: var(--date); }
.dispatch-detail__eyebrow {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
	margin: 64px 0 18px;
}
.dispatch-detail__title {
	margin: 0 0 30px;
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(34px, 4.2vw, 62px);
	line-height: 1.03;
	letter-spacing: -0.02em;
	color: var(--blue);
	text-wrap: balance;
}
.dispatch-detail__title--page { font-size: clamp(32px, 4.2vw, 58px); }
.dispatch-detail__title--no-eyebrow { margin-top: 64px; }
.dispatch-detail__divider { height: 1px; background: var(--line); margin-bottom: 36px; }

.dispatch-detail__body p {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.85;
	color: var(--ink-soft);
	text-wrap: pretty;
}
.dispatch-detail__body a { color: var(--blue-deep); text-decoration: underline; }
.dispatch-detail__body--extra { margin-top: 26px; }

/* Zwischenüberschriften (Block-Editor "Überschrift 2") in gleicher
   Mono-Label-Optik wie die Kontakt-Felder. Auch im Editor sichtbar. */
.dispatch-detail__body h2,
.editor-styles-wrapper h2 {
	margin: 40px 0 14px;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
}
.dispatch-detail__body h2:first-child,
.editor-styles-wrapper h2:first-child {
	margin-top: 0;
}

/* Bilder direkt im Beitragstext (Bild-Block bzw. klassische
   Bildunterschrift): gleiche "Abb. NN"-Optik wie die Fotostrecken-Galerie,
   Nummer hier automatisch per CSS-Zähler statt aus einer PHP-Schleife. */
.dispatch-detail__body,
.editor-styles-wrapper {
	counter-reset: dispatch-figure;
}
.dispatch-detail__body figure,
.dispatch-detail__body .wp-caption,
.editor-styles-wrapper figure,
.editor-styles-wrapper .wp-caption {
	margin: 40px 0 24px;
	border: 1px solid var(--card-border);
	background: var(--card-bg);
}
.dispatch-detail__body figure img,
.dispatch-detail__body .wp-caption img,
.editor-styles-wrapper figure img,
.editor-styles-wrapper .wp-caption img {
	display: block;
	width: 100%;
	height: auto;
}
.dispatch-detail__body figure > figcaption,
.dispatch-detail__body .wp-caption-text,
.editor-styles-wrapper figure > figcaption,
.editor-styles-wrapper .wp-caption-text {
	counter-increment: dispatch-figure;
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 18px 24px 20px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--ink-soft);
}
.dispatch-detail__body figure > figcaption::before,
.dispatch-detail__body .wp-caption-text::before,
.editor-styles-wrapper figure > figcaption::before,
.editor-styles-wrapper .wp-caption-text::before {
	content: "Abb. " counter(dispatch-figure, decimal-leading-zero);
	flex: none;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
	white-space: nowrap;
	padding-top: 0.2em;
}

.dispatch-detail__audio { width: 100%; margin-bottom: 24px; }

.dispatch-detail__gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 40px;
}

.dispatch-figure {
	margin: 0;
	border: 1px solid var(--card-border);
	background: var(--card-bg);
}
.dispatch-figure__caption {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 18px 24px 20px;
	font-size: 13px;
	line-height: 1.6;
}
.dispatch-figure__number {
	flex: none;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
	white-space: nowrap;
	padding-top: 0.2em;
}
.dispatch-figure__text { color: var(--ink-soft); }

/* ---- Quellenliste ---- */

.dispatch-sources {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
.dispatch-sources__label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 16px;
}
.dispatch-sources__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.dispatch-sources__item {
	display: flex;
	gap: 8px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ink-soft);
}
.dispatch-sources__number {
	font-family: var(--font-mono);
	color: var(--blue);
}
.dispatch-sources__text a { color: var(--blue-deep); text-decoration: underline; }

.dispatch-detail__footer {
	margin-top: 64px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.dispatch-detail__footer a { color: var(--blue); }

/* ---- Kommentare ---- */

.dispatch-comments {
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
.dispatch-comments__label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 24px;
}
.dispatch-comments__list {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	display: grid;
	gap: 0;
}
.dispatch-comments__item {
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}
.dispatch-comments__item:first-child { padding-top: 0; }
.dispatch-comments__item .children {
	list-style: none;
	margin: 24px 0 0;
	padding: 0 0 0 32px;
	border-left: 1px solid var(--line);
}
.dispatch-comments__item .children .dispatch-comments__item { border-bottom: none; padding-bottom: 0; }
.dispatch-comments__meta {
	display: flex;
	gap: 16px;
	align-items: baseline;
	margin-bottom: 10px;
}
.dispatch-comments__author {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 18px;
	color: var(--blue);
}
.dispatch-comments__date {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--date);
}
.dispatch-comments__pending {
	margin: 0 0 10px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--date);
}
.dispatch-comments__text p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.75;
	color: var(--ink-soft);
}
.dispatch-comments__text p:last-child { margin-bottom: 0; }
.dispatch-comments__reply a {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
}
.dispatch-comments__closed {
	font-size: 14px;
	color: var(--ink-soft);
}

.dispatch-comments__form {
	display: grid;
	gap: 18px;
	max-width: 100%;
}
.dispatch-comments__field { margin: 0; }
.dispatch-comments__field label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
}
.dispatch-comments__field input,
.dispatch-comments__field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--card-border);
	background: var(--card-bg);
	font-family: var(--font-sans);
	font-size: 15px;
	color: var(--ink);
}
.dispatch-comments__field textarea { resize: vertical; }
.dispatch-comments__submit {
	justify-self: start;
	padding: 12px 28px;
	border: 1px solid var(--blue);
	background: var(--blue);
	color: var(--cream);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.dispatch-comments__submit:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

/* ---- Kommentarzähler auf den Timeline-Karten ---- */

.dispatch-card__comments {
	margin-top: 14px;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--date);
}

/* ---- Über mich ---- */

.dispatch-about__facts {
	margin-top: 44px;
	display: grid;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 1.7;
	color: var(--ink-soft);
}

/* ---- Kontakt & Impressum ---- */

.dispatch-contact__grid {
	display: grid;
	gap: 26px;
	font-size: 15px;
	line-height: 1.8;
	color: var(--ink);
}
.dispatch-contact__label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 6px;
}

/* ---- Fallback-Listenansicht (Archiv/Suche, index.php) ---- */

.dispatch-index-list { display: grid; gap: 32px; margin-bottom: 60px; }
.dispatch-index-list__item { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dispatch-index-list__item .dispatch-card__title { margin: 0; font-size: clamp(22px, 2.8vw, 30px); }
.dispatch-index-list__item .dispatch-card__title a { color: inherit; }

.dispatch-pagination {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue);
	margin-top: 40px;
}
.dispatch-pagination a { color: var(--blue); }

/* ---- Podcast: Intro ---- */

.dispatch-podcast__intro { padding: 4.6vw 0 2.6vw; max-width: 760px; }
.dispatch-podcast__headline {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(40px, 5.6vw, 88px);
	line-height: 1.0;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin-top: 18px;
}
.dispatch-podcast__lead { margin-top: 24px; }
.dispatch-podcast__lead p {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-soft);
	max-width: 620px;
}

/* ---- Podcast: horizontal timeline ---- */

.dispatch-podcast__scrollhint {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--date);
	margin-bottom: 12px;
}

/* Bleeds to the page padding edges so the track can scroll full-width. */
.dispatch-podcast__track {
	overflow-x: auto;
	overflow-y: hidden;
	margin: 0 -3.6vw;
	padding: 0 3.6vw 30px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}
.dispatch-podcast__track:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.dispatch-podcast__list {
	display: inline-flex;
	gap: 26px;
	padding-top: 46px;
	position: relative;
}
/* The timeline line runs behind the nodes across the full scroll width. */
.dispatch-podcast__list::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--line);
}

.dispatch-podcast__episode {
	position: relative;
	width: 320px;
	flex: 0 0 320px;
	scroll-snap-align: start;
}
.dispatch-podcast__node {
	position: absolute;
	top: -32px;
	left: 50%;
	transform: translateX(-50%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--blue);
	border: 3px solid var(--cream);
	box-sizing: border-box;
}

.dispatch-podcast__card {
	display: block;
	height: 100%;
	border: 1px solid var(--card-border);
	background: var(--card-bg);
	transition: background-color .15s ease, border-color .15s ease;
}
.dispatch-podcast__card:hover { border-color: var(--blue); background: var(--card-bg-hover); }

.dispatch-podcast__cover {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-bottom: 1px solid var(--card-border);
}
.dispatch-podcast__cover img { width: 100%; height: 100%; object-fit: cover; }
.dispatch-podcast__cover-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, var(--stripe) 0 6px, var(--cream) 6px 12px);
}

.dispatch-podcast__body { padding: 20px 22px 22px; }
.dispatch-podcast__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 14px;
}
.dispatch-podcast__date { color: var(--date); }
.dispatch-podcast__title {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(22px, 2.4vw, 28px);
	line-height: 1.08;
	color: var(--blue);
	margin: 0 0 12px;
}
.dispatch-podcast__teaser {
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--ink-soft);
	margin: 0 0 18px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.dispatch-podcast__playbar {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--blue-tint);
	padding: 10px 12px;
}
.dispatch-podcast__play {
	width: 24px;
	height: 24px;
	flex: none;
	background: var(--blue);
	color: var(--cream);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
}
.dispatch-podcast__playline { flex: 1; height: 1px; background: var(--progress); }
.dispatch-podcast__duration {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--blue-deep);
}

/* ---- Podcast: episode detail extras ---- */

.dispatch-episode__cover { margin-bottom: 28px; }
.dispatch-episode__cover img { width: 100%; }
.dispatch-episode__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 30px;
}
.dispatch-episode__link {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid var(--blue);
	color: var(--blue);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color .15s ease, color .15s ease;
}
.dispatch-episode__link:hover { background: var(--blue); color: var(--cream); }

/* =========================================================================
   Responsive: unter ~760px einspaltige Timeline
   ========================================================================= */

@media (max-width: 760px) {
	.dispatch-header { flex-wrap: wrap; }
	.dispatch-hero__motif { display: none; }

	.dispatch-podcast__episode { width: 80vw; flex-basis: 80vw; }

	.dispatch-timeline__line { left: 12px; }

	.dispatch-row { grid-template-columns: 1fr; }
	.dispatch-item--left,
	.dispatch-item--right {
		grid-column: 1;
		padding-left: 40px;
		padding-right: 0;
	}
	.dispatch-item--left::before,
	.dispatch-item--right::before {
		left: 0;
		right: auto;
	}
	.dispatch-item--left::after,
	.dispatch-item--right::after {
		left: -3px;
		right: auto;
	}

	.dispatch-detail__gallery { grid-template-columns: 1fr; }
}
