/* feederism.org — Hebrew (RTL) overrides. Loaded ONLY on /he/ pages, AFTER the shared sheets
   (fdr-quiz.css / the article template's inline .prose CSS / fdr-enhance.css). It mirrors the handful
   of physical left/right rules those sheets use so the shared English CSS is never touched. Every rule
   is scoped to [dir="rtl"] (the /he/ pages set <html dir="rtl">), so it can never affect EN/ES pages
   even if this file is ever loaded there by accident. Bump ?v= in quizzes/versions.json on edit. */

/* ---- Hebrew display font: Yarden (Alef Alef Alef, free-font license) — titles + headings ----
   Self-hosted beside Satoshi/Bona Nova in the theme (/assets/fonts/). Overriding --serif on html[dir="rtl"]
   (specificity 0,1,1 — beats :root's 0,1,0, so it wins regardless of source order) re-points EVERY heading that
   reads var(--serif): the article h1/h2/h3, the glossary, the normalcy hub, AND the shared quiz engine
   (fdr-quiz.css h1 / .q / .res .type / section.seo h2). Hebrew pages only. Body text stays Assistant/Heebo. */
@font-face{font-family:'Yarden';src:url(/assets/fonts/yarden-regular-alefalefalef.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Yarden';src:url(/assets/fonts/yarden-bold-alefalefalef.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}
html[dir="rtl"]{--serif:'Yarden','Frank Ruhl Libre','David Libre',Georgia,serif}

/* ---- quiz engine UI (fdr-quiz.css) ---- */
[dir="rtl"] .opt{text-align:right}
[dir="rtl"] .support,[dir="rtl"] .shame{border-left:0;border-right:4px solid var(--line)}
[dir="rtl"] .support.warm,[dir="rtl"] .shame.warm{border-right-color:var(--amber)}
[dir="rtl"] .shame.peace{border-right-color:var(--good)}
[dir="rtl"] .dimx .n .ty,[dir="rtl"] .arch .n .ty{margin-left:0;margin-right:8px}
[dir="rtl"] ol.items li{padding-left:0;padding-right:4px}
[dir="rtl"] details.faq summary::before{margin-right:0;margin-left:11px}
[dir="rtl"] .links a{margin:6px 0 6px 16px}

/* ---- article prose + reading enhancer (template inline CSS / fdr-enhance.css) ---- */
[dir="rtl"] .prose blockquote{border-left:0;border-right:3px solid #FF1A75;padding:.15em 1.1em .15em 0;border-radius:10px 0 0 10px}
[dir="rtl"] .prose ul,[dir="rtl"] .prose ol{padding-left:0;padding-right:1.35em}
[dir="rtl"] .fdr-toc ol{padding-left:0;padding-right:22px}
[dir="rtl"] .fdr-sources ol{padding-left:0;padding-right:24px}
[dir="rtl"] .feat figcaption{text-align:right}

/* reading progress fills right -> left */
[dir="rtl"] .fdr-progress{left:auto;right:0}

/* keep the [n] citation markers LTR so brackets don't mirror to ]n[ */
[dir="rtl"] a.fdr-cite{direction:ltr;unicode-bidi:isolate;display:inline-block}
