/* Schicksale (inc/stories.php) – Uebersicht, Geschichte, Startseiten-Teaser. Eigene Klassen sodst-*. */
.sodst-page, .sodst-teaser-section, .sodst-dog {
  --sodst-bg: #0b141b; --sodst-surface: #101c26; --sodst-line: rgba(255,255,255,.08);
  --sodst-text: #f8fafc; --sodst-muted: #94a3b8; --sodst-gold: #f3c74f; --sodst-gold-d: #e4a91f;
  --sodst-red: #e11d48; --sodst-green: #10b981;
  color: var(--sodst-text);
}
.sodst-page { background: var(--sodst-bg); padding: 110px 0 80px; }
.sodst-teaser-section { background: var(--sodst-bg); padding: 70px 0; }
.sodst-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sodst-page h1, .sodst-page h2, .sodst-page h3, .sodst-teaser h2 { color: var(--sodst-text); letter-spacing: -.025em; line-height: 1.12; margin: 0; }
.sodst-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sodst-gold); margin: 0 0 10px; }
.sodst-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sodst-page [hidden] { display: none !important; }

/* Fortschritt */
.sodst-progress { background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; margin-top: 4px; }
.sodst-progress-top { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; font-weight: 700; margin-bottom: 8px; }
.sodst-progress-top span:last-child { color: var(--sodst-gold); white-space: nowrap; }
.sodst-bar { display: block; height: 9px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.sodst-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sodst-gold-d), var(--sodst-gold)); }
.sodst-progress small { display: block; color: var(--sodst-muted); font-size: .76rem; margin-top: 6px; }

