/**
 * FV Erpel Aktuelles – Einzelansicht eines Beitrags.
 * Gestaltung angelehnt an die Startseite: rote Marke, große Überschrift,
 * viel Luft, klare Lesespalte.
 */

.fve-seite {
	--fve-rot: #c8102e;
	--fve-rot-dunkel: #8a0b1f;
	--fve-tinte: #14181c;
	--fve-grau: #5f686f;
	--fve-linie: #e2e6ea;
	--fve-sand: #f5f6f8;
	--fve-radius: 14px;
	--fve-schatten: 0 1px 2px rgba(20, 24, 28, .06), 0 12px 28px -18px rgba(20, 24, 28, .35);
	--fve-lesebreite: 760px;

	max-width: 1080px;
	margin: 0 auto;
	padding: 48px 20px 72px;
	color: var(--fve-tinte);
	font-size: 17px;
	line-height: 1.7;
}

.fve-seite *,
.fve-seite *::before,
.fve-seite *::after {
	box-sizing: border-box;
}

.fve-seite img {
	max-width: 100%;
	height: auto;
}

/* ---------------------------------------------------------- Artikel */

.fve-seite .fve-artikel {
	max-width: var(--fve-lesebreite);
	margin: 0 auto;
}

.fve-seite .fve-artikel__zurueck {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 26px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--fve-grau);
	text-decoration: none;
	transition: color .18s ease;
}

.fve-seite .fve-artikel__zurueck:hover,
.fve-seite .fve-artikel__zurueck:focus {
	color: var(--fve-rot);
}

.fve-seite .fve-artikel__kopf {
	padding-bottom: 26px;
	border-bottom: 1px solid var(--fve-linie);
}

.fve-seite .fve-artikel__marke {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fve-rot);
}

.fve-seite .fve-artikel__marke-strich {
	display: block;
	width: 34px;
	height: 3px;
	background: var(--fve-rot);
	border-radius: 2px;
}

.fve-seite .fve-artikel__titel {
	margin: 0;
	font-size: clamp(30px, 4.4vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--fve-tinte);
}

.fve-seite .fve-artikel__untertitel {
	margin: 14px 0 0;
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.5;
	color: var(--fve-grau);
}

.fve-seite .fve-artikel__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	font-size: 14px;
	color: var(--fve-grau);
}

.fve-seite .fve-artikel__autor {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--fve-tinte);
}

.fve-seite .fve-artikel__autor-zeichen {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--fve-rot);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
}

.fve-seite .fve-artikel__trenner {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--fve-linie);
}

/* ---------------------------------------------------------- Bild */

.fve-seite .fve-artikel__bild {
	margin: 32px 0 0;
	padding: 0;
}

.fve-seite .fve-artikel__bild img {
	display: block;
	width: 100%;
	border-radius: var(--fve-radius);
	box-shadow: var(--fve-schatten);
}

.fve-seite .fve-artikel__bild figcaption,
.fve-seite .fve-artikel__text figcaption {
	margin-top: 10px;
	font-size: 13px;
	color: var(--fve-grau);
}

/* ---------------------------------------------------------- Text */

.fve-seite .fve-artikel__text {
	margin-top: 34px;
	font-size: 17px;
	line-height: 1.75;
}

.fve-seite .fve-artikel__text > *:first-child {
	margin-top: 0;
}

.fve-seite .fve-artikel__text p {
	margin: 0 0 20px;
}

.fve-seite .fve-artikel__text h2,
.fve-seite .fve-artikel__text h3,
.fve-seite .fve-artikel__text h4 {
	margin: 34px 0 12px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.01em;
}

.fve-seite .fve-artikel__text h2 {
	font-size: 26px;
}

.fve-seite .fve-artikel__text h3 {
	font-size: 21px;
}

.fve-seite .fve-artikel__text a {
	color: var(--fve-rot);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fve-seite .fve-artikel__text a:hover {
	color: var(--fve-rot-dunkel);
}

.fve-seite .fve-artikel__text ul,
.fve-seite .fve-artikel__text ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.fve-seite .fve-artikel__text li {
	margin-bottom: 8px;
}

.fve-seite .fve-artikel__text img {
	display: block;
	height: auto;
	border-radius: var(--fve-radius);
}

.fve-seite .fve-artikel__text figure,
.fve-seite .fve-artikel__text .wp-block-image {
	margin: 26px 0;
}

.fve-seite .fve-artikel__text .alignleft {
	float: left;
	margin: 6px 26px 18px 0;
	max-width: 50%;
}

.fve-seite .fve-artikel__text .alignright {
	float: right;
	margin: 6px 0 18px 26px;
	max-width: 50%;
}

.fve-seite .fve-artikel__text .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.fve-seite .fve-artikel__text blockquote {
	margin: 26px 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--fve-rot);
	font-size: 19px;
	color: var(--fve-tinte);
}

.fve-seite .fve-artikel__text table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 15px;
}

.fve-seite .fve-artikel__text th,
.fve-seite .fve-artikel__text td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--fve-linie);
	text-align: left;
}

/* ---------------------------------------------------------- Abschluss */

.fve-seite .fve-artikel__fuss {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	clear: both;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--fve-linie);
}

.fve-seite .fve-artikel__rubriken {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fve-seite .fve-artikel__rubriken a {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--fve-sand);
	color: var(--fve-grau);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background .18s ease, color .18s ease;
}

