/* Tagungsprogramm – Frontend-Styles.
   Farben liegen als CSS-Variablen vor, damit du sie leicht anpassen kannst. */
.tgp-programm,
.tgp-referenten-liste,
.tgp-teaser {
	--tgp-navy: #1e293b;
	--tgp-accent: #c2410c;
	--tgp-wenige: #b45309;
	--tgp-ausgebucht: #b91c1c;
	--tgp-online: #ea580c;
	--tgp-linie: rgba(30, 41, 59, .12);
	--tgp-karte-bg: #ffffff;
	max-width: 820px;
	margin: 0 auto;
	color: var(--tgp-navy);
}

/* ---- Tag ---- */
.tgp-tag { margin-bottom: 3rem; }
.tgp-tag-titel {
	font-size: 1.5rem;
	margin: 0 0 1.4rem;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--tgp-navy);
}
.tgp-liste {
	list-style: none;
	margin: 0;
	padding: 0 0 0 40px;
	position: relative;
}
/* Die senkrechte Linie der Timeline. */
.tgp-liste::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: var(--tgp-navy);
	opacity: .9;
}

/* ---- Ablaufpunkt-Zeile (Registrierung, Pause ...) ---- */
.tgp-ablauf-zeile {
	position: relative;
	padding: .55rem 0;
	font-style: italic;
	color: rgba(30, 41, 59, .7);
}
.tgp-ablauf-zeile::before {
	content: "";
	position: absolute;
	left: -34px;
	top: .8rem;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #94a3b8;
	box-sizing: border-box;
}

/* ---- Block-Überschrift ---- */
.tgp-block-titel {
	margin: 1.4rem 0 .6rem;
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .02em;
	color: var(--tgp-accent);
}

/* ---- Session als Timeline-Punkt ---- */
.tgp-session { position: relative; padding: .5rem 0; }
.tgp-session::before {
	content: "";
	position: absolute;
	left: -37px;
	top: 1.4rem;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #fff;
	border: 4px solid var(--tgp-navy);
	box-sizing: border-box;
}

/* ---- Session-Karte ---- */
.tgp-karte {
	background: var(--tgp-karte-bg);
	border: 1px solid var(--tgp-linie);
	border-radius: 14px;
	padding: 1.1rem 1.3rem;
	box-shadow: 0 2px 10px rgba(30, 41, 59, .06);
	display: flex;
	align-items: center;
	gap: 1rem;
}
.tgp-karte-inhalt { flex: 1 1 auto; display: flex; flex-direction: column; gap: .35rem; }
.tgp-karte-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; }
.tgp-karte-code {
	color: var(--tgp-accent);
	font-weight: 700;
	font-size: .92rem;
	letter-spacing: .02em;
}
.tgp-stream {
	display: inline-flex;
	align-items: center;
	font-size: .85rem;
	font-weight: 600;
	color: var(--tgp-navy);
}
.tgp-stream::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: .4rem;
	background: var(--tgp-online);
	border-radius: 2px;
}
.tgp-status-wenige { color: var(--tgp-wenige); font-weight: 700; font-size: .85rem; }
.tgp-status-ausgebucht { color: var(--tgp-ausgebucht); font-weight: 700; font-size: .85rem; }
.tgp-titel { margin: 0; font-size: 1.14rem; line-height: 1.35; color: var(--tgp-navy); }
.tgp-karte-referenten { color: rgba(30, 41, 59, .65); font-size: .95rem; }
.tgp-karte .tgp-details-btn { flex: 0 0 auto; align-self: center; margin: 0; }

