/* Persian.
   Loaded only by the /fa pages, on top of dis.css rather than instead of it,
   so the layout, colour and spacing stay identical across the three languages
   and only the things that genuinely differ are restated here. */

@font-face{font-family:Vazirmatn;font-style:normal;font-weight:400;font-display:swap;
  src:url(/assets/vazirmatn-arabic-400-normal.woff2) format('woff2')}
@font-face{font-family:Vazirmatn;font-style:normal;font-weight:600;font-display:swap;
  src:url(/assets/vazirmatn-arabic-600-normal.woff2) format('woff2')}

/* Persian needs more leading than Latin at the same size: the ascenders and
   the dots below the baseline collide otherwise. */
body{font-family:Vazirmatn,Sora,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  line-height:1.85}
h1,h2,h3,h4{line-height:1.5}

/* The wordmark, the product names and the patent numbers are Latin and stay
   Latin — including their direction, so "TÜRKPATENT 2026/015110" does not get
   reordered by the surrounding right-to-left paragraph. */
.brand,.bname b,.bname i,.pat,.langs,code,.mono{direction:ltr;unicode-bidi:isolate}
.pat b{unicode-bidi:isolate}

/* Letter-spacing is a Latin typographic device. Applied to Persian it pulls
   the joined letters of a word apart, which is not emphasis — it is a broken
   word. */
[lang="fa"] h1,[lang="fa"] h2,[lang="fa"] h3,[lang="fa"] p,
[lang="fa"] li,[lang="fa"] .lead{letter-spacing:normal}

/* An e-mail address, a phone number or a URL inside a Persian sentence. */
a[href^="mailto:"],a[href^="tel:"],a[href^="http"]{unicode-bidi:isolate}

/* The arrow in "read more →" points the other way when the text does. */
.go span,.btn span{display:inline-block;transform:scaleX(-1)}