.fve-seite .fve-artikel__rubriken a:hover {
	background: var(--fve-rot);
	color: #fff;
}

.fve-seite .fve-artikel__knopf {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--fve-rot);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
	transition: background .18s ease, transform .18s ease;
}

.fve-seite .fve-artikel__knopf:hover,
.fve-seite .fve-artikel__knopf:focus {
	background: var(--fve-rot-dunkel);
	color: #fff;
	transform: translateY(-1px);
}

/* ---------------------------------------------------------- Blättern */

.fve-seite .fve-artikel__navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	max-width: var(--fve-lesebreite);
	margin: 34px auto 0;
}

.fve-seite .fve-artikel__nav {
	display: block;
	padding: 18px 20px;
	border: 1px solid var(--fve-linie);
	border-radius: var(--fve-radius);
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fve-seite .fve-artikel__nav:hover {
	border-color: var(--fve-rot);
	box-shadow: var(--fve-schatten);
	transform: translateY(-2px);
}

.fve-seite .fve-artikel__nav--aelter {
	text-align: right;
	grid-column: 2;
}

.fve-seite .fve-artikel__nav-label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--fve-rot);
}

.fve-seite .fve-artikel__nav-titel {
	display: block;
	font-weight: 700;
	line-height: 1.35;
}

/* ---------------------------------------------------------- Weitere Meldungen */

.fve-seite .fve-weitere {
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--fve-linie);
}

.fve-seite .fve-weitere__kopf {
	margin-bottom: 24px;
}

.fve-seite .fve-weitere__titel {
	margin: 0;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	letter-spacing: -.02em;
}

.fve-seite .fve-weitere__liste {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.fve-seite .fve-weitere__karte {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--fve-linie);
	border-radius: var(--fve-radius);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fve-seite .fve-weitere__karte:hover {
	border-color: var(--fve-rot);
	box-shadow: var(--fve-schatten);
	transform: translateY(-2px);
}

.fve-seite .fve-weitere__bild {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--fve-sand);
	overflow: hidden;
}

.fve-seite .fve-weitere__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fve-seite .fve-weitere__platzhalter {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: .12em;
	color: var(--fve-rot);
	opacity: .35;
}

.fve-seite .fve-weitere__inhalt {
	display: block;
	padding: 16px 18px 20px;
}

.fve-seite .fve-weitere__datum {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--fve-grau);
}

.fve-seite .fve-weitere__karte-titel {
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.fve-seite .fve-weitere__alle {
	margin: 24px 0 0;
	text-align: center;
}

.fve-seite .fve-weitere__alle a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--fve-rot);
	text-decoration: none;
}

.fve-seite .fve-weitere__alle a:hover {
	color: var(--fve-rot-dunkel);
}

/* ---------------------------------------------------------- Kleine Bildschirme */

@media (max-width: 900px) {
	.fve-seite .fve-weitere__liste {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.fve-seite {
		padding: 30px 16px 56px;
	}

	.fve-seite .fve-artikel__meta {
		gap: 10px;
	}

	.fve-seite .fve-artikel__fuss {
		flex-direction: column;
		align-items: flex-start;
	}

	.fve-seite .fve-artikel__navigation,
	.fve-seite .fve-weitere__liste {
		grid-template-columns: minmax(0, 1fr);
	}

	.fve-seite .fve-artikel__nav--aelter {
		grid-column: 1;
		text-align: left;
	}

	.fve-seite .fve-artikel__text .alignleft,
	.fve-seite .fve-artikel__text .alignright {
		float: none;
		margin: 20px 0;
		max-width: 100%;
	}
}

/* ----------------------------------------------- Theme-Reste ausblenden */

body.fve-beitragsseite .comments-area,
body.fve-beitragsseite .comment-respond,
body.fve-beitragsseite .comments-title,
body.fve-beitragsseite .comment-form,
body.fve-beitragsseite #comments,
body.fve-beitragsseite #respond,
body.fve-beitragsseite #reply-title,
body.fve-beitragsseite [class*="comments-area"],
body.fve-beitragsseite [class*="comment-list"],
body.fve-beitragsseite [class*="comments-link"],
body.fve-beitragsseite [class*="comment-count"],
body.fve-beitragsseite [class*="author-box"],
body.fve-beitragsseite [class*="author-bio"],
body.fve-beitragsseite [class*="author-info"],
body.fve-beitragsseite [class*="author-description"],
body.fve-beitragsseite [class*="about-author"],
body.fve-beitragsseite [class*="about-the-author"],
body.fve-beitragsseite [class*="post-author"],
body.fve-beitragsseite [class*="entry-author"],
body.fve-beitragsseite [id*="author-info"],
body.fve-beitragsseite [id*="about-the-author"],
body.single-fve_beitrag [class*="author-box"],
body.single-fve_beitrag [class*="about-author"],
body.single-fve_beitrag [class*="about-the-author"],
body.single-fve_beitrag [class*="comments-area"] {
	display: none !important;
}

/* Eigene Bausteine bleiben sichtbar, auch wenn sie „author“ im Namen tragen. */
body.fve-beitragsseite .fve-seite .fve-artikel__autor,
body.fve-beitragsseite .fve-seite .fve-artikel__autor-name,
body.fve-beitragsseite .fve-seite .fve-artikel__autor-zeichen {
	display: inline-flex !important;
}

body.fve-beitragsseite .fve-seite .fve-artikel__autor-name {
	display: inline !important;
}
