.nz-news-grid-wrap {
	--nz-bg: #000000;
	--nz-text: #ffffff;
	--nz-text-muted: #ffffff;
	--nz-accent-tag: #edbd73;
	--nz-accent-ort: #ffcb00;
	--nz-divider: #c89c5a;
	--nz-row-gap: 24px; /* Abstand Reihe <-> horizontale Trennlinie */
	--nz-gutter-mobile: 15px; /* Abstand links/rechts auf Mobile */
	--nz-ics-top: 12px; /* Kalender-Symbol: Abstand nach oben */
	--nz-ics-right: 20px; /* Kalender-Symbol: Abstand nach rechts */
	--nz-plus-gap: 0.12em; /* Abstand links/rechts vom "+" bei zwei Tagen (z. B. 16. + 17.) */

	background: var(--nz-bg);
	color: var(--nz-text);
	padding: 0px 0px !important;
	box-sizing: border-box;
	font-size: 18px;
	line-height: 1.5;
}

.nz-news-grid-wrap--transparent {
	background: transparent;
	padding: 0;
}

.nz-news-grid-wrap * {
	box-sizing: border-box;
}

.nz-news-grid {
	display: grid;
	grid-template-columns: 1fr;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--nz-gutter-mobile);
}

.nz-news-item {
	position: relative;
	padding: 0;
}

.nz-news-item:not(:first-child) {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--nz-divider);
}

.nz-news-date,
.nz-news-title,
.nz-news-location,
.nz-news-text {
	margin: 0;
}

.nz-news-day {
	font-size: 3em;
	font-weight: 300;
	color: var(--nz-accent-tag);
}

.nz-news-plus {
	margin: 0 var(--nz-plus-gap);
}

.nz-news-month {
	font-size: 1em;
	color: var(--nz-text);
}

.nz-news-title {
	font-size: 2em;
	font-weight: 400 !important;
	color: var(--nz-text);
}

.nz-news-title a {
	color: inherit;
	text-decoration: none;
}

.nz-news-title a:hover,
.nz-news-title a:focus {
	text-decoration: underline;
}

.nz-news-location {
	color: var(--nz-accent-ort);
	font-weight: 400;
}

.nz-news-text {
	font-size: 1em;
	color: var(--nz-text-muted);
}

.nz-news-text strong,
.nz-news-text b {
	font-weight: bolder;
}

.nz-news-text p {
	margin: 0 0 8px;
}

.nz-news-text p:last-child {
	margin-bottom: 0;
}

/* Dezentes Kalender-Symbol (.ics-Download) oben rechts in jeder Karte */
.nz-news-grid-wrap .nz-news-grid .nz-news-ics {
	position: absolute;
	top: var(--nz-ics-top);
	right: var(--nz-ics-right);
	display: block;
	width: 22px;
	height: 22px;
	line-height: 0;
	color: var(--nz-divider);
	opacity: 0.7;
	text-decoration: none;
	border: 0;
	box-shadow: none;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.nz-news-grid-wrap .nz-news-grid .nz-news-ics svg {
	display: block;
	width: 100%;
	height: 100%;
}

.nz-news-grid-wrap .nz-news-grid .nz-news-ics:hover,
.nz-news-grid-wrap .nz-news-grid .nz-news-ics:focus-visible {
	color: var(--nz-accent-tag);
	opacity: 1;
}

.nz-news-grid-wrap .nz-news-grid .nz-news-ics:focus-visible {
	outline: 1px solid var(--nz-accent-tag);
	outline-offset: 2px;
}

/* Mobil: Karten ab der zweiten haben oben 32px Abstand + Trennlinie, das Symbol rutscht entsprechend mit. */
.nz-news-grid-wrap .nz-news-grid .nz-news-item:not(:first-child) .nz-news-ics {
	top: calc(32px + var(--nz-ics-top));
}

.nz-news-empty {
	padding: 24px;
	text-align: center;
	color: var(--nz-text-muted);
}

.nz-news-grid .nz-news-row-divider {
	display: none;
	border: 0;
	height: 1px;
	margin: 0;
	padding: 0;
	background: var(--nz-divider);
}

/* Ab Tablet/Desktop: 3 Spalten mit vertikalen Trennlinien statt horizontaler Linien.
   Bei mehr als 3 Einträgen bricht das Grid automatisch in weitere Dreier-Zeilen um. */
@media (min-width: 782px) {
	.nz-news-grid {
		grid-template-columns: repeat(3, 1fr);
		padding: 0;
	}

	.nz-news-item {
		padding: 0 32px;
	}

	.nz-news-item:first-child,
	.nz-news-item:nth-of-type(3n + 1) {
		padding-left: 0;
	}

	.nz-news-item:not(:first-child) {
		margin-top: 0;
		padding-top: 0;
		border-top: none;
	}

	.nz-news-item:nth-of-type(3n + 2),
	.nz-news-item:nth-of-type(3n) {
		border-left: 1px solid var(--nz-divider);
	}

	.nz-news-grid-wrap .nz-news-grid .nz-news-item:not(:first-child) .nz-news-ics {
		top: var(--nz-ics-top);
	}

	/* Feine horizontale Linie zwischen den Dreier-Reihen, ueber die volle Breite. */
	.nz-news-grid .nz-news-row-divider {
		display: block;
		grid-column: 1 / -1;
		margin: var(--nz-row-gap) 0;
	}
}
