﻿
#assistent-vorlage-88 {
	text-align: center;
}
#assistent-vorlage-88 button {
	font-size: 120% ! important;
}
#datenbank-1464 {
	padding-bottom: 120px;
}
#datenbank-1464 .news-section {
	padding: 20px 0;
}
#datenbank-1464 .news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
	gap: 16px;
	justify-content: center;
}
#datenbank-1464 /* ================= CARD ================= */ .news-card {
	background: #fff;
	border: 1px solid rgba(0,0,0,0.06);
	border-radius: 0px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: 0.2s ease;
	height: 100%;
	border-radius: 10px;
}
#datenbank-1464 .news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}
#datenbank-1464 /* ================= IMAGE ================= */ .news-image {
	position: relative;
	width: 100%;
	height: 180px;
	background: #f3f3f3;
	overflow: hidden;
}
#datenbank-1464 .news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#datenbank-1464 /* Credit */ .news-credit {
	position: absolute;
	top: 4px;
	left: 10px;
	font-size: 0.65rem;
	color: rgba(255, 255, 255, 1);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
#datenbank-1464 /* ================= OVERLAY ================= */ .news-overlay {
	position: absolute;
	bottom: 10px;
	left: 10px;
	display: flex;
	flex-direction: column;
	max-width: calc(100% - 20px);
}
#datenbank-1464 /* ================= META ROW (DATE + GROUP) ================= */ .news-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
#datenbank-1464 /* BASE BADGE STYLE */ .news-date-badge , #datenbank-1464 .news-group-badge {
	font-size: 11px !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
	padding: 2px 8px !important;
	border-radius: 12px !important;
	background: var(--color2);
}
#datenbank-1464 /* fallback meta default hidden */ .meta-fallback {
	display: none;
	margin-bottom: 8px;
}
#datenbank-1464 /* wenn KEIN bild */ .news-card.no-image .news-image {
	display: none;
}
#datenbank-1464 /* wenn KEIN bild → meta wird oben angezeigt */ .news-card.no-image .meta-fallback {
	display: flex;
	gap: 6px;
}
#datenbank-1464 /* wenn bild vorhanden → overlay aktiv , #datenbank-1464 fallback aus */ .news-card.has-image .news-overlay {
	display: flex;
}
#datenbank-1464 .news-card.has-image .meta-fallback {
	display: none;
}
#datenbank-1464 /* ================= GROUP COLORS (MATCHED TO DB TYPES) ================= */ .role-event {
	background: #ffeccf;
	/* Orange/Gelb-Stich für Events */ color: #d97706;
}
#datenbank-1464 .role-match {
	background: #dbeafe;
	/* Blau für Matches */ color: #1d4ed8;
}
#datenbank-1464 .role-course {
	background: #dcfce7;
	/* Grün für Kurse */ color: #15803d;
}
#datenbank-1464 .role-closed {
	background: #fee2e2;
	/* Rot für Geschlossen */ color: #b91c1c;
}
#datenbank-1464 .role-stocksport {
	background: #cffafe;
	color: #0e7490;
}
#datenbank-1464 .role-training {
	background: #f3e8ff;
	/* Lila für Training */ color: #6b21a8;
}
#datenbank-1464 .role-other {
	background: #e2e8f0;
	/* Grau für Sonstiges */ color: #475569;
}
#datenbank-1464 /* DEFAULT FALLBACK */ .role-default {
	background: #eee;
	color: #666;
}
#datenbank-1464 /* TAGS */ .news-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
#datenbank-1464 .news-tags span {
	font-size: 0.65rem;
	padding: 3px 8px;
	border-radius: 0px;
	background: rgba(255,255,255,0.85);
	color: #111;
	width: fit-content;
}
#datenbank-1464 /* ================= CONTENT ================= */ .news-content {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
	flex: 1;
}
#datenbank-1464 .news-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0;
}
#datenbank-1464 .news-divider {
	height: 1px;
	background: rgba(0,0,0,0.08);
	width: 100%;
}
#datenbank-1464 .news-description p {
	margin: 0;
	font-size: 0.9rem;
	color: rgba(0,0,0,0.7);
	line-height: 1.4;
}
#datenbank-1464 /* ================= FOOTER ================= */ .news-footer {
	margin-top: 12px;
	display: flex;
	gap: 8px;
	align-items: flex-end;
	flex-grow: 1;
	margin-top: auto;
}
#datenbank-1464 /* ================= BASE BUTTON ================= */ .news-footer a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s ease;
	white-space: nowrap;
	border-radius: 6px;
}
#datenbank-1464 /* ================= PRIMARY (Anmeldung) ================= */ .news-signup-link {
	background: var(--color1);
	color: white;
	border: 1px solid var(--color1);
}
#datenbank-1464 .news-signup-link:hover {
	background: var(--color3);
	/* Falls --color3 auch angepasst wurde, sonst hier ggf. einen dunkleren Blauton setzen */ color: white;
	border-color: var(--color3);
	transform: translateY(-1px);
}
#datenbank-1464 /* ================= SECONDARY (Weiterlesen) ================= */ .details-link {
	background: transparent;
	color: var(--color1);
	border: 1px solid var(--color1);
}
#datenbank-1464 .details-link:hover {
	/* Hintergrund von Altrot auf feines Blau (6% Deckkraft) geändert */ background: rgba(11, 79, 162, 0.06);
	border-color: var(--color1);
	transform: translateY(-1px);
}