/* FSV Kurse: Kursliste (angelehnt an .fsv-abschnitt / .fsv-bild-text des Themes) */
.fsvku-kurs {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	padding: 90px max(20px, calc((100% - 1180px) / 2)) 60px;
	background: var(--wp--preset--color--weiss);
}
.fsvku-kurs {
	scroll-margin-top: 20px;
}
/* Wie bisher: erster Kurs weiß, dann im Wechsel grau (der Wochenplan davor ist grau) */
.fsvku-kurs:nth-of-type(even) {
	background: var(--wp--preset--color--hellgrau);
}
/* Bildspalte 570 px, auf kleineren Bildschirmen höchstens die halbe Breite */
.fsvku-bild {
	flex: 0 0 min(570px, calc(50% - 15px));
}
.fsvku-bild img {
	width: 100%;
	height: auto;
	display: block;
}
/* Wie die bisherige Seite: Text eingerückt, Titelbalken ragt 89 px über das Bild */
.fsvku-text {
	flex: 1 1 0;
	min-width: 0;
	padding: 31px 55px 0 36px;
}
/* Ohne Bild bleibt die Bildspalte leer, Titel und Text stehen wie bei den anderen Kursen */
.fsvku-ohne-bild .fsvku-text {
	margin-left: calc(min(570px, 50% - 15px) + 30px);
}
.fsvku-titel {
	font-family: var(--wp--preset--font-family--sarala);
	font-size: var(--wp--preset--font-size--mittel);
	line-height: 1.4;
	margin: 0 0 23px -150px;
	padding: 14px;
}
.fsvku-text p {
	margin: 0 0 29px;
}
.fsvku-termin {
	margin: 0 0 29px;
}
.fsvku-termin dl {
	margin: 0;
}
.fsvku-termin p {
	margin: 0;
}
.fsvku-termin dt {
	display: inline;
	font-weight: 700;
}
.fsvku-termin dd {
	display: inline;
	margin: 0;
}
.fsvku-leer {
	text-align: center;
	padding: 60px 20px;
}
.fsvku-leer a {
	color: inherit;
	text-decoration: underline;
}

/* Wochenplan über den Kursen */
.fsvku-plan {
	padding: 50px max(20px, calc((100% - 1180px) / 2)) 70px;
	background: var(--wp--preset--color--hellgrau);
}
.fsvku-plan-titel {
	font-family: var(--wp--preset--font-family--sarala);
	font-size: var(--wp--preset--font-size--mittel);
	line-height: 1.4;
	margin: 0 0 20px;
}
.fsvku-plan table {
	width: 100%;
	border-collapse: collapse;
}
.fsvku-plan th,
.fsvku-plan td {
	text-align: left;
	vertical-align: top;
	padding: 12px 20px 12px 0;
	border-bottom: 1px solid var(--wp--preset--color--beige);
}
.fsvku-plan th {
	font-weight: 700;
	border-bottom-width: 2px;
}
.fsvku-plan-zeit {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.fsvku-plan a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.fsvku-plan a:hover {
	text-decoration-thickness: 2px;
}

@media (max-width: 921px) {
	.fsvku-kurs {
		flex-direction: column;
		gap: 60px;
		padding-top: 60px;
		padding-bottom: 100px;
	}
	.fsvku-bild {
		flex-basis: auto;
		max-width: 100%;
		width: 100%;
	}
	/* Handy wie bisher: Balken ohne Innenabstand, Text bündig */
	.fsvku-titel {
		margin: 0 0 30px;
		padding: 0;
		line-height: 1.15;
	}
	.fsvku-text,
	.fsvku-ohne-bild .fsvku-text {
		margin-left: 0;
		padding: 0;
		width: 100%;
	}
}

/* Handy: Wochenplan als gestapelte Zeilen statt vier Spalten */
@media (max-width: 600px) {
	.fsvku-plan {
		padding-top: 30px;
		padding-bottom: 50px;
	}
	.fsvku-plan thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
	.fsvku-plan tr {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 12px;
		padding: 14px 0;
		border-bottom: 1px solid var(--wp--preset--color--beige);
	}
	.fsvku-plan td {
		padding: 0;
		border: 0;
	}
	.fsvku-plan-tag {
		font-weight: 700;
	}
	.fsvku-plan-kurs,
	.fsvku-plan-ort {
		grid-column: 1 / -1;
	}
	.fsvku-plan-kurs {
		margin-top: 4px;
	}
	.fsvku-plan a {
		display: inline-block;
		padding: 6px 0;
	}
}
