/* =========================================================
   Consiera – News (Beiträge, Übersicht, Archive)
   Lesespalte mit max. 720 px, links die Navigation.
   ========================================================= */

/* Ganze Seite: blasse Bildmarke rechts im Hintergrund */
.news-page {
	position: relative;
}
.news-page::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: -110px;
	right: -200px;
	width: 600px;
	height: 612px;
	opacity: .08;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1004 1024'%3E%3Cpath fill='%23b0e04b' d='M454 2h112v369L454 259zM570 375 833 112l79 79-262 263zM653 459h349v112H765zM2 459h564v563H454V651L166 937l-79-80 286-286H2z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Breiter als die übrigen Seiten und linksbündig: Navigation links, Beitrag daneben, rechts Luft für die Bildmarke */
.news-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 250px minmax(0, 820px);
	grid-template-areas: "side main";
	justify-content: start;
	column-gap: 44px;
	width: min(1280px, calc(100% - 80px));
	margin: 0 auto;
	padding: 40px 0 64px;
}
.news-layout > .news-article,
.news-layout > .news-main {
	grid-area: main;
	min-width: 0;
}
.news-side {
	grid-area: side;
	align-self: start;
	position: sticky;
	top: 70px;
}

@media (max-width: 1099px) {
	.news-layout {
		grid-template-columns: 220px minmax(0, 1fr);
		column-gap: 32px;
		width: calc(100% - 60px);
	}
}

@media (max-width: 960px) {
	.news-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "main" "side";
		row-gap: 36px;
		width: var(--wrap);
		max-width: calc(100% - 40px);
		padding: 30px 0 50px;
	}
	.news-side {
		position: static;
		padding-top: 26px;
		border-top: 4px solid #b0e04b;
	}
}

@media (max-width: 767px) {
	.news-layout {
		width: 90%;
		max-width: none;
		padding: 22px 0 44px;
	}
	.news-page::before {
		width: 300px;
		height: 306px;
		top: -60px;
		right: -150px;
	}
}

/* Kasten für Beitrag und Übersichtseinträge */
.news-article,
.news-card {
	overflow: hidden;
	background: #f7f7f4;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(3, 70, 60, 0.08);
}
.news-article {
	padding: 0 48px 40px;
}
@media (max-width: 767px) {
	.news-article {
		padding: 0 20px 28px;
	}
}

/* ---------- Kopf: Meta-Leiste in Anthrazit, darunter Titel und Untertitel ---------- */

.post-head {
	margin: 0 0 18px;
	padding: 0;
}
.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0 -48px 20px;
	padding: 10px 48px;
	background: #252723;
	font-size: 13px;
	line-height: 1.5;
	color: #cfe0da;
}
.post-meta-sep {
	color: #b0e04b;
	font-weight: 700;
}
.post-meta .post-cat {
	color: #b0e04b;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: 12px;
}
.post-meta .post-cat:hover {
	text-decoration: underline;
}
.post-private {
	padding: 1px 8px;
	border-radius: 999px;
	background: #b0e04b;
	color: #252723;
	font-size: 11px;
	font-weight: 700;
}
.post-title {
	margin: 0;
	padding: 0;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.2;
	color: #03463c;
}
.post-subtitle {
	margin: 6px 0 0;
	padding: 0;
	font-size: 19px;
	line-height: 1.4;
	color: #4a4a45;
}
/* Optionales Beitragsbild: rechts neben Titel und Untertitel, beide vertikal zueinander zentriert.
   Der Text darunter läuft über die volle Breite. */
