/* Arabic overrides for /ar/solutions/ai-integration/ and /ar/solutions/workflow-automation/.
   Loaded before /rtl.css, so every rule leads with :root[lang=ar] plus the page class. */

/* Arrows point the way an Arabic reader travels: right to left. */
@media(min-width:900px) {
  :root[lang=ar] .integration-page .int-step+.int-step::before { content:"←"; }
}
:root[lang=ar] .workflow-page .wf-arrow svg { transform:scaleX(-1); }

/* Physical edges that the English page draws on the left. */
:root[lang=ar] .integration-page .int-message { border-radius:16px 16px 4px 16px; }
:root[lang=ar] .integration-page .int-card { border-left:1px solid var(--line);border-inline-start:3px solid var(--ocean-mid); }
/* The arrival window runs from "now" on the right to "later" on the left. */
:root[lang=ar] .integration-page .qp-window b { left:auto;right:38%; }

/* Hover nudges follow the mirrored arrows (↖ instead of ↗). */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  :root[lang=ar] :is(.integration-page,.workflow-page) .action:hover>span[aria-hidden="true"] { transform:translateX(-3px); }
  :root[lang=ar] :is(.integration-page,.workflow-page) .int-related a:hover>span[aria-hidden] { translate:-3px -3px; }
}
/* "في الطريق" stays on one line beside the wider Arabic AI badge. */
:root[lang=ar] .integration-page .qp-row .qp-value { white-space:nowrap; }
