/* ==========================================================================
   TV Jahn Willingen – Designsystem (Plugin tvjahn-tools)
   Bausteine für Divi-5-Seiten. Klassen werden in Divi unter
   „Erweitert → CSS-ID & Klassen“ bzw. im HTML der Textmodule gesetzt.
   ========================================================================== */

:root {
	--tvj-red: #ed1d23;
	--tvj-red-dark: #c4141a;
	--tvj-ink: #16191b;
	--tvj-anthracite: #2a2f31;
	--tvj-sand: #f6f3ee;
	--tvj-muted: #5d6366;
	--tvj-line: rgba(22, 25, 27, 0.12);
	--tvj-radius: 22px;
	--tvj-shadow: 0 18px 40px -18px rgba(22, 25, 27, 0.35);
}

/* ---------- Abschnitte ---------- */
.et_pb_section.tvj-sec { padding: clamp(56px, 8vw, 110px) 0 !important; }
.et_pb_section.tvj-sec-tight { padding: clamp(40px, 5vw, 70px) 0 !important; }
.et_pb_section.tvj-sand { background-color: var(--tvj-sand) !important; }
.et_pb_section.tvj-dark { background-color: var(--tvj-anthracite) !important; }
.et_pb_section.tvj-red { background-color: var(--tvj-red) !important; }
.tvj-dark .et_pb_text, .tvj-dark h2, .tvj-dark h3, .tvj-dark p, .tvj-dark li,
.tvj-red .et_pb_text, .tvj-red h2, .tvj-red h3, .tvj-red p { color: #fff !important; }
.et_pb_section.tvj-sec .et_pb_row { max-width: 1180px; }

/* ---------- Seitenkopf mit Foto ---------- */
.et_pb_section.tvj-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(78vh, 720px);
	padding: 0 !important;
	background-size: cover !important;
	background-position: center 35% !important;
	isolation: isolate;
}
.et_pb_section.tvj-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(90deg, rgba(22, 25, 27, 0.78) 0%, rgba(22, 25, 27, 0.35) 60%, rgba(22, 25, 27, 0.1) 100%),
		linear-gradient(180deg, rgba(22, 25, 27, 0) 40%, rgba(22, 25, 27, 0.7) 100%);
}
.et_pb_section.tvj-hero > .et_pb_row {
	position: relative;
	z-index: 1;
	width: 90%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 16vh 0 8vh !important;
}
.tvj-hero .et_pb_text, .tvj-hero h1, .tvj-hero p { color: #fff !important; }
.tvj-hero .tvj-lead { max-width: 640px; }

/* ---------- Typografie ---------- */
.tvj-overline {
	display: inline-block;
	margin: 0 0 16px !important;
	padding: 0 !important;
	font-size: 0.78rem !important;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tvj-red) !important;
}
.tvj-hero .tvj-overline, .tvj-red .tvj-overline {
	padding: 7px 14px !important;
	border-radius: 999px;
	background: var(--tvj-red);
	color: #fff !important;
}
.tvj-red .tvj-overline { background: rgba(255, 255, 255, 0.18); }
.et_pb_text h1.tvj-display, h1.tvj-display {
	margin: 0 0 18px !important;
	padding: 0 !important;
	font-size: clamp(2.6rem, 6.4vw, 5.2rem) !important;
	font-weight: 800 !important;
	line-height: 1.02 !important;
	letter-spacing: -0.03em;
}
.et_pb_text h2.tvj-h2, h2.tvj-h2 {
	margin: 0 0 18px !important;
	padding: 0 !important;
	font-size: clamp(1.9rem, 3.6vw, 3rem) !important;
	font-weight: 800 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.02em;
}
p.tvj-lead, .tvj-lead p {
	font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important;
	line-height: 1.6 !important;
}
.tvj-prose p { font-size: 1.08rem; line-height: 1.75; color: #33383b; }
.tvj-dark .tvj-prose p, .tvj-red .tvj-prose p { color: #fff; }
.tvj-center { text-align: center; }
.tvj-center .tvj-lead, .tvj-center p.tvj-lead { margin-left: auto; margin-right: auto; max-width: 720px; }

/* ---------- Buttons ---------- */
.tvj-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0 !important; padding: 0 !important; }
.tvj-center .tvj-actions { justify-content: center; }
a.tvj-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	padding: 1em 1.7em;
	border-radius: 999px;
	background: var(--tvj-red);
	box-shadow: 0 12px 26px -14px rgba(237, 29, 35, 0.9);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	transition: transform 0.2s ease, background-color 0.2s ease;
}
a.tvj-btn::after { content: "→"; }
a.tvj-btn:hover { background: var(--tvj-red-dark); transform: translateY(-2px); }
a.tvj-btn--ghost { background: transparent; border: 2px solid currentColor; box-shadow: none; color: var(--tvj-ink) !important; }
a.tvj-btn--ghost:hover { background: rgba(0, 0, 0, 0.06); }
.tvj-hero a.tvj-btn--ghost, .tvj-dark a.tvj-btn--ghost, .tvj-red a.tvj-btn--ghost { color: #fff !important; }
.tvj-hero a.tvj-btn--ghost:hover, .tvj-dark a.tvj-btn--ghost:hover, .tvj-red a.tvj-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.tvj-red a.tvj-btn:not(.tvj-btn--ghost) { background: #fff; color: var(--tvj-red) !important; box-shadow: none; }
a.tvj-link { font-weight: 700; color: var(--tvj-red) !important; text-decoration: none; }
a.tvj-link::after { content: " →"; }

/* ---------- Kennzahlen ---------- */
.tvj-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.tvj-stats > div { padding-top: 18px; border-top: 3px solid var(--tvj-red); }
.tvj-stats strong { display: block; font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.tvj-stats span { display: block; margin-top: 10px; font-size: 1rem; line-height: 1.45; opacity: 0.85; }

/* ---------- Link-Karten ---------- */
.tvj-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
a.tvj-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--tvj-radius);
	background: #fff;
	box-shadow: var(--tvj-shadow);
	color: var(--tvj-ink) !important;
	text-decoration: none !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.tvj-card:hover { transform: translateY(-4px); box-shadow: 0 28px 52px -22px rgba(22, 25, 27, 0.5); }
.tvj-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tvj-card__body { padding: 26px 26px 30px; }
.tvj-card h3 { margin: 0 0 8px !important; padding: 0 !important; font-size: 1.35rem !important; font-weight: 800 !important; }
.tvj-card p { margin: 0 0 16px !important; padding: 0 !important; color: var(--tvj-muted); }
.tvj-more { font-weight: 700; color: var(--tvj-red); }
.tvj-more::after { content: " →"; }

/* ---------- Werte (nummeriert) ---------- */
.tvj-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; counter-reset: tvjv; }
.tvj-values article { position: relative; padding: 32px 30px; border: 1px solid var(--tvj-line); border-radius: var(--tvj-radius); background: #fff; }
.tvj-values article::before {
	counter-increment: tvjv;
	content: counter(tvjv, decimal-leading-zero);
	display: block;
	margin-bottom: 16px;
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--tvj-red);
}
.tvj-values h3 { margin: 0 0 8px !important; padding: 0 !important; font-size: 1.25rem !important; font-weight: 800 !important; }
.tvj-values p { margin: 0 !important; padding: 0 !important; color: var(--tvj-muted); line-height: 1.65; }

/* ---------- Zeitleiste ---------- */
ol.tvj-timeline { position: relative; margin: 0 !important; padding: 0 !important; list-style: none !important; }
ol.tvj-timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 118px; width: 2px; background: var(--tvj-line); }
ol.tvj-timeline > li { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 0 44px; padding: 0 0 48px !important; list-style: none !important; }
ol.tvj-timeline > li::after { content: ""; position: absolute; top: 9px; left: 112px; width: 14px; height: 14px; border-radius: 50%; background: var(--tvj-red); box-shadow: 0 0 0 6px var(--tvj-sand); }
.tvj-year { font-size: 1.7rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--tvj-red); }
ol.tvj-timeline h3 { margin: 0 0 8px !important; padding: 0 !important; font-size: 1.35rem !important; font-weight: 800 !important; }
ol.tvj-timeline p { margin: 0 !important; padding: 0 !important; line-height: 1.7; }
ol.tvj-timeline > li.tvj-todo { opacity: 0.5; }
ol.tvj-timeline > li.tvj-todo::after { background: #b5b5b5; }
@media (max-width: 680px) {
	ol.tvj-timeline::before { left: 6px; }
	ol.tvj-timeline > li { grid-template-columns: 1fr; padding-left: 36px !important; }
	ol.tvj-timeline > li::after { left: 0; }
}

/* ---------- Wochenplan ---------- */
.tvj-week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .tvj-week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tvj-week { grid-template-columns: minmax(0, 1fr); } }
.tvj-day h3 { overflow-wrap: anywhere; hyphens: auto; }
.tvj-day { padding: 26px 22px; border: 1px solid var(--tvj-line); border-radius: var(--tvj-radius); background: #fff; }
.tvj-day h3 {
	margin: 0 0 6px !important;
	padding: 0 0 12px !important;
	border-bottom: 2px solid var(--tvj-ink);
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tvj-red) !important;
}
.tvj-day ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.tvj-day li { padding: 14px 0 !important; border-bottom: 1px solid var(--tvj-line); list-style: none !important; }
.tvj-day li:last-child { border-bottom: 0; }
.tvj-day time { display: block; font-size: 1.05rem; font-weight: 800; }
.tvj-day strong { display: block; margin: 2px 0 4px; line-height: 1.35; }
.tvj-day small { display: block; font-size: 0.88rem; line-height: 1.5; color: var(--tvj-muted); }
.tvj-tag {
	display: inline-block;
	margin: 0 0 6px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #eee;
	color: #333;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.tvj-tag--la { background: #fde3e4; color: #b3121a; }
.tvj-tag--turn { background: #e3eefc; color: #1d4e9a; }
.tvj-tag--gym { background: #e6f4ea; color: #1e6b37; }
.tvj-tag--vb { background: #fff1d6; color: #8a5a00; }
.tvj-tag--fit { background: #efe6fb; color: #5b2f9e; }
.tvj-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px !important; padding: 0 !important; }
.tvj-legend .tvj-tag { margin: 0; font-size: 0.78rem; padding: 6px 12px; }

/* ---------- Schritte, FAQ, Personen, Boxen ---------- */
ol.tvj-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 0 !important; padding: 0 !important; list-style: none !important; counter-reset: tvjs; }
ol.tvj-steps > li { padding: 32px 28px !important; border-radius: var(--tvj-radius); background: #fff; box-shadow: var(--tvj-shadow); list-style: none !important; }
ol.tvj-steps > li::before {
	counter-increment: tvjs;
	content: counter(tvjs);
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--tvj-red);
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
}
ol.tvj-steps h3 { margin: 0 0 8px !important; padding: 0 !important; font-size: 1.25rem !important; font-weight: 800 !important; }
ol.tvj-steps p { margin: 0 !important; padding: 0 !important; color: var(--tvj-muted); }

.tvj-faq details { padding: 20px 0; border-bottom: 1px solid var(--tvj-line); }
.tvj-faq details:first-child { border-top: 1px solid var(--tvj-line); }
.tvj-faq summary { display: flex; justify-content: space-between; gap: 24px; cursor: pointer; font-size: 1.15rem; font-weight: 800; list-style: none; }
.tvj-faq summary::-webkit-details-marker { display: none; }
.tvj-faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--tvj-red); }
.tvj-faq details[open] summary::after { content: "–"; }
.tvj-faq details p { margin: 12px 0 0 !important; padding: 0 !important; line-height: 1.7; color: #33383b; }

.tvj-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.tvj-person { display: flex; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--tvj-line); border-radius: var(--tvj-radius); background: #fff; }
.tvj-avatar { display: grid; flex: 0 0 58px; place-items: center; height: 58px; border-radius: 50%; background: var(--tvj-anthracite); color: #fff; font-weight: 800; letter-spacing: 0.02em; }
.tvj-person strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.tvj-person span { font-size: 0.92rem; color: var(--tvj-muted); }

.tvj-box { padding: clamp(26px, 3vw, 40px); border-radius: var(--tvj-radius); background: #fff; box-shadow: var(--tvj-shadow); }
.tvj-box h3 { margin: 0 0 14px !important; padding: 0 !important; font-size: 1.3rem !important; font-weight: 800 !important; }
.tvj-boilerplate { padding: 28px 30px; border-left: 5px solid var(--tvj-red); border-radius: 14px; background: var(--tvj-sand); font-size: 1.05rem; line-height: 1.75; }
dl.tvj-facts { display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; margin: 0; }
dl.tvj-facts dt { font-weight: 700; color: var(--tvj-muted); }
dl.tvj-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { dl.tvj-facts { grid-template-columns: 1fr; gap: 2px; } dl.tvj-facts dd { margin-bottom: 12px; } }

.tvj-quote { margin: 0 !important; padding: 0 !important; font-size: clamp(1.5rem, 2.6vw, 2.2rem) !important; font-weight: 700; line-height: 1.3 !important; letter-spacing: -0.01em; }
.tvj-quote::before { content: "„"; margin-right: 0.04em; color: var(--tvj-red); }

/* Bild-Text-Abschnitt (Divi-Zeile mit Bildspalte) */
.et_pb_section.tvj-split { padding: 0 !important; }
.et_pb_section.tvj-split .et_pb_column { min-height: 420px; background-size: cover !important; background-position: center !important; }

/* ---------- Entwurfshinweise: nur für angemeldete Redakteure sichtbar ---------- */
.tvj-note { padding: 18px 22px; border: 1px dashed #c99a00; border-radius: 14px; background: #fff7d6; color: #5c4a00; font-size: 0.95rem; line-height: 1.6; }
.tvj-note strong { color: #5c4a00; }
body:not(.logged-in) .tvj-note { display: none !important; }

/* ---------- Korrekturen 06.11.2026 ---------- */
.tvj-center, .tvj-center .et_pb_text_inner, .tvj-center h1, .tvj-center h2, .tvj-center p { text-align: center !important; }
.tvj-center .tvj-overline { display: inline-block; }
h2.tvj-h2 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.et_pb_column_1_3 h2.tvj-h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem) !important; }
/* ---------- Quellenangaben ---------- */
.tvj-sources { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--tvj-line); }
.tvj-sources h3 { margin: 0 0 10px !important; padding: 0 !important; font-size: 0.82rem !important; font-weight: 800 !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tvj-muted) !important; }
.tvj-sources ol { margin: 0 !important; padding: 0 0 0 1.2em !important; font-size: 0.92rem; color: var(--tvj-muted); }
.tvj-sources li { margin: 0 0 10px !important; padding: 0 !important; line-height: 1.5; }
.tvj-sources a { font-weight: 700; color: var(--tvj-ink) !important; text-decoration: underline; text-decoration-color: rgba(237, 29, 35, 0.5); text-underline-offset: 3px; }
.tvj-sources span { display: block; }

/* ---------- Medienspiegel ---------- */
.tvj-press { display: grid; border-top: 1px solid var(--tvj-line); }
.tvj-press a { display: grid; grid-template-columns: 130px 1fr auto; gap: 6px 28px; align-items: baseline; padding: 24px 6px; border-bottom: 1px solid var(--tvj-line); color: var(--tvj-ink) !important; text-decoration: none !important; transition: background-color 0.2s ease; }
.tvj-press a:hover { background: rgba(237, 29, 35, 0.04); }
.tvj-press time { font-size: 1rem; font-weight: 800; color: var(--tvj-red); }
.tvj-press strong { display: block; font-size: 1.2rem; line-height: 1.35; }
.tvj-press small { display: block; margin-top: 4px; font-size: 0.93rem; line-height: 1.55; color: var(--tvj-muted); }
.tvj-press em { font-size: 0.78rem; font-style: normal; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--tvj-muted); }
.tvj-press em::after { content: " ↗"; }
@media (max-width: 700px) { .tvj-press a { grid-template-columns: 1fr; } .tvj-press em { order: -1; } }

/* Zeitleiste: kleine Quellenhinweise */
ol.tvj-timeline sup a { font-size: 0.75rem; font-weight: 700; color: var(--tvj-red) !important; text-decoration: none; }
/* ---------- Pressespiegel: Jahres-Navigation ---------- */
.tvj-years { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.tvj-years a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--tvj-line); border-radius: 999px; background: #fff; color: var(--tvj-ink) !important; font-weight: 800; text-decoration: none !important; transition: border-color 0.2s ease, color 0.2s ease; }
.tvj-years a:hover { border-color: var(--tvj-red); color: var(--tvj-red) !important; }
.tvj-years span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--tvj-sand); font-size: 0.75rem; color: var(--tvj-muted); }
.tvj-year-block { margin: 0 0 44px; scroll-margin-top: 120px; }
.tvj-year-block h3 { margin: 0 0 6px !important; padding: 0 !important; font-size: 2rem !important; font-weight: 800 !important; letter-spacing: -0.02em; color: var(--tvj-red) !important; }
/* ---------- Weiterlesen unter Beiträgen (Mehr zum Thema / Neueste) ---------- */
.tvj-weiterlesen { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 980px) { .tvj-weiterlesen { grid-template-columns: 1fr; gap: 40px; } }
.tvj-weiterlesen h2.tvj-h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important; margin-bottom: 24px !important; }
.tvj-weiterlesen .tvj-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .tvj-weiterlesen .tvj-cards { grid-template-columns: 1fr; } }
.tvj-weiterlesen .tvj-card__body { padding: 20px 22px 24px; }
.tvj-weiterlesen .tvj-card h3 { font-size: 1.15rem !important; line-height: 1.3 !important; }
.tvj-kicker { margin: 0 0 8px !important; padding: 0 !important; font-size: 0.76rem !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tvj-red) !important; }
ol.tvj-latest { margin: 0 0 18px !important; padding: 0 !important; list-style: none !important; border-top: 2px solid var(--tvj-ink); }
ol.tvj-latest li { margin: 0 !important; padding: 0 !important; list-style: none !important; border-bottom: 1px solid var(--tvj-line); }
ol.tvj-latest a { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; padding: 14px 0; color: var(--tvj-ink) !important; text-decoration: none !important; }
ol.tvj-latest img { width: 88px; height: 66px; object-fit: cover; border-radius: 10px; }
ol.tvj-latest time { display: block; font-size: 0.76rem; font-weight: 700; color: var(--tvj-red); }
ol.tvj-latest strong { display: block; font-size: 1rem; line-height: 1.35; transition: color 0.2s ease; }
ol.tvj-latest a:hover strong { color: var(--tvj-red); }