/* Uebersicht */
.sodst-ov-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.sodst-ov-head h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 800; }
.sodst-lead { color: rgba(248,250,252,.74); max-width: 600px; margin: 12px 0 0; font-size: 1.05rem; line-height: 1.65; }
.sodst-tabs { display: inline-flex; background: var(--sodst-surface); border: 1px solid var(--sodst-line); border-radius: 14px; padding: 4px; gap: 4px; }
.sodst-tabs button { border: 0; background: transparent; color: var(--sodst-muted); font: 700 .92rem/1 inherit; padding: 11px 16px; border-radius: 10px; cursor: pointer; }
.sodst-tabs button span { opacity: .7; margin-left: 4px; }
.sodst-tabs button.is-on { background: var(--sodst-gold); color: #0b141b; }
.sodst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.sodst-card { background: var(--sodst-surface); border: 1px solid var(--sodst-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.sodst-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.sodst-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.88); transition: transform .5s ease; }
.sodst-card:hover .sodst-card-media img { transform: scale(1.03); }
.sodst-badge { position: absolute; top: 12px; left: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 8px; }
.sodst-badge-need { background: var(--sodst-red); color: #fff; }
.sodst-badge-home { background: var(--sodst-gold); color: #0b141b; }
.sodst-badge-happy { background: var(--sodst-green); color: #04120c; }
.sodst-count { position: absolute; right: 12px; bottom: 12px; font-size: .75rem; font-weight: 700; background: rgba(0,0,0,.72); color: #fff; padding: 5px 9px; border-radius: 8px; }
.sodst-card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sodst-card-body h3 { font-size: 1.35rem; font-weight: 800; }
.sodst-card-body p { margin: 0; color: rgba(248,250,252,.74); font-size: .93rem; line-height: 1.6; }
.sodst-card-body .sodst-actions { margin-top: auto; padding-top: 4px; }
.sodst-empty { grid-column: 1 / -1; color: var(--sodst-muted); text-align: center; padding: 30px; border: 1px dashed var(--sodst-line); border-radius: 16px; }

/* Geschichte */
.sodst-back { display: inline-block; color: var(--sodst-muted); text-decoration: none; font-weight: 700; font-size: .9rem; margin-bottom: 16px; }
.sodst-back:hover { color: var(--sodst-gold); }
.sodst-hero { position: relative; border-radius: 24px; overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; background: #000; border: 1px solid var(--sodst-line); }
.sodst-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(.55); }
.sodst-hero-body { position: relative; padding: 40px; max-width: 760px; }
.sodst-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 12px; }
.sodst-hero-body p:last-child { color: rgba(248,250,252,.86); margin: 0; font-size: 1.02rem; }
.sodst-main, .sodst-side { min-width: 0; }
.sodst-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; margin-top: 32px; align-items: start; }
.sodst-tldr { background: rgba(243,199,79,.08); border: 1px solid rgba(243,199,79,.25); border-radius: 16px; padding: 16px 18px; margin-bottom: 30px; }
.sodst-tldr b { color: var(--sodst-gold); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.sodst-tldr p { margin: 6px 0 0; line-height: 1.65; }
.sodst-chapter { position: relative; padding: 0 0 36px 34px; margin-left: 12px; border-left: 2px solid rgba(243,199,79,.25); }
.sodst-chapter::before { content: attr(data-n); position: absolute; left: -15px; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--sodst-gold); color: #0b141b; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.sodst-chapter.is-now { border-left-color: transparent; }
.sodst-chapter.is-now::before { background: var(--sodst-red); color: #fff; box-shadow: 0 0 0 6px rgba(225,29,72,.2); }
.sodst-chapter.is-happy::before { background: var(--sodst-green); box-shadow: 0 0 0 6px rgba(16,185,129,.2); }
.sodst-chapter-date { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sodst-muted); }
.sodst-chapter h2 { font-size: 1.5rem; font-weight: 800; margin: 4px 0 12px; }
.sodst-chapter p { color: rgba(248,250,252,.85); line-height: 1.75; margin: 0 0 14px; }
.sodst-quote { display: flex; gap: 12px; align-items: flex-start; background: var(--sodst-surface); border: 1px solid var(--sodst-line); border-radius: 16px; padding: 14px 16px; margin: 6px 0 16px; }
.sodst-quote blockquote { margin: 0; }
.sodst-quote blockquote p { margin: 0; font-style: italic; }
.sodst-quote figcaption { color: var(--sodst-gold); font-weight: 700; font-size: .78rem; margin-top: 4px; }
.sodst-avatar { flex: 0 0 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #204060, #0b1b29); display: grid; place-items: center; font-weight: 800; color: var(--sodst-gold); border: 2px solid var(--sodst-gold); }
.sodst-mid-cta { background: linear-gradient(135deg, #17324a, #0b1824); border: 1px solid rgba(243,199,79,.35); border-radius: 18px; padding: 18px 20px; margin: 0 0 36px 46px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.sodst-mid-cta p { margin: 0; font-weight: 700; }

/* Shorts */
.sodst-shorts { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; margin: 6px 0 4px; scroll-snap-type: x mandatory; }
.sodst-short { position: relative; flex: 0 0 136px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; color: #fff; text-decoration: none; scroll-snap-align: start; border: 1px solid var(--sodst-line); }
.sodst-short img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); transition: filter .3s; }
.sodst-short:hover img, .sodst-short:focus-visible img { filter: brightness(.9); }
.sodst-short-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 42px; height: 42px; border-radius: 50%; background: rgba(243,199,79,.95); color: #0b141b; display: grid; place-items: center; font-size: .9rem; padding-left: 3px; }
.sodst-short-len { position: absolute; top: 8px; right: 8px; font-size: .68rem; font-weight: 700; background: rgba(0,0,0,.7); padding: 2px 6px; border-radius: 5px; }
.sodst-short-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 8px 8px; background: linear-gradient(transparent, rgba(0,0,0,.9)); font-size: .74rem; font-weight: 700; line-height: 1.25; }
.sodst-short-t small { display: block; color: var(--sodst-gold); margin-top: 2px; }

.sodst-short.is-wide { flex-basis: 300px; aspect-ratio: 16 / 9; }
.sodst-short.is-wide .sodst-short-play { transform: translate(-50%, -50%); }

/* Zusatz-Bereiche Tierheim / Verbesserungen */
.sodst-extra { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--sodst-line); }
.sodst-extra-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.sodst-extra-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; }
.sodst-extra-head .sodst-lead { margin-top: 8px; font-size: 1rem; }
.sodst-extra .sodst-short { flex-basis: 150px; }
.sodst-extra .sodst-short.is-wide { flex-basis: 320px; }

/* Seitenleiste */
.sodst-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.sodst-box { background: var(--sodst-surface); border: 1px solid var(--sodst-line); border-radius: 20px; padding: 20px; }
.sodst-box h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.sodst-box p { color: rgba(248,250,252,.74); font-size: .9rem; margin: 0 0 12px; }
.sodst-box .btn { width: 100%; margin-top: 10px; justify-content: center; }
.sodst-mini { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; margin-bottom: 10px; }
.sodst-mini img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.sodst-mini > span { flex: 1; }
.sodst-mini .sodst-bar { height: 7px; margin: 4px 0 2px; }
.sodst-mini small { color: var(--sodst-muted); font-size: .75rem; }
.sodst-share { display: flex; gap: 8px; }
.sodst-share a, .sodst-share button { flex: 1; text-align: center; text-decoration: none; font: 800 .8rem/1.2 inherit; padding: 10px 6px; border-radius: 10px; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.sodst-share .is-wa { background: #128c4a; }
.sodst-share .is-fb { background: #1b4fb8; }

/* Teaser */
.sodst-teaser { border-radius: 24px; overflow: hidden; min-height: 440px; display: grid; grid-template-columns: 1.05fr 1fr; background: #050a0e; border: 1px solid var(--sodst-line); }
.sodst-teaser-media { position: relative; min-height: 320px; display: block; }
.sodst-teaser-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(.82); }
.sodst-teaser-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, #050a0e); }
.sodst-teaser-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.sodst-teaser h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.sodst-teaser-quote { font-size: 1.05rem; line-height: 1.6; color: rgba(248,250,252,.86); border-left: 3px solid var(--sodst-gold); padding-left: 14px; margin: 0; font-style: italic; }
.sodst-teaser-quote small { display: block; font-style: normal; color: var(--sodst-gold); font-weight: 700; font-size: .8rem; margin-top: 6px; }
.sodst-teaser-summary { color: rgba(248,250,252,.8); margin: 0; line-height: 1.65; }
.sodst-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sodst-chips span { font-size: .74rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--sodst-muted); }
.sodst-chips span.is-on { background: rgba(243,199,79,.16); color: var(--sodst-gold); }

/* Startseite: weitere Schicksale */
.sodst-more { margin-top: 26px; }
.sodst-more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sodst-more-head h3 { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--sodst-text); }
.sodst-more-head a { color: var(--sodst-gold); font-weight: 700; text-decoration: none; white-space: nowrap; }
.sodst-more-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sodst-mini-card { display: flex; flex-direction: column; background: var(--sodst-surface); border: 1px solid var(--sodst-line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--sodst-text); transition: transform .25s ease, border-color .25s ease; }
.sodst-mini-card:hover { transform: translateY(-3px); border-color: rgba(243,199,79,.4); }
.sodst-mini-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.sodst-mini-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(.88); }
.sodst-mini-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.sodst-mini-body strong { font-size: 1.15rem; font-weight: 800; }
.sodst-mini-title { color: rgba(248,250,252,.72); font-size: .88rem; line-height: 1.45; }
.sodst-mini-body .sodst-bar { height: 7px; margin-top: 4px; }
.sodst-mini-body small { color: var(--sodst-muted); font-size: .76rem; }
.sodst-mini-link { margin-top: auto; padding-top: 6px; color: var(--sodst-gold); font-weight: 700; font-size: .88rem; }
@media (max-width: 700px) {
  .sodst-more-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .sodst-mini-card { flex: 0 0 76%; scroll-snap-align: start; }
}

/* Hundeseite */
.sodst-dog { margin: 36px 0 28px; padding-top: 30px; border-top: 1px solid var(--sodst-line); }
.sodst-dog-title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.15; margin: 0 0 18px; color: var(--sodst-text); }
.sodst-dog .sodst-chapter h3 { font-size: 1.3rem; font-weight: 800; margin: 4px 0 10px; color: var(--sodst-text); }
.sodst-dog-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.sodst-dog-foot .sodst-share { flex: 1 1 300px; max-width: 420px; }
.sodst-dog-playlist { color: var(--sodst-gold); font-weight: 700; text-decoration: none; }

/* Video-Popup */
.sodst-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; padding: 0; border: 1px solid rgba(243,199,79,.35); border-radius: 18px; background: #0b141b; color: #f8fafc; width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: hidden; }
.sodst-dialog::backdrop { background: rgba(3,8,12,.85); }
.sodst-dialog-body { padding: 50px 12px 12px; }
.sodst-dialog-body iframe { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: calc(100vh - 110px); border: 0; border-radius: 12px; background: #000; }
.sodst-dialog.is-wide { width: min(960px, calc(100vw - 32px)); }
.sodst-dialog.is-wide .sodst-dialog-body iframe { aspect-ratio: 16 / 9; max-height: calc(100vh - 110px); }
.sodst-dialog-close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #f3c74f; font-size: 26px; line-height: 1; cursor: pointer; }
.sodst-dialog-consent { padding: 6px 12px 16px; text-align: center; }
.sodst-dialog-consent p { color: rgba(248,250,252,.8); line-height: 1.6; font-size: .95rem; margin: 0 0 16px; }

@media (max-width: 900px) {
  .sodst-layout { grid-template-columns: minmax(0, 1fr); }
  .sodst-side { position: static; }
  .sodst-teaser { grid-template-columns: 1fr; }
  .sodst-teaser-media::after { background: linear-gradient(180deg, transparent 45%, #050a0e); }
  .sodst-teaser-body { padding: 24px; }
  .sodst-hero { min-height: 360px; }
  .sodst-hero-body { padding: 24px; }
  .sodst-mid-cta { margin-left: 0; }
  .sodst-page { padding-top: 90px; }
}

/* Vorschau-Hinweis fuer das Team (solange nicht oeffentlich) */
.sodst-preview-badge { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: #e11d48; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.sodst-dog .sodst-preview-badge, .sod-dog-detail .sodst-preview-badge { margin-top: 30px; }
.sodst-tiktoks { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 18px; }
.sodst-tt { display: flex; align-items: center; gap: 12px; flex: 1 1 260px; max-width: 420px; padding: 12px 14px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1px solid #25f4ee; box-shadow: 3px 3px 0 #fe2c55; }
.sodst-tt:hover { color: #fff; transform: translateY(-1px); }
.sodst-tt-logo { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: #fff; color: #000; text-shadow: 2px 0 #fe2c55, -2px 0 #25f4ee; }
.sodst-tt-t { display: flex; flex-direction: column; gap: 3px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.sodst-tt-t small { font-size: 12px; font-weight: 400; color: #cbd5e1; }
.sodst-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 18px; }
.sodst-images.is-single { grid-template-columns: 1fr; max-width: 560px; }
.sodst-images a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--sodst-line); }
.sodst-images img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sodst-images.is-single img { aspect-ratio: auto; max-height: 70vh; object-fit: contain; background: #000; }
/* Belege/Rechnungen (hohe Bilder): komplett sichtbar, Hoehe begrenzt, Klick oeffnet gross (19.11.2026) */
.sodst-images:has(a.is-doc) { display: flex; flex-wrap: wrap; align-items: flex-start; }
.sodst-images a.is-doc { flex: 0 0 auto; max-width: 100%; background: none; }
.sodst-images a.is-doc img, .sodst-images.is-single a.is-doc img { aspect-ratio: auto; width: auto; max-width: 100%; height: 60vh; max-height: none; object-fit: contain; background: none; }
.sodst-images:has(a.is-doc) > a:not(.is-doc) { flex: 1 1 260px; }
.sodst-images:has(a.is-doc) > a:not(.is-doc) img { height: 60vh; aspect-ratio: auto; }
@media (max-width: 600px) {
    .sodst-images:has(a.is-doc) { flex-direction: column; align-items: center; }
    .sodst-images a.is-doc img { width: 100%; height: auto; }
    .sodst-images a.is-doc.is-tall img { width: auto; height: 75vh; }
}
.sodst-own-video { display: block; width: 100%; max-width: 340px; max-height: 70vh; aspect-ratio: 9/16; object-fit: contain; margin: 12px 0 18px; border-radius: 16px; background: #000; border: 1px solid var(--sodst-line); }

/* ------------------------------------------------------------------------------------------------
 * Uebersicht am Desktop (29.11.2026) – nur /geschichten/ im Desktop-Browser.
 * Dunkler Grund wie der Rest der Seite (#0b141b), Layout nach dem Prototyp: Fokus-Geschichte,
 * Filter, drei Karten je Reihe. Alles haengt an .sodst-page--desktop / .sodst-ovd; Handy-Feed,
 * klassische Handy-Karten, einzelne Geschichte, Startseiten-Teaser und Hundeseite bleiben unveraendert.
 * ---------------------------------------------------------------------------------------------- */
.sodst-page--desktop { --sodst-ink: #2b5680; }
.sodst-ovd.sodst-wrap { max-width: 1240px; padding: 0 28px; }
.sodst-ovd .sodst-eyebrow { font-size: .8rem; }
.sodst-ovd .sodst-ov-head { margin-bottom: 30px; }
.sodst-ovd .sodst-ov-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); letter-spacing: -.04em; line-height: 1.05; }
.sodst-ovd .sodst-lead { max-width: 740px; }

/* Geschichte im Fokus */
.sodst-focus {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: linear-gradient(135deg, #17324a, #0f2133); color: #fff; border: 1px solid rgba(243,199,79,.22);
  border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(0,0,0,.8);
}
.sodst-focus-media { position: relative; display: block; min-height: 400px; max-height: 500px; background: #0a1620; overflow: hidden; }
.sodst-focus-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; display: block; transition: transform .6s ease; }
.sodst-focus:hover .sodst-focus-media > img { transform: scale(1.02); }
.sodst-focus-body { align-self: center; padding: clamp(26px, 4.4vw, 60px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sodst-focus-label { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sodst-gold); }
.sodst-page--desktop .sodst-focus h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: #fff; }
.sodst-focus .sodst-nr { color: var(--sodst-gold); font-size: .42em; font-weight: 700; letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.sodst-focus-text { margin: 0; color: rgba(255,255,255,.86); font-size: 1.05rem; line-height: 1.65; }
.sodst-focus .sodst-actions { margin-top: 6px; }

/* Wechsel der Fokus-Geschichte alle 30 Sekunden (stories.js): Knoepfe unten rechts, goldene Zeitleiste unten */
.sodst-focus[hidden] { display: none; }
.sodst-focus-rot { position: relative; display: flex; flex-direction: column; }
.sodst-focus-rot > .sodst-focus { flex: 1 1 auto; }
.sodst-focus-rot .sodst-focus-media { max-height: none; }
.sodst-focus-rot .sodst-focus-body { padding-bottom: max(clamp(26px, 4.4vw, 60px), 84px); }
.sodst-focus-nav svg { display: block; fill: currentColor; }
.sodst-focus-nav .sodst-i-play, .sodst-focus-nav [aria-pressed="true"] .sodst-i-pause { display: none; }
.sodst-focus-nav [aria-pressed="true"] .sodst-i-play { display: block; }
.sodst-focus-rot .sodst-focus.is-in { animation: sodst-focus-in .7s ease both; }
@keyframes sodst-focus-in { from { opacity: 0; } to { opacity: 1; } }
.sodst-focus-nav { position: absolute; right: 22px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 6px; }
.sodst-focus-nav button {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); background: rgba(11,20,27,.35); color: #f8fafc;
  font-family: inherit; font-size: 1.15rem; font-weight: 700; line-height: 1; transition: border-color .15s, color .15s, background .15s;
}
.sodst-focus-nav button:hover { border-color: var(--sodst-gold); color: var(--sodst-gold); }
.sodst-focus-nav button:focus-visible { outline: 3px solid var(--sodst-gold); outline-offset: 2px; }
.sodst-focus-nav button[aria-pressed="true"] { background: var(--sodst-gold); border-color: var(--sodst-gold); color: #0b141b; }
.sodst-focus-pos { min-width: 56px; text-align: center; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; }
.sodst-focus-pos b { color: #fff; }
.sodst-focus-timer { position: absolute; left: 1px; right: 1px; bottom: 1px; height: 3px; z-index: 2; overflow: hidden; border-radius: 0 0 22px 22px; background: rgba(255,255,255,.08); pointer-events: none; }
.sodst-focus-timer i { display: block; width: 0; height: 100%; background: var(--sodst-gold); }

/* Ueberschrift, Filter, Zaehler */
.sodst-ovd-head { margin: 46px 0 0; }
.sodst-page--desktop .sodst-ovd-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; }
.sodst-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.sodst-filters button {
  font-family: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; padding: 10px 17px; min-height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18); background: var(--sodst-surface); color: rgba(248,250,252,.86); transition: background .15s, border-color .15s, color .15s;
}
.sodst-filters button:hover { border-color: rgba(243,199,79,.6); color: #fff; }
.sodst-filters button:focus-visible { outline: 3px solid var(--sodst-gold); outline-offset: 2px; }
.sodst-filters button[aria-pressed="true"] { background: var(--sodst-gold); border-color: var(--sodst-gold); color: #0b141b; }
.sodst-ovd-count { margin: 14px 0 18px; color: var(--sodst-muted); font-size: .92rem; font-weight: 600; }

/* Karten: drei je Reihe */
.sodst-ovd .sodst-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sodst-ovd .sodst-card { border-radius: 18px; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.sodst-ovd .sodst-card:hover { border-color: rgba(243,199,79,.35); box-shadow: 0 18px 36px -24px rgba(0,0,0,.9); transform: translateY(-2px); }
.sodst-ovd .sodst-card-media { aspect-ratio: 3 / 2; background: #0a1620; }
.sodst-ovd .sodst-card-media > img { filter: none; object-position: center 30%; }
.sodst-noimg { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #17324a, #0a1620); }
.sodst-card-media .sodst-noimg img, .sodst-focus-media .sodst-noimg img { position: static; inset: auto; width: 34%; max-width: 130px; height: auto; object-fit: contain; filter: none; opacity: .55; transform: none; }
.sodst-ovd .sodst-card-body { padding: 20px 22px 22px; gap: 12px; }
.sodst-ovd .sodst-card-body h3 { font-size: 1.4rem; line-height: 1.2; }
.sodst-ovd .sodst-card .sodst-nr { color: var(--sodst-gold); font-size: .62em; font-weight: 700; white-space: nowrap; }
.sodst-ovd .sodst-card-body p { font-size: .95rem; }

/* Knoepfe: "Geschichte ansehen" hell, "Einmalig spenden" in Gold direkt daneben, weitere umrandet */
.sodst-ovd .sodst-actions { gap: 8px; }
.sodst-ovd .sodst-card .sodst-actions .btn { padding: 9px 14px !important; min-height: 42px; font-size: .875rem; flex: 1 1 auto; justify-content: center; text-align: center; white-space: nowrap; }
/* Karten: Vereinsblau wie die Knoepfe der Live-Seite (site.css --color-primary-500/400) */
.sodst-ovd .sodst-card .sodst-actions .btn.sodst-read { background: #204060 !important; border-color: #204060 !important; color: #fff !important; }
.sodst-ovd .sodst-card .sodst-actions .btn.sodst-read:hover { background: #557f9c !important; border-color: #557f9c !important; }
/* Fokus-Geschichte (dunkelblauer Kasten): hell, sonst waere Blau auf Blau kaum zu sehen */
.sodst-ovd .sodst-focus .sodst-actions .btn.sodst-read { background: #f8fafc !important; border-color: #f8fafc !important; color: #0b141b !important; }
.sodst-ovd .sodst-focus .sodst-actions .btn.sodst-read:hover { background: #dfe8ee !important; border-color: #dfe8ee !important; }
.sodst-ovd .sodst-actions .btn.sodst-donate { background: linear-gradient(135deg, #f3c74f, #e4a91f) !important; border-color: #f3c74f !important; color: #0b141b !important; }
.sodst-ovd .sodst-actions .btn.sodst-donate:hover { background: #f7d576 !important; border-color: #f7d576 !important; }
.sodst-ovd .sodst-actions .btn.sodst-sponsor, .sodst-ovd .sodst-actions .btn.sodst-adopt { background: transparent !important; border: 1px solid rgba(255,255,255,.35) !important; color: #f8fafc !important; }
.sodst-ovd .sodst-actions .btn.sodst-sponsor:hover, .sodst-ovd .sodst-actions .btn.sodst-adopt:hover { border-color: #f8fafc !important; background: rgba(255,255,255,.08) !important; }
.sodst-ovd .sodst-actions .btn:focus-visible { outline: 3px solid var(--sodst-gold); outline-offset: 2px; }

@media (max-width: 1040px) {
  .sodst-ovd .sodst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sodst-focus { grid-template-columns: 1fr; }
  .sodst-focus-media { min-height: 0; max-height: none; aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) {
  .sodst-ovd.sodst-wrap { padding: 0 16px; }
  .sodst-ovd .sodst-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sodst-focus-media > img, .sodst-ovd .sodst-card, .sodst-ovd .sodst-card-media img { transition: none; }
  .sodst-focus:hover .sodst-focus-media > img, .sodst-ovd .sodst-card:hover { transform: none; }
  .sodst-focus-rot .sodst-focus.is-in { animation: none; }
}

/* ------------------------------------------------------------------------------------------------
 * Reaktion „Ich schau nicht weg“ am Ende einer Geschichte (29.11.2026, inc/stories-reaction.php).
 * ---------------------------------------------------------------------------------------------- */
.sodst-react { margin: 8px 0 30px; padding: 22px 20px; border: 1px solid rgba(243,199,79,.28); border-radius: 20px; background: rgba(243,199,79,.06); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sodst-main > .sodst-react { margin-left: 46px; }
.sodst-react-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 10px;
  border-radius: 999px; border: 2px solid rgba(243,199,79,.6); background: #0f1d29; color: #f8fafc;
  font-family: inherit; font-weight: 800; font-size: 1.05rem; line-height: 1.2; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.sodst-react-btn:hover { border-color: #f3c74f; background: #152737; }
.sodst-react-btn:active { transform: scale(.98); }
.sodst-react-btn:focus-visible { outline: 3px solid #f3c74f; outline-offset: 3px; }
.sodst-react-shield { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; }
.sodst-react-shield img { width: 40px; height: 40px; object-fit: contain; display: block; filter: grayscale(.55) brightness(.9); transition: filter .25s; }
.sodst-react-check { display: none; width: 22px; height: 22px; border-radius: 50%; background: #0b141b; color: #f3c74f; font-size: .8rem; line-height: 22px; }
.sodst-react-count { margin: 0; color: rgba(248,250,252,.82); font-size: .95rem; font-weight: 700; min-height: 1.4em; }
.sodst-react-error { margin: 0; color: #fecaca; font-size: .88rem; font-weight: 600; }

/* Aktiv: Gold gefuellt, Schild in Farbe, Haken – nicht nur ueber die Farbe erkennbar */
.sodst-react.is-active .sodst-react-btn { background: linear-gradient(135deg, #f3c74f, #e4a91f); border-color: #f3c74f; color: #0b141b; }
.sodst-react.is-active .sodst-react-shield img { filter: none; }
.sodst-react.is-active .sodst-react-check { display: inline-block; }
.sodst-react.is-pending .sodst-react-btn { cursor: progress; opacity: .85; }

/* Kurzes goldenes Aufleuchten beim Reagieren */
.sodst-react-shield.is-glow img { animation: sodst-react-glow .9s ease-out; }
@keyframes sodst-react-glow {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(243,199,79,0)); }
  35% { transform: scale(1.18); filter: drop-shadow(0 0 14px rgba(243,199,79,.95)) brightness(1.15); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(243,199,79,0)); }
}
@media (prefers-reduced-motion: reduce) {
  .sodst-react-btn, .sodst-react-shield img { transition: none; }
  .sodst-react-btn:active { transform: none; }
  .sodst-react-shield.is-glow img { animation: none; }
}
@media (max-width: 900px) {
  .sodst-main > .sodst-react { margin-left: 0; }
}
