/*
 * Hallelujah News – Theme-Stile
 * Aufbau nach „Newsblock Theme Elemente“ (Claude Design).
 * Tokens liegen in tokens.css, Schriften in fonts.css.
 *
 *  1. Farbschema (hell / dunkel)
 *  2. Basis
 *  3. Hilfsklassen, Buttons, Labels
 *  4. Topbar
 *  5. Header & Navigation
 *  6. Eilmeldung
 *  7. Offcanvas & Suche
 *  8. Abschnitts-Überschriften
 *  9. Featured-Block (Overlay)
 * 10. Beitragskacheln: Grid, Liste, Nummeriert
 * 11. Archiv, Seitenkopf, Pagination
 * 12. Einzelbeitrag
 * 13. Sidebar & Widgets
 * 14. Kommentare & Formulare
 * 15. Footer
 * 16. WordPress-Kernklassen & Blöcke
 */

/* 1. Farbschema -------------------------------------------------------- */
:root,
:root[data-scheme="light"] {
	--nb-bg: #ffffff;
	--nb-bg-alt: #f6f6f8;
	--nb-card: #ffffff;
	--nb-text: #1f2132;
	--nb-head: #0d0d0d;
	--nb-muted: #666a80;
	--nb-line: #d8d9e1;
	--nb-chip: #ebebf0;
	--nb-accent: var(--htv-yellow-deep);
	--nb-ghost-fg: var(--htv-n-700);
	--nb-ghost-hover: var(--htv-n-100);
	--nb-input-bg: #ffffff;
	color-scheme: light;
}

:root[data-scheme="dark"] {
	--nb-bg: #12131f;
	--nb-bg-alt: #1f2132;
	--nb-card: #1f2132;
	--nb-text: #d8d9e1;
	--nb-head: #f8f9f0;
	--nb-muted: #8b8ea2;
	--nb-line: #33364a;
	--nb-chip: #33364a;
	--nb-ghost-fg: #d8d9e1;
	--nb-ghost-hover: #33364a;
	--nb-input-bg: #1f2132;
	--text-link: #f8f9f0;
	--text-link-hover: var(--htv-yellow);
	color-scheme: dark;
}

/* 2. Basis ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
	margin: 0;
	background: var(--nb-bg);
	color: var(--nb-text);
	font-family: var(--htv-font-body);
	font-size: var(--htv-size-body);
	line-height: var(--htv-lh-body);
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
	transition: background var(--htv-dur-3) var(--htv-ease-standard), color var(--htv-dur-3) var(--htv-ease-standard);
}

body.htv-no-scroll { overflow: hidden; }

img, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--text-link); text-decoration: none; transition: color var(--htv-dur-1) var(--htv-ease-standard), background var(--htv-dur-1) var(--htv-ease-standard), border-color var(--htv-dur-1) var(--htv-ease-standard); }
a:hover { color: var(--text-link-hover); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--htv-font-condensed);
	font-weight: 600;
	color: var(--nb-head);
	line-height: 1.05;
	margin: 0;
	text-wrap: pretty;
}

p { margin: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--nb-head);
	outline-offset: 2px;
	box-shadow: var(--focus-ring);
}

::selection { background: var(--htv-yellow); color: var(--htv-ink); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 3. Hilfsklassen, Buttons, Labels ------------------------------------- */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; margin: 0;
	left: 8px; top: 8px; z-index: 100000; padding: 12px 20px;
	background: var(--htv-yellow); color: var(--htv-ink);
	font-family: var(--htv-font-condensed); font-size: 18px; text-transform: uppercase; letter-spacing: .08em;
}

.htv-container {
	width: 100%;
	max-width: var(--htv-container);
	margin: 0 auto;
	padding: 0 var(--htv-gutter-wide);
}

.htv-icon { display: inline-block; flex: none; vertical-align: middle; }

.htv-nowrap { white-space: nowrap; }

.htv-rule { display: block; width: 64px; height: 6px; background: var(--htv-yellow); border: 0; margin: 0; flex: none; }
.htv-rule--s { width: 48px; height: 4px; }

.htv-eyebrow {
	font-family: var(--htv-font-condensed);
	font-size: 15px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--nb-accent);
	line-height: 1.2;
}

.htv-label {
	font-family: var(--htv-font-condensed);
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--nb-muted);
}

/* Logo als Schrift-Lockup (Yanone Kaffeesatz 700 + „TV“-Block als Aussparung) */
.htv-logo {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	line-height: 0;
	color: var(--htv-yellow-deep);
	--logo-sub: var(--htv-paper);
}
.htv-logo--ink { color: var(--htv-ink); --logo-sub: var(--htv-ink); }
.htv-logo--paper { color: var(--htv-paper); --logo-sub: var(--htv-paper); }
.htv-logo--brand { color: var(--htv-yellow); --logo-sub: var(--htv-yellow); }
.htv-logo__word {
	font-family: var(--htv-font-display);
	font-weight: 700;
	white-space: nowrap;
	font-size: var(--logo-size, 28px);
	line-height: .7;
	text-transform: uppercase;
	letter-spacing: -.01em;
}
.htv-logo__tv {
	display: inline-block;
	vertical-align: baseline;
	overflow: visible;
	height: calc(var(--logo-size, 28px) * .7);
	width: calc(var(--logo-size, 28px) * .7 * 715 / 700);
	margin-left: calc(var(--logo-size, 28px) * .05);
}
.htv-logo__tv rect.htv-logo__block { fill: currentColor; }
.htv-logo__sub {
	margin-top: calc(var(--logo-size, 28px) * .05);
	font-family: var(--htv-font-display);
	font-weight: 700;
	font-size: calc(var(--logo-size, 28px) * .41);
	line-height: 1;
	color: var(--logo-sub);
	text-align: justify;
	text-align-last: justify;
	letter-spacing: .05em;
	margin-right: -.05em;
	width: 0;
	min-width: 100%;
	white-space: nowrap;
}
.htv-custom-logo img { display: block; width: auto; max-height: var(--logo-size, 48px); }

/* Buttons */
.htv-btn,
.wp-block-button__link,
:where(input[type="submit"], button[type="submit"]:not(.htv-icon-btn)) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: var(--control-height);
	padding: 0 20px;
	font-family: var(--htv-font-condensed);
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: var(--htv-ink);
	background: var(--htv-yellow);
	border: 2px solid transparent;
	border-radius: var(--control-radius);
	cursor: pointer;
	transition: background var(--htv-dur-1) var(--htv-ease-standard), color var(--htv-dur-1) var(--htv-ease-standard), transform var(--htv-dur-2) var(--htv-ease-standard);
}
.htv-btn:hover,
.wp-block-button__link:hover,
:where(input[type="submit"], button[type="submit"]:not(.htv-icon-btn)):hover { background: var(--htv-yellow-deep); color: var(--htv-ink); }
.htv-btn:active,
:where(input[type="submit"], button[type="submit"]):active { transform: scale(var(--htv-press-scale)); }

