/* Tagungsprogramm – Frontend-Styles.
   Farben liegen als CSS-Variablen vor, damit du sie leicht anpassen kannst. */
.tgp-programm,
.tgp-referenten-liste {
	--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; }
}
