/* ═══ Examination Module — Font Declarations ═══ */

/* English — Inter (self-hosted variable font) */
@font-face {
    font-family: 'Inter';
    src: url('english/Inter-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* English — Merriweather */
@font-face {
    font-family: 'Merriweather';
    src: url('english/Merriweather-Regular.ttf') format('truetype');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

/* English — Revue BT */
@font-face {
    font-family: 'Revue BT';
    src: url('english/RevueBT.ttf') format('truetype');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RevueBT';
    src: url('english/RevueBT.ttf') format('truetype');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

/* Urdu — Jameel Noori Nastaleeq Regular */
@font-face {
    font-family: 'Jameel Noori Nastaleeq';
    src: url('urdu/Jameel%20Noori%20Nastaleeq%20Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Arabic — Amiri */
@font-face {
    font-family: 'Amiri';
    src: url('arabic/Amiri-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Amiri';
    src: url('arabic/Amiri-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Arabic — Noto Naskh Arabic */
@font-face {
    font-family: 'Noto Naskh Arabic';
    src: url('arabic/NotoNaskhArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ═══ Utility classes ═══ */
.font-en { font-family: 'Inter', sans-serif; direction: ltr; }
.font-ur { font-family: 'Jameel Noori Nastaleeq', serif; direction: rtl; }
.font-ar { font-family: 'Amiri', 'Noto Naskh Arabic', serif; direction: rtl; }

.exam-rtl { direction: rtl; text-align: right; }
.exam-ltr { direction: ltr; text-align: left; }

/* Inline mixed-language spans (used by TinyMCE rtl-span/ar-span/ltr-span buttons) */
.inline-rtl { direction: rtl; unicode-bidi: embed; font-family: 'Jameel Noori Nastaleeq', serif; }
.inline-ar  { direction: rtl; unicode-bidi: embed; font-family: 'Amiri', 'Noto Naskh Arabic', serif; }
.inline-ltr { direction: ltr; unicode-bidi: embed; }