.htv-btn--secondary { background: var(--htv-navy); color: var(--htv-paper); }
.htv-btn--secondary:hover { background: var(--htv-blue); color: var(--htv-paper); }
.htv-btn--outline { background: transparent; color: var(--nb-head); border-color: var(--nb-head); }
.htv-btn--outline:hover { background: var(--htv-yellow-soft); color: var(--htv-ink); border-color: var(--htv-ink); }
.htv-btn--sm { height: var(--control-height-s); padding: 0 14px; font-size: 12px; gap: 8px; }
.htv-btn--block { display: flex; width: 100%; }

.htv-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--htv-radius-sm);
	background: transparent;
	color: var(--nb-ghost-fg);
	cursor: pointer;
	flex: none;
	transition: background var(--htv-dur-1) var(--htv-ease-standard), color var(--htv-dur-1) var(--htv-ease-standard);
}
.htv-icon-btn:hover { background: var(--nb-ghost-hover); color: var(--nb-ghost-fg); }
.htv-icon-btn--night { background: var(--htv-navy); color: var(--htv-paper); }
.htv-icon-btn--night:hover { background: var(--htv-blue); color: var(--htv-paper); }
.htv-icon-btn--glass { background: rgba(13,13,13,.48); color: var(--htv-paper); backdrop-filter: var(--htv-blur-glass); }
.htv-icon-btn--glass:hover { background: rgba(13,13,13,.68); color: var(--htv-yellow); }
.htv-icon-btn--sm { width: 34px; height: 34px; }

/* Kategorie-Labels (Badge) */
.htv-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 10px;
	font-family: var(--htv-font-condensed);
	font-weight: 600;
	font-size: 11px;
	line-height: 1;
	letter-spacing: var(--htv-ls-label);
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--htv-ink);
	background: var(--htv-yellow);
	border-radius: var(--htv-radius-xs);
}
a.htv-badge:hover { color: var(--htv-ink); background: var(--htv-yellow-deep); }
.htv-badge--navy { background: var(--htv-navy); color: var(--htv-paper); }
a.htv-badge--navy:hover { background: var(--htv-blue); color: var(--htv-paper); }
.htv-badge--magenta { background: var(--htv-magenta); color: #fff; }
a.htv-badge--magenta:hover { background: var(--htv-rose); color: #fff; }
.htv-badge--neutral { background: var(--htv-n-100); color: var(--htv-n-700); }
a.htv-badge--neutral:hover { background: var(--htv-n-200); color: var(--htv-ink); }
.htv-badge--live { background: var(--htv-live); color: #fff; }
.htv-badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.htv-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.htv-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--htv-live); flex: none; }

/* Meta-Zeilen */
.htv-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--nb-muted);
}
.htv-meta > * { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.htv-meta a { color: inherit; }
.htv-meta a:hover { color: var(--nb-accent); }
.htv-meta--icons { gap: 8px 16px; font-size: 14px; }

/* Bildflächen */
.htv-media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--htv-gradient-night);
	border-radius: var(--htv-radius-sm);
}
.htv-media--dusk { background: var(--htv-gradient-dusk); }
.htv-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--htv-dur-4) var(--htv-ease-standard);
}
.htv-ratio-16x9 { aspect-ratio: 16 / 9; }
.htv-ratio-1x1 { aspect-ratio: 1; }

.htv-duration {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: flex;
	gap: 6px;
	align-items: center;
	background: var(--htv-scrim-flat);
	color: var(--htv-paper);
	font-size: 13px;
	line-height: 1.4;
	padding: 3px 8px;
	border-radius: 2px;
	white-space: nowrap;
	transition: background var(--htv-dur-1) var(--htv-ease-standard), color var(--htv-dur-1) var(--htv-ease-standard);
}

/* 4. Topbar ------------------------------------------------------------ */
.htv-topbar { background: var(--htv-ink); color: var(--text-inverse-muted); }
.htv-topbar__inner {
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 13px;
	white-space: nowrap;
}
.htv-topbar__info { display: flex; gap: 16px; align-items: center; min-width: 0; overflow: hidden; }
.htv-topbar__live { display: flex; align-items: center; gap: 8px; color: var(--htv-paper); }
.htv-topbar__live:hover { color: var(--htv-yellow); }
.htv-topbar__social { display: flex; gap: 12px; align-items: center; }
.htv-topbar__social a { color: var(--text-inverse-muted); display: inline-flex; }
.htv-topbar__social a:hover { color: var(--htv-yellow); }
.htv-topbar__menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.htv-topbar__menu a { color: var(--text-inverse-muted); }
.htv-topbar__menu a:hover { color: var(--htv-yellow); }

/* 5. Header & Navigation ----------------------------------------------- */
.htv-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--htv-navy);
	color: var(--htv-paper);
}
.htv-header__inner {
	height: 76px;
	display: flex;
	align-items: center;
	gap: 32px;
}
.htv-header__brand { display: flex; align-items: center; color: var(--htv-yellow-deep); flex: none; }
.htv-header__brand:hover { color: var(--htv-yellow-deep); }
.htv-header__spacer { flex: 1; }
.htv-header__actions { display: flex; gap: 8px; align-items: center; flex: none; }
.htv-header .htv-site-title { font-family: var(--htv-font-display); font-weight: 700; font-size: 32px; text-transform: uppercase; color: var(--htv-yellow-deep); line-height: 1; }

