/* Self-hosted Zain: Arabic-script subset (Arabic + Kurdish Sorani letters) and Latin subset.
   Used by the frontend stylesheets as the Arabic/Kurdish face; Nunito (Google Fonts) covers Latin on LTR pages.
   size-adjust: Zain draws ~24% bigger than Nunito at the same font-size, which broke RTL layouts;
   85% is the default. The value set in Settings > Fonts is emitted by App\Support\FontManager
   after this file (a later identical @font-face wins). */

@font-face {
    font-family: 'Zain';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    size-adjust: 85%; /* see App\Support\FontManager::zainFaces() */
    src: url('/assets/fonts/zain/zain-arabic-400.woff2') format('woff2'),
         url('/assets/fonts/zain/zain-arabic-400.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E, U+2010-2011;
}

@font-face {
    font-family: 'Zain';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    size-adjust: 85%; /* see App\Support\FontManager::zainFaces() */
    src: url('/assets/fonts/zain/zain-latin-400.woff2') format('woff2'),
         url('/assets/fonts/zain/zain-latin-400.ttf') format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Zain';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    size-adjust: 85%; /* see App\Support\FontManager::zainFaces() */
    src: url('/assets/fonts/zain/zain-arabic-700.woff2') format('woff2'),
         url('/assets/fonts/zain/zain-arabic-700.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E, U+2010-2011;
}

@font-face {
    font-family: 'Zain';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    size-adjust: 85%; /* see App\Support\FontManager::zainFaces() */
    src: url('/assets/fonts/zain/zain-latin-700.woff2') format('woff2'),
         url('/assets/fonts/zain/zain-latin-700.ttf') format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