.post-head:has(.post-thumb) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	column-gap: 28px;
	align-items: center;
}
/* Mit Bildnachweis: dünne hellgraue Linie direkt unter dem Nachweis, über dem Aufreißer */
.post-head:has(.post-thumb__credit) {
	padding-bottom: 6px;
	border-bottom: 1px solid #e2e2e2;
}
.post-head:has(.post-thumb) .post-meta {
	grid-column: 1 / -1;
	margin-bottom: 18px;
}
.post-head:has(.post-thumb) .post-thumb {
	grid-column: 2;
	grid-row: 2;
}
.post-head:has(.post-thumb) .post-head__text {
	grid-column: 1;
	grid-row: 2;
}
.post-thumb {
	width: 260px;
	margin: 0;
}
.news-card__thumb {
	float: right;
	display: block;
	width: 200px;
	margin: 2px 0 10px 24px;
}
.post-thumb img,
.news-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(3, 70, 60, 0.12);
}
.post-thumb__credit {
	margin-top: 5px;
	font-size: 10.5px;
	line-height: 1.3;
	color: #9a9a95;
	text-align: right;
}
.post-thumb__credit a {
	color: #9a9a95 !important;
	text-decoration: none !important;
}
.post-thumb__credit a:hover {
	text-decoration: underline !important;
}
@media (max-width: 600px) {
	.post-head:has(.post-thumb) {
		display: block;
	}
	.post-thumb,
	.news-card__thumb {
		float: none;
		width: 100%;
		margin: 0 0 16px;
	}
	.post-thumb img,
	.news-card__thumb img {
		aspect-ratio: 16 / 9;
	}
}
/* Lime-Strich unter Titel und Untertitel */
.post-head__text::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 12px;
	border-radius: 2px;
	background: #b0e04b;
}
@media (max-width: 767px) {
	.post-meta {
		margin: 0 -20px 20px;
		padding: 9px 20px;
	}
}

/* ---------- Beitrag: Text ---------- */

.post-content {
	font-size: 16px;
	line-height: 1.55;
	color: #4a4a45;
}
.post-content > * {
	max-width: 100%;
}
.post-content p {
	margin: 0 0 10px;
	padding: 0;
}
/* Einleitung (erster Absatz) wie auf den übrigen Seiten in Dunkelgrün */
.post-content > p:first-child {
	font-size: 16px;
	line-height: 1.4;
	font-weight: 600;
	color: #03463c;
	margin-bottom: 10px;
}
.post-content h2 {
	margin: 22px 0 8px;
	padding: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #03463c;
}
.post-content h2::after {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin-top: 6px;
	border-radius: 2px;
	background: #b0e04b;
}
.post-content h3 {
	margin: 20px 0 6px;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: #03463c;
}
.post-content h4 {
	margin: 22px 0 8px;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	color: #03463c;
}
.post-content a {
	color: #03463c;
	text-decoration: underline;
	text-decoration-color: #b0e04b;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.post-content a:hover {
	color: #0b5e50;
}
.post-content strong {
	color: #252723;
}
.post-content ul,
.post-content ol {
	margin: 0 0 12px 22px;
	padding: 0;
}
.post-content li {
	margin: 0 0 3px;
	padding-left: 2px;
}
.post-content ul li::marker {
	color: #b0e04b;
}
.post-content ol li::marker {
	color: #03463c;
	font-weight: 700;
}
.post-content blockquote {
	margin: 26px 0;
	padding: 14px 20px;
	border-left: 4px solid #b0e04b;
	border-radius: 0 10px 10px 0;
	background: #f3f8e8;
	font-size: 17px;
	color: #03463c;
}
.post-content blockquote p:last-child {
	margin-bottom: 0;
}
.post-content figure {
	margin: 26px 0;
}
.post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}
.post-content figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: #8c8c85;
}
.post-content hr {
	margin: 32px 0;
	border: 0;
	border-top: 1px solid #e2e2e2;
}
/* Quellenliste: Liste mit der zusätzlichen CSS-Klasse „post-sources“ */
.post-content .post-sources {
	margin: 0 0 10px;
	padding: 14px 18px 8px 34px;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	background: #fff;
	font-size: 14px;
	line-height: 1.5;
}
.post-content .post-sources li {
	margin-bottom: 4px;
}
/* Quellen-Links: ohne Unterstreichung, dünne Lime-Linie nur beim Darüberfahren */
.post-content .post-sources a {
	text-decoration: none;
}
.post-content .post-sources a:hover,
.post-content .post-sources a:focus-visible {
	text-decoration: underline;
	text-decoration-color: #b0e04b;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* ---------- Beitrag: Abschluss ---------- */

.post-foot {
	margin-top: 40px;
}
.post-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 18px 22px;
	border-top: 4px solid #b0e04b;
	border-radius: 0 0 12px 12px;
	background: #252723;
}
.post-cta__text {
	margin: 0;
	padding: 0;
	font-size: 17px;
	font-weight: 600;
	color: #f2f2f2;
}
.post-cta__btn {
	display: inline-block;
	padding: 9px 20px;
	border-radius: 999px;
	background: #b0e04b;
	color: #252723 !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s;
}
.post-cta__btn:hover {
	background: #c4ec6c;
}
.post-share {
	margin: 18px 0 0;
	padding: 0;
	font-size: 14px;
}
.post-share a {
	color: #03463c;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid #b0e04b;
}
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 28px;
}
.post-nav__link {
	display: block;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	color: #03463c;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color .2s;
}
.post-nav__link:hover {
	border-color: #b0e04b;
}
.post-nav__next {
	grid-column: 2;
	text-align: right;
}
.post-nav__label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #8c8c85;
}

