/* SV Wittendorf – News, Design 5a (inc/svw-news.php) */
.svw-news { --nw-accent: #c8102e; --nw-ink: #15171c; --nw-card: #f4f3f0; --nw-card-hover: #ecebe6; }
.svw-news__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.svw-news__heading {
	font-family: 'Barlow Condensed', 'Open Sans Condensed', sans-serif;
	font-weight: 800;
	font-size: 34px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--nw-accent);
	margin: 0;
	padding: 0;
}

/* Kategorie-Filter (Stil wie Spielplan-Umschalter) */
.svw-news__filters { display: flex; gap: 4px; flex-wrap: wrap; }
.svw-news__filter {
	font-family: 'Barlow Condensed', 'Open Sans Condensed', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: .02em;
	text-transform: uppercase;
	padding: 8px 18px;
	background: var(--nw-card);
	color: var(--nw-ink);
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.svw-news__filter:hover, .svw-news__filter:focus { background: var(--nw-card-hover); color: var(--nw-ink); text-decoration: none; }
.svw-news__filter.is-active { background: var(--nw-accent); color: #fff; }

/* Karte */
.svw-news__card {
	display: flex;
	flex-direction: column;
	background: var(--nw-card);
	border-bottom: 4px solid var(--nw-accent);
	color: var(--nw-ink);
	text-decoration: none;
	transition: background .2s ease;
	min-width: 0;
}
.svw-news__card:hover, .svw-news__card:focus { background: var(--nw-card-hover); color: var(--nw-ink); text-decoration: none; }

/* Titelbild immer 5:3 */
.svw-news__media {
	position: relative;
	aspect-ratio: 5 / 3;
	overflow: hidden;
	background: #dedcd6;
}
.svw-news__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}
.svw-news__media--empty img { object-fit: contain; padding: 18%; opacity: .35; }

.svw-news__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 20px; flex: 1; }
.svw-news__date {
	font-family: 'Barlow', 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #555;
}
.svw-news__title {
	font-family: 'Barlow Condensed', 'Open Sans Condensed', sans-serif;
	font-weight: 800;
	font-size: 24px;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--nw-ink);
	margin: 0;
	padding: 0;
	text-wrap: pretty;
}
.svw-news__excerpt {
	font-family: 'Barlow', 'Open Sans', sans-serif;
	font-size: 15px;
	line-height: 1.45;
	color: #444;
	margin: 0;
	text-wrap: pretty;
}
.svw-news__more {
	margin-top: auto;
	font-family: 'Barlow Condensed', 'Open Sans Condensed', sans-serif;
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--nw-accent);
}

/* Aufmacher */
.svw-news__card--featured {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	margin-bottom: 16px;
}
.svw-news__card--featured .svw-news__body { gap: 14px; padding: 24px 28px; }
.svw-news__card--featured .svw-news__date { font-size: 14px; }
.svw-news__card--featured .svw-news__title { font-size: 38px; line-height: 1.02; }
.svw-news__card--featured .svw-news__excerpt { font-size: 16px; line-height: 1.5; }

/* Raster */
.svw-news__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Button „Alle News anzeigen“ (Teaser-Modus) */
.svw-news__all { display: flex; justify-content: center; margin-top: 24px; }
.svw-news__button {
	font-family: 'Barlow Condensed', 'Open Sans Condensed', sans-serif;
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 12px 28px;
	border: 2px solid var(--nw-ink);
	color: var(--nw-ink);
	background: transparent;
	text-decoration: none;
	line-height: 1;
	transition: background .2s ease, color .2s ease;
}
.svw-news__button:hover, .svw-news__button:focus { background: var(--nw-ink); color: #fff; text-decoration: none; }

/* Pagination des Themes im gleichen Stil */
.svw-news__pagination { display: flex; justify-content: center; margin-top: 24px; }
.svw-news__pagination .gdlr-pagination { text-align: center; margin: 0; }
.svw-news__pagination .gdlr-pagination a,
.svw-news__pagination .gdlr-pagination span {
	font-family: 'Barlow Condensed', 'Open Sans Condensed', sans-serif;
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 10px 16px;
	margin: 0 2px;
	border: 2px solid var(--nw-ink);
	color: var(--nw-ink);
	background: transparent;
	text-decoration: none;
	display: inline-block;
	line-height: 1;
	transition: background .2s ease, color .2s ease;
}
.svw-news__pagination .gdlr-pagination a:hover,
.svw-news__pagination .gdlr-pagination span.current,
.svw-news__pagination .gdlr-pagination .current { background: var(--nw-ink); color: #fff; }
.svw-news__empty { color: #777; margin: 0; }

@media only screen and (max-width: 959px) {
	.svw-news__card--featured .svw-news__title { font-size: 30px; }
}
@media only screen and (max-width: 767px) {
	.svw-news__card--featured { grid-template-columns: minmax(0, 1fr); }
	.svw-news__card--featured .svw-news__body { padding: 16px 18px 20px; }
}
@media only screen and (max-width: 599px) {
	.svw-news__grid { grid-template-columns: minmax(0, 1fr); }
	.svw-news__heading { font-size: 28px; }
	.svw-news__filter { font-size: 15px; padding: 7px 12px; }
}
