/* ==========================================================================
   Arabic (right to left) fixes: the header, its four mega menus and the film
   lightbox. Load after css/teradix-rtl.css. Scope: .nav__*, .mega__*,
   .mCard__go, .lb__*.
   Every selector starts with [dir="rtl"].

   Already done by the base (sections 5 to 7 of teradix-rtl.css), not repeated
   here: bar order (logo right, actions left), column order and dividers, side
   card margin, arrow direction and hover nudge, the primary button's offset
   block, menu line-heights, the lime edge gradient, the glider kept physical.
   ========================================================================== */

/* ---- 1. Bar --------------------------------------------------------------- */
/* Each label is one phrase and never breaks, also at the narrow desktop widths. */
[dir="rtl"] .nav__link,
[dir="rtl"] .nav__ghost,
[dir="rtl"] .nav__right .btn,
[dir="rtl"] .mega__side .btn{white-space:nowrap}

/* ---- 1b. Small labels ------------------------------------------------------ */
/* The English column heads, side-card eyebrow and stat caption are 10.5 to
   11.5px capitals with tracking. Arabic has neither capitals nor tracking, so
   at the same size the words read a step smaller than the English ones. */
[dir="rtl"] .mCol__h,
[dir="rtl"] .mega__side .eyebrow{font-size:12px}
[dir="rtl"] .mega__stat span{font-size:12.5px}

/* ---- 2. Side card --------------------------------------------------------- */
/* The base isolates the figure so "+10" keeps its Latin order; that also turns
   its box left to right, so the figure is pinned back to the right edge. */
[dir="rtl"] .mega__stat b{text-align:right}
/* The text link keeps label then arrow, reading right to left, on one line. */
[dir="rtl"] .mCard__go{white-space:nowrap;line-height:var(--lh-ar-ui)}

/* ---- 3. Film lightbox ----------------------------------------------------- */
/* The close control moves to the leading top corner. The video itself is media
   and is never mirrored. */
[dir="rtl"] .lb__x{right:auto;left:0}