@media (max-width: 600px) {
	.post-title {
		font-size: 27px;
	}
	.post-subtitle {
		font-size: 17px;
	}
	.post-content {
		font-size: 15.5px;
	}
	.post-content > p:first-child {
		font-size: 15.5px;
	}
	.post-nav {
		grid-template-columns: 1fr;
	}
	.post-nav__next {
		grid-column: 1;
		text-align: left;
	}
}

/* ---------- Übersicht und Archive ---------- */

.news-intro {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.6;
	font-weight: 600;
	color: #03463c;
}
.news-card {
	margin: 0 0 18px;
	padding: 0 30px 22px;
}
.news-card .post-meta {
	margin: 0 -30px 18px;
	padding: 9px 30px;
}
@media (max-width: 767px) {
	.news-card {
		padding: 0 18px 18px;
	}
	.news-card .post-meta {
		margin: 0 -18px 16px;
		padding: 9px 18px;
	}
}
.news-card__title {
	margin: 0;
	padding: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}
.news-card__title a {
	color: #03463c;
	text-decoration: none;
}
.news-card__title a:hover {
	text-decoration: underline;
	text-decoration-color: #b0e04b;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.news-card__subtitle {
	margin: 6px 0 0;
	padding: 0;
	font-size: 17px;
	line-height: 1.45;
	color: #4a4a45;
}
.news-card__teaser {
	margin-top: 10px;
	font-size: 15.5px;
	line-height: 1.55;
	color: #4a4a45;
}
.news-card__teaser p {
	margin: 0 0 10px;
	padding: 0;
}
.news-more {
	display: inline-block;
	margin-top: 2px;
	color: #03463c;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	border-bottom: 2px solid #b0e04b;
	transition: color .2s;
}
.news-more:hover {
	color: #0b5e50;
}
.news-empty {
	font-size: 16px;
	color: #4a4a45;
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 26px;
}
.pagination .page-numbers {
	display: inline-block;
	min-width: 36px;
	padding: 6px 12px;
	border: 1px solid #e2e2e2;
	border-radius: 999px;
	color: #03463c;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	border-color: #b0e04b;
	background: #f3f8e8;
}

/* ---------- Linke Navigation: weißer Kasten, „Alle Beiträge“ in Anthrazit ---------- */

