/* ============================================================
   AMEDIA — Kalameh font face (fa / ar / en)
   The space glyph in Kalameh is narrow, so words look glued
   together. We compensate with word-spacing in RTL below.
   ============================================================ */

@font-face { font-family: "Kalameh"; src: url("../fonts/Kalameh-Light.ttf") format("truetype");     font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalameh"; src: url("../fonts/Kalameh-Regular.ttf") format("truetype");   font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalameh"; src: url("../fonts/Kalameh-Medium.ttf") format("truetype");    font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalameh"; src: url("../fonts/Kalameh-SemiBold.ttf") format("truetype");  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalameh"; src: url("../fonts/Kalameh-Bold.ttf") format("truetype");      font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalameh"; src: url("../fonts/Kalameh-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalameh"; src: url("../fonts/Kalameh-Black.ttf") format("truetype");     font-weight: 900; font-style: normal; font-display: swap; }

/* word-spacing fix — Kalameh glues words; loosen the gap.
   Latin (en) needs almost none, so scope the bigger value to RTL. */
html[dir="rtl"] body { word-spacing: 0.10em; }
html[dir="ltr"] body { word-spacing: 0.01em; }

/* headings can take a touch more air without looking sparse */
html[dir="rtl"] .display,
html[dir="rtl"] .h1,
html[dir="rtl"] .h2,
html[dir="rtl"] .h3 { word-spacing: 0.06em; letter-spacing: 0; }
