/* RTL overrides — loaded only when is_rtl(). Logical properties in site.css cover most cases; list explicit flips here. */
[dir="rtl"] body{font-family:"IBM Plex Sans Arabic","IBM Plex Sans",sans-serif}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] .label,[dir="rtl"] .btn,[dir="rtl"] .nav a{font-family:"Cairo","Montserrat",sans-serif;letter-spacing:0}
[dir="rtl"] .hero .stack{transform:scaleX(-1)}
/* C75-010 fix (12 Nov 2026): .marquee .track is a decorative, non-text
   infinite-scroll strip of client logos -- it carries no language content,
   but as a `white-space:nowrap` INLINE layout, .marquee's own `dir="rtl"`
   right-aligns its inline content (the track), so the track's un-animated
   rest position sits flush with the RIGHT edge of a 1440px container
   instead of the left -- for a track wider than its container (confirmed
   live: track width 5099px vs container 1440px), that means its natural
   left edge starts around -3659px before the scroll animation even runs,
   compounding with the animation's own translateX(-50%) to put the whole
   strip permanently off-screen. The earlier `direction:ltr` fix on
   `.track` alone did not address this because the misalignment comes
   from `.marquee`'s inline-content direction, not `.track`'s own layout
   direction. Fix: force `direction:ltr` AND `text-align:left` on the
   `.marquee` container itself so the track's rest position (and from
   there, the animation) behaves exactly as it does on EN.
*/
[dir="rtl"] .marquee{direction:ltr;text-align:left}
[dir="rtl"] .marquee .track{direction:ltr}
[dir="rtl"] .marquee .track{animation-direction:reverse}
[dir="rtl"] .label::before{margin-left:.7rem;margin-right:0}
[dir="rtl"] .link::after{content:"←";margin:0 .4em 0 0}
[dir="rtl"] .flow>div::after{right:auto;left:-14px;border-left-color:transparent;border-right-color:inherit}
[dir="rtl"] .ind{border-left:0;border-right:3px solid transparent}
[dir="rtl"] .ind:hover{border-right-color:var(--c)}