.htv-nav { flex: none; }
.htv-nav ul { list-style: none; margin: 0; padding: 0; }
.htv-nav > ul { display: flex; gap: 24px; white-space: nowrap; }
.htv-nav li { position: relative; }
.htv-nav > ul > li > a {
	color: var(--htv-paper);
	display: flex;
	align-items: center;
	gap: 4px;
	height: 76px;
	border-bottom: 4px solid transparent;
	border-top: 4px solid transparent;
	font-family: var(--htv-font-condensed);
	font-size: 19px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.htv-nav > ul > li > a:hover,
.htv-nav > ul > li:focus-within > a,
.htv-nav > ul > li.current-menu-item > a,
.htv-nav > ul > li.current-menu-ancestor > a,
.htv-nav > ul > li.current-post-ancestor > a { border-bottom-color: var(--htv-yellow); color: var(--htv-paper); }
.htv-nav .menu-item-has-children > a::after {
	content: "";
	width: 6px; height: 6px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	margin-left: 4px;
	opacity: .7;
}
.htv-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 220px;
	padding: 8px 0;
	background: var(--htv-navy);
	border-top: 4px solid var(--htv-yellow);
	box-shadow: var(--htv-shadow-3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity var(--htv-dur-2) var(--htv-ease-standard), transform var(--htv-dur-2) var(--htv-ease-standard), visibility var(--htv-dur-2);
}
.htv-nav li:hover > .sub-menu,
.htv-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.htv-nav .sub-menu .sub-menu { top: -12px; left: 100%; }
.htv-nav .sub-menu a {
	display: block;
	padding: 8px 16px;
	color: var(--htv-paper);
	font-family: var(--htv-font-condensed);
	font-size: 18px;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.htv-nav .sub-menu a:hover { background: var(--htv-blue); color: var(--htv-yellow); }

/* Menüpunkt als gelber Button: CSS-Klasse „htv-menu-button“ */
.htv-nav > ul > li.htv-menu-button > a {
	height: var(--control-height-s);
	align-self: center;
	margin-top: 21px;
	padding: 0 14px;
	background: var(--htv-yellow);
	color: var(--htv-ink);
	border: 0;
	border-radius: var(--control-radius);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .1em;
}
.htv-nav > ul > li.htv-menu-button > a:hover { background: var(--htv-yellow-deep); color: var(--htv-ink); }

.htv-scheme-toggle .htv-icon--sun { display: none; }
:root[data-scheme="dark"] .htv-scheme-toggle .htv-icon--sun { display: inline-block; }
:root[data-scheme="dark"] .htv-scheme-toggle .htv-icon--moon { display: none; }
.htv-header .htv-scheme-toggle { background: transparent; color: var(--htv-paper); border-radius: 2px; }
.htv-header .htv-scheme-toggle:hover { background: var(--htv-blue); color: var(--htv-paper); }

/* Wie Newsblock: volles Menü ab 1020 px, darunter Burger. */
@media (max-width: 1019px) {
	.htv-nav { display: none; }
}
@media (min-width: 1020px) {
	.htv-header:not(.htv-header--burger):not(.is-compact) .htv-header__burger { display: none; }
}
@media (min-width: 1020px) and (max-width: 1239px) {
	.htv-header__inner { gap: 20px; }
	.htv-nav > ul { gap: 16px; }
	.htv-nav > ul > li > a { font-size: 17px; letter-spacing: .04em; }
}
/* Passt das Menü nicht in die Zeile (viele Menüpunkte), schaltet das Skript auf den Burger um. */
.htv-header.is-compact .htv-nav { display: none; }

/* Mobiler Header · 60 px */
@media (max-width: 720px) {
	.htv-header__inner { height: 60px; gap: 8px; justify-content: space-between; }
	.htv-container { padding: 0 16px; }
	.htv-header .htv-container { padding: 0 8px; }
	.htv-header__brand,
	.htv-header__brand .htv-logo { --logo-size: 22px !important; }
	.htv-header__brand.htv-custom-logo { --logo-size: 40px !important; }
	.htv-header__brand { position: absolute; left: 50%; transform: translateX(-50%); }
	.htv-header__inner { position: relative; }
	.htv-header__spacer,
	.htv-header__actions .htv-scheme-toggle,
	.htv-header__actions .htv-support { display: none; }
	.htv-topbar__social { display: none; }
	html { scroll-padding-top: 76px; }
}

/* 6. Eilmeldung -------------------------------------------------------- */
.htv-breaking { background: var(--nb-bg-alt); border-bottom: 1px solid var(--nb-line); }
.htv-breaking__inner { height: 48px; display: flex; align-items: center; gap: 16px; overflow: hidden; }
.htv-breaking__label {
	font-family: var(--htv-font-condensed);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.25;
	letter-spacing: .14em;
	text-transform: uppercase;
	background: var(--htv-yellow);
	color: var(--htv-ink);
	padding: 4px 10px;
	border-radius: 2px;
	white-space: nowrap;
	flex: none;
}
.htv-breaking__text {
	font-size: 15px;
	color: var(--nb-head);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}
a.htv-breaking__text:hover { color: var(--nb-accent); }

/* 7. Offcanvas & Suche -------------------------------------------------- */
.htv-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(6,25,94,.48);
	backdrop-filter: var(--htv-blur-glass);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--htv-dur-3) var(--htv-ease-standard), visibility var(--htv-dur-3);
}
.htv-overlay.is-open { opacity: 1; visibility: visible; }

.htv-offcanvas {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 100;
	width: 320px;
	max-width: 90vw;
	overflow-y: auto;
	background: var(--htv-navy);
	color: var(--htv-paper);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	transform: translateX(-100%);
	visibility: hidden;
	transition: transform var(--htv-dur-3) var(--htv-ease-standard), visibility var(--htv-dur-3);
}
.admin-bar .htv-offcanvas { top: var(--wp-admin--admin-bar--height, 0px); }
.htv-offcanvas.is-open { transform: none; visibility: visible; }
.htv-offcanvas__head { display: flex; justify-content: space-between; align-items: center; }
.htv-offcanvas__head a { color: var(--htv-yellow-deep); }
.htv-offcanvas__nav ul { list-style: none; margin: 0; padding: 0; }
.htv-offcanvas__nav a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 48px;
	border-bottom: 1px solid var(--border-inverse);
	color: var(--htv-paper);
	font-family: var(--htv-font-condensed);
	font-size: 24px;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.htv-offcanvas__nav a .htv-icon { color: var(--htv-yellow); }
.htv-offcanvas__nav a:hover,
.htv-offcanvas__nav .current-menu-item > a { color: var(--htv-yellow); }
.htv-offcanvas__nav .sub-menu a { padding-left: 16px; font-size: 20px; min-height: 44px; }
.htv-offcanvas__foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.htv-offcanvas__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.htv-offcanvas .htv-scheme-toggle { color: var(--htv-paper); }
.htv-offcanvas .htv-scheme-toggle:hover { background: var(--htv-blue); color: var(--htv-paper); }
.htv-offcanvas__note { font-size: 13px; color: var(--text-inverse-muted); }

