/*
 * Single post (Aktuell article) — post-specific layer over the shared `.sisa-rgs`
 * magazine component (template: single.php, scope class `.sisa-akts`).
 *
 * The reading layout itself — measure, Brauer display scale, paragraph rhythm,
 * hero, progress bar — comes 1:1 from single-ratgeber.css, so the Aktuell single,
 * the Ratgeber single and the /aktuell/ archive read as one magazine. This file
 * only adds what the `post` content type needs on top:
 * - legacy classic-editor content fixes (natural-size inline images, responsive
 *   video embeds, centered leftovers);
 * - the newer/older circulation tiles before the end CTA.
 * All colors are --sisa-* tokens, so dark mode flips automatically.
 */

/* Blocksy assumes a hero adds top spacing; we render none (mirrors .single-ratgeber). */
.single-post #main { padding-top: 8px; }

/* ---------- legacy classic-editor content ----------
   The ~115 imported news posts carry raw classic-editor HTML: inline <img> at
   arbitrary native sizes and bare YouTube URLs that WP autoembeds. Unlike the
   curated Ratgeber imagery (forced to column width), legacy news images render
   at their NATURAL size, centered — a 300px snapshot blown up to 880px would
   read as mush, not editorial intent. */
.sisa-akts .sisa-rgs-body img {
	width: auto;
	max-width: 100%;
	margin-inline: auto;
}
.sisa-akts .sisa-rgs-body .aligncenter { margin-inline: auto; text-align: center; }

/* Video embeds (classic autoembed iframes + block-editor embeds): full column
   width at 16:9, sharing the image rhythm. height:auto lets aspect-ratio win
   over the iframe's fixed height attribute. */
.sisa-akts .sisa-rgs-body iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	margin: 2.2em auto;
}
.sisa-akts .sisa-rgs-body .wp-block-embed { margin: 2.2em auto; }
.sisa-akts .sisa-rgs-body .wp-block-embed iframe { margin: 0; }

/* ---------- newer/older circulation tiles ----------
   News is a stream — close the article by handing the reader the adjacent
   posts. Bordered panels in the archive-card grammar (hairline, sharp corners,
   mono kicker + Brauer title, border darkens on hover). */
.sisa-akts-adj {
	max-width: var(--rgs-col);
	margin: 3em auto 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.sisa-akts-adj__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
	background: var(--sisa-panel, #fff);
	border: 1px solid var(--sisa-hairline, #eceae3);
	text-decoration: none;
	transition: border-color .12s ease;
}
.sisa-akts-adj__card:hover { border-color: var(--sisa-ink, #1a1a1a); }
/* keep "older" anchored right when it is the only tile */
.sisa-akts-adj__card--older:only-child { grid-column: 2; }
.sisa-akts-adj__k {
	font-family: var(--sisa-mono, monospace);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--sisa-text-2, #676562);
}
.sisa-akts-adj__t {
	font-family: var(--sisa-display, "Brauer LL", serif);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: -.3px;
	color: var(--sisa-ink, #1a1a1a);
}

/* ---------- mobile ---------- */
@media (max-width: 640px) {
	.sisa-akts-adj { grid-template-columns: minmax(0, 1fr); }
	.sisa-akts-adj__card--older:only-child { grid-column: auto; }
}
