/* Persian pages: IRANSansX (Fontiran, licensed by Bisan), Persian-numeral cut.
   Declared under its own name and, limited to Arabic-script code points and
   digits, under the two Latin families the site uses: Persian letters and all
   numbers take IRANSansX (so digits read as Persian numerals), Latin words stay
   in Adelle Sans. */
@font-face { font-family: "IRANSansX"; font-weight: 400; font-display: swap; src: url("iransansx-fanum-400.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 500; font-display: swap; src: url("iransansx-fanum-500.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 600; font-display: swap; src: url("iransansx-fanum-600.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 700; font-display: swap; src: url("iransansx-fanum-700.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 800; font-display: swap; src: url("iransansx-fanum-800.woff2") format("woff2"); }
@font-face { font-family: "IRANSansX"; font-weight: 900; font-display: swap; src: url("iransansx-fanum-900.woff2") format("woff2"); }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 100 450; font-display: swap; src: url("iransansx-fanum-400.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 451 550; font-display: swap; src: url("iransansx-fanum-500.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 551 650; font-display: swap; src: url("iransansx-fanum-600.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 651 750; font-display: swap; src: url("iransansx-fanum-700.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 751 850; font-display: swap; src: url("iransansx-fanum-800.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 851 1000; font-display: swap; src: url("iransansx-fanum-900.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 100 450; font-display: swap; src: url("iransansx-fanum-400.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 451 550; font-display: swap; src: url("iransansx-fanum-500.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 551 650; font-display: swap; src: url("iransansx-fanum-600.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 651 750; font-display: swap; src: url("iransansx-fanum-700.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 751 850; font-display: swap; src: url("iransansx-fanum-800.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 851 1000; font-display: swap; src: url("iransansx-fanum-900.woff2") format("woff2");
             unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }


/* Exact weights as well as the ranges above. Where the Latin family has its own
   face at a weight (Adelle 400, 800...), Chrome matches that face alone and the
   range faces are never consulted, so headings fell back to the system font. */
@font-face { font-family: "Adelle Sans EXT"; font-weight: 300; font-display: swap; src: url("iransansx-fanum-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 400; font-display: swap; src: url("iransansx-fanum-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 500; font-display: swap; src: url("iransansx-fanum-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 600; font-display: swap; src: url("iransansx-fanum-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 700; font-display: swap; src: url("iransansx-fanum-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 800; font-display: swap; src: url("iransansx-fanum-800.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Adelle Sans EXT"; font-weight: 900; font-display: swap; src: url("iransansx-fanum-900.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 300; font-display: swap; src: url("iransansx-fanum-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("iransansx-fanum-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("iransansx-fanum-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("iransansx-fanum-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("iransansx-fanum-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("iransansx-fanum-800.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 900; font-display: swap; src: url("iransansx-fanum-900.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0030-0039; }

html[lang="fa"] {
    --font-primary: "Adelle Sans EXT", "IRANSansX", system-ui, sans-serif;
}

/* Latin-only Adelle, for codes such as PHP2Shell whose digits must stay Latin */
@font-face { font-family: "Adelle Latin"; font-weight: 400; font-display: swap; src: url("/fonts/font/AdelleSansEXT-Regular.woff2") format("woff2"); }
@font-face { font-family: "Adelle Latin"; font-weight: 600; font-display: swap; src: url("/fonts/font/AdelleSansEXT-Semibold.woff2") format("woff2"); }
@font-face { font-family: "Adelle Latin"; font-weight: 700; font-display: swap; src: url("/fonts/font/AdelleSansEXT-Bold.woff2") format("woff2"); }
@font-face { font-family: "Adelle Latin"; font-weight: 800; font-display: swap; src: url("/fonts/font/AdelleSansEXT-Extrabold.woff2") format("woff2"); }
@font-face { font-family: "Adelle Latin"; font-weight: 900; font-display: swap; src: url("/fonts/font/AdelleSansEXT-Heavy.woff2") format("woff2"); }
html[lang="fa"] .latin-code { font-family: "Adelle Latin", "Adelle Sans EXT", sans-serif; direction: ltr; unicode-bidi: isolate; }
