/*
 * YASIN & TAHLIL - GLOBAL ARABIC FONT
 * Scheherazade New
 */

@font-face {
    font-family: 'Scheherazade New';
    src: url('/assets/fonts/ScheherazadeNew-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Scheherazade New';
    src: url('/assets/fonts/ScheherazadeNew-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Scheherazade New';
    src: url('/assets/fonts/ScheherazadeNew-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Scheherazade New';
    src: url('/assets/fonts/ScheherazadeNew-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Common Arabic selectors used across the project */
.arabic,
.arabic-text,
.arab-text,
.text-arab,
.text-arabic,
.teks-arab,
.teks_arab,
.tawasul-arab,
.tawasul_arab,
.quran-arab,
.ayat-arab,
.pf-hubungan-arab,
.pf-arab-input,
.arab-editor,
[dir="rtl"] {
    font-family: 'Scheherazade New', serif !important;
}

/* Preserve direction and alignment for Arabic blocks */
.arabic,
.arabic-text,
.arab-text,
.text-arab,
.text-arabic,
.teks-arab,
.teks_arab,
.tawasul-arab,
.tawasul_arab,
.quran-arab,
.ayat-arab,
.pf-hubungan-arab,
.pf-arab-input,
.arab-editor,
[dir="rtl"] {
    direction: rtl;
}
