:root {
  --bg: #ffffff;
  --bg-soft: #f5f4f0;
  --masthead: #f8f5ef;     /* shared surface: header + hero */
  --ink: #16140f;
  --ink-soft: #55524b;
  --ink-faint: #8b877e;
  --hairline: #e6e4de;
  --ochre: #cf7b2e;        /* logo orange */
  --ochre-deep: #9a5a12;   /* darker step, readable on white */
  --blue: #0173e7;         /* Spenden blue, sampled from the live site */
  --blue-deep: #015bb8;
  --header-h: 75px;        /* logo 44px + header padding; keep in sync */
  --max-w: 1180px;
  --pad: clamp(1.25rem, 3.5vw, 2.5rem);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --mono: "Fragment Mono", "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* html carries the footer color so short pages never end on a white strip;
   flex column pins the footer to the viewport bottom */
html { background: var(--bg-soft); }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

::selection { background: #f4dfc4; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.mono {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============ announcement ============ */
.announce { background: var(--ink); color: #f2f0eb; }
.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  font-size: 0.8rem;
  text-align: center;
}
.announce a {
  color: #efb877;
  text-decoration: none;
  border-bottom: 1px solid rgba(239, 184, 119, 0.45);
  white-space: nowrap;
  transition: border-color 0.2s;
}
.announce a:hover { border-color: #efb877; }

/* ============ header — transparent over the hero surface, ink once scrolled ============
   The hero section is pulled up under the header (negative margin), so whatever
   the hero module paints — gradient, photo, animation — runs behind the nav.
   On scroll the bar flips to ink with light text. */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header.site.scrolled {
  background: var(--ink);
  box-shadow: 0 6px 18px -12px rgba(22, 20, 15, 0.4);
}
header.site.scrolled nav.primary a { color: #f2f0eb; }
header.site.scrolled .nav-listen { color: #efb877 !important; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}
.logo img { height: 44px; width: auto; }
nav.primary { display: flex; align-items: center; gap: 1.6rem; }
nav.primary a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
nav.primary a:hover { border-color: var(--ochre); }
.nav-listen {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ochre-deep) !important;
}
.nav-listen svg { width: 9px; height: 11px; fill: currentColor; }
body.playing .nav-listen .tri { display: none; }
.nav-listen .bars { display: none; align-items: flex-end; gap: 2px; height: 11px; width: 12px; }
body.playing .nav-listen .bars { display: inline-flex; }
.nav-listen .bars span { flex: 1; background: currentColor; height: 30%; animation: bounce 0.9s ease-in-out infinite; }
.nav-listen .bars span:nth-child(2) { animation-delay: 0.2s; animation-duration: 0.75s; }
.nav-listen .bars span:nth-child(3) { animation-delay: 0.1s; animation-duration: 1.05s; }
/* scoped tighter than `nav.primary a`, whose color/padding-bottom otherwise win the cascade */
nav.primary a.btn-spenden {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em; /* balances the trailing letter-space so the label centers optically */
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--blue);
  padding: 0.7rem 1.15rem;
  border-radius: 4px;
  border-bottom: none;
  transition: background 0.2s;
}
nav.primary a.btn-spenden:hover { background: var(--blue-deep); }
@media (max-width: 900px) { nav.primary .hide-m { display: none; } }



/* ============ hero base (layout only — the campaign look lives in the module below) ============ */
.hero {
  background: linear-gradient(180deg, var(--masthead) 0%, #fdfcf9 72%, #ffffff 100%);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
  /* slide up under the transparent header so the hero surface runs behind the nav */
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding-top: clamp(2.5rem, 5.5vw, 4.25rem);
  padding-bottom: clamp(2.5rem, 5.5vw, 4.25rem);
  position: relative;
  z-index: 1;
}
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.017em;
  max-width: 15em;
  text-wrap: balance;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}
.hero-kicker .rule { width: 2rem; height: 2px; background: var(--ochre); }
.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-listen {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-listen:hover { background: var(--ochre-deep); }
.btn-listen svg { width: 10px; height: 12px; fill: currentColor; }
body.playing .btn-listen .label-play { display: none; }
.btn-listen .label-pause { display: none; }
body.playing .btn-listen .label-pause { display: inline; }
.btn-listen .icon-pause { display: none; }
body.playing .btn-listen .icon-play { display: none; }
body.playing .btn-listen .icon-pause { display: inline-block; }
.hero-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ochre-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.hero-links a::after { content: "→"; font-weight: 400; transition: transform 0.2s; }
.hero-links a:hover { border-color: var(--ochre-deep); }
.hero-links a:hover::after { transform: translateX(3px); }

/* ============ content layout ============ */
.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 960px) { .content { grid-template-columns: 1fr; } }

/* featured article */
.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}
@media (max-width: 640px) { .featured { grid-template-columns: 1fr; } }
.featured h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.012em;
  transition: color 0.2s;
}
.featured:hover h2 { color: var(--ochre-deep); }
.featured p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.featured .more { margin-top: 1rem; }
.more {
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
}
.more::after { content: "→"; font-weight: 400; transition: transform 0.2s; }
a:hover .more::after, a.more:hover::after { transform: translateX(3px); }

/* thumbnails */
.thumb {
  border: 1px solid var(--hairline);
  border-radius: 6px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 1px 3px rgba(22, 20, 15, 0.07);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
a:hover .thumb img { transform: scale(1.025); }
.featured .thumb { aspect-ratio: auto; min-height: 220px; height: 100%; }

/* article grid */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card { text-decoration: none; display: block; }
.card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0.85rem;
  transition: color 0.2s;
}
.card:hover h3 { color: var(--ochre-deep); }
.card p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .more { margin-top: 0.6rem; font-size: 0.82rem; }
.card .lang {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-left: 0.5rem;
  vertical-align: 2px;
}

/* ============ rail ============ */
.rail { display: flex; flex-direction: column; gap: 1.75rem; }
@media (max-width: 960px) {
  .rail { flex-direction: row; flex-wrap: wrap; }
  .rail > * { flex: 1 1 260px; }
}
.rail-card { border: 1px solid var(--hairline); padding: 1.25rem; }
.rail-card .rail-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--ochre);
}
.rail-card p { font-size: 0.88rem; color: var(--ink-soft); }
.rail-card .more { margin-top: 0.9rem; font-size: 0.84rem; }

