/* Right-to-left fixes for ar/solutions-procurement.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 two 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}

/* ── 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"}

/* ── hero drawing: its legend (Price, Terms, Delivery) is outlined inside the SVG ──
   The picture is never flipped and cannot be edited here, so the English legend corner is
   cut away (a static clip, nothing animates) and the same three keys are set in HTML on
   the same spot, each swatch on the right of its word as Arabic reads. Positions are physical on purpose: they follow the drawing, not the page. */
[dir="rtl"] .sol .sol-hero__art{position:relative}
[dir="rtl"] .sol .sol-hero__art img{clip-path:polygon(23% 0,100% 0,100% 100%,0 100%,0 40%,23% 40%)}
[dir="rtl"] .sol .sol-hero__key{position:absolute;left:3.4%;top:16%;margin:0;padding:0;list-style:none;
  display:grid;gap:.35em;direction:rtl;justify-items:start;
  font:500 clamp(11px,1.15vw,17px)/1.5 var(--body);color:#C9CCF5}
[dir="rtl"] .sol .sol-hero__key li{display:flex;align-items:center;gap:.6em}
[dir="rtl"] .sol .sol-hero__key li::before{content:"";flex:0 0 auto;width:.8em;height:.8em;background:#fff}
[dir="rtl"] .sol .sol-hero__key li:nth-child(2)::before{background:#A9ADFF}
[dir="rtl"] .sol .sol-hero__key li:nth-child(3)::before{background:#2F3BC4}