.htv-search-panel {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 100;
	background: var(--htv-navy);
	color: var(--htv-paper);
	padding: 16px 0 20px;
	border-bottom: 4px solid var(--htv-yellow);
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform var(--htv-dur-3) var(--htv-ease-standard), visibility var(--htv-dur-3);
}
.admin-bar .htv-search-panel { top: var(--wp-admin--admin-bar--height, 0px); }
.htv-search-panel.is-open { transform: none; visibility: visible; }
.htv-search-panel__inner { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.htv-search-panel__head { display: flex; justify-content: space-between; align-items: center; }
.htv-search-panel .htv-label { color: var(--text-inverse-muted); }
.htv-search-panel .htv-searchform__input { background: transparent; color: var(--htv-paper); border-color: rgba(248,249,240,.5); height: 44px; font-size: 17px; }
.htv-search-panel .htv-searchform__input:focus { border-color: var(--htv-paper); box-shadow: none; }
.htv-search-panel .htv-searchform__input::placeholder { color: var(--text-inverse-muted); }

.htv-searchform { display: flex; gap: 8px; width: 100%; }
.htv-searchform__input { flex: 1; min-width: 0; }

/* 8. Abschnitts-Überschriften ------------------------------------------ */
.htv-section { padding: 40px 0; display: flex; flex-direction: column; gap: 32px; }
.htv-section + .htv-section { padding-top: 16px; }
.htv-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid var(--nb-line);
	padding-bottom: 12px;
}
.htv-section-head__title { display: flex; flex-direction: column; gap: 8px; }
.htv-section-head h2 {
	font-weight: 700;
	font-size: 32px;
	text-transform: uppercase;
	line-height: .9;
}
.htv-more {
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	flex: none;
	font-family: var(--htv-font-condensed);
	font-size: 18px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--nb-head);
}
.htv-more:hover { color: var(--htv-yellow-deep); }

.htv-widget-title { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.htv-widget-title h2,
.htv-widget-title h3 { font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: .9; }

/* 9. Featured-Block (Overlay) ------------------------------------------ */
.htv-featured {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 24px;
}
.htv-featured__side { display: flex; flex-direction: column; gap: 24px; }
.htv-featured > .htv-overlay-card--lead { grid-column: span 2; }
@media (max-width: 760px) {
	.htv-featured > .htv-overlay-card--lead { grid-column: auto; }
}

.htv-overlay-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 208px;
	flex: 1;
	border-radius: var(--htv-radius-md);
	overflow: hidden;
	background: var(--htv-gradient-night);
	color: var(--htv-paper);
	isolation: isolate;
}
.htv-overlay-card--lead { min-height: 440px; background: var(--htv-gradient-dusk); }
.htv-overlay-card:hover { color: var(--htv-paper); }
.htv-overlay-card__img { position: absolute; inset: 0; z-index: -2; }
.htv-overlay-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--htv-dur-4) var(--htv-ease-standard); }
.htv-overlay-card:hover .htv-overlay-card__img img { transform: scale(1.03); }
.htv-overlay-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--htv-scrim-bottom); }
.htv-overlay-card__body { position: relative; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.htv-overlay-card--lead .htv-overlay-card__body { padding: 32px; gap: 12px; max-width: 640px; }
.htv-overlay-card__eyebrow {
	font-family: var(--htv-font-condensed);
	font-size: 14px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--htv-yellow);
}
.htv-overlay-card__title { color: inherit; font-weight: 600; font-size: 28px; line-height: 1; }
.htv-overlay-card--lead .htv-overlay-card__title { font-weight: 700; font-size: 56px; line-height: .9; text-transform: uppercase; }
.htv-overlay-card .htv-meta { font-size: 14px; gap: 4px 16px; color: var(--text-inverse-muted); }
.htv-overlay-card__play {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--htv-scrim-flat);
	border-radius: 2px;
	color: var(--htv-paper);
	transition: background var(--htv-dur-1) var(--htv-ease-standard), color var(--htv-dur-1) var(--htv-ease-standard);
}
.htv-overlay-card:hover .htv-overlay-card__play { background: var(--htv-yellow); color: var(--htv-ink); }
@media (max-width: 600px) {
	.htv-overlay-card--lead { min-height: 380px; }
	.htv-overlay-card--lead .htv-overlay-card__body { padding: 24px; }
	.htv-overlay-card--lead .htv-overlay-card__title { font-size: 42px; }
}

/* 10. Beitragskacheln --------------------------------------------------- */
.htv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 40px 24px;
}
.htv-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.htv-card { display: flex; flex-direction: column; gap: 12px; color: var(--nb-text); min-width: 0; }
.htv-card,
.htv-list-item { position: relative; }
.htv-stretched { color: inherit; }
.htv-stretched:hover { color: inherit; }
.htv-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.htv-card a:not(.htv-stretched),
.htv-list-item a:not(.htv-stretched) { position: relative; z-index: 2; }
.htv-card:hover .htv-media img { transform: scale(1.03); }
.htv-card:hover .htv-duration { background: var(--htv-yellow); color: var(--htv-ink); }
.htv-card__title { font-weight: 600; font-size: 26px; line-height: 1.05; color: var(--nb-head); transition: color var(--htv-dur-1) var(--htv-ease-standard); }
.htv-card:hover .htv-card__title { color: var(--nb-accent); }
.htv-card__excerpt { font-size: 15px; line-height: 1.6; }
.htv-card .htv-eyebrow a,
.htv-list-item .htv-eyebrow a { color: inherit; }

.htv-lists {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 40px;
}
.htv-list { display: flex; flex-direction: column; gap: 20px; }

.htv-list-item {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 16px;
	align-items: start;
	color: var(--nb-text);
}
.htv-list-item .htv-media { background: var(--htv-gradient-dusk); }
.htv-list-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.htv-list-item .htv-eyebrow { font-size: 14px; }
.htv-list-item__title { font-weight: 600; font-size: 22px; line-height: 1.05; color: var(--nb-head); }
.htv-list-item__title a { color: inherit; }
.htv-list-item__title a:hover,
.htv-list-item:hover .htv-list-item__title { color: var(--nb-accent); }
.htv-list-item__date { font-size: 13px; color: var(--nb-muted); }
@media (max-width: 480px) {
	.htv-list-item { grid-template-columns: 120px 1fr; gap: 12px; }
	.htv-list-item__title { font-size: 20px; }
}

.htv-numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; counter-reset: htv-num; }
.htv-numbered__item a {
	display: flex;
	gap: 20px;
	align-items: baseline;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--nb-line);
	color: var(--nb-head);
}
.htv-numbered__item a:hover { color: var(--htv-yellow-deep); }
.htv-numbered__n {
	font-family: var(--htv-font-condensed);
	font-weight: 700;
	font-size: 48px;
	line-height: .9;
	color: var(--htv-yellow-deep);
	min-width: 32px;
	flex: none;
}
.htv-numbered__title { font-weight: 600; font-size: 22px; line-height: 1.05; color: inherit; }

