/* LJC Klassik – Look der bisherigen Seite (landesjugendchor.de) */

:root {
	--ljc-red: #881b1b;
	--ljc-red-dark: #6e1515;
	--ljc-text: #191919;
	--ljc-muted: #6b6b6b;
	--ljc-bg: #ffffff;
	--ljc-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
	--ljc-font: 'Work Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--ljc-container: 768px;
	--ljc-gutter: 30px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.ljc {
	margin: 0;
	background: var(--ljc-bg);
	color: var(--ljc-text);
	font-family: var(--ljc-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.ljc img, .ljc video, .ljc iframe { max-width: 100%; height: auto; }
.ljc a { color: inherit; }
.ljc .ljc-content a, .ljc-rahmen a { color: var(--ljc-red); }
.ljc h1, .ljc h2, .ljc h3, .ljc h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.25; }
.ljc p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.ljc-skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: #fff; color: var(--ljc-text); padding: 10px 16px;
}
.ljc-skip:focus { left: 16px; top: 16px; }

.ljc-container {
	width: 100%;
	max-width: calc(var(--ljc-container) + 2 * var(--ljc-gutter));
	margin: 0 auto;
	padding: 0 var(--ljc-gutter);
}
.ljc-narrow { max-width: calc(640px + 2 * var(--ljc-gutter)); }
.ljc-center { text-align: center; }
.ljc-muted { color: var(--ljc-muted); }

/* ---------- Header / Navigation ---------- */

.ljc-header { position: relative; }
.ljc-header__bar {
	display: flex; align-items: center; justify-content: flex-end;
	height: 100px; position: relative; z-index: 3;
}
.ljc-header__brand {
	position: absolute; left: -9999px;
}
.ljc-header__brand:focus { position: static; margin-right: auto; }

.ljc-nav__list { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.ljc-nav__list a {
	text-decoration: none; font-size: 16px; line-height: 24px; color: var(--ljc-text);
	border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.ljc-nav__list a:hover,
.ljc-nav__list .current-menu-item > a { border-bottom-color: currentColor; }

.ljc-menu-toggle {
	display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ljc-text);
}

.ljc-header--hero .ljc-header__bar { position: absolute; top: 0; left: 0; right: 0; }
.ljc-header--hero .ljc-nav__list a,
.ljc-header--hero .ljc-menu-toggle { color: #fff; }

/* Hero */
.ljc-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	background-size: cover;
	background-position: center;
	display: flex; align-items: center; justify-content: center;
}
.ljc-hero__overlay { position: absolute; inset: 0; background: rgba(136, 27, 27, .75); }
.ljc-hero__logo { position: relative; z-index: 2; margin: 0; padding: 80px 20px 40px; line-height: 0; }
.ljc-hero__logo img { width: min(560px, 80vw); height: auto; display: block; }

/* ---------- Layout-Bausteine ---------- */

.ljc-main { display: block; }
.ljc-section { padding-top: 60px; padding-bottom: 60px; }
.ljc-front .ljc-section:first-child { padding-top: 80px; }

.ljc-split {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}
.ljc-split--wide { grid-template-columns: minmax(0, 1fr) 334px; gap: 120px; }
.ljc-split--spaced { margin-top: 60px; }
.ljc-split--post { grid-template-columns: 250px minmax(0, 1fr); gap: 60px; }
.ljc-split--phase { grid-template-columns: minmax(0, 1fr) 220px; gap: 60px; margin-top: 60px; }
.ljc-split__aside { position: sticky; top: 30px; }

.ljc-stack { display: flex; flex-direction: column; gap: 20px; }

.ljc-kicker { font-size: 14px; margin-bottom: .25em; }
.ljc-meta { color: var(--ljc-muted); margin-bottom: .25em; }
.ljc-h1 { font-size: 40px; line-height: 1.2; margin-bottom: 30px; }
.ljc-h1--post { font-size: 30px; line-height: 1.3; margin-bottom: 10px; }
.ljc-h2 { font-size: 40px; line-height: 1.5; margin-bottom: 20px; overflow-wrap: anywhere; hyphens: auto; }
.ljc-h3 { font-size: 20px; margin-bottom: 20px; }
.ljc-intro { margin-bottom: 40px; }

/* Buttons */
.ljc-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ljc-btn {
	display: inline-block; padding: 10px 20px; border-radius: 8px;
	background: #fff; color: var(--ljc-text) !important; text-decoration: none;
	box-shadow: var(--ljc-shadow); line-height: 24px; transition: transform .15s ease;
}
.ljc-btn:hover { transform: translateY(-2px); }
.ljc-btn--primary { background: var(--ljc-red); color: #fff !important; }

/* Konzert-Karten */
.ljc-concert { display: block; text-decoration: none; color: #fff; border-radius: 4px; transition: transform .15s ease, box-shadow .15s ease; }
.ljc-concert:hover { transform: translateY(-2px); box-shadow: var(--ljc-shadow); }
.ljc-concert__inner { background: var(--ljc-red); color: #fff; padding: 40px; border-radius: 4px; }
.ljc-concert__label { font-size: 16px; margin-bottom: 8px; }
.ljc-concert__title { font-size: 18px; line-height: 1.25; margin-bottom: 16px !important; color: #fff; }
.ljc-concert__date { margin: 0 !important; opacity: .85; }
.ljc-stack--past .ljc-concert__inner { background: #963232; }

/* Beitrags-Karten */
.ljc-card {
	display: block; background: #fff; padding: 40px; border-radius: 4px;
	box-shadow: var(--ljc-shadow); text-decoration: none; color: var(--ljc-text);
	transition: transform .15s ease;
}
a.ljc-card:hover { transform: translateY(-2px); }
.ljc-card__title { font-size: 20px; line-height: 1.5; margin-bottom: 8px !important; }
.ljc-card__date { margin-bottom: 30px; }
.ljc-card__excerpt { text-align: justify; hyphens: auto; color: #333; }
.ljc-card__excerpt p:last-child { margin-bottom: 0; }

/* Inhalt */
.ljc-content { overflow-wrap: break-word; }
.ljc-content > *:first-child { margin-top: 0; }
.ljc-content h2 { font-size: 24px; margin-top: 1.5em; }
.ljc-content h3 { font-size: 20px; margin-top: 1.5em; }
.ljc-content ul, .ljc-content ol { padding-left: 1.25em; }
.ljc-content li { margin-bottom: .4em; }
.ljc-content figure { margin: 30px 0; }
.ljc-content figcaption, .ljc-featured-figure figcaption, .wp-caption-text {
	font-size: 13px; color: var(--ljc-muted); margin-top: 6px;
}
.ljc-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.ljc-content .alignleft { float: left; margin: 0 20px 10px 0; }
.ljc-content .alignright { float: right; margin: 0 0 10px 20px; }
.ljc-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.ljc-content blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--ljc-red); }
.ljc-featured-figure { margin: 0 0 40px; }
.ljc-featured { width: 100%; height: auto; display: block; }
.ljc-back { margin-top: 40px; }

/* Konzert-Einzelseite */
.ljc-entry-header { margin-bottom: 40px; }
.ljc-concert-meta { margin-bottom: 20px; }
.ljc-concert-excerpt { font-weight: 700; }
.ljc-programbox {
	max-width: 300px; margin: 60px auto 0; padding: 40px 30px;
	background: var(--ljc-red); color: #fff; text-align: center; border-radius: 4px;
}
.ljc-programbox h2 { font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
.ljc-programbox__text { font-size: 14px; margin-bottom: 30px; }
.ljc-programbox__text h1, .ljc-programbox__text h2, .ljc-programbox__text h3 { font-size: 14px; }

/* Arbeitsphase */
.ljc-status { font-weight: 700; font-size: 14px; }
.ljc-phase-section { margin-top: 50px; }
.ljc-card--static { padding: 30px 20px; font-size: 14px; }
.ljc-card--static .ljc-card__title { font-size: 16px; }
.ljc-rahmen { margin-top: 40px; font-size: 13px; color: var(--ljc-muted); overflow-wrap: anywhere; }

/* Formular (Contact Form 7) */
.ljc-form { margin-top: 40px; }
.ljc-form input[type="text"], .ljc-form input[type="email"], .ljc-form input[type="tel"],
.ljc-form input[type="date"], .ljc-form input[type="number"], .ljc-form select, .ljc-form textarea {
	width: 100%; padding: 8px 10px; font: inherit; border: 1px solid #c8c8c8; border-radius: 4px; background: #fff;
}
.ljc-form textarea { min-height: 120px; }
.ljc-form input:focus, .ljc-form select:focus, .ljc-form textarea:focus { outline: 2px solid var(--ljc-red); outline-offset: 1px; }
.ljc-form input[type="submit"] {
	padding: 10px 20px; border: 0; border-radius: 8px; background: var(--ljc-red); color: #fff;
	font: inherit; cursor: pointer;
}

/* Pagination */
.ljc-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ljc-pagination .page-numbers { padding: 6px 12px; border-radius: 6px; text-decoration: none; box-shadow: var(--ljc-shadow); background: #fff; }
.ljc-pagination .current { background: var(--ljc-red); color: #fff; }

/* ---------- Footer ---------- */

.ljc-footer { background: var(--ljc-red); color: #fff; padding: 120px 0 60px; margin-top: 60px; }
.ljc-footer a { color: #fff; text-decoration: none; }
.ljc-footer a:hover { text-decoration: underline; }
.ljc-footer__cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 40px; }
.ljc-footer__heading { font-size: 16px; margin-bottom: 20px !important; }
.ljc-footer__list { list-style: none; margin: 0; padding: 0; line-height: 30px; }
.ljc-footer__sponsors {
	display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
	max-width: 750px; margin: 80px auto 0; padding: 40px 60px;
	background: #fff; color: var(--ljc-text); border-radius: 4px; font-size: 13px;
}
.ljc-footer__sponsors a { color: var(--ljc-text); }
.ljc-footer__sponsor img { display: block; max-height: 60px; width: auto; margin-top: 20px; }
.ljc-footer__copy { text-align: center; font-size: 13px; margin: 120px 0 0 !important; }

/* ---------- Mobil ---------- */

@media (max-width: 860px) {
	:root { --ljc-gutter: 16px; }
	.ljc-split, .ljc-split--wide, .ljc-split--post, .ljc-split--phase { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.ljc-split__aside { position: static; }
	.ljc-h1 { font-size: 32px; }
	.ljc-h2 { font-size: 32px; line-height: 1.3; }
	.ljc-footer__cols { grid-template-columns: 1fr; justify-content: start; }
	.ljc-footer__sponsors { grid-template-columns: 1fr; padding: 30px; }
}

@media (max-width: 640px) {
	.ljc-header__bar { height: 70px; }
	.ljc-menu-toggle { display: block; position: relative; z-index: 4; }
	.ljc-nav {
		display: none; position: absolute; top: 70px; left: 0; right: 0;
		background: #fff; box-shadow: var(--ljc-shadow); padding: 10px var(--ljc-gutter) 20px;
	}
	.ljc-nav.is-open { display: block; }
	.ljc-nav__list { flex-direction: column; gap: 0; }
	.ljc-nav__list a,
	.ljc-header--hero .ljc-nav__list a { display: block; padding: 12px 0; color: var(--ljc-text); border: 0; }
	.ljc-card, .ljc-concert__inner { padding: 28px; }
	.ljc-card__excerpt { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.ljc-btn, .ljc-card, .ljc-concert { transition: none; }
}

/* -------------------------------------------------------------------------
 * Untermenüs (Header-Dropdown + Footer-Einrückung)
 * ---------------------------------------------------------------------- */
.ljc-nav__list li { position: relative; }
.ljc-nav__list .sub-menu { list-style: none; margin: 0; padding: 0; }
@media (min-width: 641px) {
	.ljc-nav__list > li > .sub-menu {
		display: none; position: absolute; top: 100%; left: -20px; z-index: 50;
		min-width: 260px; padding: 12px 20px; background: #fff; box-shadow: var(--ljc-shadow);
	}
	.ljc-nav__list > li:hover > .sub-menu,
	.ljc-nav__list > li:focus-within > .sub-menu { display: block; }
	.ljc-nav__list .sub-menu a,
	.ljc-header--hero .ljc-nav__list .sub-menu a { display: inline-block; padding: 6px 0; color: var(--ljc-text); }
	.ljc-nav__list .sub-menu .sub-menu { padding-left: 16px; }
}
@media (max-width: 640px) {
	.ljc-nav__list .sub-menu { padding-left: 16px; }
}
.ljc-footer__list .sub-menu { list-style: none; margin: 0; padding-left: 16px; }

/* Medien & Text: Name bündig mit Bildoberkante */
.wp-block-media-text__content > :first-child { margin-top: -0.2em; }

/* Dirigent*innen: alle Fotos im gleichen Format (3:2) */
.page-id-67037 .wp-block-media-text__media img {
	width: 100%; height: auto; aspect-ratio: 3 / 2;
	object-fit: cover; object-position: center 25%;
}

.page-id-67037 .wp-block-media-text__media img[src*="Yuval-Weinberg"] { object-position: center center; }

/* Stimmbildung: alle Fotos im gleichen Format (3:2) */
.page-id-75 .wp-block-image img {
	width: 100%; height: auto; aspect-ratio: 3 / 2;
	object-fit: cover; object-position: center 25%;
}

/* Phasenbericht Chor.com 2026: Fotos einheitlich 4:3 */
.postid-67057 .wp-block-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.postid-67057 .wp-block-image img[src*="chorcom-2026-applaus"] { object-position: center 65%; }

/* -------------------------------------------------------------------------
 * Rote Seitenränder: Inhalt als weiße Fläche in der Mitte
 * ---------------------------------------------------------------------- */
body.ljc { background: var(--ljc-red); }
.ljc-header:not(.ljc-header--hero),
.ljc-main { background: var(--ljc-bg); max-width: 1040px; margin-left: auto; margin-right: auto; }
@media (min-width: 700px) {
	.ljc-header:not(.ljc-header--hero),
	.ljc-main { width: calc(100% - 64px); }
}