.news-side {
	overflow: hidden;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(3, 70, 60, 0.06);
	font-size: 14px;
	line-height: 1.35;
}
.news-side__back {
	margin: 0;
	padding: 0;
}
.news-side__back a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 16px;
	background: #252723;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: color .15s;
}
.news-side__back a::before {
	content: "";
	width: 14px;
	height: 10px;
	background:
		linear-gradient(#b0e04b, #b0e04b) 0 0 / 100% 2px no-repeat,
		linear-gradient(#b0e04b, #b0e04b) 0 50% / 100% 2px no-repeat,
		linear-gradient(#b0e04b, #b0e04b) 0 100% / 100% 2px no-repeat;
}
.news-side__back a:hover {
	color: #b0e04b;
}
.news-side__block {
	margin: 0;
	padding: 14px 16px 4px;
}
.news-side__block:last-child {
	padding-bottom: 12px;
}
.news-side__title {
	margin: 0 0 6px;
	padding: 0 0 6px;
	border-bottom: 1px solid #e2e2e2;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #03463c;
}
.news-side__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.news-side__list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 3px 0 3px 10px;
	border-left: 3px solid transparent;
}
.news-side__list a {
	color: #4a4a45;
	text-decoration: none;
}
.news-side__list a:hover {
	color: #03463c;
	text-decoration: underline;
	text-decoration-color: #b0e04b;
}
.news-side__list li.is-current {
	border-left-color: #b0e04b;
}
.news-side__list li.is-current a {
	color: #03463c;
	font-weight: 700;
}
.news-side__list--posts li {
	display: block;
}
.news-side__date {
	display: block;
	margin-top: 1px;
	font-size: 12px;
	color: #8c8c85;
}
.news-side__count {
	flex: 0 0 auto;
	min-width: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: #f3f8e8;
	color: #03463c;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}
@media (max-width: 960px) {
	.news-side {
		padding-top: 0;
		border-top: 1px solid #e2e2e2;
	}
}

/* ---------- v0.48: Zurück-Link (nur Handy), „Neu“, weitere Beiträge ---------- */

.news-back {
	display: none;
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
}
.news-back a {
	color: #03463c;
	text-decoration: none;
	border-bottom: 2px solid #b0e04b;
}
@media (max-width: 960px) {
	.news-back {
		display: block;
	}
}

/* „Neu“ in der Meta-Leiste (anthrazit): Lime-Kontur, damit es sich von „Privat“ abhebt */
.post-new {
	padding: 0 7px;
	border: 1px solid #b0e04b;
	border-radius: 999px;
	color: #b0e04b;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
/* „Neu“ auf hellem Grund (Menü, weitere Beiträge) */
.news-new {
	display: inline-block;
	margin-left: 4px;
	padding: 0 6px;
	border-radius: 999px;
	background: #b0e04b;
	color: #252723;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .04em;
	text-transform: uppercase;
	vertical-align: 1px;
}

.news-related {
	margin-top: 32px;
}
.news-related__title {
	margin: 0 0 14px;
	padding: 0;
	font-size: 22px;
	line-height: 1.3;
	color: #03463c;
}
.news-related__title::after {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin-top: 6px;
	background: #b0e04b;
	border-radius: 2px;
}
.news-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.news-related__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px 16px;
	background: #f7f7f4;
	border: 1px solid #e2e2e2;
	border-top: 3px solid #252723;
	border-radius: 10px;
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s;
}
.news-related__item:hover {
	border-top-color: #b0e04b;
	box-shadow: 0 8px 22px rgba(3, 70, 60, 0.08);
}
.news-related__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 6px;
}
.news-related__date {
	font-size: 12px;
	color: #8c8c85;
}
.news-related__name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #03463c;
}
.news-related__item:hover .news-related__name {
	text-decoration: underline;
	text-decoration-color: #b0e04b;
}
.news-related__sub {
	font-size: 14px;
	line-height: 1.4;
	color: #4a4a45;
}
@media (max-width: 767px) {
	.news-related__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
