/* RibnitzerStories.com */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --navy: #0b1b33;
  --navy-2: #13294b;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eaf1ff;
  --wa: #1f9d55;
  --red: #dc2626;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --hebrew: 'Frank Ruhl Libre', 'SBL Hebrew', 'David', 'Times New Roman', 'Arial Hebrew', serif;
  /* names the admin stylesheet uses */
  --paper: var(--bg); --paper-2: var(--bg-soft); --card: #f8fafc; --gold: var(--accent); --gold-2: var(--accent-dark); --deep: var(--navy);
  --serif: var(--sans); --display: var(--sans);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.has-player { padding-bottom: 92px; }
[lang='he'], [lang='yi'], [dir='rtl'] { font-family: var(--hebrew); }
span[lang='he'], span[lang='yi'] { line-height: 1; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: .2em 0 .4em; }
h2 { font-size: 1.35rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.nowrap { white-space: nowrap; }
.lede { font-size: 1.1rem; color: var(--ink-2); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 6px; }
.bh { position: absolute; top: 2px; right: 10px; font-size: .72rem; color: var(--muted); z-index: 31; pointer-events: none; }
svg.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; }
.brand-en { font-weight: 750; font-size: 1.08rem; letter-spacing: -.02em; }
.nav { display: flex; gap: 4px; align-items: center; font-size: .95rem; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 7px 12px; border-radius: 8px; font-weight: 500; }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav .nav-share { background: var(--accent); color: #fff; font-weight: 600; margin-left: 6px; }
.nav .nav-share:hover { background: var(--accent-dark); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 1rem; padding: 13px 22px; }
.btn-sm { font-size: .86rem; padding: 6px 12px; border-radius: 8px; }
.btn-block { display: flex; width: 100%; }
.btn-primary, .btn-gold { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: #94a3b8; color: var(--ink); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: #94a3b8; color: var(--ink); }
.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17803f; color: #fff; }
.btn[disabled] { opacity: .55; cursor: default; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #e2e8f0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: #93c5fd; margin: 0 0 12px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; margin: 0 0 14px; }
.hero-sub { font-size: 1.1rem; color: #cbd5e1; margin: 0 0 24px; max-width: 34em; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: #94a3b8; }
.hero-stats b { display: block; color: #fff; font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.yz-notice { display: inline-block; background: rgba(147, 197, 253, .14); border: 1px solid rgba(147, 197, 253, .35); color: #dbeafe; padding: 6px 12px; border-radius: 999px; font-size: .88rem; margin: 0 0 16px; }
.yz-notice a { color: #fff; }
.latest { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, .28); }
.latest-label { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; color: #93c5fd; margin: 0 0 12px; }
.latest-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #60a5fa; }
.latest-title { color: #fff; font-size: 1.45rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 6px; }
.latest-meta { color: #94a3b8; font-size: .92rem; margin: 0 0 20px; }
.latest-row { display: flex; align-items: center; gap: 14px; }
.latest-play { width: 58px; height: 58px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: transform .15s; flex: none; }
.latest-play:hover { transform: scale(1.06); }
.latest-play svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.latest-row a { color: #cbd5e1; font-size: .92rem; }

/* ---------- sections ---------- */
.section { margin: 44px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section-title { font-size: 1.6rem; margin: 0; }
.section > .section-title { margin-bottom: 14px; }
.section-links { display: flex; gap: 8px; font-size: .92rem; }
.section-links a { text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-weight: 500; }
.section-links a:hover { border-color: #94a3b8; color: var(--ink); }
.page-head { padding: 40px 0 8px; }
.empty { padding: 28px 0; color: var(--muted); text-align: center; }
.result-count { color: var(--muted); min-height: 1em; }

/* ---------- toolbar: search, filters, sort ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; }
.search { position: relative; display: flex; gap: 8px; flex: 1 1 260px; margin: 0; }
.search input { flex: 1; min-width: 0; font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.search input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: #94a3b8; color: var(--ink); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-n { font-size: .78rem; opacity: .65; font-weight: 600; }
.chip-sm { font-size: .82rem; padding: 4px 10px; }
.sort { font: inherit; font-size: .9rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-2); }

/* ---------- story list ---------- */
.sub-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin: 26px 0 8px; }
.sub-note { text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: 6px; }
.rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); transition: background .12s; }
.row:first-child { border-top: 0; }
.row:hover { background: #f8fafc; }
.row.is-current { background: var(--accent-soft); }
.row[hidden] { display: none; }
.row-play { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, transform .15s; padding: 0; }
.row-play:hover { background: var(--accent); transform: scale(1.06); }
.row-play svg { width: 16px; height: 16px; fill: currentColor; }
.row-play .i-play { margin-left: 2px; }
.row-play .i-pause, .row.is-playing .row-play .i-play { display: none; }
.row.is-playing .row-play .i-pause { display: block; }
.row.is-current .row-play { background: var(--accent); }
.row-icon-text { flex: none; min-width: 42px; text-align: center; border-radius: 8px; background: var(--bg-soft); color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .06em; padding: 12px 6px; }
.row-main, .row-link { flex: 1; min-width: 0; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.row-link { flex-direction: row; align-items: center; gap: 14px; }
.row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-title { font-weight: 650; font-size: 1.02rem; color: var(--ink); line-height: 1.35; text-align: left; letter-spacing: -.01em; }
.row-main:hover .row-title, .row-link:hover .row-title { color: var(--accent-dark); }
.row-sub { color: var(--muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-progress { height: 3px; background: var(--line); border-radius: 3px; margin-top: 6px; max-width: 220px; overflow: hidden; }
.row-progress span { display: block; height: 100%; background: var(--accent); }
.row-end { flex: none; display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); }
.lang-tag { font-size: .74rem; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border-radius: 999px; padding: 3px 9px; }
.row-dur { font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }
.new-tag { display: inline-block; margin-inline-start: 8px; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); border-radius: 999px; padding: 2px 7px; vertical-align: 2px; }
.new-line { margin: 0 0 8px; color: var(--muted); font-size: .92rem; }
.new-line .new-tag { margin-inline-start: 0; margin-inline-end: 6px; vertical-align: 1px; }
.eq { display: none; gap: 2px; align-items: flex-end; height: 14px; margin-inline-start: 8px; vertical-align: -1px; }
.row.is-playing .eq { display: inline-flex; }
.eq i { width: 3px; background: var(--accent); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- player bar (homepage / search) ---------- */
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--navy); color: #e2e8f0; box-shadow: 0 -8px 30px rgba(15, 23, 42, .25); transform: translateY(110%); transition: transform .25s ease; }
.pbar.open { transform: none; }
.pbar-inner { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 12px; }
.pbar button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; }
.pbar-play { width: 46px; height: 46px; border-radius: 50%; background: #fff !important; color: var(--navy) !important; display: grid; place-items: center; flex: none; }
.pbar-play svg { width: 18px; height: 18px; fill: currentColor; }
.pbar-play .i-pause, .pbar.playing .pbar-play .i-play { display: none; }
.pbar.playing .pbar-play .i-pause { display: block; }
.pbar-mid { flex: 1; min-width: 0; }
.pbar-title { display: block; color: #fff; font-weight: 650; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.pbar-title:hover { color: #fff; text-decoration: underline; }
.pbar-line { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: #94a3b8; font-variant-numeric: tabular-nums; }
.pbar-seek { flex: 1; accent-color: #60a5fa; height: 20px; margin: 0; cursor: pointer; min-width: 60px; }
.pbar-ctrl { display: flex; gap: 4px; flex: none; }
.pbar-ctrl button { font-size: .8rem; font-weight: 600; padding: 7px 9px; border-radius: 8px; color: #cbd5e1; }
.pbar-ctrl button:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- call-to-action cards ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 56px auto 0; }
.cta { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-size: 1.15rem; }
.cta h2 { font-size: 1.08rem; margin: 6px 0 0; }
.cta p { margin: 0; color: var(--ink-2); font-size: .93rem; flex: 1; }
.cta .btn { margin-top: 8px; }
.donate-note { font-size: .78rem !important; color: var(--muted) !important; flex: 0 !important; }
.disclaimer { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.req { color: var(--red); font-weight: 700; }
.required-note { font-size: .92rem; background: var(--accent-soft); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--ink-2); }

/* ---------- story page ---------- */
.story { max-width: 780px; }
.crumbs { padding-top: 22px; font-size: .9rem; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--ink); }
.story-head { padding: 10px 0 4px; }
.story-cats { margin: 0 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--accent-dark); }
.story-cats a { color: inherit; text-decoration: none; }
.story-teller { font-size: 1.05rem; color: var(--ink-2); margin-top: 0; }
.preview-banner { background: #fef3c7; border-bottom: 1px solid #fcd34d; padding: 8px 20px; margin: 0; font-size: .92rem; text-align: center; }
.player { display: flex; align-items: center; gap: 16px; margin: 18px 0 14px; background: var(--navy); color: #e2e8f0; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.player audio { display: none; }
.player .play { flex: none; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--navy); display: grid; place-items: center; transition: transform .15s; }
.player .play:hover { transform: scale(1.06); }
.player .play svg { width: 28px; height: 28px; fill: currentColor; }
.player .i-pause { display: none; }
.player.playing .i-play { display: none; }
.player.playing .i-pause { display: block; }
.player-main { flex: 1; min-width: 0; }
.player .seek { width: 100%; accent-color: #60a5fa; height: 26px; margin: 0; cursor: pointer; }
.player-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .86rem; color: #94a3b8; }
.player .time { font-variant-numeric: tabular-nums; }
.player-ctrls { display: flex; gap: 6px; }
.player-ctrls button { background: rgba(255, 255, 255, .08); color: #e2e8f0; border: 0; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.player-ctrls button:hover { background: rgba(255, 255, 255, .18); }
.player.loading .play { opacity: .6; }
.download { margin: -2px 0 12px; font-size: .9rem; }
.doc-open { margin: 18px 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 28px; }
.btn-wa svg { margin: 0; }
.story-text { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.story-summary { color: var(--ink); font-size: 1.15rem; }
.transcript { margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; }
.transcript summary { cursor: pointer; font-weight: 650; }
.provenance, .yahrzeit { margin: 28px 0; padding: 20px 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.provenance h2, .yahrzeit h2 { font-size: 1.05rem; margin: 0 0 10px; }
.provenance dl, .yahrzeit dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; font-size: .95rem; }
.provenance dt, .yahrzeit dt { color: var(--muted); }
.provenance dd, .yahrzeit dd { margin: 0; }
.chain { margin: 0; padding-left: 1.2em; }
.prov-disclaimer { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.story-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 0; }

/* ---------- forms ---------- */
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 6px; margin: 0 0 18px; background: #fff; }
.form legend { font-weight: 700; font-size: 1.02rem; padding: 0 8px; letter-spacing: -.01em; }
.form label { display: block; margin: 0 0 14px; font-size: .93rem; color: var(--ink-2); font-weight: 500; }
.form input[type='text'], .form input[type='email'], .form input[type='tel'], .form input[type='password'],
.form input[type='number'], .form input:not([type]), .form textarea, .form select {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form .hint { font-size: .86rem; color: var(--muted); margin: -2px 0 12px; font-weight: 400; }
.form .check, .form .radio { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; font-weight: 400; }
.form .check input, .form .radio input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.radios { margin-bottom: 6px; }
.upload { display: block !important; padding: 22px; border: 2px dashed #cbd5e1; border-radius: var(--radius); background: var(--bg-soft); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.upload:hover { border-color: var(--accent); background: var(--accent-soft); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-text { display: flex; flex-direction: column; gap: 2px; }
.upload-text strong { color: var(--accent-dark); font-size: 1.05rem; }
.upload-text .muted { font-size: .86rem; font-weight: 400; }
.upload-chosen { font-size: .92rem; background: #dcfce7; border-radius: var(--radius-sm); padding: 8px 12px; color: #14532d; }
.form-error { background: #fee2e2; color: #7f1d1d; border-radius: var(--radius-sm); padding: 10px 14px; }
.cf-turnstile { margin: 0 0 16px; }
.progress { margin: 0 0 14px; }
.progress-bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.progress-text { font-size: .92rem; color: var(--ink-2); margin: 6px 0 0; }
.plain-list { margin: 0 0 12px; padding-left: 1.2em; font-size: .92rem; color: var(--ink-2); font-weight: 400; }
.prose h2 { margin-top: 1.6em; }
.soon li { margin-bottom: 4px; }

/* ---------- videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 10px; }
.video-frame, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #0b1b33 center / cover no-repeat; cursor: pointer; position: relative; padding: 0; box-shadow: var(--shadow); }
.video-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--navy); display: grid; place-items: center; transition: transform .15s; }
.video-frame:hover .video-play { transform: scale(1.08); }
.video-play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.video-title { font-size: 1.08rem; margin: 12px 0 2px; }
.video-credit { font-size: .86rem; color: var(--muted); }
.video-link { display: block; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); font-weight: 600; text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { margin-top: 64px; background: var(--navy); color: #94a3b8; font-size: .9rem; padding: 44px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; font-weight: 700; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { color: #fff; font-weight: 750; font-size: 1.05rem; margin: 0 0 8px; letter-spacing: -.02em; }
.site-footer p { margin: 0 0 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 30px; padding-top: 18px; font-size: .8rem; color: #64748b; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 0; }
  .brand-en { font-size: 1rem; }
  .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav { gap: 0; justify-content: space-between; margin: 0; }
  .nav a { white-space: nowrap; padding: 6px 7px; font-size: .86rem; }
  .nav .nav-share { margin-left: 2px; padding: 6px 10px; }
  .hero-stats { gap: 20px; }
  .section-title { font-size: 1.35rem; }
  .row { gap: 12px; padding: 12px; }
  .row-end { flex-direction: column; align-items: flex-end; gap: 3px; }
  .form .row2 { grid-template-columns: 1fr; }
  .share .btn-wa { flex-basis: 100%; }
  .provenance dl, .yahrzeit dl { grid-template-columns: 1fr; gap: 0; }
  .provenance dd, .yahrzeit dd { margin-bottom: 8px; }
  .player { padding: 14px; gap: 12px; }
  .player .play { width: 52px; height: 52px; }
  .pbar-ctrl .pbar-speed { display: none; }
  .pbar-inner { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
