/* VPH Lernideen — Onlineseminar-Karten für die Website
   ([vph_onlineseminare], Stil analog zu den Newsletter-Karten). */

.vph-os-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
	margin: 1.2em 0;
}

.vph-os-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 42, 67, 0.06), 0 4px 16px rgba(16, 42, 67, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Farbverlaufs-Akzent an der Oberkante. */
.vph-os-card::before {
	content: "";
	display: block;
	height: 6px;
	background: linear-gradient(90deg, var(--vph-os-primary, #0098d4), var(--vph-os-accent, #fedf07));
}

.vph-os-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 2px 4px rgba(16, 42, 67, 0.07), 0 14px 32px rgba(16, 42, 67, 0.14);
}

.vph-os-image {
	display: block;
	line-height: 0;
}

.vph-os-image img {
	width: 100%;
	height: 185px;
	object-fit: cover;
}

.vph-os-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 22px 20px;
}

/* Datums-Pill — überlappt ein vorhandenes Bild leicht. */
.vph-os-date {
	align-self: flex-start;
	background: var(--vph-os-primary, #0098d4);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2px;
	line-height: 1;
	padding: 7px 14px;
	border-radius: 16px;
	margin-bottom: 12px;
	box-shadow: 0 2px 6px rgba(0, 82, 116, 0.25);
}

.vph-os-image + .vph-os-body .vph-os-date {
	margin-top: -32px;
}

/* Abgesagt/verschoben: Badge über dem Zeitraum, Zeitraum durchgestrichen. */
.vph-os-cancelled {
	align-self: flex-start;
	background: #b3261e;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	line-height: 1;
	padding: 6px 12px;
	border-radius: 16px;
	margin-bottom: 8px;
}

.vph-os-image + .vph-os-body .vph-os-cancelled {
	margin-top: -32px;
}

.vph-os-image + .vph-os-body .vph-os-cancelled + .vph-os-date {
	margin-top: 0;
}

.vph-os-card--cancelled .vph-os-date {
	background: #8a96a3;
	box-shadow: none;
	text-decoration: line-through;
}

.vph-os-title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 6px;
}

.vph-os-title a {
	color: #24303b;
	text-decoration: none;
	transition: color 0.15s ease;
}

.vph-os-title a:hover {
	color: var(--vph-os-primary, #0098d4);
}

.vph-os-referent {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-size: 13px;
	color: #5b6570;
	margin: 0 0 10px;
}

.vph-os-referent::before {
	content: "👤";
	font-size: 12px;
}

.vph-os-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #46505a;
	margin: 0 0 18px;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Buttons bündig am Kartenende ausrichten. */
.vph-os-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: auto 0 0;
}

.vph-os-btn {
	display: inline-block;
	background: var(--vph-os-btn, #c95d31);
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	padding: 10px 20px;
	border-radius: 20px;
	text-decoration: none !important;
	transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.vph-os-btn:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	color: #ffffff;
}

/* Details als dezenter Ghost-Button. */
.vph-os-btn--ghost {
	background: transparent;
	color: var(--vph-os-primary, #0098d4) !important;
	box-shadow: inset 0 0 0 2px var(--vph-os-primary, #0098d4);
}

.vph-os-btn--ghost:hover {
	background: var(--vph-os-primary, #0098d4);
	color: #ffffff !important;
	filter: none;
}

.vph-os-regend {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: #7a838d;
	margin: 12px 0 0;
}

.vph-os-clock {
	flex: none;
	color: #9aa3ac;
}

.vph-os-empty {
	padding: 16px 20px;
	background: #f2f8fc;
	border-left: 4px solid var(--vph-os-primary, #0098d4);
	border-radius: 0 8px 8px 0;
}
