/* Urdu (RTL) pages only: Nastaleeq script.
   Noto Nastaliq Urdu (Google Fonts, free); visitors who have Jameel Noori Nastaleeq installed fall back to it. */
[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button,
[dir="rtl"] .btn,
[dir="rtl"] .form-control {
    font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
}

/* Nastaleeq is tall: give lines room so diacritics and descenders do not overlap */
[dir="rtl"] body { line-height: 2.2; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .h1, [dir="rtl"] .h2, [dir="rtl"] .h3, [dir="rtl"] .h4, [dir="rtl"] .h5, [dir="rtl"] .h6 {
    line-height: 1.9;
}
[dir="rtl"] .form-control { height: auto; min-height: calc(1.5em + .75rem + 2px); }