/* ---------- Trainingszeiten: Abteilungsfarben ---------- */
.tvj-c--la { --c: #e11d24; --c-ink: #b3121a; --c-bg: #fdeced; }
.tvj-c--turn { --c: #2563c9; --c-ink: #1d4e9a; --c-bg: #e8f0fc; }
.tvj-c--gym { --c: #1f8a4c; --c-ink: #1e6b37; --c-bg: #e7f5ec; }
.tvj-c--fit { --c: #7044c4; --c-ink: #5b2f9e; --c-bg: #f0eafb; }
.tvj-c--vb { --c: #d08300; --c-ink: #8a5a00; --c-bg: #fff4dc; }

/* Legende */
.tvj-cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 26px !important; padding: 0 !important; }
.tvj-cal-legend a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--tvj-ink) !important; text-decoration: none; }
.tvj-cal-legend a:hover { color: var(--c-ink) !important; }
.tvj-cal-legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); }

/* Wochenkalender */
.tvj-cal {
	--slot: 20px;
	--head: 54px;
	display: grid;
	grid-template-columns: 48px repeat(var(--days, 4), minmax(0, 1fr));
	gap: 0 10px;
	padding: 26px 26px 30px;
	border-radius: var(--tvj-radius);
	background: #fff;
	box-shadow: var(--tvj-shadow);
}
.tvj-cal__axis { padding-top: var(--head); }
.tvj-cal__axis span {
	display: block;
	height: calc(var(--slot) * 4);
	margin-top: -0.55em;
	margin-bottom: 0.55em;
	font-size: 0.74rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--tvj-muted);
}
.tvj-cal__day h3 {
	height: var(--head);
	margin: 0 !important;
	padding: 0 0 0 2px !important;
	font-size: 0.8rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tvj-ink) !important;
	line-height: 1.2 !important;
}
.tvj-cal__slots {
	display: grid;
	grid-template-rows: repeat(var(--rows, 28), var(--slot));
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 0;
	background: repeating-linear-gradient(to bottom, var(--tvj-line) 0 1px, transparent 1px calc(var(--slot) * 4));
	border-bottom: 1px solid var(--tvj-line);
}
.tvj-cal .tvj-cal__ev {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	margin: 2px 0;
	padding: 6px 9px;
	overflow: hidden;
	border-left: 4px solid var(--c);
	border-radius: 8px;
	background: var(--c-bg);
	color: var(--tvj-ink) !important;
	font-size: 0.8rem;
	line-height: 1.25;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tvj-cal .tvj-cal__ev--stack { z-index: 1; box-shadow: 0 0 0 2px #fff, 0 8px 18px -10px rgba(22, 25, 27, 0.4); }
.tvj-cal .tvj-cal__ev:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(22, 25, 27, 0.45); }
.tvj-cal__ev time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-ink); }
.tvj-cal__ev strong { font-weight: 800; overflow-wrap: break-word; hyphens: auto; }
.tvj-cal__ev small { font-size: 0.74rem; color: var(--tvj-muted); }
.tvj-cal__chips { display: flex; flex-wrap: wrap; gap: 3px; margin: 2px 0; }
.tvj-cal__chips i { padding: 1px 6px; border-radius: 99px; background: #fff; font-style: normal; font-size: 0.7rem; font-weight: 700; color: var(--c-ink); }

/* Handy & Tablet: Tagesliste statt Raster */
@media (max-width: 960px) {
	.tvj-cal { display: block; padding: 0; background: none; box-shadow: none; }
	.tvj-cal__axis { display: none; }
	.tvj-cal__day { margin: 0 0 14px; padding: 18px 18px 14px; border-radius: 18px; background: #fff; box-shadow: var(--tvj-shadow); }
	.tvj-cal__day h3 { height: auto; margin: 0 0 10px !important; }
	.tvj-cal__slots { display: flex; flex-direction: column; gap: 8px; background: none; border: 0; }
	.tvj-cal .tvj-cal__ev { margin: 0; padding: 10px 14px; font-size: 0.95rem; gap: 2px; }
	.tvj-cal__ev small { font-size: 0.82rem; }
}

/* Tabellen */
.tvj-scheds { display: grid; gap: 22px; }
.tvj-sched { overflow: hidden; border-radius: var(--tvj-radius); background: #fff; box-shadow: var(--tvj-shadow); }
.tvj-sched__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 20px 24px; border-bottom: 1px solid var(--tvj-line); }
.tvj-sched__head h3 { display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 0 !important; font-size: 1.2rem !important; font-weight: 800 !important; }
.tvj-sched__head h3 i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.tvj-sched table.tvj-table { width: 100%; margin: 0 !important; border: 0 !important; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }
.tvj-sched .tvj-table thead th {
	padding: 12px 18px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--tvj-line) !important;
	background: #faf8f5;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: left;
	color: var(--tvj-muted) !important;
}
.tvj-sched .tvj-table tbody th,
.tvj-sched .tvj-table td { padding: 14px 18px !important; border: 0 !important; border-top: 1px solid var(--tvj-line) !important; text-align: left; vertical-align: top; color: var(--tvj-ink); }
.tvj-sched .tvj-table tbody:first-of-type tr:first-child > * { border-top: 0 !important; }
.tvj-sched .tvj-table tbody th { width: 30%; border-left: 4px solid var(--c) !important; font-weight: 400; }
.tvj-sched .tvj-table tbody th strong { display: block; font-weight: 800; }
.tvj-sched .tvj-table tbody th span { display: block; margin-top: 2px; font-size: 0.85rem; color: var(--tvj-muted); }
.tvj-sched .tvj-table td.tvj-t-day { font-weight: 700; white-space: nowrap; }
.tvj-sched .tvj-table td.tvj-t-time { white-space: nowrap; }
.tvj-sched .tvj-table td.tvj-t-time time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-ink); }
.tvj-sched .tvj-table td.tvj-t-where,
.tvj-sched .tvj-table td.tvj-t-who { color: var(--tvj-muted); }
.tvj-footnote { margin: 16px 0 0 !important; font-size: 0.85rem; color: var(--tvj-muted); }
@media (max-width: 760px) {
	.tvj-sched .tvj-table thead { display: none; }
	.tvj-sched .tvj-table,
	.tvj-sched .tvj-table tbody,
	.tvj-sched .tvj-table tr,
	.tvj-sched .tvj-table th,
	.tvj-sched .tvj-table td { display: block; width: auto !important; }
	.tvj-sched .tvj-table tbody { padding: 16px 20px; border-top: 1px solid var(--tvj-line); border-left: 4px solid var(--c); }
	.tvj-sched .tvj-table tbody:first-of-type { border-top: 0; }
	.tvj-sched .tvj-table tr { display: flex; flex-wrap: wrap; gap: 0 10px; padding: 8px 0; }
	.tvj-sched .tvj-table tbody th { flex-basis: 100%; padding: 0 0 6px !important; border: 0 !important; }
	.tvj-sched .tvj-table td { padding: 0 !important; border: 0 !important; }
	.tvj-sched .tvj-table td.tvj-t-where,
	.tvj-sched .tvj-table td.tvj-t-who { flex-basis: 100%; font-size: 0.88rem; }
	.tvj-sched .tvj-table td.tvj-t-who::before { content: "Leitung: "; }
}
.tvj-actions--end { text-align: right; }
@media (max-width: 980px) { .tvj-actions--end { text-align: left; } }