/* 11. Archiv, Seitenkopf, Pagination ----------------------------------- */
.htv-page-head { padding: 56px 0 8px; display: flex; flex-direction: column; gap: 16px; }
.htv-page-head__title {
	font-family: var(--htv-font-display);
	font-weight: 700;
	font-size: 64px;
	line-height: .9;
	text-transform: uppercase;
}
.htv-page-head__desc { max-width: 720px; color: var(--nb-text); }
.htv-page-head .htv-label { font-size: 15px; letter-spacing: .18em; line-height: 1.3; }
@media (max-width: 600px) {
	.htv-page-head { padding-top: 40px; }
	.htv-page-head__title { font-size: 48px; }
}

.htv-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	padding: 40px 0 80px;
}
.htv-layout--full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) {
	.htv-layout { grid-template-columns: minmax(0, 1fr); }
}
.htv-layout__main { min-width: 0; display: flex; flex-direction: column; gap: 40px; }

.htv-pagination { margin-top: 8px; }
.htv-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.htv-pagination .page-numbers {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--nb-line);
	border-radius: 2px;
	color: var(--nb-head);
	font-family: var(--htv-font-condensed);
	font-size: 20px;
	line-height: 1;
}
a.page-numbers:hover { border-color: var(--htv-yellow); background: var(--htv-yellow-soft); color: var(--htv-ink); }
.htv-pagination .page-numbers.current { background: var(--htv-yellow); border-color: var(--htv-yellow); color: var(--htv-ink); }
.htv-pagination .page-numbers.dots { border-color: transparent; color: var(--nb-muted); }

.htv-empty__title { font-weight: 700; font-size: 32px; text-transform: uppercase; line-height: .9; }
.htv-narrow { max-width: 720px; }
.htv-narrow--spaced { margin: 24px 0 16px; }
.htv-empty { padding: 40px; background: var(--nb-bg-alt); border-radius: var(--htv-radius-md); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* 12. Einzelbeitrag ---------------------------------------------------- */
.htv-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--nb-muted); }
.htv-breadcrumbs a { color: var(--nb-muted); }
.htv-breadcrumbs a:hover { color: var(--nb-accent); }
.htv-breadcrumbs [aria-current] { color: var(--nb-head); }

.htv-article { display: flex; flex-direction: column; gap: 24px; max-width: 720px; min-width: 0; }
.htv-article__title {
	font-weight: 700;
	font-size: 56px;
	line-height: .9;
	text-transform: uppercase;
}
.htv-article__subheadline { font-size: 21px; line-height: 1.4; font-weight: 600; color: var(--nb-head); margin-top: -12px; }
.htv-article__lead { font-size: 19px; line-height: 1.55; color: var(--nb-text); }
@media (max-width: 600px) {
	.htv-article__title { font-size: 42px; }
}

.htv-byline {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	padding: 16px 0;
	border-top: 1px solid var(--nb-line);
	border-bottom: 1px solid var(--nb-line);
}
.htv-byline__author { display: flex; gap: 12px; align-items: center; }
.htv-byline__text { display: flex; flex-direction: column; gap: 2px; }
.htv-byline__name { font-weight: 600; color: var(--nb-head); font-size: 15px; }
.htv-byline__name:hover { color: var(--nb-accent); }
.htv-byline__sub { font-size: 13px; color: var(--nb-muted); }
.htv-avatar { border-radius: 50%; background: var(--htv-gradient-dusk); flex: none; display: block; object-fit: cover; align-self: flex-start; aspect-ratio: 1; }
.htv-byline .htv-avatar { align-self: center; }
.htv-share { display: flex; gap: 4px; }

.htv-article__media { border-radius: var(--htv-radius-md); margin: 0; }
.htv-article__media img { border-radius: var(--htv-radius-md); }
.htv-article__caption { font-size: 13px; color: var(--nb-muted); margin-top: 8px; }
.htv-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--htv-radius-md); overflow: hidden; background: var(--htv-ink); }
.htv-video-frame iframe,
.htv-video-frame video,
.htv-video-frame .wp-video,
.htv-video-frame embed,
.htv-video-frame object { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

/* Fließtext */
.htv-content { font-size: 17px; line-height: 1.6; display: flow-root; }
.htv-content > * { margin-top: 0; margin-bottom: 24px; }
.htv-content > *:last-child { margin-bottom: 0; }
.htv-content a { color: var(--nb-head); text-decoration: underline; text-decoration-color: var(--htv-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.htv-content a:hover { color: var(--nb-accent); }
.htv-content h2 { font-weight: 700; font-size: 36px; line-height: .95; text-transform: uppercase; margin-top: 40px; }
.htv-content h3 { font-weight: 600; font-size: 28px; line-height: 1.05; margin-top: 32px; }
.htv-content h4 { font-weight: 600; font-size: 22px; margin-top: 24px; }
.htv-content h5,
.htv-content h6 { font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .08em; }
.htv-content ul,
.htv-content ol { padding-left: 1.4em; }
.htv-content li + li { margin-top: 6px; }
.htv-content ul li::marker { color: var(--htv-yellow-deep); }
.htv-content blockquote,
.wp-block-quote,
.wp-block-pullquote blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 24px 0;
	border: 0;
	border-top: 6px solid var(--htv-yellow);
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
}
.htv-content blockquote p,
.wp-block-pullquote p {
	margin: 0;
	font-family: var(--htv-font-condensed);
	font-weight: 600;
	font-size: 34px;
	line-height: 1.05;
	color: var(--nb-head);
}
.htv-content blockquote cite,
.wp-block-quote cite,
.wp-block-pullquote cite {
	font-style: normal;
	font-family: var(--htv-font-condensed);
	font-size: 16px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--nb-muted);
}
.wp-block-pullquote { padding: 0; border: 0; }
.htv-content figure { margin-left: 0; margin-right: 0; }
.htv-content figcaption,
.wp-element-caption { font-size: 13px; color: var(--nb-muted); margin-top: 8px; }
.htv-content img { border-radius: var(--htv-radius-sm); }
.htv-content hr,
.wp-block-separator { border: 0; height: 6px; width: 64px; background: var(--htv-yellow); margin: 40px 0; }
.wp-block-separator.is-style-wide { width: 100%; height: 1px; background: var(--nb-line); }
.htv-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.htv-content th,
.htv-content td { padding: 10px 12px; border-bottom: 1px solid var(--nb-line); text-align: left; }
.htv-content th { font-family: var(--htv-font-condensed); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--nb-head); }
.htv-content pre,
.htv-content code { font-family: var(--htv-font-mono); font-size: 14px; background: var(--nb-bg-alt); border-radius: var(--htv-radius-sm); }
.htv-content pre { padding: 16px; overflow-x: auto; }
.htv-content code { padding: 2px 4px; }
.htv-content .alignwide { max-width: none; }
.htv-content .alignleft { float: left; margin: 0 24px 16px 0; max-width: 50%; }
.htv-content .alignright { float: right; margin: 0 0 16px 24px; max-width: 50%; }
.htv-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.htv-content .wp-block-embed__wrapper { position: relative; }
.htv-content .wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.htv-content .wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.htv-page-links { font-family: var(--htv-font-condensed); font-size: 18px; display: flex; gap: 8px; align-items: center; }

