*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.7;color:#111;background:#fff}
.region-337736{max-width:900px;margin:0 auto;padding:0 28px}
.panel-1ca9e6{background:#111;color:#fff;padding:64px 0;margin-bottom:48px}
.panel-1ca9e6 h1{font-size:42px;font-weight:800;letter-spacing:-1px;margin-bottom:8px}
.panel-1ca9e6 p{font-size:18px;opacity:.7}
.panel-1ca9e6 a{color:#fff;text-decoration:none;font-size:22px;font-weight:800}
.page-ead7d6{padding:0}
.panel-1ca72a{padding:32px 0;border-left:4px solid #111;padding-left:24px;margin-bottom:28px}
.panel-1ca72a h2{font-size:24px;font-weight:700;margin-bottom:6px}
.panel-1ca72a h2 a{color:#111;text-decoration:none}
.panel-1ca72a h2 a:hover{text-decoration:underline}
.panel-1ca72a .sidebar-8adf36{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;margin-bottom:8px}
.panel-1ca72a p{font-size:15px;color:#444;margin-bottom:10px}
.shell-49ffe4{display:inline-block;background:#111;color:#fff;padding:8px 20px;font-size:13px;font-weight:700;text-decoration:none;text-transform:uppercase;letter-spacing:1px}
.shell-49ffe4:hover{background:#333}
.outer-38b619{padding-bottom:60px}
.outer-38b619 h1{font-size:38px;font-weight:800;letter-spacing:-1px;margin-bottom:10px}
.outer-38b619 time{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;display:block;margin-bottom:28px}
.outer-38b619 h2{font-size:26px;font-weight:700;margin:40px 0 14px}
.outer-38b619 h3{font-size:20px;font-weight:700;margin:32px 0 10px}
.outer-38b619 p{margin-bottom:18px;font-size:17px}
.outer-38b619 ul,.outer-38b619 ol{margin:0 0 18px 24px}
.outer-38b619 a{color:#111;font-weight:600;text-decoration:underline}
.outer-38b619 img{max-width:100%;height:auto;margin:20px 0}
.inner-eb3415{background:#111;color:#888;padding:28px 0;margin-top:48px;text-align:center;font-size:12px}
.inner-eb3415 a{color:#888;text-decoration:none}
.footer-f18eb9{background:#222;color:#aaa;padding:14px 20px;margin-bottom:24px;font-size:13px;font-style:italic}
.nav-dbef48{background:#1a1a1a;color:#888;padding:14px 20px;margin-top:32px;font-size:12px;border-top:3px solid #444}
.shell-ad540e{font-size:12px;font-weight:600;text-transform:uppercase;color:#666;letter-spacing:1px;margin:-20px 0 28px;padding-left:12px;border-left:2px solid #ccc}
.panel-44aea2{margin:0 0 24px}
.header-7856e1{width:100%;height:auto;border-radius:0}
.block-a9d2c1{border-left:4px solid #111;padding-left:24px;margin-top:48px}
.block-a9d2c1 h3{font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.block-a9d2c1 ul{list-style:none;padding:0}
.block-a9d2c1 li{padding:6px 0}
.block-a9d2c1 a{color:#111;text-decoration:underline;font-weight:600}
.shell-21eeca{border-left:4px solid #ddd;padding-left:24px;margin-top:36px}
.shell-21eeca ul{list-style:none;padding:0}
.shell-21eeca li{padding:6px 0;font-size:16px}
.shell-21eeca a{color:#111;text-decoration:none;font-weight:600}
.shell-21eeca a:hover{text-decoration:underline}
.shell-21eeca .sidebar-8adf36{margin:0 0 0 8px}
/* === Theme === */
:root{--primary:#21261A;--accent:#A85284;--bg:#F2EBDC;--fg:#0E1108;--border:#C5BDA1;--r:8px;--fb:'Alegreya';--fh:'EB Garamond';--meta:'Archivo';--moment:#8B2E2E;--paper:#faf5ec;--paper2:#f5efe1;--rust:#8B2E2E}
/* === Custom === */
/* v.1cf49e — layout revision */
/* Mein Klavierweg — editorial signature pass. Base layout.css uses 2-class
   selectors (.panel-1ca72a .sidebar-8adf36); single :root loses, so every
   rule is prefixed :root:root to reach (0,2,x). No !important, no class
   selectors, single-level :has only. Moment colour #8B2E2E used exactly ×2
   (article drop cap + affiliate disclosure). Signature = Tastenband key strip
   under the masthead wordmark. */

@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Archivo:wght@500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

:root:root body { font-family: var(--fb), Georgia, serif; color: var(--fg); background: var(--bg); line-height: 1.72; font-size: 16.5px; }
::selection { background: var(--accent); color: var(--bg); }
:root:root hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

/* ============================================================= MASTHEAD */
:root:root > body > div:first-child {
  position: relative;
  background: linear-gradient(rgba(22,25,17,.82), rgba(22,25,17,.60)),
              url("/theme-assets/front-image.jpg") center/cover no-repeat, var(--primary);
  color: #f7f2e6; text-align: center;
  padding: 78px 0 36px; margin-bottom: 60px; border-bottom: 0;
}
:root:root > body > div:first-child h1,
:root:root > body > div:first-child a {
  font-family: var(--fh), 'Iowan Old Style', Georgia, serif; font-style: italic;
  font-weight: 500; color: #f7f2e6; letter-spacing: .005em; text-decoration: none; line-height: 1.08;
}
:root:root > body > div:first-child h1 { font-size: 50px; margin-bottom: 8px; }
:root:root > body > div:first-child a { font-size: 31px; }
:root:root > body > div:first-child p {
  font-family: var(--fb), Georgia, serif; font-style: italic; font-size: 16.5px;
  color: rgba(247,242,230,.82); max-width: 560px; margin: 14px auto 0; line-height: 1.6;
}
/* Tastenband — a real piano octave (black keys shorter, over white-key gaps) */
:root:root > body > div:first-child::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 13px;
  background-color: #f4eede;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 17px, #141109 17px 31px, transparent 31px 41px, #141109 41px 55px, transparent 55px 89px, #141109 89px 103px, transparent 103px 113px, #141109 113px 127px, transparent 127px 137px, #141109 137px 151px, transparent 151px 168px),
    repeating-linear-gradient(90deg, #f4eede 0 23px, #c0b795 23px 24px);
  background-size: 168px 62%, 168px 100%;
  background-position: left top, left top;
  background-repeat: repeat-x, repeat-x;
}

/* ============================================================ HOME GRID */
:root:root main:not(:has(> article)) {
  display: grid; grid-template-columns: repeat(6, 1fr);
  column-gap: 28px; row-gap: 44px; padding: 0 0 96px;
}

/* --- Hero (newest entry): frameless, loud display voice --- */
:root:root main:not(:has(> article)) > div:nth-of-type(1) {
  grid-column: 1 / -1; order: 1; display: block;
  background: transparent; border: 0; box-shadow: none; padding: 12px 0 0; margin: 0;
}
:root:root main:not(:has(> article)) > div:nth-of-type(1) > p:first-of-type {
  font-family: var(--meta), sans-serif; font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); font-weight: 600; line-height: 1.4; margin-bottom: 14px;
}
:root:root main:not(:has(> article)) > div:nth-of-type(1) > p:first-of-type::before {
  content: "Neuester Eintrag · Ute Hartmann · ";
}
:root:root main:not(:has(> article)) > div:nth-of-type(1) > h2 {
  font-family: var(--fh), Georgia, serif; font-size: 47px; font-weight: 600;
  line-height: 1.08; letter-spacing: -.01em; margin: 0 0 20px;
}
:root:root main:not(:has(> article)) > div:nth-of-type(1) > h2 a { color: var(--primary); text-decoration: none; }
:root:root main:not(:has(> article)) > div:nth-of-type(1) > h2 a:hover { color: var(--accent); }
:root:root main:not(:has(> article)) > div:nth-of-type(1) > p:last-of-type {
  font-family: var(--fb), Georgia, serif; font-size: 20px; line-height: 1.55;
  max-width: 64ch; color: var(--fg); opacity: .92; margin: 0 0 24px;
}
/* full-width Editor's-Picks label sits between hero and picks row */
:root:root main:not(:has(> article)) > div:nth-of-type(1)::after {
  content: "Empfohlene Einträge — zuerst lesen"; display: block;
  margin-top: 42px; padding-top: 16px; border-top: 1px solid var(--border);
  font-family: var(--meta), sans-serif; font-size: 13px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--primary); font-weight: 600;
}

/* --- Common card look (everything except the hero) --- */
:root:root main:not(:has(> article)) > div:nth-of-type(n+2) {
  order: 5; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid rgba(33,38,26,.10); border-radius: 8px;
  padding: 26px 32px 28px; margin: 0; box-shadow: 0 1px 4px rgba(14,17,8,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
:root:root main:not(:has(> article)) > div:nth-of-type(n+2):hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(14,17,8,.09);
}
:root:root main:not(:has(> article)) > div:nth-of-type(n+2) > p:first-of-type {
  font-family: var(--meta), sans-serif; font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 12px; line-height: 1.4;
}
:root:root main:not(:has(> article)) > div:nth-of-type(n+2) > h2 {
  font-family: var(--fh), Georgia, serif; font-size: 21px; font-weight: 600; line-height: 1.2; margin: 0 0 12px;
}
:root:root main:not(:has(> article)) > div:nth-of-type(n+2) > h2 a { color: var(--primary); text-decoration: none; }
:root:root main:not(:has(> article)) > div:nth-of-type(n+2) > h2 a:hover { color: var(--accent); }
:root:root main:not(:has(> article)) > div:nth-of-type(n+2) > p:last-of-type {
  font-family: var(--fb), Georgia, serif; font-size: 15.5px; line-height: 1.6; color: var(--fg);
  opacity: .88; margin: 0 0 20px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* --- Editor's Picks band (cards 2–4): 3 across, roman-numeral kicker --- */
:root:root main:not(:has(> article)) > div:nth-of-type(2),
:root:root main:not(:has(> article)) > div:nth-of-type(3),
:root:root main:not(:has(> article)) > div:nth-of-type(4) { grid-column: span 2; order: 3; }
:root:root main:not(:has(> article)) > div:nth-of-type(2)::before,
:root:root main:not(:has(> article)) > div:nth-of-type(3)::before,
:root:root main:not(:has(> article)) > div:nth-of-type(4)::before {
  font-family: var(--fh), Georgia, serif; font-style: italic; font-size: 15px;
  color: var(--accent); display: block; margin-bottom: 8px; letter-spacing: .04em;
}
:root:root main:not(:has(> article)) > div:nth-of-type(2)::before { content: "N° I"; }
:root:root main:not(:has(> article)) > div:nth-of-type(3)::before { content: "N° II"; }
:root:root main:not(:has(> article)) > div:nth-of-type(4)::before { content: "N° III"; }

/* --- Chronological journal (cards 5…n-1): steady 2-col grid --- */
:root:root main:not(:has(> article)) > div:nth-of-type(n+5):not(:last-of-type) { grid-column: span 3; order: 5; }

/* --- Origin feature (oldest = Woche 1): full-width closing moment --- */
:root:root main:not(:has(> article)) > div:last-of-type {
  grid-column: 1 / -1; order: 5; background: var(--paper2);
  border: 1px solid rgba(33,38,26,.13); padding: 34px 40px; align-items: flex-start;
}
:root:root main:not(:has(> article)) > div:last-of-type::before {
  content: "Wo alles begann"; font-family: var(--meta), sans-serif; font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
:root:root main:not(:has(> article)) > div:last-of-type > h2 { font-size: 30px; }
:root:root main:not(:has(> article)) > div:last-of-type > p:last-of-type {
  -webkit-line-clamp: 2; font-size: 17px; max-width: 72ch;
}

/* --- Card CTA: German swap ("Read Now" → Weiterlesen) via font-size:0.
   Direct-child combinator only — a descendant a:last-child would also hit the
   title link (it is the sole child of its <h2>). --- */
:root:root main:not(:has(> article)) > div > a:last-child {
  font-size: 0; margin-top: auto; align-self: flex-start; text-decoration: none;
  background: var(--primary); color: var(--paper); padding: 9px 20px; border-radius: 6px;
  letter-spacing: 0; text-transform: none; border: 0;
}
:root:root main:not(:has(> article)) > div > a:last-child::after {
  content: "Weiterlesen →"; font-family: var(--meta), sans-serif; font-size: 12.5px;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
:root:root main:not(:has(> article)) > div > a:last-child:hover { background: var(--accent); }
/* hero + origin CTAs: outlined pill, own wording */
:root:root main:not(:has(> article)) > div:nth-of-type(1) > a:last-child {
  background: transparent; color: var(--primary); border: 1.5px solid var(--primary); padding: 11px 26px;
}
:root:root main:not(:has(> article)) > div:nth-of-type(1) > a:last-child::after { content: "Ganzen Eintrag lesen →"; font-size: 13.5px; }
:root:root main:not(:has(> article)) > div:nth-of-type(1) > a:last-child:hover { background: var(--primary); color: var(--paper); }
:root:root main:not(:has(> article)) > div:last-of-type > a:last-child::after { content: "Die erste Woche lesen →"; }

/* --- Hero strips (Rule F): entry-photo bands as section breaks --- */
:root:root main:not(:has(> article))::before,
:root:root main:not(:has(> article))::after {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center;
  color: #f7f2e6; font-family: var(--meta), sans-serif; font-size: 14px;
  letter-spacing: .32em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.55);
  border-radius: 8px; margin: 24px 0;
}
:root:root main:not(:has(> article))::before {
  content: "IN SCHREIBREIHENFOLGE"; order: 4; min-height: 195px;
  background: linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
              url("/theme-assets/entry-photo.jpg") center 30%/cover no-repeat;
}
:root:root main:not(:has(> article))::after {
  content: "ALLE BEITRÄGE"; order: 6; min-height: 215px;
  background: linear-gradient(rgba(30,20,24,.58), rgba(30,20,24,.30)),
              url("/theme-assets/entry-photo.jpg") center 70%/cover no-repeat;
}

/* --- Defensive: any home tail list spans full width, warm, magazine index --- */
:root:root main:not(:has(> article)) > div:has(> ul) {
  grid-column: 1 / -1; order: 7; background: var(--paper); border: 1px solid rgba(33,38,26,.10);
  border-radius: 8px; padding: 28px 34px;
}
:root:root main:not(:has(> article)) > div:has(> ul) > ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
:root:root main:not(:has(> article)) > div:has(> ul) > ul > li { padding: 9px 0; border-bottom: 1px dotted rgba(0,0,0,.12); break-inside: avoid; }
:root:root main:not(:has(> article)) > div:has(> ul) > ul > li > a { color: var(--fg); text-decoration: none; font-family: var(--fb), serif; font-size: 15px; }
:root:root main:not(:has(> article)) > div:has(> ul) > ul > li > a:hover { color: var(--accent); }

/* ============================================================== ARTICLE */
:root:root main:has(> article) { padding-bottom: 80px; }
:root:root main > hgroup { margin-bottom: 8px; }
:root:root main > hgroup::before {
  content: "Tagebuch · Ute Hartmann"; display: block; font-family: var(--meta), sans-serif;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  font-weight: 600; margin-bottom: 14px;
}
:root:root main > hgroup > h1, :root:root main > h1 {
  font-family: var(--fh), Georgia, serif; font-size: 45px; font-weight: 600; color: var(--fg);
  line-height: 1.14; letter-spacing: -.01em; margin: 6px 0 12px;
}
:root:root main > hgroup > time, :root:root main > time {
  display: block; font-family: var(--meta), sans-serif; font-size: 13px; color: var(--accent);
  letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px;
}
/* atmospheric entry-photo band under the title */
:root:root main:has(> article) > hgroup::after {
  content: ""; display: block; height: 210px; margin: 22px 0 6px; border-radius: 8px;
  background: linear-gradient(rgba(24,26,18,.12), rgba(24,26,18,.12)),
              url("/theme-assets/entry-photo.jpg") center 45%/cover no-repeat;
}
:root:root main > hgroup + div {
  font-family: var(--meta), sans-serif; font-size: 12px; color: var(--accent);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 600; opacity: .72; margin: 0 0 30px;
}

:root:root main > article > p { margin-bottom: 20px; font-size: 18.5px; line-height: 1.78; }
/* drop cap — moment colour #1 of 2 */
:root:root main > article > p:first-of-type::first-letter {
  float: left; font-family: var(--fh), Georgia, serif; font-style: italic; font-weight: 600;
  font-size: 66px; line-height: .8; color: var(--moment); margin: 6px 12px 0 0;
}
/* affiliate disclosure callout (2nd paragraph) — moment colour #2 of 2 */
:root:root main > article > p:nth-of-type(2) {
  background: var(--paper2); border-left: 4px solid var(--moment); border-radius: 0 8px 8px 0;
  padding: 18px 24px; margin: 26px 0; font-size: 15px; font-style: italic; line-height: 1.7;
  color: var(--fg); font-family: var(--fb), serif;
}
:root:root main > article > p:nth-of-type(2)::first-letter { font-size: inherit; float: none; margin: 0; color: inherit; }

:root:root main > article > h2 {
  font-family: var(--fh), Georgia, serif; font-size: 28px; font-weight: 600; color: var(--primary);
  margin: 52px 0 16px; border-top: 0; padding-top: 0;
}
:root:root main > article > h2::before {
  content: "♪ ♪ ♪"; display: block; text-align: center; color: var(--accent);
  font-size: 15px; letter-spacing: .4em; margin: 0 0 22px; opacity: .7;
}
:root:root main > article > h3 {
  font-family: var(--fh), Georgia, serif; font-size: 21px; font-weight: 600; color: var(--accent);
  margin: 38px 0 10px; padding-top: 0; border-top: 0;
}
:root:root main > article ul, :root:root main > article ol { margin: 0 0 20px 26px; }
:root:root main > article li { margin-bottom: 8px; line-height: 1.7; }
:root:root main > article blockquote {
  position: relative; border-left: 3px solid var(--accent); padding: 8px 0 8px 34px; margin: 30px 0;
  font-family: var(--fh), Georgia, serif; font-style: italic; font-size: 21px; line-height: 1.5; color: var(--primary);
}
:root:root main > article blockquote::before {
  content: "\201C"; position: absolute; left: -2px; top: -6px; font-family: var(--fh), Georgia, serif;
  font-size: 58px; color: var(--accent); opacity: .35; line-height: 1;
}

/* body links vs affiliate CTA — CTA path is longer + carries [attr] so it wins (Rule J).
   Live affiliate prefix here is /view/ (plus common fallbacks). */
:root:root main > article > p a, :root:root main > article > p a:visited,
:root:root main > article > li a, :root:root main > article > ul a {
  color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600;
}
:root:root main > article > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }
:root:root main > article > p a[href^="/view/"], :root:root main > article > p a[href^="/ref/"],
:root:root main > article > p a[href^="/try/"], :root:root main > article > p a[href^="/check/"],
:root:root main > article > p a[href^="/partner/"], :root:root main > article > p a[href^="/go/"],
:root:root main > article > li a[href^="/view/"], :root:root main > article > ul a[href^="/view/"] {
  background: var(--accent); color: var(--paper); padding: 3px 14px; border-radius: 6px;
  text-decoration: none; font-weight: 700; font-family: var(--meta), sans-serif;
  font-size: 14px; letter-spacing: .03em;
}
:root:root main > article > p a[href^="/view/"]:hover, :root:root main > article > p a[href^="/ref/"]:hover,
:root:root main > article > p a[href^="/try/"]:hover, :root:root main > article > p a[href^="/check/"]:hover,
:root:root main > article > p a[href^="/partner/"]:hover, :root:root main > article > p a[href^="/go/"]:hover,
:root:root main > article > li a[href^="/view/"]:hover, :root:root main > article > ul a[href^="/view/"]:hover {
  background: var(--primary); color: var(--paper);
}

:root:root main > article > section:has(> img) { margin: 0 0 40px; }
:root:root main > article > section > img {
  width: 100%; height: auto; max-height: 400px; object-fit: cover; object-position: center;
  display: block; border-radius: 8px; box-shadow: 0 4px 18px rgba(14,17,8,.14);
}
:root:root main > article > aside {
  background: var(--paper2); border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0;
  padding: 16px 22px; margin: 36px 0 0; font-size: 14px; color: var(--fg);
  font-family: var(--fb), serif; font-style: italic; line-height: 1.62;
}

/* related-articles list on article page */
:root:root main:has(> article) > div:has(> ul) {
  margin-top: 52px; padding: 28px 32px; background: var(--paper); border: 1px solid rgba(33,38,26,.10);
  border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0;
}
:root:root main:has(> article) > div:has(> ul) > h3 {
  font-family: var(--meta), sans-serif; font-size: 12px; color: var(--primary); margin-bottom: 16px;
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
:root:root main:has(> article) > div:has(> ul) > ul { list-style: none; margin: 0; padding: 0; }
:root:root main:has(> article) > div:has(> ul) > ul > li { padding: 10px 0; border-bottom: 1px dotted rgba(0,0,0,.14); }
:root:root main:has(> article) > div:has(> ul) > ul > li:last-child { border-bottom: 0; }
:root:root main:has(> article) > div:has(> ul) > ul > li > a {
  color: var(--fg); text-decoration: none; font-family: var(--fb), serif; font-size: 15.5px; line-height: 1.45;
}
:root:root main:has(> article) > div:has(> ul) > ul > li > a:hover { color: var(--accent); }

/* =============================================================== FOOTER */
:root:root footer {
  background: transparent; border-top: 1px solid var(--border); padding: 26px 0 40px; margin-top: 56px;
  text-align: center; font-family: var(--fh), Georgia, serif; font-size: 12.5px; color: var(--fg);
  opacity: .8; letter-spacing: .04em; font-style: italic;
}
:root:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); font-style: normal; }
:root:root footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }
