/* The one Quran face of the site: the King Fahd Complex's Uthmanic Hafs
   font, made for the Uthmani text (public/assets/uploads/quran.uthmani.json,
   read through App\Support\Quran::DISPLAY). Its plain Arabic-Indic digits
   draw the ayah-end rosette, so an ayah number needs no extra markup.
   The file only downloads on pages that actually use the face. */
@font-face {
    font-family: 'KFGQPC Hafs';
    src: url('../fonts/quran/UthmanicHafs1Ver18.woff2') format('woff2');
    font-display: swap;
}

.quran-text {
    font-family: 'KFGQPC Hafs', 'Amiri Quran', 'Amiri', serif;
    font-weight: 400;
    letter-spacing: normal;
    word-spacing: normal;
}

/* an ayah number inside .quran-text: the font draws it as the rosette */
.quran-text .quran-end {
    color: #0F6B4F;
    white-space: nowrap;
}

/* Set by quran-tanween-v1.js on elements whose text has the mushaf's
   sequential tanween (U+0656 / U+0657 / U+065E): only this face draws them. */
html body .quran-tanween {
    font-family: 'KFGQPC Hafs', 'Amiri Quran', 'Amiri', serif !important;
    /* this face is drawn ~20% smaller than Amiri Quran at the same size; keep the word the size of its neighbours */
    font-size-adjust: 0.6;
}
