/* ============================================================
   ZF Veranstaltungen – Frontend-Styles
   ============================================================ */

.zf-va-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
	font-family: 'Open Sans', sans-serif;
}

/* Tablet: 2 Spalten */
@media (max-width: 1024px) {
	.zf-va-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobil: 1 Spalte */
@media (max-width: 640px) {
	.zf-va-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* ---- Karte ---- */
.zf-va-karte {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.10);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* ---- Bild-Bereich (4:3) ---- */
.zf-va-bild-wrapper {
	position: relative;
	width: 100%;
	padding-top: 75%; /* 4:3 Seitenverhältnis */
	background-color: #c0c0c0;
	background-size: cover;
	background-position: center center;
	/* Nur obere Ecken abrunden – untere bleiben eckig (kein border-radius hier,
	   da overflow:hidden am Parent-div das erledigt) */
}

/* ---- Badge (oben rechts) ---- */
.zf-va-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	color: #ffffff;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	padding: 5px 16px 5px 20px; /* rechts etwas mehr wegen letter-spacing */
	border-radius: 20px;
	white-space: nowrap;
	z-index: 2;
}

/* ---- Text im Bild (unten links) ---- */
.zf-va-bild-text {
	position: absolute;
	bottom: 22px;
	left: 22px;
	right: 16px;
	color: #ffffff;
	font-family: 'Open Sans', sans-serif;
	font-size: clamp(22px, 2.8vw, 36px);
	font-weight: 800;
	line-height: 1.1;
	text-shadow:
		2px 2px 6px rgba(0, 0, 0, 0.75),
		0   0  20px rgba(0, 0, 0, 0.40);
	z-index: 2;
}

/* ---- Inhalts-Bereich ---- */
.zf-va-inhalt {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

/* ---- Titel ---- */
.zf-va-titel {
	font-family: 'Open Sans', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.3;
}

/* ---- Datum ---- */
.zf-va-datum {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	color: #555555;
	margin: 0;
	line-height: 1.4;
}

/* ---- Link ---- */
.zf-va-link {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #EFBB20;
	text-decoration: none;
	margin-top: 4px;
	display: inline-block;
}

.zf-va-link:hover,
.zf-va-link:focus {
	color: #EFBB20;
	text-decoration: underline;
}

/* ---- Leer-Zustand ---- */
.zf-va-keine {
	font-family: 'Open Sans', sans-serif;
	color: #888888;
	text-align: center;
	padding: 30px 0;
}
