/*
 * Self-hosted Arabic font — Noto Sans Arabic, weights 400/500/600/700,
 * `unicode-range` restricted to the Arabic subset ONLY. `fonts.css`'s 34
 * @font-face blocks (Fira Sans / Mukta / Wix Madefor Display) are all
 * `latin`/`latin-ext` unicode-range — none of them contain Arabic glyphs,
 * so Arabic text would otherwise fall through to whatever Arabic font (if
 * any) the visitor's OS ships, with no metric match to the rest of the
 * page.
 *
 * Loaded ONLY when `locale === 'ar'` (app/layouts/default.vue) — English
 * and Turkish pages never request this file.
 *
 * Restricting `unicode-range` to Arabic means this file does NOT need to
 * cover Latin text (brand names, numerals in some contexts): the font-family
 * fallback chain in rtl.css puts 'Fira Sans' after 'Noto Sans Arabic', so
 * the browser automatically uses Fira Sans for any Latin character in the
 * same paragraph — no separate Latin subset needed here.
 *
 * Source: fonts.googleapis.com/css2?family=Noto+Sans+Arabic (OFL license),
 * fetched per-weight (see scripts/fetch-ar-fonts.mjs for how to re-fetch/
 * add weights) — same self-hosting convention as fonts.css.
 */

@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/google/noto-sans-arabic-400-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/google/noto-sans-arabic-500-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/google/noto-sans-arabic-600-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/google/noto-sans-arabic-700-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