/* Shopify buy button lives inside the shop card; keep its product full-width in the rail */
.rail-card.shop .shopify-slot { min-height: 120px; }
.rail-card.shop .shopify-slot > div { margin: 0 !important; max-width: 100% !important; }

.rail-card.property .portrait {
  border: 1px solid var(--hairline);
  border-radius: 6px;
  aspect-ratio: 1;
  max-width: 170px;
  margin: 0 0 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(22, 20, 15, 0.07);
}
.rail-card.property .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rail-card.property .name { font-weight: 600; color: var(--ink); }

.rail-card.newsletter form {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.rail-card.newsletter input {
  border: 1px solid var(--ink-faint);
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.rail-card.newsletter input:focus { border-color: var(--ink); }
.rail-card.newsletter button {
  border: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.rail-card.newsletter button:hover { background: var(--ochre-deep); }
.rail-card.newsletter .confirm {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #2f7d4f;
  display: none;
}
.rail-card.newsletter .confirm.show { display: block; }

/* ============ footer ============ */
footer.site { border-top: 1px solid var(--ink); background: var(--bg-soft); }
.foot-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}
.foot-main .logo img { height: 38px; }
footer nav.foot-links { display: flex; gap: 1.5rem 2rem; flex-wrap: wrap; }
footer nav.foot-links a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
footer nav.foot-links a:hover { color: var(--ink); }
.socials { display: flex; gap: 0.9rem; }
.socials a {
  width: 34px; height: 34px;
  border: 1px solid var(--ink-faint);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.socials a:hover { border-color: var(--ink); color: #fff; background: var(--ink); }
.socials svg { width: 14px; height: 14px; fill: currentColor; }
.foot-legal {
  border-top: 1px solid var(--hairline);
  padding-top: 1.1rem;
  padding-bottom: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--ink-faint);
}

/* ============ player bar (hidden until playback starts) ============ */
.player-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: -76px;
  z-index: 100;
  height: 64px;
  background: var(--ink);
  color: #f2f0eb;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--pad);
  box-shadow: 0 -4px 20px rgba(22, 20, 15, 0.18);
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.player-bar.visible { bottom: 0; }
body.bar-visible { padding-bottom: 64px; }
.player-bar .bar-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: #f2f0eb;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.player-bar .bar-btn:hover { background: var(--ochre); color: #fff; }
.player-bar .bar-btn svg { width: 12px; height: 14px; fill: currentColor; }
.player-bar .icon-pause { display: none; }
body.playing .player-bar .icon-play { display: none; }
body.playing .player-bar .icon-pause { display: block; }
.player-bar .art {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: #2b2822;
  display: none;
}
.player-bar .art.has-art { display: block; }
.player-bar .art img { width: 100%; height: 100%; object-fit: cover; }
.player-bar .meta { min-width: 0; flex: 1; line-height: 1.3; }
.player-bar .status {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7b2a6;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ochre);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(207, 123, 46, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(207, 123, 46, 0); }
}
.player-bar .track {
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-bar input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 84px; height: 2px;
  background: #4a463e;
  border-radius: 2px;
  cursor: pointer;
  outline-offset: 4px;
  flex-shrink: 0;
}
.player-bar input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #f2f0eb;
  cursor: pointer;
}
.player-bar input[type="range"]::-moz-range-thumb {
  width: 11px; height: 11px;
  border: none; border-radius: 50%;
  background: #f2f0eb;
  cursor: pointer;
}
@media (max-width: 640px) { .player-bar input[type="range"] { display: none; } }

@keyframes bounce { 0%, 100% { height: 30%; } 50% { height: 100%; } }

:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ article pages ============ */
.article-head {
  background: linear-gradient(180deg, var(--masthead) 0%, #fdfcf9 72%, #ffffff 100%);
  border-bottom: 1px solid var(--hairline);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
.article-head .wrap {
  max-width: 860px;
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4.5vw, 3rem);
}
.article-head h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.article-head .meta {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.article-main { max-width: 860px; }
.article-main.wrap { padding-top: clamp(1.75rem, 4vw, 2.75rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.article-figure { margin: 0 0 clamp(1.75rem, 4vw, 2.5rem); }
.article-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(22, 20, 15, 0.07);
}
.article-figure.natural img { width: auto; max-width: 100%; }
.article-figure figcaption {
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* editorial prose: serif for reading, sans stays UI-only */
.prose {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #2a2820;
  max-width: 40em;
}
.prose p { margin-bottom: 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose em { font-style: italic; }
.prose a {
  color: var(--ochre-deep);
  text-decoration: underline;
  text-decoration-color: #dcb98c;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.prose a:hover { text-decoration-color: var(--ochre-deep); }
.prose img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(22, 20, 15, 0.07);
  margin: 0.5em 0;
}

/* audio post component */
.audio-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: clamp(1.5rem, 3vw, 2rem) 0;
  background: var(--bg-soft);
  max-width: 44em;
}
.audio-card .audio-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.audio-card .audio-btn:hover { background: var(--ochre-deep); }
.audio-card .audio-btn svg { width: 13px; height: 15px; fill: currentColor; }
.audio-card.playing .icon-play { display: none; }
.audio-card:not(.playing) .icon-pause { display: none; }
.audio-card .audio-meta { min-width: 0; line-height: 1.35; }
.audio-card .audio-show {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}
.audio-card .audio-title { font-weight: 600; font-size: 0.95rem; margin-top: 0.2rem; }

/* related articles */
.related { border-top: 1px solid var(--hairline); }
.related .wrap { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.related h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.related .grid { grid-template-columns: repeat(3, 1fr); padding-top: 0; }
@media (max-width: 860px) { .related .grid { grid-template-columns: 1fr; } }

/* ============ nav dropdowns ============ */
/* inline-flex so whitespace text nodes in the wrapper do not add height and skew the nav baseline */
nav.primary .has-sub { position: relative; display: inline-flex; align-items: center; }
nav.primary .sub-trigger {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
nav.primary .has-sub:hover .sub-trigger,
nav.primary .has-sub:focus-within .sub-trigger { border-color: var(--ochre); }
header.site.scrolled nav.primary .sub-trigger { color: #f2f0eb; }
nav.primary .has-sub > a::after,
nav.primary .has-sub > .sub-trigger::after {
  content: "";
  display: inline-block;
  margin-left: 0.4rem;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
}
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 10px; /* hover bridge between trigger and panel */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s;
  z-index: 60;
}
nav.primary .has-sub:hover .submenu,
nav.primary .has-sub:focus-within .submenu { opacity: 1; visibility: visible; }
.submenu .panel {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  box-shadow: 0 14px 30px -14px rgba(22, 20, 15, 0.3);
  padding: 0.45rem 0;
  min-width: 185px;
}
/* submenu links are editorial-cased, not nav-caps */
nav.primary .submenu .panel a {
  display: block;
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  border-bottom: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
nav.primary .submenu .panel a:hover { color: var(--ink); background: var(--bg-soft); }
/* panel stays light even when the scrolled header is ink */
header.site.scrolled nav.primary .submenu .panel a { color: var(--ink-soft); }
header.site.scrolled nav.primary .submenu .panel a:hover { color: var(--ink); }
@media (max-width: 900px) { .submenu { display: none; } }

/* ============ static pages: prose extensions for legal/long-form ============ */
.prose h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 2em 0 0.6em;
}
.prose h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.6em 0 0.5em;
}
.prose ul, .prose ol { margin: 0 0 1.25em 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
  border-left: 2px solid var(--ochre);
  padding-left: 1.2em;
  color: var(--ink-soft);
  margin: 0 0 1.25em;
}

/* ============ stream / how-to-listen page ============ */
.notice {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--ochre);
  border-radius: 6px;
  background: var(--bg-soft);
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 44em;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.notice strong { color: var(--ink); }
.listen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}
@media (max-width: 720px) { .listen-grid { grid-template-columns: 1fr; } }
.listen-item { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.listen-item .mono { color: var(--ochre-deep); }
.listen-item h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 0.4rem;
}
.listen-item p { margin-top: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.listen-item a { color: var(--ochre-deep); text-decoration: underline; text-decoration-color: #dcb98c; text-underline-offset: 3px; }
.listen-item a:hover { text-decoration-color: var(--ochre-deep); }
.listen-item .hint { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.5rem; }
.listen-item .actions { margin-top: 0.9rem; display: flex; gap: 0.7rem; flex-wrap: wrap; }
.support-box {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.support-box .lead { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.btn-spenden-lg {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--blue);
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}
.btn-spenden-lg:hover { background: var(--blue-deep); }

/* ============ tracklist (playlist page + player popout) ============ */
.tracklist { list-style: none; margin: 0; padding: 0; }
.tracklist li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hairline);
}
.tracklist .t-art {
  width: 40px; height: 40px;
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  overflow: hidden;
  flex-shrink: 0;
}
.tracklist .t-art img { width: 100%; height: 100%; object-fit: cover; }
.tracklist .t-meta { min-width: 0; flex: 1; line-height: 1.3; }
.tracklist .t-title, .tracklist .t-artist { display: block; }
.tracklist .t-title {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracklist .t-artist {
  font-size: 0.8rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracklist .t-time { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-faint); flex-shrink: 0; }
.tracklist .t-live { color: var(--ochre-deep); }
.tracklist-status { font-size: 0.85rem; color: var(--ink-faint); padding: 1rem 0; }

/* player-bar playlist popout */
.pl-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #4a463e;
  background: transparent;
  color: #f2f0eb;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.pl-toggle:hover { border-color: #f2f0eb; }
.pl-toggle svg { width: 14px; height: 12px; fill: currentColor; }
.pl-pop {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: 76px;
  z-index: 110;
  width: min(360px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  box-shadow: 0 18px 40px -16px rgba(22, 20, 15, 0.35);
  padding: 1rem 1.15rem 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.pl-pop.open { opacity: 1; visibility: visible; transform: none; }
.pl-pop .pl-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 0.2rem;
}
.pl-pop .pl-title { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pl-pop .pl-all { font-size: 0.8rem; color: var(--ochre-deep); text-decoration: none; }
.pl-pop .pl-all:hover { text-decoration: underline; }
.pl-pop .tracklist { max-height: 320px; overflow-y: auto; }
.pl-pop .tracklist li:last-child { border-bottom: none; }

/* ============ cookie consent (injected by jazzradio.js) ============ */
.cookie-banner {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 120;
  width: min(380px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  box-shadow: 0 18px 40px -16px rgba(22, 20, 15, 0.35);
  padding: 1.25rem 1.4rem;
}
body.bar-visible .cookie-banner { bottom: 84px; }
.cookie-banner .cb-title { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cookie-banner p { font-size: 0.85rem; color: var(--ink-soft); margin: 0.5rem 0 0.9rem; }
.cookie-banner a { color: var(--ochre-deep); }
.cookie-banner .cb-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner button {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-banner .cb-accept { border: none; background: var(--ink); color: #fff; }
.cookie-banner .cb-accept:hover { background: var(--ochre-deep); }
.cookie-banner .cb-essential { border: 1px solid var(--ink-faint); background: transparent; color: var(--ink); }
.cookie-banner .cb-essential:hover { border-color: var(--ink); }

/* ============ donation page ============ */
.bank-box {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  max-width: 34em;
}
.bank-box .bb-title { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; }
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; }
.bank-box dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); padding-top: 0.15rem; }
.bank-box dd { font-size: 0.95rem; font-weight: 600; }
.bank-box .bb-note { margin-top: 1rem; font-size: 0.8rem; color: var(--ink-faint); }

/* ============ property minute ============ */
.pm-intro {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: flex-start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 640px) { .pm-intro { flex-direction: column; } }
.pm-intro .portrait {
  width: 180px;
  flex-shrink: 0;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(22, 20, 15, 0.07);
}
.pm-intro .portrait img { width: 100%; height: auto; display: block; }
.pm-intro .bio { font-size: 0.98rem; color: var(--ink-soft); max-width: 34em; }
.pm-intro .bio strong { color: var(--ink); }
.pm-intro .bio p + p { margin-top: 0.8em; }

.post-list { border-top: 1px solid var(--hairline); }
.post-list a {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  transition: padding-left 0.2s ease;
}
.post-list a:hover { padding-left: 0.5rem; }
.post-list .d { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); }
.post-list .t { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1.25; transition: color 0.2s; }
.post-list a:hover .t { color: var(--ochre-deep); }
.post-list .arrow { color: var(--ink-faint); transition: transform 0.2s, color 0.2s; }
.post-list a:hover .arrow { transform: translateX(3px); color: var(--ochre-deep); }
@media (max-width: 560px) { .post-list a { grid-template-columns: 1fr auto; } .post-list .d { display: none; } }

/* ============ spec page helpers ============ */
.spec-banner {
  background: repeating-linear-gradient(-45deg, #fdf4e6 0 12px, #fff 12px 24px);
  border-bottom: 1px solid var(--hairline);
}
.spec-banner .wrap { padding-top: 0.6rem; padding-bottom: 0.6rem; }
.chip-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--ochre); color: var(--ink); }
.video-ph {
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}
.video-ph .mono { color: var(--ink-faint); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
@media (max-width: 720px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-section { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.spec-section > h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.spec-section > .lead { font-size: 0.95rem; color: var(--ink-soft); max-width: 40em; }

/* ============ moderator profiles ============ */
.mod-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.mod-row + .mod-row {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
@media (max-width: 640px) { .mod-row { grid-template-columns: 1fr; } .mod-row .portrait { max-width: 260px; } }
.mod-row .portrait {
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(22, 20, 15, 0.07);
}
.mod-row .portrait img { width: 100%; height: auto; display: block; }
.mod-row h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.012em;
}
.mod-row .role { margin-top: 0.2rem; }
.mod-row .bio { margin-top: 0.9rem; font-size: 0.98rem; color: var(--ink-soft); max-width: 36em; }
.mod-quote {
  margin-top: 1.25rem;
  border-left: 2px solid var(--ochre);
  padding-left: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #2a2820;
  max-width: 34em;
}
.mod-socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.mod-socials a {
  width: 34px; height: 34px;
  border: 1px solid var(--ink-faint);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.mod-socials a:hover { border-color: var(--ink); color: #fff; background: var(--ink); }
.mod-socials svg { width: 14px; height: 14px; fill: currentColor; }

/* moderator overview cards (side by side — equal billing) */
.mod-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}
@media (max-width: 640px) { .mod-cards { grid-template-columns: 1fr; } }
.mod-card { text-decoration: none; display: block; }
.mod-card .portrait {
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(22, 20, 15, 0.07);
}
.mod-card .portrait img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}
.mod-card:hover .portrait img { transform: scale(1.02); }
.mod-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 500;
  margin-top: 1.1rem;
  transition: color 0.2s;
}
.mod-card:hover h2 { color: var(--ochre-deep); }
.mod-card .role { margin-top: 0.2rem; }
.mod-card .teaser { margin-top: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.mod-card .more { margin-top: 0.8rem; }

/* ============ LEGACY CONTAINMENT ============
   Defensive rules for rendered WordPress bodies. These prevent old inline
   dimensions and theme alignment classes from escaping the article column;
   they do not restyle legacy editorial content. */
.prose-legacy {
  min-width: 0;
  overflow-wrap: anywhere;
}
.prose-legacy img,
.prose-legacy video {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 3px rgba(22, 20, 15, 0.07);
}
.prose-legacy .wp-caption {
  max-width: 100% !important;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.prose-legacy .wp-caption img { margin: 0; }
.prose-legacy .wp-caption-text {
  margin-top: 0.45rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-faint);
}
.prose-legacy .alignleft {
  float: left;
  margin: 0.35rem 1.25rem 1rem 0;
}
.prose-legacy .alignright {
  float: right;
  margin: 0.35rem 0 1rem 1.25rem;
}
.prose-legacy .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.prose-legacy .alignnone { margin-left: 0; margin-right: 0; }
.prose-legacy::after {
  content: "";
  display: table;
  clear: both;
}
.prose-legacy iframe {
  display: block;
  max-width: 100% !important;
  width: 100% !important;
  border: 0;
}
.prose-legacy iframe[src*="youtube.com"],
.prose-legacy iframe[src*="youtu.be"],
.prose-legacy iframe[src*="vimeo.com"],
.prose-legacy iframe[src*="facebook.com/plugins/video"] {
  height: auto !important;
  aspect-ratio: 16 / 9;
}
.prose-legacy audio {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 1.25rem 0;
}
.prose-legacy table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.prose-legacy input,
.prose-legacy select,
.prose-legacy textarea,
.prose-legacy button {
  max-width: 100%;
}
@media (max-width: 640px) {
  .prose-legacy .alignleft,
  .prose-legacy .alignright {
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
}

/* shop-slot note, hidden once full consent is granted */
.consent-note { padding: 0.4rem 0 0.6rem; }
body.consent-all .consent-note { display: none; }

/* ============ native shop product card (no third-party SDK) ============ */
.shop-product a { text-decoration: none; display: block; }
.shop-product .sp-img {
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  background: var(--bg-soft);
}
.shop-product .sp-img img { width: 100%; height: auto; display: block; transition: transform 0.35s ease; }
.shop-product a:hover .sp-img img { transform: scale(1.02); }
.shop-product .sp-title { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.shop-product .sp-price { display: block; font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.15rem; }
.shop-product .sp-btn {
  display: block;
  text-align: center;
  margin-top: 0.8rem;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.7rem;
  border-radius: 4px;
  transition: background 0.2s;
}
.shop-product a:hover .sp-btn { background: var(--blue-deep); }

/* ============ mobile header (must stay last: overrides nav/dropdown rules) ============ */
/* ---- mobile header: logo never squeezed, links live in the burger panel ---- */
.logo { flex-shrink: 0; }
.nav-burger { display: none; }
.mobile-menu { display: none; }
@media (max-width: 720px) {
  .header-row { gap: 0.75rem; }
  .logo img { height: 34px; }
  nav.primary a.btn-spenden { padding: 0.6rem 0.9rem; }
  nav.primary .nav-listen,
  nav.primary .has-sub,
  nav.primary a:not(.btn-spenden) { display: none; }
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px; height: 40px;
    padding: 9px;
    background: none;
    border: 1px solid var(--hairline);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  header.site.scrolled .nav-burger span { background: #f2f0eb; }
  header.site.scrolled .nav-burger { border-color: #4a463e; }
  body.menu-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body.menu-open .mobile-menu { display: block; }
}
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 18px 30px -18px rgba(22, 20, 15, 0.3);
  padding: 0.5rem 0 1rem;
}
.mobile-menu a {
  display: block;
  padding: 0.85rem var(--pad);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .mm-listen {
  color: var(--ochre-deep);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mobile-menu .mm-listen svg { width: 10px; height: 12px; fill: currentColor; }
.mobile-menu .mm-spenden {
  margin: 0.75rem var(--pad) 0;
  padding: 0.8rem;
  text-align: center;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  border-bottom: none;
}
