/*
 * Arabic web fonts (SIL OFL 1.1 — see OFL.txt in this directory). @font-face rules only.
 *
 * Linked by the SSR pages (PublicAppFonts.java) for Arabic pages; the React app declares the
 * identical faces in frontend/src/index.css. The source of truth for families, files, weights,
 * unicode-range and the ?v= stamp is ARABIC_FONTS in shared/src/lib/appFonts.ts, and
 * frontend/src/lib/__tests__/arabicFonts.test.ts fails if this file or index.css drifts from it.
 *
 * unicode-range keeps both families to the Arabic blocks, so they never capture Latin, digits or
 * CJK. size-adjust (ARABIC_FONT_SIZE_ADJUST) draws the Arabic glyphs at 115%: at the same font size
 * an Arabic letter body is about half the height of a CJK glyph. The italic faces reuse the upright files: Arabic has no italic, and declaring one stops the
 * browser from synthesising a slant for Arabic glyphs inside <em>.
 */
@font-face {
  font-family: "LM Noto Sans Arabic";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 115%;
  src: url("/fonts/arabic/NotoSansArabic-Regular.woff2?v=b7aa17b2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "LM Noto Sans Arabic";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 115%;
  src: url("/fonts/arabic/NotoSansArabic-Bold.woff2?v=b7aa17b2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "LM Noto Sans Arabic";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  size-adjust: 115%;
  src: url("/fonts/arabic/NotoSansArabic-Regular.woff2?v=b7aa17b2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "LM Noto Sans Arabic";
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  size-adjust: 115%;
  src: url("/fonts/arabic/NotoSansArabic-Bold.woff2?v=b7aa17b2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "LM Noto Naskh Arabic";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 115%;
  src: url("/fonts/arabic/NotoNaskhArabic-Regular.woff2?v=b7aa17b2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "LM Noto Naskh Arabic";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 115%;
  src: url("/fonts/arabic/NotoNaskhArabic-Bold.woff2?v=b7aa17b2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "LM Noto Naskh Arabic";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  size-adjust: 115%;
  src: url("/fonts/arabic/NotoNaskhArabic-Regular.woff2?v=b7aa17b2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "LM Noto Naskh Arabic";
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  size-adjust: 115%;
  src: url("/fonts/arabic/NotoNaskhArabic-Bold.woff2?v=b7aa17b2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