/* ---- Badges (im Pop-up weiterhin genutzt) ---- */
.tgp-badge {
	display: inline-block;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .03em;
	padding: .2rem .55rem;
	border-radius: 6px;
	line-height: 1.2;
}
.tgp-art { color: #fff; background: var(--tgp-navy); }
.tgp-art-hv { background: var(--tgp-accent); }
.tgp-art-vt { background: #eaa020; color: var(--tgp-navy); }
.tgp-art-nv { background: #9a3412; }
.tgp-art-ws { background: #1e293b; }
.tgp-art-web { background: #0f766e; }

/* ---- Details-Button ---- */
.tgp-details-btn {
	align-self: flex-start;
	margin-top: .2rem;
	padding: .4rem 1.1rem;
	border: 1px solid var(--tgp-accent);
	border-radius: 999px;
	background: transparent;
	color: var(--tgp-accent);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.tgp-details-btn:hover { background: var(--tgp-accent); color: #fff; }

/* ---- Modal ---- */
.tgp-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 4vh 1rem;
	background: rgba(15, 23, 42, .55);
	z-index: 99999;
	overflow-y: auto;
}
.tgp-modal.tgp-open { display: flex; }
.tgp-modal-inner {
	background: #fff;
	border-radius: 14px;
	max-width: 680px;
	width: 100%;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(15, 23, 42, .35);
}
.tgp-modal-kopf { background: var(--tgp-navy); color: #fff; padding: 1.6rem 1.7rem; position: relative; }
.tgp-modal-badge {
	display: inline-block;
	background: #eaa020;
	color: var(--tgp-navy);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .02em;
	padding: .3rem .9rem;
	border-radius: 999px;
	vertical-align: middle;
}
.tgp-modal-zeit {
	display: inline-block;
	margin-left: .7rem;
	font-weight: 600;
	font-size: .95rem;
	color: rgba(255, 255, 255, .85);
	vertical-align: middle;
}
.tgp-modal-kopf .tgp-titel { color: #fff; margin-top: .6rem; }
.tgp-modal-zeit { font-weight: 600; margin-top: .4rem; opacity: .9; }
.tgp-modal .tgp-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 38px !important;
	height: 38px !important;
	min-width: 0;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: var(--tgp-accent);
	color: #fff;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex: 0 0 auto;
}
.tgp-modal-body { padding: 1.6rem; }
.tgp-modal-text { line-height: 1.55; }
.tgp-modal-referenten { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.tgp-ref-karte {
	display: flex;
	gap: 1.1rem;
	align-items: center;
	background: #dce6f5;
	border-radius: 14px;
	padding: 1.1rem 1.2rem;
}
.tgp-modal-referenten .tgp-ref-karte img {
	width: 90px !important;
	height: 90px !important;
	max-width: 90px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	flex: 0 0 auto;
	border: 3px solid #eaa020 !important;
	box-sizing: border-box;
	margin: 0;
}
.tgp-ref-name { font-weight: 700; margin-bottom: .3rem; }
.tgp-ref-bio { font-size: .92rem; line-height: 1.45; }

/* ---- Referent:innen-Übersicht (eigener Shortcode) ---- */
.tgp-referenten-liste {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.tgp-referent-zeile {
	background: var(--tgp-karte-bg);
	border: 1px solid var(--tgp-linie);
	border-radius: 14px;
	padding: 1.1rem 1.3rem;
	box-shadow: 0 2px 10px rgba(30, 41, 59, .06);
	display: flex;
	align-items: flex-start;
	gap: 1.1rem;
}
.tgp-referent-bild { flex: 0 0 auto; }
.tgp-referenten-liste .tgp-referent-bild img {
	width: 84px !important;
	height: 84px !important;
	max-width: 84px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 3px solid #eaa020 !important;
	display: block;
	box-sizing: border-box;
	margin: 0;
}
.tgp-referent-info { flex: 1 1 auto; }
.tgp-referent-name {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--tgp-navy);
	margin-bottom: .35rem;
}
.tgp-referent-bio { font-size: .95rem; line-height: 1.5; color: rgba(30, 41, 59, .75); }
.tgp-referent-bio p { margin: 0 0 .3rem; }

@media (max-width: 640px) {
	.tgp-referent-zeile { flex-direction: column; align-items: center; text-align: center; }
}

.tgp-empty { font-style: italic; opacity: .7; }

/* ---- Mobil ---- */
@media (max-width: 640px) {
	.tgp-liste { padding-left: 32px; }
	.tgp-karte { flex-direction: column; align-items: flex-start; gap: .6rem; }
	.tgp-karte .tgp-details-btn { align-self: flex-start; }
	.tgp-session::before { left: -29px; }
	.tgp-ablauf-zeile::before { left: -26px; }
	.tgp-ref-karte { flex-direction: column; align-items: center; text-align: center; }
}

/* ---- Programm-Zusammenfassung (Teaser) ---- */
.tgp-teaser { --t-accent: #b01e33; }
.tgp-teaser-tage {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.6rem;
}
.tgp-teaser-karte {
	background: #fff;
	border-radius: 16px;
	padding: 1.7rem 1.9rem;
	box-shadow: 0 8px 28px rgba(30, 41, 59, .10);
}
.tgp-teaser-tag {
	font-size: 1.35rem;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 .3rem;
	line-height: 1.25;
}
.tgp-teaser-sub {
	color: var(--t-accent);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	margin: 0 0 1.1rem;
}
.tgp-teaser-liste { list-style: none; margin: 0; padding: 0; }
.tgp-teaser-eintrag {
	padding: .7rem 0;
	border-bottom: 1px dashed #d9d2c7;
}
.tgp-teaser-eintrag:last-child { border-bottom: none; }
.tgp-teaser-kopf { display: flex; align-items: flex-start; gap: .55rem; }
.tgp-teaser-badge {
	flex: 0 0 auto;
	font-size: .68rem;
	font-weight: 700;
	background: #e9e1d4;
	color: #5c4a3a;
	border-radius: 6px;
	padding: .18rem .5rem;
	margin-top: .18rem;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.tgp-teaser-titel { font-weight: 700; color: #1f2937; line-height: 1.35; }
.tgp-teaser-zeile { color: #71685f; font-size: .95rem; line-height: 1.45; margin-top: .2rem; }
.tgp-teaser-btn-wrap { text-align: center; margin-top: 1.9rem; }
.tgp-teaser-btn {
	display: inline-block;
	background: var(--t-accent);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	padding: .9rem 2.1rem;
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(176, 30, 51, .30);
}
.tgp-teaser-btn:hover { filter: brightness(.93); color: #fff; }

/* ---- Referenten-Raster [tagungsreferenten_grid] ---- */
.tgp-grid {
	display: grid;
	grid-template-columns: repeat(var(--tgp-cols, 4), 1fr);
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
}
.tgp-grid-karte {
	border-radius: 14px;
	padding: 1.7rem 1.3rem;
	min-height: 350px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.tgp-grid-bild { margin-bottom: 1rem; }
.tgp-grid .tgp-grid-bild img {
	width: 120px !important;
	height: 120px !important;
	max-width: 120px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 3px solid #eaa020 !important;
	box-sizing: border-box;
	display: block;
	margin: 0 auto;
}
.tgp-grid-name { font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: .5rem; }
.tgp-grid-kurz { font-size: .92rem; line-height: 1.5; padding-top: 10px; }
.tgp-grid-cta { justify-content: center; }
.tgp-grid-cta-text { font-size: 1.2rem; line-height: 1.4; }
.tgp-grid-cta-btn {
	display: inline-block;
	margin-top: 1.1rem;
	background: #8a4a3a;
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	padding: .75rem 1.5rem;
	border-radius: 8px;
}
.tgp-grid-cta-btn:hover { filter: brightness(.93); color: #fff !important; }

/* dunkel (für dunklen Abschnitt-Hintergrund) */
.tgp-grid-dunkel .tgp-grid-karte { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.tgp-grid-dunkel .tgp-grid-name { color: #fff; }
.tgp-grid-dunkel .tgp-grid-kurz { color: rgba(255, 255, 255, .75); }
.tgp-grid-dunkel .tgp-grid-cta-text { color: #fff; }

/* hell (für hellen Hintergrund) */
.tgp-grid-hell .tgp-grid-karte { background: #fff; border: 1px solid rgba(30, 41, 59, .12); box-shadow: 0 2px 10px rgba(30, 41, 59, .06); }
.tgp-grid-hell .tgp-grid-name { color: #1f2937; }
.tgp-grid-hell .tgp-grid-kurz { color: #5f6b7a; }
.tgp-grid-hell .tgp-grid-cta-text { color: #1f2937; }

@media (max-width: 1000px) { .tgp-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .tgp-grid { grid-template-columns: 1fr !important; } }
