/* =========================================================
   NEWSLISTE
   ========================================================= */

:root {

	/* -----------------------------------------------------
	   NEWSLISTE
	   greift auf die globalen Sidebit-Farben zurück
	----------------------------------------------------- */

	--nl-bg:
		var(--sidebit-bg-soft);

	--nl-bg-deep:
		var(--sidebit-bg-deep);

	--nl-panel:
		var(--sidebit-panel);

	--nl-panel-raised:
		var(--sidebit-panel-raised);

	--nl-text:
		var(--sidebit-text);

	--nl-text-soft:
		var(--sidebit-text-soft);

	--nl-text-muted:
		var(--sidebit-text-muted);

	--nl-text-strong:
		var(--sidebit-text-strong);

	--nl-accent:
		var(--sidebit-accent-light);

	--nl-accent-dark:
		var(--sidebit-accent-dark);

	--nl-accent-pale:
		var(--sidebit-accent-pale);

	--nl-line:
		var(--sidebit-line);

	--nl-line-strong:
		var(--sidebit-line-strong);

	--nl-line-accent:
		var(--sidebit-line-accent);

	--nl-transparent:
		var(--sidebit-transparent);


	/* -----------------------------------------------------
	   SCHRIFTEN
	----------------------------------------------------- */

	--nl-font:
		var(--sidebit-font);

	--nl-display:
		var(--sidebit-display);


	/* -----------------------------------------------------
	   VERLÄUFE
	----------------------------------------------------- */

	--nl-head-gradient:
		linear-gradient(
			to right,
			var(--sidebit-wash-medium),
			var(--sidebit-light-faint),
			var(--sidebit-transparent)
		);

	--nl-divider:
		linear-gradient(
			to right,
			var(--nl-accent),
			var(--nl-line-accent) 24%,
			var(--nl-line) 60%,
			var(--nl-transparent)
		);


	/* -----------------------------------------------------
	   ABSTÄNDE
	----------------------------------------------------- */

	--nl-gap: 18px;

	--nl-padding:
		clamp(22px, 2.5vw, 32px);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.newsliste-container {
	display: grid;
	grid-template-columns:
		repeat(3, minmax(0, 1fr));

	gap: var(--nl-gap);

	width: 100%;

	margin:
		28px
		0
		34px;
}


/* =========================================================
   EINZELNE NEWSBOX
   ========================================================= */

.newsliste {
	position: relative;

	min-width: 0;

	padding: var(--nl-padding);

	color: var(--nl-text);

	font-family: var(--nl-font);
	font-size: 14px;
	line-height: 1.7;

	background:
		var(--nl-head-gradient),
		var(--nl-bg);

	border:
		1px solid
		var(--nl-line);

	border-top-color:
		var(--nl-line-strong);
}


/* rote Akzentlinie oben */

.newsliste::before {
	position: absolute;

	top: -1px;
	left: 25px;

	width: 68px;
	height: 1px;

	content: "";

	background: var(--nl-accent);
}


/* zweite, sehr feine Ornamentlinie */

.newsliste::after {
	position: absolute;

	top: 10px;
	left: 10px;

	width: 18px;
	height: 18px;

	content: "";

	pointer-events: none;

	border-top:
		1px solid
		var(--nl-line-accent);

	border-left:
		1px solid
		var(--nl-line-accent);
}


/* =========================================================
   HEADLINE
   überschreibt bewusst die globale h3-Gestaltung
   ========================================================= */

.newsliste h3 {
	position: relative;

	margin: 0 0 20px;
	padding: 0 0 13px;

	color: var(--nl-text-strong);

	font-family: var(--nl-display);
	font-size: 27px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.05;

	text-transform: none;

	border: 0;
}


/* globale h3-Raute entfernen */

.newsliste h3::before {
	display: none;

	content: none;
}


/* eigene feinere Linie */

.newsliste h3::after {
	position: absolute;

	right: 0;
	bottom: 0;
	left: 0;

	width: auto;
	height: 1px;

	content: "";

	background: var(--nl-divider);
}


/* =========================================================
   LISTE
   ========================================================= */

.newsliste ul {
	display: flex;
	flex-direction: column;
	gap: 0;

	margin: 0;
	padding: 0;

	list-style: none;
}


.newsliste li {
	position: relative;

	margin: 0;
	padding:
		10px
		0
		10px
		17px;

	color: var(--nl-text-soft);

	font-size: 13px;
	line-height: 1.65;

	border-bottom:
		1px solid
		var(--nl-line);
}


.newsliste li:last-child {
	border-bottom: 0;
}


/* kleine Raute vor jedem Eintrag */

.newsliste li::before {
	position: absolute;

	top: 1.15em;
	left: 2px;

	width: 4px;
	height: 4px;

	content: "";

	border:
		1px solid
		var(--nl-accent-dark);

	transform: rotate(45deg);
}


/* =========================================================
   LINKS
   ========================================================= */

.newsliste li a {
	display: inline;

	color: var(--nl-text-soft);

	font-weight: 500;

	text-decoration: none;

	transition:
		color 0.18s ease;
}


.newsliste li a:hover {
	color: var(--nl-accent-pale);
}


/* =========================================================
   KLEINERE / ZUSÄTZLICHE TEXTE
   ========================================================= */

.newsliste .smalltext,
.newsliste small {
	color: var(--nl-text-muted);

	font-size: 11px;
	line-height: 1.55;
}


/* hervorgehobene Inhalte */

.newsliste strong,
.newsliste b {
	color: var(--nl-text-strong);

	font-weight: 700;
}


.newsliste em,
.newsliste i {
	color: var(--nl-text-soft);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

	.newsliste-container {
		gap: 15px;
	}


	.newsliste {
		font-size: 14px;
	}


	.newsliste h3 {
		font-size: 25px;
	}


	.newsliste li {
		font-size: 13px;
	}
}


/* =========================================================
   MOBILE
   Untereinander und deutlich größer lesbar
   ========================================================= */

@media (max-width: 700px), (max-device-width: 700px) {

	.newsliste-container {
		display: block;

		width: 100%;

		margin:
			25px
			0
			30px;
	}


	.newsliste {
		width: 100%;

		margin-bottom: 16px;
		padding:
			25px
			21px;

		font-size: 17px;
		line-height: 1.72;
	}


	.newsliste:last-child {
		margin-bottom: 0;
	}


	.newsliste::before {
		left: 21px;

		width: 74px;
	}


	.newsliste h3 {
		margin-bottom: 19px;

		font-size: 31px;
		line-height: 1.08;
	}


	.newsliste li {
		padding:
			11px
			0
			11px
			19px;

		font-size: 16px;
		line-height: 1.7;
	}


	.newsliste li::before {
		top: 1.2em;

		width: 5px;
		height: 5px;
	}


	.newsliste .smalltext,
	.newsliste small {
		font-size: 14px;
		line-height: 1.65;
	}
}


/* =========================================================
   KLEINE HANDYS
   ========================================================= */

@media (max-width: 480px), (max-device-width: 480px) {

	.newsliste {
		padding:
			23px
			17px;
	}


	.newsliste::before {
		left: 17px;
	}


	.newsliste h3 {
		font-size: 29px;
	}


	.newsliste li {
		font-size: 16px;
		line-height: 1.72;
	}


	.newsliste .smalltext,
	.newsliste small {
		font-size: 14px;
	}
}