/* Schriften: Noto Serif & Noto Sans (SIL Open Font License, siehe static/fonts/OFL-*.txt).
   Werden von diesem Server geladen – keine externen Schriftdienste. */
@font-face { font-family: 'Noto Serif'; font-style: normal; font-display: block; font-weight: 100 900; src: url(fonts/noto-serif-latin-ext-wght-normal.woff2) format('woff2-variations'), url(fonts/noto-serif-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Noto Serif'; font-style: normal; font-display: block; font-weight: 100 900; src: url(fonts/noto-serif-latin-wght-normal.woff2) format('woff2-variations'), url(fonts/noto-serif-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Noto Serif'; font-style: italic; font-display: block; font-weight: 100 900; src: url(fonts/noto-serif-latin-ext-wght-italic.woff2) format('woff2-variations'), url(fonts/noto-serif-latin-ext-wght-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Noto Serif'; font-style: italic; font-display: block; font-weight: 100 900; src: url(fonts/noto-serif-latin-wght-italic.woff2) format('woff2-variations'), url(fonts/noto-serif-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-display: block; font-weight: 100 900; src: url(fonts/noto-sans-latin-ext-wght-normal.woff2) format('woff2-variations'), url(fonts/noto-sans-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-display: block; font-weight: 100 900; src: url(fonts/noto-sans-latin-wght-normal.woff2) format('woff2-variations'), url(fonts/noto-sans-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Noto Sans'; font-style: italic; font-display: block; font-weight: 100 900; src: url(fonts/noto-sans-latin-ext-wght-italic.woff2) format('woff2-variations'), url(fonts/noto-sans-latin-ext-wght-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Noto Sans'; font-style: italic; font-display: block; font-weight: 100 900; src: url(fonts/noto-sans-latin-wght-italic.woff2) format('woff2-variations'), url(fonts/noto-sans-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* NÖ News – modernes, ruhiges Layout (hell & dunkel) */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #eef0f3;
  --ink: #111318;
  --ink-2: #4a505c;
  --muted: #7a808c;
  --line: rgba(17, 19, 24, .08);
  --accent: #1a56db;
  --accent-soft: rgba(26, 86, 219, .1);
  --kicker: #d4213d;
  --brand: #d4213d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
  --shadow-hover: 0 2px 4px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .12);
  --font: "Noto Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, sans-serif;
  --font-display: "Noto Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, sans-serif;
  --font-read: "Noto Serif", Charter, "Sitka Text", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1013;
    --surface: #171a1f;
    --surface-2: #1f232a;
    --ink: #eef0f3;
    --ink-2: #b9bec8;
    --muted: #868c98;
    --line: rgba(255, 255, 255, .08);
    --accent: #6c9cff;
    --accent-soft: rgba(108, 156, 255, .14);
    --kicker: #ff6b7f;
    --brand: #e0324c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-hover: 0 8px 28px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }  /* Platz für die Scrollleiste immer reservieren – kein seitlicher Versatz beim Laden */
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }

/* ------------------------------------------------------------ Kopfbereich */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 700 20px/1 var(--font-display); letter-spacing: -.02em; }
.brand-mark { background: var(--brand); color: #fff; border-radius: 8px; padding: 6px 7px 5px; font-size: 15px; letter-spacing: 0; }
.date { color: var(--muted); font-size: 13px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 560px) { .date { display: none; } }

.sections {
  display: flex; gap: 0; overflow-x: auto; padding-top: 4px; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  /* Ein Zeiger für die ganze Leiste – kein Wechsel Hand/Greifhand an den Lücken. */
  overscroll-behavior-x: contain; cursor: pointer;
}
.sections.dragging, .sections.dragging a { cursor: grabbing; user-select: none; }
.sections.dragging a { pointer-events: none; }
.sections:hover { scrollbar-color: var(--muted) transparent; }
.sections::-webkit-scrollbar { height: 6px; }
.sections::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.sections:hover::-webkit-scrollbar-thumb { background: var(--muted); }
@media (max-width: 900px) { .sections { scrollbar-width: none; } .sections::-webkit-scrollbar { display: none; } }
.sections a {
  white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding: 6px 14px; border-radius: 999px; transition: background .15s, color .15s;
}
.sections a:hover, .sections a:active { background: var(--surface-2); color: var(--ink); }
/* Kein blauer Tipp-Kasten (Android/iOS) über der ganzen Leiste – Rückmeldung gibt :active. */
.sections, .sections a { -webkit-tap-highlight-color: transparent; }
.sections a.active { background: var(--accent-soft); color: var(--accent); }

main { padding-top: 40px; padding-bottom: 56px; }
@media (max-width: 720px) { main { padding-top: 28px; } }
.page-title { font: 750 clamp(28px, 4vw, 40px)/1.1 var(--font-display); letter-spacing: -.025em; margin: 0 0 24px; }

/* --------------------------------------------------------------- Gruppen */
.group { margin-bottom: 48px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.group-head h2 { font: 750 22px/1.2 var(--font-display); letter-spacing: -.02em; margin: 0; }
.group-head h2::before { content: ""; display: inline-block; width: 4px; height: .9em; background: var(--kicker); border-radius: 2px; margin-right: 10px; vertical-align: -1px; }
.more { color: var(--accent); font-size: 14px; font-weight: 600; white-space: nowrap; }
.more:hover { text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* ----------------------------------------------------------------- Karten */
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  outline: 1px solid var(--line); outline-offset: -1px;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.card:focus-visible { outline: 2px solid var(--accent); }
.card-media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  font: 800 56px/1 var(--font-display); color: var(--accent); opacity: .35;
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%);
}
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.card-meta { display: flex; align-items: center; gap: 8px; }
.card-kicker { color: var(--kicker); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.card h3 { font: 700 17px/1.3 var(--font-display); letter-spacing: -.01em; margin: 0; }
.card:hover h3 { color: var(--accent); }

@media (min-width: 900px) {
  .card-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; }
  .card-lead .card-media { aspect-ratio: 16 / 9; }
  .card-lead .card-body { padding: 28px 32px; justify-content: center; gap: 12px; }
  .card-lead h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.02em; }
}

/* ---------------------------------------------------------------- Artikel */
.article { max-width: 680px; margin: 0 auto; }
.article-head { margin-bottom: 24px; }
.kicker { display: inline-block; color: var(--kicker); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.article h1 { font: 800 clamp(28px, 4.4vw, 40px)/1.1 var(--font-display); letter-spacing: -.03em; margin: 0 0 16px; text-wrap: balance; }
.lead-text { font-size: clamp(17px, 2vw, 19px); line-height: 1.5; color: var(--ink-2); margin: 0 0 18px; }
.byline { display: flex; align-items: center; gap: 4px 0; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.byline span + span::before { content: "·"; margin: 0 8px; }
@media (max-width: 560px) { .byline { font-size: 13px; } .byline span + span::before { margin: 0 6px; } }
.byline .badge::before { content: none; }
.badge { background: var(--kicker); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.hero { width: 100%; border-radius: var(--radius); margin: 0 0 28px; box-shadow: var(--shadow); }
@media (min-width: 1000px) { .hero { width: calc(100% + 160px); max-width: none; margin-left: -80px; } }

.body { font: 17px/1.65 var(--font-read); }
/* Erster Absatz etwas größer – wie der Einstieg bei der NÖN. */
.body > p:first-child { font-size: 20px; line-height: 1.55; }
.body p { margin: 0 0 1.05em; }
.body h2, .body h3 { font: 750 24px/1.25 var(--font-display); letter-spacing: -.015em; margin: 1.6em 0 .5em; }
.body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.body img { border-radius: 10px; margin: 24px 0 8px; }
.body figure { margin: 28px 0; }
.body figcaption { font: 13px/1.4 var(--font); color: var(--muted); }
.body blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-size: 18px; font-style: italic; color: var(--ink-2); }
.body table { border-collapse: collapse; width: 100%; font: 15px var(--font); display: block; overflow-x: auto; }
.body td, .body th { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }

.related { max-width: 1000px; margin: 56px auto 0; }
.grid-compact { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.card-row { flex-direction: row; align-items: stretch; }
.card-row .card-media { flex: 0 0 120px; aspect-ratio: auto; }
.card-row .card-body { padding: 12px 14px; justify-content: center; }
.card-row h3 { font-size: 15px; }

/* ------------------------------------------------------------------ Rest */
.empty { color: var(--muted); }
.empty a { color: var(--accent); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.foot a:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ------------------------------------------------------------ Menü */
.topbar-left { display: flex; align-items: center; gap: 14px; }
.menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; padding: 0 12px 0 10px; min-height: 36px; border-radius: 999px; color: var(--ink-2);
  -webkit-tap-highlight-color: transparent;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover, .menu[open] > summary { background: var(--surface-2); color: var(--ink); }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.burger { margin: 6px 0; }  /* obere/untere Linie gehören mit zur Knopfhöhe */
.menu[open] .burger { background: transparent; }
.menu[open] .burger::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .burger::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 560px) {
  .menu-label { display: none; }
  .menu > summary { width: 40px; min-height: 40px; padding: 0; justify-content: center; }  /* runder Knopf */
}

.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
  max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain;
}
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 28px; padding-top: 18px; padding-bottom: 26px; align-items: start; }
.menu-group > summary {
  list-style: none; cursor: pointer; font: 700 18px/1.3 var(--font-display); letter-spacing: -.01em;
  padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
}
.menu-group > summary::-webkit-details-marker { display: none; }
.menu-group > summary::after { content: "›"; font-size: 22px; color: var(--muted); transition: transform .2s; }
.menu-group[open] > summary::after { transform: rotate(90deg); }
.menu-group ul { list-style: none; margin: 0; padding: 8px 0 12px; }
.menu-group li a { display: block; padding: 5px 0; color: var(--ink-2); font-weight: 500; }
.menu-group li a:hover { color: var(--kicker); }
.menu-subtitle { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.menu-subtitle a { display: inline !important; color: inherit !important; }
.menu-cols { columns: 2; column-gap: 16px; padding-top: 4px !important; }
.menu-cols li a { padding: 3px 0; font-size: 14px; }
@media (min-width: 900px) { .menu-group:first-child { grid-row: span 3; } }

/* ------------------------------------------------- Ortsleiste: mein Bezirk */
.sections a.mine { color: var(--kicker); }
.sections a.mine.active { background: color-mix(in srgb, var(--kicker) 14%, transparent); }

/* ------------------------------------------------------- Karten-Meta */
.card-meta { flex-wrap: wrap; row-gap: 2px; }
.card-time { color: var(--muted); font-size: 12px; }
.card-media { position: relative; }
.media-badge {
  position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, .62); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* ---------------------------------------------------------- Aufmacher */
.hero-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 720px) { .hero-row { grid-template-columns: 1fr 1fr; } }
.card-hero { position: relative; }
.card-hero .card-media { aspect-ratio: 4 / 3; }
@media (min-width: 720px) { .card-hero .card-media { aspect-ratio: 5 / 3; } }
.card-hero-text {
  position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, .45) 55%, transparent);
}
.card-hero .card-kicker { color: #fff; opacity: .92; }
.card-hero h3 { font: 750 clamp(21px, 2.4vw, 30px)/1.15 var(--font-display); letter-spacing: -.02em; margin: 6px 0 0; text-wrap: balance; }
.card-hero:hover h3 { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.card-hero .media-badge { top: 12px; bottom: auto; }

/* -------------------------------------------------- Übersichtsseiten */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head .page-title { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2);
}
.chip:hover { color: var(--ink); }
.chip-on { background: color-mix(in srgb, var(--kicker) 14%, transparent); color: var(--kicker); }
.group-head h2 a:hover { color: var(--accent); }
.group-mine .group-head h2::before { background: var(--accent); }

/* ------------------------------------------------- Artikel: Titelbild */
.article-head .card-meta { margin-bottom: 10px; }
.article-head .kicker { margin-bottom: 0; }
.hero-figure { margin: 0 0 28px; }
.hero-figure .hero { margin-bottom: 8px; }
/* Video-Beiträge: Abspielknopf aufs Titelbild, Klick öffnet das Original. */
.video-link { position: relative; display: block; color: #fff; -webkit-tap-highlight-color: transparent; }
.video-link .hero { display: block; }
.video-play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -46px 0 0 -38px;
  border-radius: 50%; background: rgba(0, 0, 0, .55); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85);
  transition: transform .15s, background .15s;
}
.video-play::after {
  content: ""; position: absolute; left: 30px; top: 22px;
  border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff;
}
.video-label {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap;
  background: rgba(0, 0, 0, .62); border-radius: 999px; padding: 7px 16px; font: 600 14px/1.2 var(--font);
}
.video-link:hover .video-play, .video-link:focus-visible .video-play { transform: scale(1.06); background: var(--brand); }
@media (min-width: 1000px) { .hero-figure figcaption { margin-left: -80px; margin-right: -80px; } }
.hero-figure figcaption { font-size: 13px; line-height: 1.45; color: var(--muted); }
.credit { white-space: nowrap; opacity: .85; }
.group-toptitle { color: var(--kicker); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 4px; }