.htv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.htv-tags a {
	padding: 6px 12px;
	background: var(--nb-chip);
	color: var(--nb-head);
	font-size: 14px;
	line-height: 1.4;
	border-radius: 2px;
}
.htv-tags a:hover { background: var(--htv-yellow); color: var(--htv-ink); }

.htv-author-box { display: flex; gap: 20px; padding: 24px; background: var(--nb-bg-alt); border-radius: var(--htv-radius-md); }
.htv-author-box__body { display: flex; flex-direction: column; gap: 6px; }
.htv-author-box .htv-label { font-size: 14px; letter-spacing: .16em; }
.htv-author-box__name { font-family: var(--htv-font-condensed); font-weight: 600; font-size: 26px; line-height: 1.1; color: var(--nb-head); }
.htv-author-box__name:hover { color: var(--nb-accent); }
.htv-author-box p { font-size: 15px; line-height: 1.6; }
@media (max-width: 480px) {
	.htv-author-box { flex-direction: column; }
}

.htv-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--nb-line); padding-top: 24px; }
.htv-post-nav a { display: flex; flex-direction: column; gap: 6px; color: var(--nb-head); }
.htv-post-nav a:hover { color: var(--nb-accent); }
.htv-post-nav__next { text-align: right; align-items: flex-end; }
.htv-post-nav__title { font-family: var(--htv-font-condensed); font-weight: 600; font-size: 22px; line-height: 1.05; }

.htv-related { border-top: 1px solid var(--nb-line); padding-top: 40px; }

/* 13. Sidebar & Widgets ------------------------------------------------- */
.htv-sidebar { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
/* Mitlaufend: die Sidebar reicht über die ganze Höhe, das letzte Widget klebt. */
.htv-sidebar--sticky { align-self: stretch; }
.htv-sidebar--sticky > .widget:last-child { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px); }
@media (max-width: 960px) {
	.htv-sidebar--sticky > .widget:last-child { position: static; }
}

/* Bis 600 px scrollt die WordPress-Adminleiste mit – der Header klebt dann ganz oben. */
@media (max-width: 600px) {
	.admin-bar .htv-header { top: 0; }
}
.widget { min-width: 0; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget:not(.htv-widget) li { padding: 8px 0; border-bottom: 1px solid var(--nb-line); }
.widget:not(.htv-widget) li a { color: var(--nb-head); }
.widget:not(.htv-widget) li a:hover { color: var(--nb-accent); }
.widget select { width: 100%; }

.htv-mini-list { display: flex; flex-direction: column; gap: 16px; }
.htv-mini {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 12px;
	align-items: center;
	color: var(--nb-head);
}
.htv-mini:hover { color: var(--htv-yellow-deep); }
.htv-mini__body { display: flex; flex-direction: column; gap: 4px; }
.htv-mini__title { font-family: var(--htv-font-condensed); font-weight: 600; font-size: 19px; line-height: 1.05; }
.htv-mini__date { font-size: 13px; color: var(--nb-muted); }

.htv-newsletter {
	background: var(--htv-yellow);
	color: var(--htv-ink);
	border-radius: var(--htv-radius-md);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.htv-newsletter h2,
.htv-newsletter h3 { color: var(--htv-ink); font-weight: 700; font-size: 40px; line-height: .9; text-transform: uppercase; }
.htv-newsletter p { font-size: 15px; line-height: 1.6; }
.htv-newsletter form { display: flex; flex-direction: column; gap: 12px; }
.htv-newsletter input[type="email"] {
	height: 44px;
	padding: 0 12px;
	border: 2px solid var(--htv-ink);
	border-radius: 2px;
	background: #fff;
	color: var(--htv-ink);
	font-family: var(--htv-font-body);
	font-size: 15px;
	width: 100%;
}
.htv-newsletter .htv-newsletter__note { font-size: 13px; }
.htv-newsletter .htv-newsletter__note a { color: var(--htv-ink); text-decoration: underline; }

.htv-social-list { display: flex; flex-direction: column; gap: 8px; }
.htv-social-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 48px;
	padding: 0 16px;
	background: var(--nb-bg-alt);
	border-radius: var(--htv-radius-sm);
	color: var(--nb-head);
}
.htv-social-list a:hover { background: var(--htv-yellow); color: var(--htv-ink); }
.htv-social-list__name { flex: 1; font-family: var(--htv-font-condensed); font-size: 19px; text-transform: uppercase; letter-spacing: .06em; }
.htv-social-list__count { font-size: 13px; color: var(--nb-muted); }
.htv-social-list a:hover .htv-social-list__count { color: var(--htv-ink); }

/* 14. Kommentare & Formulare ------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	font-family: var(--htv-font-body);
	font-size: 15px;
	color: var(--nb-head);
	background: var(--nb-input-bg);
	border: 2px solid var(--nb-line);
	border-radius: 2px;
	padding: 0 12px;
	height: 44px;
	max-width: 100%;
	transition: border-color var(--htv-dur-1) var(--htv-ease-standard);
}
textarea { height: auto; min-height: 140px; padding: 12px; width: 100%; line-height: 1.6; }
input:focus,
textarea:focus,
select:focus { border-color: var(--nb-head); outline: none; box-shadow: var(--focus-ring); }
label { font-size: 14px; color: var(--nb-muted); }

.htv-comments { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--nb-line); padding-top: 40px; }
.htv-comments .comment-list,
.htv-comments .children { list-style: none; margin: 0; padding: 0; }
.htv-comments .children { padding-left: 32px; }
.htv-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--nb-line); display: flex; flex-direction: column; gap: 8px; }
.htv-comments .comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--nb-head); }
.htv-comments .comment-author img { border-radius: 50%; }
.htv-comments .comment-author .says { display: none; }
.htv-comments .comment-metadata { font-size: 13px; }
.htv-comments .comment-metadata a { color: var(--nb-muted); }
.htv-comments .reply a { font-family: var(--htv-font-condensed); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--nb-head); }
.htv-comments .reply a:hover { color: var(--nb-accent); }
.comment-respond { display: flex; flex-direction: column; gap: 16px; }
.comment-reply-title { font-weight: 700; font-size: 26px; text-transform: uppercase; }
.comment-form { display: flex; flex-direction: column; gap: 16px; }
.comment-form p { display: flex; flex-direction: column; gap: 6px; }
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: flex-start; gap: 8px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] { width: 100%; }

/* 15. Footer ----------------------------------------------------------- */
.htv-footer { background: var(--htv-gradient-night); color: var(--text-inverse-muted); margin-top: 40px; }
.htv-footer__grid {
	padding-top: 64px;
	padding-bottom: 32px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
}
.htv-footer__brand { display: flex; flex-direction: column; gap: 16px; grid-column: span 2; }
@media (max-width: 520px) { .htv-footer__brand { grid-column: auto; } }
.htv-footer__brand > a { color: var(--htv-yellow-deep); align-self: flex-start; }
.htv-footer__tagline {
	margin-top: -10px;
	font-family: var(--htv-font-condensed);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	letter-spacing: .05em;
	color: var(--htv-paper);
	text-align: left;
}
.htv-footer__about { font-size: 15px; line-height: 1.6; max-width: 420px; }
.htv-footer__col { display: flex; flex-direction: column; gap: 12px; }
.htv-footer__heading {
	font-family: var(--htv-font-condensed);
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--htv-paper);
}
.htv-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.htv-footer a { color: var(--text-inverse-muted); font-size: 15px; }
.htv-footer a:hover { color: var(--htv-yellow); }
.htv-footer .widget li { border: 0; padding: 0; }
.htv-footer .widget li a { color: var(--text-inverse-muted); }
.htv-footer__bottom {
	padding-top: 20px;
	padding-bottom: 20px;
	border-top: 1px solid var(--border-inverse);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
}
.htv-footer__social { display: flex; gap: 4px; }
.htv-footer__social a.htv-icon-btn { color: var(--htv-paper); }
.htv-footer__social a.htv-icon-btn:hover { color: var(--htv-yellow); }

