@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');

/*
 * Urdu-only glyph override:
 * The unicode-range alias ensures only Urdu/Arabic-script characters use Noto Nastaliq Urdu,
 * while English and other Latin text keep the existing project font stack.
 */
@font-face {
    font-family: 'AKUrduGlyph';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/notonastaliqurdu/v23/LhW4MUPbN-oZdNFcBy1-DJYsEoTq5pu3SvoMC9Y.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC;
}

html,
body,
input,
button,
select,
textarea,
body *:not(i):not(.fa):not([class^='fa-']):not([class*=' fa-']):not([class^='flaticon-']):not([class*=' flaticon-']) {
    font-family: 'AKUrduGlyph', 'Nunito', sans-serif !important;
}

/* Respect explicit Urdu language tagging where present. */
:lang(ur),
[lang='ur'],
[lang^='ur-'] {
    font-family: 'AKUrduGlyph', 'Nunito', sans-serif !important;
    direction: rtl;
    text-align: right;
}
