/* Salafiyyah Maldives typography — v2.4.6
   Exact font files requested by the site owner. */
@font-face {
    font-family: mv_faseyha;
    src: url("/assets/fonts/mv_faseyha.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0780-07BF; /* Thaana only */
}

@font-face {
    font-family: mv_waheed;
    src: url("/assets/fonts/mv_waheed.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0780-07BF; /* Thaana only */
}

@font-face {
    font-family: Traditional_Arabic;
    src: url("/assets/fonts/Traditional_arabic.TTF") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; /* Arabic */
}

/* Normal article/body Thaana. Arabic falls through to Traditional Arabic. */
#content p,
#content li,
#content td,
#content th,
#content blockquote,
#content dd,
#content dt,
#content .article-content,
#content .item-page,
#system .item-page,
#system .item-page p,
#system .item-page li {
    font-family: mv_faseyha, Traditional_Arabic, Arial, sans-serif !important;
}

/* Bold/strong Thaana uses MV Waheed. Arabic falls through to Traditional Arabic. */
#content strong,
#content b,
#system .item-page strong,
#system .item-page b {
    font-family: mv_waheed, Traditional_Arabic, Arial, sans-serif !important;
}

/* Main article titles and headings. */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#content .title,
#content .page-header,
#content .page-header a,
#system .item-page h1,
#system .item-page h2,
#system .item-page h3,
#system .item-page h4,
#system .item-page h5,
#system .item-page h6 {
    font-family: mv_waheed, Traditional_Arabic, Arial, sans-serif !important;
}

/* Explicitly marked Arabic always uses Traditional Arabic, for both normal and bold/title text. */
#content [lang="ar"],
#content [lang^="ar-"],
#content .arabic,
#system .item-page [lang="ar"],
#system .item-page [lang^="ar-"],
#system .item-page .arabic {
    font-family: Traditional_Arabic, serif !important;
}

#content h1[lang="ar"], #content h2[lang="ar"], #content h3[lang="ar"],
#content h4[lang="ar"], #content h5[lang="ar"], #content h6[lang="ar"],
#content [lang="ar"] strong, #content [lang="ar"] b,
#content .arabic strong, #content .arabic b {
    font-family: Traditional_Arabic, serif !important;
}

/* Native homepage cards/excerpts. */
body.smh-home-modern .smh-native-hero-title,
body.smh-home-modern .smh-native-card-title,
body.smh-home-modern .smh-native-section-title,
body.smh-home-modern .smh-native-kicker {
    font-family: mv_waheed, Traditional_Arabic, Arial, sans-serif !important;
}

body.smh-home-modern .smh-native-hero-excerpt {
    font-family: mv_faseyha, Traditional_Arabic, Arial, sans-serif !important;
}