.htv-to-top {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 40;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--htv-dur-2) var(--htv-ease-standard), transform var(--htv-dur-2) var(--htv-ease-standard), visibility var(--htv-dur-2), background var(--htv-dur-1);
	background: var(--htv-yellow);
	color: var(--htv-ink);
}
.htv-to-top:hover { background: var(--htv-yellow-deep); color: var(--htv-ink); }
.htv-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* 16. WordPress-Kernklassen & Blöcke ----------------------------------- */
.alignnone { margin: 0; }
.wp-caption { max-width: 100%; }
.sticky { position: relative; }
.bypostauthor { display: block; }
.gallery-caption { font-size: 13px; }
.has-htv-yellow-color { color: var(--htv-yellow) !important; }
.has-htv-yellow-background-color { background-color: var(--htv-yellow) !important; }
.has-htv-gold-color { color: var(--htv-yellow-deep) !important; }
.has-htv-gold-background-color { background-color: var(--htv-yellow-deep) !important; }
.has-htv-navy-color { color: var(--htv-navy) !important; }
.has-htv-navy-background-color { background-color: var(--htv-navy) !important; }
.has-htv-blue-color { color: var(--htv-blue) !important; }
.has-htv-blue-background-color { background-color: var(--htv-blue) !important; }
.has-htv-magenta-color { color: var(--htv-magenta) !important; }
.has-htv-magenta-background-color { background-color: var(--htv-magenta) !important; }
.has-htv-coral-color { color: var(--htv-coral) !important; }
.has-htv-coral-background-color { background-color: var(--htv-coral) !important; }
.has-htv-ink-color { color: var(--htv-ink) !important; }
.has-htv-ink-background-color { background-color: var(--htv-ink) !important; }
.has-htv-paper-color { color: var(--htv-paper) !important; }
.has-htv-paper-background-color { background-color: var(--htv-paper) !important; }
.has-htv-dusk-gradient-background { background: var(--htv-gradient-dusk) !important; }
.has-htv-night-gradient-background { background: var(--htv-gradient-night) !important; }
.has-htv-dawn-gradient-background { background: var(--htv-gradient-dawn) !important; }

.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--nb-head); border-color: var(--nb-head); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--htv-yellow-soft); color: var(--htv-ink); }

/* Beitragsblock auf Seiten (Startseite mit Blöcken) */
.htv-block { margin: 0 0 40px; display: flex; flex-direction: column; gap: 32px; }
.htv-block.htv-section { margin: 0; }
.htv-lists > .htv-block { margin: 0; gap: 20px; }
.htv-page-builder > .htv-block:first-child { margin-top: 40px; }
.htv-page-builder > .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.htv-block__empty { padding: 24px; border: 1px dashed var(--nb-line); color: var(--nb-muted); font-size: 15px; }

/* 17. Sender-Player, „Als Nächstes“, Programm ---------------------------- */
.htv-player-wrap { display: grid; gap: 24px; align-items: start; }
.htv-player-wrap--list { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 960px) {
	.htv-player-wrap--list { grid-template-columns: minmax(0, 1fr); }
}
.htv-player { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.htv-player__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--htv-radius-md);
	overflow: hidden;
	background: var(--htv-gradient-night);
}
.htv-player__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	z-index: 1;
}
.htv-player__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.htv-player__poster::after { content: ""; position: absolute; inset: 0; background: rgba(6,25,94,.25); transition: background var(--htv-dur-1) var(--htv-ease-standard); }
.htv-player__poster:hover::after { background: rgba(6,25,94,.1); }
.htv-player__play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	width: 84px;
	height: 84px;
	margin: -42px 0 0 -42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--htv-radius-sm);
	background: var(--htv-yellow);
	color: var(--htv-ink);
	box-shadow: var(--htv-shadow-hard);
	transition: transform var(--htv-dur-2) var(--htv-ease-standard);
}
.htv-player__poster:hover .htv-player__play { transform: scale(1.06); }
.htv-player__frame,
.htv-player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.htv-player.is-playing .htv-player__poster { display: none; }
.htv-player.has-consent .htv-player__consent { display: none; }
.htv-player__consent { font-size: 13px; color: var(--nb-muted); }
.htv-player__consent a { color: inherit; text-decoration: underline; }
.htv-player__upnext {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	text-align: center;
	background: rgba(6,25,94,.92);
	color: var(--htv-paper);
}
.htv-player__upnext[hidden] { display: none; }
.htv-player__upnext .htv-label { color: var(--text-inverse-muted); }
.htv-player__upnext strong { font-family: var(--htv-font-condensed); font-weight: 600; font-size: 28px; line-height: 1.05; max-width: 560px; }
.htv-player__count { font-family: var(--htv-font-condensed); font-size: 40px; font-weight: 700; color: var(--htv-yellow); line-height: 1; }
.htv-player__upnext-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.htv-btn--ghost-inverse { background: transparent; color: var(--htv-paper); border-color: var(--border-inverse); }
.htv-btn--ghost-inverse:hover { background: var(--htv-blue); color: var(--htv-paper); }
.htv-player__now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.htv-player__now-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--htv-font-condensed);
	font-size: 14px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--nb-muted);
	white-space: nowrap;
}
.htv-player__now-title { font-family: var(--htv-font-condensed); font-weight: 600; font-size: 26px; line-height: 1.05; color: var(--nb-head); }
.htv-player__now-title:hover { color: var(--nb-accent); }
.htv-player__now-meta { font-size: 13px; color: var(--nb-muted); }
.htv-player-wrap--article .htv-player__now { display: none; }

