/* Right-to-left fixes for ar/industry-food-fmcg.html (everything inside <main class="sol">).
   Load after css/teradix-rtl.css. Every selector starts with [dir="rtl"].
   The grids and flex rows follow the direction on their own; this file only swaps what is
   physical (margins, paddings, the text arrow) and gives Arabic the line-height it needs.
   The illustrations (.ill) change side with their column and are never flipped. */

/* ── type: Arabic needs more leading than the Latin values ──────────────── */
[dir="rtl"] .sol .sol-hero h1{line-height:var(--lh-ar-h1);max-width:16ch}
[dir="rtl"] .sol .sol-hero .lead{line-height:1.75}
[dir="rtl"] .sol .sect-head .lead,
[dir="rtl"] .sol .sol-proof .sect-head .lead,
[dir="rtl"] .sol .sol-cta .lead{line-height:1.75}
[dir="rtl"] .sol .sol-link{line-height:var(--lh-ar-ui)}
[dir="rtl"] .sol .sol-prob h3,
[dir="rtl"] .sol .sol-ans h3{line-height:var(--lh-ar-h3)}
[dir="rtl"] .sol .sol-prob p,
[dir="rtl"] .sol .sol-ans p{line-height:var(--lh-ar-copy)}
[dir="rtl"] .sol .sol-nums span,
[dir="rtl"] .sol .sol-facts,
[dir="rtl"] .sol .sol-also__c span,
[dir="rtl"] .sol .sol-proof__note,
[dir="rtl"] .sol .sol-sec{line-height:1.75}
[dir="rtl"] .sol .sol-also__c b{line-height:var(--lh-ar-h3)}
[dir="rtl"] .sol .sol-also__c i{line-height:var(--lh-ar-ui)}

/* ── the answers ───────────────────────────────────────────────────────── */
/* "تعالج المشكلة 01": the number follows the words, so its gap moves to the right */
[dir="rtl"] .sol .sol-ans__tag{line-height:var(--lh-ar-ui);font-size:13px}
[dir="rtl"] .sol .sol-ans__tag b{margin-left:0;margin-right:6px}

/* the remaining modules: label gap and the icon side of each pill */
[dir="rtl"] .sol .sol-mods__h{margin-right:0;margin-left:8px;line-height:var(--lh-ar-ui)}
[dir="rtl"] .sol .sol-mod{padding:7px 7px 7px 16px;line-height:var(--lh-ar-ui)}

/* ── proof band: figures stay in their Latin order (<bdi> in the markup) ── */
[dir="rtl"] .sol .sol-nums b{letter-spacing:0}
[dir="rtl"] .sol .sol-proof h2{max-width:26ch}

/* the Modern Bakeries card: the gradient is decorative and stays; only the type is lifted */
[dir="rtl"] .sol .sol-story__who span{line-height:var(--lh-ar-ui);font-size:13px;padding:5px 12px}
[dir="rtl"] .sol .sol-story h3{line-height:var(--lh-ar-h3);max-width:26ch}
[dir="rtl"] .sol .sol-story p{line-height:var(--lh-ar-copy)}
[dir="rtl"] .sol .sol-story__pts b{line-height:var(--lh-ar-h3);letter-spacing:0}
[dir="rtl"] .sol .sol-story__pts span{line-height:1.75}

/* ── on top of your ERP ────────────────────────────────────────────────── */
/* system names are Latin: keep their line box tight so the pills stay the English height */
[dir="rtl"] .sol .sol-chips li{line-height:1}

/* ── the other pages: the text arrow is a glyph, so it is swapped, not mirrored ── */
[dir="rtl"] .sol .sol-also__c i::after{content:" \2190"}
