/* landart Kurse · Violas Blog auf der Website (ab 0.38.0, includes/blog.php). Nach design\entwurf\blog\
   (Runde 4: kantig, Kästen, Etiketten, Marcellus und Sofia Sans, Safran). Farben und Schriften aus dem Elementor-Kit
   (--farbe-…, --schrift-…), mit den Werten von Runde 4 als Ersatz. Alles unter .lkb: zwei Klassen schlagen die
   allgemeinen Regeln der Block-Seiten (.page-content h2, p, a) und des Kits, die nach diesem CSS geladen werden.
   Jeder Baustein geht auch ohne Bild. */

.lkb {
	--lkb-grund: var(--farbe-grund, #FBF6EE);
	--lkb-sand: var(--farbe-flaeche, #F3EADB);
	--lkb-weiss: var(--farbe-weiss, #FFFDF9);
	--lkb-safran: var(--farbe-goslar, #E08A2E);
	--lkb-safran-hell: var(--farbe-goslar-hell, #FCEBD2);
	--lkb-salbei: var(--farbe-doehren, #6F8F5F);
	--lkb-salbei-dunkel: var(--farbe-doehren-dunkel, #3F5A33);
	--lkb-holz: #5B2610;
	--lkb-akzent: #A0521A;
	--lkb-linie: var(--farbe-linie-hell, #E6D9C6);
	--lkb-linie-2: #D8C7AE;
	--lkb-tinte: var(--farbe-text, #2A160A);
	--lkb-tinte-2: #6A4A32;
	--lkb-titel: var(--schrift-titel, "Marcellus"), Georgia, serif;
	--lkb-text: var(--schrift-text, "Sofia Sans"), system-ui, "Segoe UI", sans-serif;
	--lkb-rand: clamp(20px, 5vw, 80px);
	font-family: var(--lkb-text);
	color: var(--lkb-tinte);
}
.lkb *, .lkb *::before, .lkb *::after { box-sizing: border-box; }
.lkb .lkb-innen { max-width: 1240px; margin: 0 auto; padding: 0 var(--lkb-rand); }
.lkb img { display: block; max-width: 100%; height: auto; }
/* Block-Seiten begrenzen p und li auf 40rem (.page-content p, li im Zusätzlichen CSS, wird danach geladen) */
:is(.page-content, body) .lkb :is(p, li) { max-width: none; }
.lkb :focus-visible { outline: 3px solid var(--lkb-holz); outline-offset: 3px; }

/* Etikett, Meta-Zeile, Links */
.lkb .lkb-etikett { display: inline-block; margin: 0; padding: 7px 10px 6px; font: 700 14px/1 var(--lkb-text); letter-spacing: .1em; text-transform: uppercase;
	background: var(--lkb-safran-hell); color: var(--lkb-holz); text-decoration: none; }
.lkb a.lkb-etikett:hover { background: #F8DDB5; }
.lkb .lkb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: 15px; line-height: 1.4; color: var(--lkb-tinte-2); }
.lkb .lkb-meta time { font-variant-numeric: tabular-nums; }
.lkb .lkb-meta .lkb-etikett { position: relative; z-index: 1; font-size: 13px; padding: 6px 8px 5px; }
.lkb .lkb-mehr { display: inline-flex; align-items: center; gap: 8px; font: 600 17px/1.2 var(--lkb-text); color: var(--lkb-akzent); text-decoration: none; padding: 6px 0; }
.lkb .lkb-mehr::after { content: "→"; transition: transform .15s; }
.lkb .lkb-mehr:hover::after { transform: translateX(3px); }
.lkb .lkb-zurueck { display: inline-flex; align-items: center; gap: 8px; font: 600 17px/1.2 var(--lkb-text); color: var(--lkb-akzent); text-decoration: none; }
.lkb .lkb-zurueck::before { content: "←"; }
.lkb .lkb-zurueck:hover { text-decoration: underline; }
.lkb .lkb-knopf { display: inline-flex; align-items: center; justify-content: center; background: var(--lkb-holz); color: #FFFDF9; text-decoration: none;
	font: 600 17px/1 var(--lkb-text); padding: 17px 26px; border: 2px solid var(--lkb-holz); }
.lkb .lkb-knopf:hover { background: #471c0a; border-color: #471c0a; color: #FFFDF9; }
@media (prefers-reduced-motion: reduce) { .lkb .lkb-mehr::after { transition: none; } }

/* Kachel groß: ganze Kachel klickbar (Link im Titel spannt sich darüber), Thema bleibt eigener Link */
.lkb .lkb-karte, .lkb .lkb-zeile, .lkb .lkb-aufmacher { position: relative; background: var(--lkb-weiss); border: 1px solid var(--lkb-linie); margin: 0; }
.lkb .lkb-karte:hover, .lkb .lkb-zeile:hover, .lkb .lkb-aufmacher:hover { border-color: var(--lkb-linie-2); box-shadow: 0 10px 24px -20px rgba(42, 22, 10, .55); }
.lkb .lkb-karte:focus-within, .lkb .lkb-zeile:focus-within, .lkb .lkb-aufmacher:focus-within { outline: 3px solid var(--lkb-holz); outline-offset: 3px; }
.lkb .lkb-karte :is(h2, h3) a, .lkb .lkb-zeile :is(h2, h3) a, .lkb .lkb-aufmacher h2 a { color: var(--lkb-tinte); text-decoration: none; }
.lkb .lkb-karte :is(h2, h3) a::after, .lkb .lkb-zeile :is(h2, h3) a::after, .lkb .lkb-aufmacher h2 a::after { content: ""; position: absolute; inset: 0; }
.lkb .lkb-karte :is(h2, h3) a:focus-visible, .lkb .lkb-zeile :is(h2, h3) a:focus-visible, .lkb .lkb-aufmacher h2 a:focus-visible { outline: none; }
.lkb .lkb-karte:hover :is(h2, h3) a, .lkb .lkb-zeile:hover :is(h2, h3) a, .lkb .lkb-aufmacher:hover h2 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.lkb .lkb-kurz { margin: 0; font-size: 17px; line-height: 1.55; color: var(--lkb-tinte-2); }
.lkb .lkb-weiter { font: 600 16px/1.2 var(--lkb-text); color: var(--lkb-akzent); }
.lkb .lkb-weiter::after { content: " →"; }

.lkb .lkb-karte { display: flex; flex-direction: column; }
.lkb .lkb-karte.ohne-bild { border-top: 4px solid var(--lkb-safran); }
.lkb .lkb-bild { aspect-ratio: 3 / 2; overflow: hidden; background: var(--lkb-sand); }
.lkb .lkb-bild img { width: 100%; height: 100%; object-fit: cover; }
.lkb .lkb-karte .lkb-koerper { padding: 26px 30px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.lkb .lkb-karte :is(h2, h3) { margin: 0; font: 400 clamp(26px, 2.3vw, 34px)/1.15 var(--lkb-titel); color: var(--lkb-tinte); overflow-wrap: anywhere; }
.lkb .lkb-karte .lkb-weiter { margin-top: auto; }

/* Kachel als Zeile: Akzentlinie links, kleines Bild rechts */
.lkb .lkb-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 22px; align-items: start; padding: 22px 26px 22px 24px; border-left: 4px solid var(--lkb-safran); }
.lkb .lkb-zeile > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lkb .lkb-zeile :is(h2, h3) { margin: 0; font: 400 25px/1.2 var(--lkb-titel); color: var(--lkb-tinte); overflow-wrap: anywhere; }
.lkb .lkb-zeile .lkb-kurz { font-size: 16px; }
.lkb .lkb-zeile .lkb-klein-bild { width: 132px; aspect-ratio: 3 / 2; object-fit: cover; }

/* Startseite: Kopfzeile, links groß, rechts Zeilen. Fläche Sand über die ganze Breite (wie die Bänder der Seite). */
.lkb.lkb-start.lkb-flaeche { background: var(--lkb-sand); box-shadow: 0 0 0 100vmax var(--lkb-sand); clip-path: inset(0 -100vmax); padding-block: clamp(3.5rem, 2rem + 4vw, 6rem); }
.lkb .lkb-kopfzeile { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.lkb .lkb-kopfzeile h2 { margin: 16px 0 0; font: 400 clamp(34px, 3.4vw, 48px)/1.1 var(--lkb-titel); letter-spacing: .005em; color: var(--lkb-tinte); }
.lkb .lkb-einleitung { margin: 18px 0 0; max-width: 34em; font-size: 18px; line-height: 1.6; color: var(--lkb-tinte-2); }
.lkb .lkb-raster { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; margin-top: 44px; }
.lkb .lkb-raster.allein { grid-template-columns: minmax(0, 46rem); }
.lkb .lkb-spalte { display: grid; gap: 16px; align-content: start; }

/* Leseliste für Unterseiten */
.lkb.lkb-leseliste { background: var(--lkb-weiss); border: 1px solid var(--lkb-linie); border-top: 4px solid var(--lkb-safran); margin: 0; }
.lkb .lkb-leseliste-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 28px; border-bottom: 1px solid var(--lkb-linie); }
.lkb .lkb-leseliste-kopf :is(h2, h3) { margin: 12px 0 0; font: 400 clamp(28px, 2.6vw, 36px)/1.1 var(--lkb-titel); color: var(--lkb-tinte); }
.lkb.lkb-leseliste ol { list-style: none; margin: 0; padding: 0; }
.lkb.lkb-leseliste li { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) 28px; gap: 6px 24px; align-items: baseline; margin: 0; padding: 20px 28px; border-bottom: 1px solid var(--lkb-linie); }
.lkb.lkb-leseliste li:last-child { border-bottom: 0; }
.lkb.lkb-leseliste li:hover { background: #FFF9F0; }
.lkb.lkb-leseliste li:focus-within { outline: 3px solid var(--lkb-holz); outline-offset: -3px; }
.lkb.lkb-leseliste time { font: 700 15px/1.3 var(--lkb-text); font-variant-numeric: tabular-nums; color: var(--lkb-akzent); }
.lkb.lkb-leseliste li :is(h3, h4) { grid-column: 2; margin: 0; font: 400 24px/1.2 var(--lkb-titel); color: var(--lkb-tinte); overflow-wrap: anywhere; }
.lkb.lkb-leseliste li :is(h3, h4) a { color: var(--lkb-tinte); text-decoration: none; }
.lkb.lkb-leseliste li :is(h3, h4) a::after { content: ""; position: absolute; inset: 0; }
.lkb.lkb-leseliste li :is(h3, h4) a:focus-visible { outline: none; }
.lkb.lkb-leseliste li:hover :is(h3, h4) a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.lkb.lkb-leseliste li p { grid-column: 2; margin: 4px 0 0; font-size: 16px; line-height: 1.5; color: var(--lkb-tinte-2); }
.lkb.lkb-leseliste li p .lkb-etikett { font-size: 12px; padding: 5px 7px 4px; margin-right: 8px; vertical-align: 1px; }
.lkb.lkb-leseliste .lkb-pfeil { grid-column: 3; grid-row: 1; font: 700 20px/1 var(--lkb-text); color: var(--lkb-akzent); }

/* Seite /blog/: Themen (im Kopfband), Aufmacher, weitere Beiträge, Seiten */
.lkb.lkb-themen { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.lkb.lkb-themen li { margin: 0; }
.lkb.lkb-themen a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--lkb-linie-2); background: var(--lkb-weiss);
	font: 600 16px/1 var(--lkb-text); color: var(--lkb-tinte); text-decoration: none; }
.lkb.lkb-themen a small { font-weight: 400; font-size: 15px; color: var(--lkb-tinte-2); font-variant-numeric: tabular-nums; }
.lkb.lkb-themen a:hover { border-color: var(--lkb-holz); }
.lkb.lkb-themen a[aria-current] { background: var(--lkb-holz); border-color: var(--lkb-holz); color: #FFFDF9; }
.lkb.lkb-themen a[aria-current] small { color: #E9DCC8; }
.lkb .lkb-aufmacher { display: grid; grid-template-columns: 7fr 5fr; }
.lkb .lkb-aufmacher.ohne-bild { grid-template-columns: minmax(0, 1fr); }
.lkb .lkb-aufmacher .lkb-bild { aspect-ratio: auto; min-height: 420px; position: relative; }
.lkb .lkb-aufmacher .lkb-bild img { position: absolute; inset: 0; }
.lkb .lkb-aufmacher .lkb-koerper { padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 16px; border-top: 4px solid var(--lkb-safran); }
.lkb .lkb-aufmacher h2 { margin: 0; font: 400 clamp(30px, 2.8vw, 42px)/1.12 var(--lkb-titel); color: var(--lkb-tinte); overflow-wrap: anywhere; }
.lkb .lkb-aufmacher .lkb-kurz { font-size: 18px; }
.lkb .lkb-aufmacher .lkb-weiter { margin-top: auto; }
.lkb .lkb-zwischentitel { display: flex; align-items: center; gap: 14px; margin: 56px 0 18px; font: 700 15px/1 var(--lkb-text); letter-spacing: .1em; text-transform: uppercase; color: var(--lkb-tinte-2); }
.lkb .lkb-zwischentitel::after { content: ""; flex: 1; height: 1px; background: var(--lkb-linie-2); }
.lkb .lkb-beitraege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.lkb .lkb-seiten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--lkb-linie-2); }
.lkb .lkb-seiten ol { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.lkb .lkb-seiten li { margin: 0; }
.lkb .lkb-seiten ol a, .lkb .lkb-seiten ol span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--lkb-linie-2);
	background: var(--lkb-weiss); font-weight: 700; color: var(--lkb-tinte); text-decoration: none; font-variant-numeric: tabular-nums; }
.lkb .lkb-seiten ol [aria-current] { background: var(--lkb-holz); border-color: var(--lkb-holz); color: #FFFDF9; }
.lkb .lkb-leer { font-size: 18px; color: var(--lkb-tinte-2); }
.lkb .lkb-schnupper { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: 72px; padding: 34px 36px;
	background: var(--lkb-safran-hell); border: 1px solid #F1D7B0; }
.lkb .lkb-schnupper h2 { margin: 0; font: 400 clamp(28px, 2.6vw, 36px)/1.15 var(--lkb-titel); color: var(--lkb-tinte); }
.lkb .lkb-schnupper p { margin: 8px 0 0; max-width: 34em; font-size: 17px; color: var(--lkb-tinte-2); }

/* ---------- Beitrag (templates/beitrag.php) ---------- */
.lkb-seite { display: block; background: var(--farbe-grund, #FBF6EE); }
.lkb.lkb-beitrag { padding-bottom: clamp(3.5rem, 2rem + 4vw, 6rem); }
.lkb .lkb-beitrag-kopf { background: var(--lkb-sand); padding: 64px 0 56px; }
/* Mit Bild endet das Band in der Höhe des Bildes: halb auf dem Band, halb auf dem Papier */
.lkb .lkb-beitrag-kopf.mit-bild { background: linear-gradient(var(--lkb-sand) 0 calc(100% - 180px), transparent calc(100% - 180px)); padding-bottom: 0; }
.lkb .lkb-beitrag-kopf .lkb-innen { display: flex; flex-direction: column; align-items: flex-start; }
.lkb .lkb-beitrag-kopf h1 { margin: 18px 0; max-width: 18em; font: 400 clamp(38px, 4vw, 58px)/1.08 var(--lkb-titel); letter-spacing: .005em; color: var(--lkb-tinte); overflow-wrap: anywhere; }
.lkb .lkb-beitrag-kopf .lkb-meta { font-size: 16px; gap: 8px 18px; }
.lkb .lkb-von { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--lkb-tinte); }
.lkb .lkb-von img { width: 40px; height: 40px; object-fit: cover; object-position: 50% 20%; }
.lkb .lkb-beitragsbild { margin: 40px 0 0; width: 100%; max-width: 960px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--lkb-sand); }
.lkb .lkb-beitragsbild img { width: 100%; height: 100%; object-fit: cover; }
.lkb .lkb-koerper { padding-top: 56px; }
.lkb .lkb-lesen { max-width: 40rem; font-size: 19px; line-height: 1.7; color: var(--lkb-tinte); }
.lkb .lkb-lesen > * { max-width: none; margin: 0; }
.lkb .lkb-lesen > * + * { margin-top: 20px; }
.lkb .lkb-lesen > p:first-child { font-size: 21px; line-height: 1.6; }
.lkb .lkb-lesen :is(h2, h3) { margin-top: 44px; font: 400 32px/1.2 var(--lkb-titel); color: var(--lkb-tinte); }
.lkb .lkb-lesen h3 { font-size: 26px; }
.lkb .lkb-lesen :is(ul, ol) { padding-left: 1.3em; }
.lkb .lkb-lesen li + li { margin-top: 6px; }
.lkb .lkb-lesen ul.gewuerz-liste { columns: 2; column-gap: 2rem; } /* Gewürzliste der Ayurveda-Beiträge */
.lkb .lkb-lesen ul li::marker { color: var(--lkb-safran); }
.lkb .lkb-lesen ol li::marker { font-weight: 700; color: var(--lkb-akzent); }
.lkb .lkb-lesen blockquote { margin: 36px 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--lkb-safran); font: 400 26px/1.35 var(--lkb-titel); color: var(--lkb-holz); }
.lkb .lkb-lesen blockquote p { margin: 0; }
.lkb .lkb-lesen a { color: var(--lkb-akzent); text-decoration: underline; text-underline-offset: 3px; }
.lkb .lkb-lesen img { height: auto; }
.lkb .lkb-ende { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 40px; }
.lkb .lkb-autorin { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; background: var(--lkb-weiss); border: 1px solid var(--lkb-linie); padding: 22px 24px; }
.lkb .lkb-autorin:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.lkb .lkb-autorin img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 20%; }
.lkb .lkb-autorin b { font: 400 24px/1.2 var(--lkb-titel); }
.lkb .lkb-autorin p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--lkb-tinte-2); }
.lkb .lkb-navi { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--lkb-linie-2); }
/* Weiterlesen in der schmalen Spalte: Datum über dem Titel */
.lkb .lkb-ende .lkb-leseliste li { grid-template-columns: minmax(0, 1fr) 24px; gap: 4px 16px; padding: 18px 22px; }
.lkb .lkb-ende .lkb-leseliste li :is(time, h3, h4, p) { grid-column: 1; }
.lkb .lkb-ende .lkb-leseliste .lkb-pfeil { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.lkb .lkb-ende .lkb-leseliste li :is(h3, h4) { font-size: 22px; }

/* ---------- Breiten ---------- */
@media (max-width: 1100px) {
	.lkb .lkb-raster, .lkb .lkb-aufmacher { grid-template-columns: minmax(0, 1fr); }
	.lkb .lkb-aufmacher .lkb-bild { min-height: 0; aspect-ratio: 3 / 2; }
	.lkb .lkb-ende { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
	.lkb .lkb-raster { margin-top: 28px; gap: 12px; }
	.lkb .lkb-spalte .lkb-zeile:nth-child(3) { display: none; } /* Handy: der große und zwei Zeilen */
	.lkb .lkb-karte .lkb-koerper { padding: 20px 20px 22px; }
	.lkb .lkb-zeile { grid-template-columns: minmax(0, 1fr); padding: 18px; }
	.lkb .lkb-zeile .lkb-klein-bild { display: none; }
	.lkb .lkb-zeile :is(h2, h3) { font-size: 23px; }
	.lkb .lkb-leseliste-kopf { padding: 20px 18px; }
	.lkb.lkb-leseliste li { grid-template-columns: minmax(0, 1fr) 24px; padding: 18px; }
	.lkb.lkb-leseliste li :is(time, h3, h4, p) { grid-column: 1; }
	.lkb.lkb-leseliste .lkb-pfeil { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
	.lkb .lkb-beitraege { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.lkb .lkb-aufmacher .lkb-koerper { padding: 24px 20px; }
	.lkb.lkb-themen { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.lkb.lkb-themen a { white-space: nowrap; }
	.lkb .lkb-seiten { flex-direction: column; align-items: flex-start; }
	.lkb .lkb-schnupper { padding: 26px 20px; }
	.lkb .lkb-schnupper .lkb-knopf { width: 100%; }
	.lkb .lkb-beitrag-kopf { padding-top: 40px; }
	.lkb .lkb-beitrag-kopf.mit-bild { background: linear-gradient(var(--lkb-sand) 0 calc(100% - 90px), transparent calc(100% - 90px)); }
	.lkb .lkb-beitragsbild { margin: 28px calc(var(--lkb-rand) * -1) 0; width: auto; max-width: none; }
	.lkb .lkb-koerper { padding-top: 36px; }
	.lkb .lkb-lesen { font-size: 18px; }
	.lkb .lkb-lesen > p:first-child { font-size: 19px; }
	.lkb .lkb-lesen :is(h2, h3) { font-size: 28px; }
	.lkb .lkb-lesen blockquote { font-size: 22px; padding-left: 18px; }
	.lkb .lkb-autorin { grid-template-columns: 72px minmax(0, 1fr); padding: 18px; }
	.lkb .lkb-autorin img { width: 72px; }
}
