/* =============================================================================
   KWL360 — RTL OVERRIDES
   Loaded only when is_rtl() (Arabic and other RTL locales). Most spacing is
   already logical-property based (inset-inline-*), these overrides handle
   the remaining physical-direction exceptions.
   ========================================================================== */

body.kwl-rtl{ direction: rtl; text-align: right; }

.kwl-rtl .kwl-menu{ flex-direction: row-reverse; }
.kwl-rtl .kwl-header-actions{ flex-direction: row-reverse; }
.kwl-rtl .kwl-hero-grid{ direction: rtl; }
.kwl-rtl .kwl-slide-content{ text-align: right; }
.kwl-rtl .kwl-timeline{ padding-inline-start: 0; padding-inline-end: 26px; }
.kwl-rtl .kwl-timeline::before{ inset-inline-start: auto; inset-inline-end: 5px; }
.kwl-rtl .kwl-timeline-marker{ inset-inline-start: auto; inset-inline-end: -26px; }
.kwl-rtl .kwl-trend-rank{ direction: ltr; }
.kwl-rtl .kwl-breaking-inner{ flex-direction: row-reverse; }
.kwl-rtl .kwl-footer-bottom-inner{ flex-direction: row-reverse; }
.kwl-rtl .kwl-404-code{ direction: ltr; }
.kwl-rtl .kwl-search-form input{ text-align: right; }

/* Cairo has slightly larger default metrics for Arabic glyphs; nudge line-height
   and letter-spacing back to a comfortable, professional reading rhythm. */
.kwl-rtl body,
.kwl-rtl p,
.kwl-rtl .kwl-card-excerpt,
.kwl-rtl .kwl-single-content{ line-height: 1.9; letter-spacing: 0; }
.kwl-rtl h1, .kwl-rtl h2, .kwl-rtl h3, .kwl-rtl h4{ letter-spacing: 0; line-height: 1.4; }
