/*
 * Arabic-script typography for the RTL locales (ku, ar).
 *
 * Loaded by partials/fonts.blade.php only when the page renders in an RTL
 * locale. The theme stylesheet sets its Latin faces (DM Sans, Geist,
 * DM Serif Display) on many elements directly, so inheritance from <body>
 * alone cannot re-font the page — this walks every element instead, and
 * !important lets it win regardless of where the admin-managed theme CSS
 * lands in the cascade.
 *
 * Exclusions keep their own faces: Font Awesome glyphs (fa- classes),
 * monospace code samples, and the masthead (.header-inner) — its wordmark
 * stays in English (DM Serif Display) in every locale, so it must keep the
 * identical face and tracking whichever language is active. Exclusion is
 * enough there because its only text, .logo-title, carries an explicit
 * theme font-family rule; text added to the masthead without one would
 * inherit the Arabic face from <body>.
 *
 * letter-spacing: Arabic letters join; the theme's Latin tracking (up to
 * 0.2em on labels) visibly breaks the ligatures, so it is reset wholesale.
 */
html[dir="rtl"] body,
html[dir="rtl"] body *:not([class*="fa-"]):not(code):not(pre):not(kbd):not(samp):not(.header-inner):not(.header-inner *) {
    font-family: "IBM Plex Sans Arabic", "DM Sans", sans-serif !important;
    letter-spacing: 0 !important;
}