/* ---------- Erfolge (Abteilungsseiten) ---------- */
.tvj-wins { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tvj-wins article { padding: 24px 24px 22px; border-radius: var(--tvj-radius); background: #fff; box-shadow: var(--tvj-shadow); }
.tvj-medal { display: inline-block; margin: 0 0 12px; padding: 4px 11px; border-radius: 99px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.tvj-medal--gold { background: #fff1c2; color: #7a5800; }
.tvj-medal--silver { background: #eceff1; color: #464d52; }
.tvj-medal--bronze { background: #f6e3d6; color: #84461b; }
.tvj-medal--final { background: #fdeced; color: #b3121a; }
.tvj-wins h3 { margin: 0 0 6px !important; padding: 0 !important; font-size: 1.12rem !important; font-weight: 800 !important; line-height: 1.3 !important; }
.tvj-wins p { margin: 0 !important; padding: 0 !important; color: var(--tvj-muted); font-size: 0.92rem; line-height: 1.5; }

/* ---------- Termine ---------- */
.tvj-c--verein { --c: #2a2f31; --c-ink: #2a2f31; --c-bg: #eceff1; }
ol.tvj-events { display: grid; gap: 12px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
ol.tvj-events > li {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	padding: 16px 20px !important;
	border-left: 4px solid var(--c, var(--tvj-red));
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--tvj-shadow);
	list-style: none !important;
}
ol.tvj-events time { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 72px; border-radius: 12px; background: var(--c-bg, #fdeced); color: var(--c-ink, #b3121a); }
ol.tvj-events time b { font-size: 1.8rem; font-weight: 800; line-height: 1; }
ol.tvj-events time span { margin-top: 2px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
ol.tvj-events h3 { margin: 2px 0 4px !important; padding: 0 !important; font-size: 1.12rem !important; font-weight: 800 !important; line-height: 1.3 !important; }
ol.tvj-events h3 a { color: var(--tvj-ink) !important; text-decoration: none; }
ol.tvj-events h3 a:hover { color: var(--c-ink, var(--tvj-red)) !important; }
ol.tvj-events p { margin: 0 !important; padding: 0 !important; color: var(--tvj-muted); line-height: 1.5; }
ol.tvj-events p.tvj-kicker { margin: 0 0 2px !important; color: var(--c-ink, var(--tvj-red)) !important; }
ol.tvj-events--past { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
ol.tvj-events--past > li { box-shadow: none; border-top: 1px solid var(--tvj-line); border-right: 1px solid var(--tvj-line); border-bottom: 1px solid var(--tvj-line); }
.tvj-events-empty { margin: 0 !important; padding: 18px 20px !important; border-radius: 16px; background: #fff; color: var(--tvj-muted); }
@media (max-width: 520px) { ol.tvj-events > li { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 14px 16px !important; } ol.tvj-events time { height: 58px; } ol.tvj-events time b { font-size: 1.45rem; } }
ol.tvj-events h3, .tvj-wins h3, .tvj-card h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 520px) { ol.tvj-events h3 { font-size: 1.02rem !important; } }
