/*
 * Termin-Detailseite (/lm_event/…/), 16.11.2026 – geladen von hooks/termin.php.
 * Kopfbereich nutzt die IDs der News-Detailseite (#lmNewsHero…, Stil in body.css); hier nur die Termin-Teile.
 * Farben/Schriften nur über Kit-Globals.
 */

/* rote Titelbox: Dachzeile oben, Titel mittig, Datum darunter, Teilen unten */
#lmNewsHeroText .lm-termin-dach{
	margin: 0;
	color: rgba(255,255,255,.85);
	font-size: var(--e-global-typography-lmdach-font-size);
	font-weight: var(--e-global-typography-lmdach-font-weight);
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: center;
}
#lmNewsHeroText .lm-termin-status{
	display: table;
	margin: 8px auto 0;
	padding: 2px 10px;
	border-radius: 3px;
	background: var(--e-global-color-c9a4f81);
	color: var(--e-global-color-ff51695);
	font-size: var(--e-global-typography-lmklein-font-size);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
}
#lmNewsHeroText > .elementor-widget-wrap > .lm-hero-titel{
	padding-bottom: 0;
}
#lmNewsHeroText .lm-termin-wann{
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0 0 auto;
	padding-bottom: 12px;
	color: var(--e-global-color-c9a4f81);
	font-size: var(--e-global-typography-lmintro-font-size);
	line-height: 1.35;
	text-align: center;
}

/* Text und Infokasten */
.lm-termin-text > :first-child{ margin-top: 0; }
.lm-termin-text > :last-child{ margin-bottom: 0; }
.lm-termin-vorbei{
	margin: 0 0 12px;
	padding: 10px 16px;
	border-left: 3px solid var(--e-global-color-ff51695);
	background: var(--e-global-color-e859e7d);
	color: var(--e-global-color-3d5fc400);
	font-size: var(--e-global-typography-lmklein-font-size);
}
@media (min-width: 1025px){
	.lm-termin-spalte-infos > .elementor-widget-wrap{
		position: sticky;
		top: 110px;
		align-self: flex-start;
	}
}
/* Infokasten: Bezeichnung über dem Wert (schmale Spalte) */
.lm-termin-karte.lm-modal-karte{ padding: 6px 22px; }
.lm-termin-karte.lm-modal-karte .lm-fristen tr{
	display: block;
	padding: 12px 0;
}
.lm-termin-karte.lm-modal-karte .lm-fristen th{
	display: block;
	margin-bottom: 2px;
	color: var(--e-global-color-79b6df38);
	font-size: var(--e-global-typography-lmklein-font-size);
	font-weight: 400;
}
.lm-termin-karte.lm-modal-karte .lm-fristen td{
	display: block;
	text-align: left;
	white-space: normal;
	font-variant-numeric: normal;
}
.lm-termin-karte .lm-fristen td > span{ display: block; }
.lm-termin-karte .lm-fristen td > span + span{ font-weight: 400; }
.lm-termin-karte .lm-termin-kontakt p{ margin: 4px 0 0; font-size: var(--e-global-typography-lmklein-font-size); }
.lm-termin-karte .lm-termin-kontakt a{ color: var(--e-global-color-ff51695); }

/* Knöpfe unter dem Kasten */
.lm-termin-knoepfe{
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}
a.lm-termin-knopf{
	display: block;
	padding: 11px 20px;
	border: 2px solid var(--e-global-color-ff51695);
	border-radius: 3px;
	color: var(--e-global-color-ff51695);
	font-family: var(--e-global-typography-lmbutton-font-family), sans-serif;
	font-size: var(--e-global-typography-lmbutton-font-size);
	font-weight: var(--e-global-typography-lmbutton-font-weight);
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
a.lm-termin-knopf:hover,
a.lm-termin-knopf:focus-visible,
a.lm-termin-knopf.lm-termin-knopf-haupt{
	background: var(--e-global-color-ff51695);
	color: var(--e-global-color-c9a4f81);
}
a.lm-termin-knopf.lm-termin-knopf-haupt:hover,
a.lm-termin-knopf.lm-termin-knopf-haupt:focus-visible{
	background: var(--e-global-color-3d5fc400);
	border-color: var(--e-global-color-3d5fc400);
}
.lm-termin-gcal{
	margin: 10px 0 0;
	font-size: var(--e-global-typography-lmklein-font-size);
	text-align: center;
}
.lm-termin-gcal a{ color: var(--e-global-color-79b6df38); text-decoration: underline; }

/* Weitere Termine (wie die Terminliste der Startseite) */
.lm-termin-weitere{ --lm-punktlinie: 1px dotted var(--e-global-color-27b40c09); }
.lm-termin-weitere .lm-termin{
	display: grid;
	grid-template-columns: 58px minmax(0,1fr);
	gap: 16px;
	align-items: center;
	padding: 14px 0;
	border-bottom: var(--lm-punktlinie);
	color: inherit;
	text-decoration: none;
}
.lm-termin-weitere .lm-termin:first-child{ border-top: var(--lm-punktlinie); }
.lm-termin-weitere .lm-tag{ text-align: center; line-height: 1.05; color: var(--e-global-color-ff51695); }
.lm-termin-weitere .lm-tag b{ display: block; font-size: var(--e-global-typography-lmh2-font-size); font-weight: var(--e-global-typography-lmh6-font-weight); }
.lm-termin-weitere .lm-tag span{ font-size: var(--e-global-typography-lmdach-font-size); font-weight: var(--e-global-typography-lmdach-font-weight); text-transform: uppercase; letter-spacing: .1em; }
.lm-termin-weitere .lm-termin-titel{ display: block; font-size: var(--e-global-typography-lmh5-font-size); font-weight: var(--e-global-typography-lmh5-font-weight); line-height: var(--e-global-typography-lmh5-line-height); color: var(--e-global-color-3d5fc400); }
.lm-termin-weitere .lm-termin-meta{ display: block; color: var(--e-global-color-79b6df38); font-size: var(--e-global-typography-lmklein-font-size); }
.lm-termin-weitere .lm-termin:hover .lm-termin-titel{ color: var(--e-global-color-ff51695); }