/* ----------------------------------------------------- Galerie im Artikel */
.body figure { margin: 28px 0; }
.body figure img { margin: 0 0 8px; width: 100%; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px 0 8px; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--muted) transparent; overscroll-behavior-x: contain;
}
@media (min-width: 720px) { .gallery { grid-auto-columns: 75%; } }
.gallery .gallery-item { margin: 0; scroll-snap-align: start; }
/* Mit Pfeilknöpfen (JavaScript aktiv): kein zusätzlicher Scrollbalken, dafür
   sanftes Ausblenden am rechten Rand, solange es weitergeht. */
.gallery.has-nav { scrollbar-width: none; padding-bottom: 0; }
.gallery.has-nav::-webkit-scrollbar { display: none; }
.gallery.has-nav:not(.at-end) {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
}
.gallery .gallery-item img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; margin: 0 0 6px; }
.gallery-count { font: 13px var(--font); color: var(--muted); margin: 0 0 28px; }
.embed-note { font: 15px var(--font); color: var(--muted); background: var(--surface-2); border-radius: 10px; padding: 12px 16px; }
.embed-note a { color: var(--accent); }

/* --------------------------------------------- Artikel-Verweise im Text */
.inline-teasers { display: grid; gap: 12px; margin: 28px 0; }
.inline-teaser {
  display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: 12px;
  padding: 10px; box-shadow: var(--shadow); outline: 1px solid var(--line); outline-offset: -1px;
  text-decoration: none !important; color: var(--ink) !important; font-family: var(--font);
}
.inline-teaser:hover strong { color: var(--accent); }
.inline-teaser img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; margin: 0 !important; flex: 0 0 auto; }
.it-text { display: flex; flex-direction: column; gap: 4px; }
.it-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.it-kicker { color: var(--kicker); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.it-time { color: var(--muted); font-size: 12px; }
.inline-teaser strong { font: 700 16px/1.3 var(--font-display); }

/* ------------------------------------- Artikel im Artikel (Infokasten) */
.subarticle {
  background: var(--surface); border-left: 4px solid var(--kicker); border-radius: 0 12px 12px 0;
  padding: 16px 20px; margin: 28px 0; box-shadow: var(--shadow); font-size: 17px;
}
.subarticle > :first-child { margin-top: 0; }
.subarticle > :last-child { margin-bottom: 0; }
.subarticle h2 { font-size: 19px; }

/* ----------------------------------------------- Galerie: Ziehen & Pfeile */
.gallery { cursor: grab; }
.gallery:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 10px; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gallery.dragging img { pointer-events: none; }
.gallery-wrap { margin: 28px 0; }
.gallery-wrap .gallery { margin: 0 0 8px; }
.gallery-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 4px 0 0; font-family: var(--font); }
.gallery-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: 600 24px/1 var(--font); cursor: pointer; box-shadow: var(--shadow);
  display: grid; place-items: center; padding: 0 0 3px;
}
.gallery-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.gallery-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.gallery-pos { font-size: 14px; color: var(--muted); min-width: 4.5em; text-align: center; font-variant-numeric: tabular-nums; }

/* Datum im Artikelkopf neben der Dachzeile – wie bei der NÖN */
.article-head .card-meta { gap: 6px 14px; }
.article-time { color: var(--muted); font-size: 14px; }
