/* ═══════════════════════════════════════════════════════════════════════
   גופני הקריאה (הקורא /sefer/… ושיעורי הלימוד היומי) — המקום היחיד להחלפת גופן
   ───────────────────────────────────────────────────────────────────────
   ★ גופנים מובנים (מתארחים באתר עצמו — בלי תלות ב-Google): Heebo (ברירת מחדל), Assistant, Frank Ruhl Libre. כולם בגופן משתנה (כל המשקלים בקובץ אחד).
   ★ ברירת המחדל: משתנה --rd-font-default בסוף הקובץ + defaults.font ב-reader-config.js.

   איך מוסיפים גופן נוסף (למשל "בא וילנא"):
   1. מעלים את הקבצים (woff2 מומלץ) לתיקייה  assets/fonts/reader/
   2. מוסיפים כאן בלוק @font-face (דוגמה למטה — מורידים את ההערה ומתאימים שם קובץ).
   3. ב-assets/js/reader-config.js מסמנים את הגופן ready:true — והוא יופיע בבורר הגופן של הקורא.
   4. כדי שיהיה ברירת המחדל לכולם: משנים את --rd-font-default בסוף הקובץ.
   הלומד יכול לבחור גופן אחר בהגדרות (נשמר אצלו), וגם שיעורי הלימוד משתמשים באותו גופן.
   ═══════════════════════════════════════════════════════════════════════ */

/* דוגמה — "בא וילנא" (גופן מסחרי: דורש רישיון; מעלים רק את הקבצים שיש לכם רישיון עבורם)
@font-face {
  font-family: 'BaVilna';
  src: url('/assets/fonts/reader/BaVilna-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BaVilna';
  src: url('/assets/fonts/reader/BaVilna-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
*/

/* ── Heebo ── */
@font-face { font-family: 'RD Heebo'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/fonts/reader/heebo-hebrew.woff2') format('woff2'); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'RD Heebo'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/fonts/reader/heebo-latin.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; }
/* ── Assistant ── */
@font-face { font-family: 'RD Assistant'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/assets/fonts/reader/assistant-hebrew.woff2') format('woff2'); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'RD Assistant'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/assets/fonts/reader/assistant-latin.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; }
/* ── Frank Ruhl Libre ── */
@font-face { font-family: 'RD Frank'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url('/assets/fonts/reader/frank-hebrew.woff2') format('woff2'); unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: 'RD Frank'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url('/assets/fonts/reader/frank-latin.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; }

:root {
  /* גופן ברירת המחדל לקריאה ולשיעורים: Heebo. להחלפה — שם הגופן כפי שהוגדר ב-@font-face למעלה */
  --rd-font-default: 'RD Heebo';
}
