/* Right-to-left article pages (Urdu and Dari). Loaded only by those pages,
   so the shared stylesheet and its cache are untouched. The site header and
   footer stay in English, left to right. */
.rtl-article{direction:rtl;text-align:right}
.rtl-article *{letter-spacing:0!important}
.rtl-article .prose ul,.rtl-article .prose ol{padding-left:0;padding-right:1.375rem}
.rtl-article .prose th,.rtl-article .prose td{text-align:right}
.rtl-article .prose td .icon{margin-right:0;margin-left:.25rem}
.rtl-article .breadcrumb li+li::before{margin-right:0;margin-left:.375rem}
.rtl-article .ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}

/* Urdu: Nastaliq needs extra line height so letters do not overlap */
.rtl-article:lang(ur){font-family:"Noto Nastaliq Urdu","Jameel Noori Nastaleeq","Urdu Typesetting","Noto Naskh Arabic",serif;line-height:2.15}
.rtl-article:lang(ur) h1{line-height:1.75}
.rtl-article:lang(ur) h2,.rtl-article:lang(ur) h3,.rtl-article:lang(ur) summary{line-height:1.9}
.rtl-article:lang(ur) .prose th,.rtl-article:lang(ur) .prose td{line-height:2}

/* Dari */
.rtl-article:lang(fa){font-family:"Vazirmatn",Tahoma,"Segoe UI",sans-serif;line-height:1.95}
.rtl-article:lang(fa) h1,.rtl-article:lang(fa) h2,.rtl-article:lang(fa) h3{line-height:1.5}

/* Store badges, app names and links keep their own direction */
.rtl-article .store-badges{direction:ltr;justify-content:flex-end}
.rtl-article .article-cta .store-badges{justify-content:center}