.htv-queue { min-width: 0; }
.htv-queue__list {
	list-style: none;
	margin: 0;
	padding: 0 4px 0 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 520px;
	overflow-y: auto;
}
.htv-queue__item {
	display: grid;
	grid-template-columns: 128px 1fr;
	gap: 12px;
	align-items: center;
	width: 100%;
	padding: 6px;
	border: 0;
	border-radius: var(--htv-radius-sm);
	background: transparent;
	color: var(--nb-head);
	text-align: left;
	cursor: pointer;
	font: inherit;
}
.htv-queue__item:hover { background: var(--nb-bg-alt); }
.htv-queue__item.is-current { background: var(--nb-bg-alt); box-shadow: inset 4px 0 0 var(--htv-yellow); }
.htv-queue__item .htv-duration { left: 6px; bottom: 6px; font-size: 12px; padding: 1px 6px; }
.htv-queue__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.htv-queue__text .htv-eyebrow { font-size: 13px; }
.htv-queue__title { font-family: var(--htv-font-condensed); font-weight: 600; font-size: 19px; line-height: 1.05; }

.htv-series__desc { max-width: 720px; margin-top: -16px; color: var(--nb-muted); font-size: 15px; }
.htv-series__row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(240px, 280px);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	scrollbar-width: thin;
}
.htv-series__item { display: flex; flex-direction: column; gap: 10px; scroll-snap-align: start; min-width: 0; }
.htv-series__play { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--htv-radius-sm); }
.htv-series__play:hover .htv-duration { background: var(--htv-yellow); color: var(--htv-ink); }
.htv-series__play:hover img { transform: scale(1.03); }
.htv-series__title { font-weight: 600; font-size: 20px; line-height: 1.05; }
.htv-series__title a { color: var(--nb-head); }
.htv-series__title a:hover { color: var(--nb-accent); }
/* 18. Header-Ausblenden, Mehr laden, Teilen, Box nach Beiträgen, Menü-Badges, Newsletter-Plugin */
.htv-header { transition: transform var(--htv-dur-3) var(--htv-ease-standard); }
.htv-header.is-hidden { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px))); }

.htv-loadmore { display: flex; justify-content: center; padding-top: 8px; }
.htv-loadmore .htv-btn { min-width: 200px; }
.htv-loadmore .htv-btn:disabled { opacity: .6; cursor: progress; }

.htv-share { flex-wrap: wrap; }
.htv-share__whatsapp:hover { color: #1fa855; }
.htv-share__telegram:hover { color: #229ed9; }

.htv-after-post {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 20px;
	align-items: center;
	padding: 24px;
	border-radius: var(--htv-radius-md);
	background: var(--htv-navy);
	color: var(--text-inverse-muted);
	border-top: 4px solid var(--htv-yellow);
}
.htv-after-post__icon { color: var(--htv-yellow); display: flex; }
.htv-after-post__title { color: var(--htv-paper); font-weight: 700; font-size: 30px; line-height: .95; text-transform: uppercase; margin-bottom: 6px; }
.htv-after-post p { font-size: 15px; line-height: 1.6; }
@media (max-width: 640px) {
	.htv-after-post { grid-template-columns: 1fr; }
	.htv-after-post .htv-btn { justify-self: start; }
}
.htv-after-post-widgets { display: flex; flex-direction: column; gap: 24px; }

.htv-menu-badge {
	display: inline-flex;
	align-items: center;
	height: 18px;
	padding: 0 6px;
	margin-left: 6px;
	border-radius: var(--htv-radius-xs);
	font-family: var(--htv-font-condensed);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
	vertical-align: middle;
	background: var(--htv-yellow);
	color: var(--htv-ink);
}
.htv-menu-badge--live { background: var(--htv-live); color: #fff; }
.htv-menu-badge--magenta { background: var(--htv-magenta); color: #fff; }
.htv-menu-badge--navy { background: var(--htv-paper); color: var(--htv-navy); }
.htv-offcanvas__nav .htv-menu-badge { margin-left: 8px; margin-right: auto; font-size: 12px; height: 20px; }

.htv-newsletter .tnp-subscription { margin: 0; max-width: none; }
.htv-newsletter .tnp-subscription form { display: flex; flex-direction: column; gap: 12px; }
.htv-newsletter .tnp-field { margin: 0; }
.htv-newsletter .tnp-field-email label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.htv-newsletter .tnp-subscription input.tnp-email,
.htv-newsletter .tnp-subscription input[type="email"],
.htv-newsletter .tnp-subscription input[type="text"] {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 2px solid var(--htv-ink);
	border-radius: 2px;
	background: #fff;
	color: var(--htv-ink);
	font-family: var(--htv-font-body);
	font-size: 15px;
}
.htv-newsletter .tnp-subscription input.tnp-submit {
	width: 100%;
	height: var(--control-height);
	border: 0;
	border-radius: var(--control-radius);
	background: var(--htv-navy);
	color: var(--htv-paper);
	font-family: var(--htv-font-condensed);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
}
.htv-newsletter .tnp-subscription input.tnp-submit:hover { background: var(--htv-blue); }
.htv-newsletter .tnp-privacy-field,
.htv-newsletter .tnp-field-privacy { font-size: 13px; color: var(--htv-ink); }
.htv-newsletter .tnp-field-privacy a { color: var(--htv-ink); text-decoration: underline; }
