@font-face{font-family:"Videtics Arabic";src:url("assets/NotoSansArabic.ttf") format("truetype");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+10E60-10E7F,U+1EE00-1EEFF;}
/*
 * Videtics Arabic — additive draft, 24 October 2026. NOT visually QA'd.
 * Revision 2: verified against local runtime, navigation and component selectors.
 * Load after theme, editor, navigation, resources and per-article styles.
 * Contract: WordPress emits <html lang="ar-SA" dir="rtl"> (ar also matches).
 * Do not use CSS to substitute for that semantic base direction.
 * Font prerequisite: provision a licensed, self-hosted Arabic family under the
 * @font-face alias "Videtics Arabic", weights 400–700, font-style:normal,
 * font-display:swap, restricted to Arabic Unicode ranges. Recommended source:
 * https://github.com/google/fonts/tree/main/ofl/notosansarabic (OFL 1.1).
 * Example unicode-range: U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,
 * U+FB50-FDFF,U+FE70-FEFF,U+10E60-10E7F,U+1EE00-1EEFF.
 * No font URL is invented here. Without provisioning, browser fallback applies.
 * This Arabic-only alias preserves Suisse Intl for Latin even in mixed sentences.
 * No photographs, product captures, logos, complete SVGs or entire layouts mirror.
 */

/* Type: release the Latin tracking and tight leading; preserve centered sections. */
html[lang|="ar"][dir="rtl"] body {
  --vd-arabic-font: "Videtics Arabic";
  --vd-font-pair: var(--vd-arabic-font), "Suisse Intl", Arial, sans-serif;
  --wp--preset--font-family--suisse-intl: var(--vd-font-pair);
  --wp--preset--font-family--suisse-book: var(--vd-font-pair);
  --font-sans: var(--vd-font-pair);
  --font-heading: var(--vd-font-pair);
  font-family: var(--vd-font-pair);
  font-style: normal;
  letter-spacing: normal;
  line-height: 1.85;
}
html[lang|="ar"][dir="rtl"] :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--vd-font-pair) !important;
  letter-spacing: normal !important;
  font-style: normal !important;
  line-height: 1.4 !important;
  text-transform: none;
  word-break: normal;
}
html[lang|="ar"][dir="rtl"] :is(button,input,textarea,select,.ve-main-nav,.ve-language-switch,.ve-guide,.vb-article-header,.ve-menu-feature p,.ve-breadcrumb,.v-eyebrow,.v-49,.v-62) {
  font-family: var(--vd-font-pair);
  letter-spacing: normal;
}
html[lang|="ar"][dir="rtl"] :is(.vr-eyebrow,.vb-kicker,.vf-section-label,.vm-eyebrow,.vm-masthead,.ve-eyebrow,.ve-chapter-label,.ve-toc summary,.ve-fiction,.ve-workload>span,.vd-step-caption,.cp-caption,.gl-kicker,.vpa-diagram-label,.vg-toc-label,.vp-network-label) {
  letter-spacing: normal !important;
  text-transform: none;
  line-height: 1.7;
}
html[lang|="ar"][dir="rtl"] :is(.vb-article,.ve-guide,.vr-page,.vd-page,.vpa-page,.vs-page,.vl-page) :is(p,li,figcaption,small,label) { line-height: 1.85; }
html[lang|="ar"][dir="rtl"] :is(.ve-guide,.vb-article) :is(em,i,cite,blockquote) { font-style: normal !important; }
html[lang|="ar"][dir="rtl"] :is(.v-ltr,bdi[dir="ltr"]) { direction: ltr; unicode-bidi: isolate; }
html[lang|="ar"][dir="rtl"] :is(a[href^="mailto:"],a[href^="tel:"]) { direction: ltr; unicode-bidi: isolate; }

/* Header and menus. Flex/grid already follow the document's RTL direction. */
html[lang|="ar"][dir="rtl"] header .wp-block-navigation { margin-left: 0; margin-inline-start: auto; }
html[lang|="ar"][dir="rtl"] :is(.ve-menu-group>summary,.ve-menu-direct) { line-height: 1.65; }
html[lang|="ar"][dir="rtl"] .ve-menu-column li > a { text-align: start; }
html[lang|="ar"][dir="rtl"] .ve-menu-column :is(a,small) { line-height: 1.7; }
html[lang|="ar"][dir="rtl"] .ve-language-options { right: auto; left: auto; inset-inline-end: 0; text-align: start; max-width: calc(100vw - 32px); }
html[lang|="ar"][dir="rtl"] .ve-language-options a { white-space: normal; min-height: 44px; }
html[lang|="ar"][dir="rtl"] header .wp-block-navigation-item__content { text-align: start; }
html[lang|="ar"][dir="rtl"] header .v-submenu-toggle { margin-left: 0; margin-inline-start: auto; }
html[lang|="ar"][dir="rtl"] header .wp-block-navigation-submenu__toggle { margin-left: 0; margin-inline-start: 4px; }
html[lang|="ar"][dir="rtl"] #accueil .v-stream-toggle { right: auto; left: auto; inset-inline-end: 20px; }
html[lang|="ar"][dir="rtl"] main .ve-breadcrumb { text-align: start; }
html[lang|="ar"][dir="rtl"] .ve-breadcrumb :is(ol,ul) { padding-inline: 0; }
html[lang|="ar"][dir="rtl"] :is(.ve-breadcrumb,.vm-breadcrumb) a { overflow-wrap: anywhere; }

/* Existing button ornaments: mirror positions/motion, never the text. */
html[lang|="ar"][dir="rtl"] .v-link:is(.v-12,.v-53,.v-54,.v-116,.v-126) { padding-left: 20px; padding-right: 33px; }
html[lang|="ar"][dir="rtl"] .v-link:is(.v-12,.v-53,.v-54,.v-116,.v-126)::before { left: auto; right: 20px; }
html[lang|="ar"][dir="rtl"] .v-link:is(.v-12,.v-53,.v-54,.v-116,.v-126)::after { right: auto; left: 20px; transform: translateX(-25px); }
html[lang|="ar"][dir="rtl"] .v-link:is(.v-12,.v-53,.v-54,.v-116,.v-126):is(:hover,:focus-visible)::before { transform: translateX(25px); }
html[lang|="ar"][dir="rtl"] .v-link:is(.v-12,.v-53,.v-54,.v-116,.v-126):is(:hover,:focus-visible)::after { transform: translateX(0); }
html[lang|="ar"][dir="rtl"] .v-link:is(.v-12,.v-53,.v-54,.v-116,.v-126):is(:hover,:focus-visible) .v-button-label { transform: translateX(13px); }

/* Homepage/product sections and FAQ. Preserve all centered alignments. */
html[lang|="ar"][dir="rtl"] :is(#avantages .v-71,.v-sector-tab) { text-align: start; }
html[lang|="ar"][dir="rtl"] .v-sector-tab::before { left: auto; right: 0; }
html[lang|="ar"][dir="rtl"] #faq .v-145>div:first-child { border-left: 0; border-inline-start: 1px solid #d1d9ce; padding-left: 0; padding-inline-start: 24px; }
html[lang|="ar"][dir="rtl"] #faq .v-faq summary { padding-left: 0; padding-right: 0; padding-inline-end: 32px; text-align: start; }
html[lang|="ar"][dir="rtl"] #faq .v-faq summary::after { right: auto; left: 0; transform: translateY(-50%) rotate(90deg); }
html[lang|="ar"][dir="rtl"] #faq .v-faq[data-closing] summary::after { transform: translateY(-50%) rotate(90deg); }
html[lang|="ar"][dir="rtl"] #faq .v-faq[open]:not([data-closing]) summary::after { transform: translateY(-50%) rotate(0); }
html[lang|="ar"][dir="rtl"] #perception .v-95 { left: auto; right: 16px; }
html[lang|="ar"][dir="rtl"] #perception .v-96 { left: auto; right: 32px; }
html[lang|="ar"][dir="rtl"] #perception .v-94 > :is(.v-97:not(:last-child),.v-101)::after { content: "←"; right: auto; left: -30px; }

/* Sector, product and group templates. The French-origin flag keeps its orientation. */
html[lang|="ar"][dir="rtl"] :is(.vs-page .vs-image figcaption,.vs-comparison th,.vs-comparison td,.vc-breadcrumb) { text-align: start; }
html[lang|="ar"][dir="rtl"] .vp-console-brand span { border-left: 0; border-inline-start: 1px solid #66816c; padding-left: 0; padding-inline-start: 20px; }
html[lang|="ar"][dir="rtl"] .vp-page .vp-alert-row { border-left: 0; border-inline-start: 3px solid #c4fc00; }
html[lang|="ar"][dir="rtl"] .vp-flow-node:not(:last-child)::after { content: "←"; right: auto; left: -28px; }
html[lang|="ar"][dir="rtl"] .vp-server-image { float: left; margin: 0 30px 16px 0 !important; }
html[lang|="ar"][dir="rtl"] .vg-date::before { margin-right: 0; margin-inline-end: 10px; }
html[lang|="ar"][dir="rtl"] .vg-toc { border-left: 0; border-inline-start: 2px solid #c4fc00; padding-left: 0; padding-inline-start: 20px; }
html[lang|="ar"][dir="rtl"] .vg-page .vg-pledge { border-left: 0; border-inline-start: 3px solid #c4fc00; padding-left: 0; padding-inline-start: 20px; }
html[lang|="ar"][dir="rtl"] .vg-page .vg-check { padding-left: 0; padding-inline-start: 25px; }
html[lang|="ar"][dir="rtl"] .vg-page .vg-red-line { padding-left: 0; padding-inline-start: 32px; }
html[lang|="ar"][dir="rtl"] :is(.vg-check,.vg-red-line)::before { left: auto; right: 0; }

/* Inputs keep semantic language/direction in markup; technical values stay LTR. */
html[lang|="ar"][dir="rtl"] :is(.vd-form,.vpa-form,.vr-checker,.vr-search) { text-align: start; }
html[lang|="ar"][dir="rtl"] :is(.vd-form,.vpa-form,.vr-checker,.vr-search) :is(input,textarea,select,button) { font-family: var(--vd-font-pair); line-height: 1.65; }
html[lang|="ar"][dir="rtl"] :is(input[type="email"],input[type="tel"],input[type="url"]) { direction: ltr; unicode-bidi: isolate; text-align: left; }
html[lang|="ar"][dir="rtl"] :is(.vd-form,.vpa-form) textarea { text-align: start; }
html[lang|="ar"][dir="rtl"] .vd-intro li { padding-left: 0; padding-inline-start: 25px; }
html[lang|="ar"][dir="rtl"] .vd-intro li::before { left: auto; right: 0; }
html[lang|="ar"][dir="rtl"] .vd-progress :is(li,button,span) { line-height: 1.6; white-space: normal; }
html[lang|="ar"][dir="rtl"] :is(.vd-actions,.vpa-actions) { flex-wrap: wrap; }
/* Deliberately do NOT move the offscreen .vd-honey anti-spam field. */
html[lang|="ar"][dir="rtl"] .vpa-detail summary { padding-left: 0; padding-right: 0; padding-inline-end: 28px; text-align: start; }
html[lang|="ar"][dir="rtl"] .vpa-detail summary::after { right: auto; left: 0; }
html[lang|="ar"][dir="rtl"] .vpa-flow-step:not(:last-child)::after { content: "←"; right: auto; left: -17px; }

/* Resources, tables, search and comparison. */
html[lang|="ar"][dir="rtl"] .vr-card-arrow { right: auto; left: 24px; transform: scaleX(-1); }
html[lang|="ar"][dir="rtl"] .vr-faq summary { padding-left: 0; padding-right: 0; padding-inline-end: 48px; text-align: start; }
html[lang|="ar"][dir="rtl"] .vr-faq summary::after { right: auto; left: 6px; }
html[lang|="ar"][dir="rtl"] .vr-result { border-left: 0; border-inline-start: 4px solid #b8ef00; }
html[lang|="ar"][dir="rtl"] :is(.vr-table,.vb-article table,.ve-guide .ve-table) :is(th,td,caption) { text-align: start; }
html[lang|="ar"][dir="rtl"] .cp-node { padding-left: 20px; padding-right: 68px; }
html[lang|="ar"][dir="rtl"] .cp-node .cp-number { left: auto; right: 22px; }

/* Blog magazine: no initial-letter drop cap on joining Arabic characters. */
html[lang|="ar"][dir="rtl"] .vb-article > .wp-block-post-content :is(ul,ol) { padding-left: 0; padding-inline-start: 24px; }
html[lang|="ar"][dir="rtl"] .vb-article > .wp-block-post-content :is(.vf-toc ol,.vf-toc ul,.ve-toc ol,.ve-takeaways ol) { padding-inline: 0; }
html[lang|="ar"][dir="rtl"] body.vb-magazine-story .vf-intro>p:first-child::first-letter { float: none; font: inherit; color: inherit; padding: 0; margin: 0; }
html[lang|="ar"][dir="rtl"] body.vb-magazine-story :is(figure figcaption,.vm-diagram-heading) { text-align: start; }
html[lang|="ar"][dir="rtl"] body.vb-feature-story .vf-step+.vf-step { border-left: 0; border-inline-start: 1px solid #cbd8c8; }
html[lang|="ar"][dir="rtl"] body.vb-feature-story .vf-quote { border-left: 0; border-inline-start: 4px solid var(--vf-lime,#b6ee00); }
html[lang|="ar"][dir="rtl"] body.vb-feature-story .vf-note { border-left: 0; border-inline-start: 3px solid #b8ced8; }
html[lang|="ar"][dir="rtl"] body.vb-magazine-story .vf-summary-card { border-left: 0; border-inline-start: 1px solid #cdd6c6; }
html[lang|="ar"][dir="rtl"] body.vb-magazine-story .vf-summary-card:first-child { border-inline-start: 0; padding-left: 24px; padding-inline-start: 0; }
html[lang|="ar"][dir="rtl"] body.vb-magazine-story .vf-summary-card:last-child { padding-right: 24px; padding-inline-end: 0; }
html[lang|="ar"][dir="rtl"] .vf-sources li { padding-left: 0; padding-inline-start: 6px; }

/* Six editorial guides: side rail naturally starts on the right in RTL. */
html[lang|="ar"][dir="rtl"] body:has(.ve-guide) .vb-article-header h1 { line-height: 1.35 !important; letter-spacing: normal !important; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-intro { margin-left: 0; margin-right: auto; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-hero figcaption .ve-photo-credit { text-align: end; }
html[lang|="ar"][dir="rtl"] .ve-guide :is(.ve-chapter h2,.ve-chapter h3,.ve-panel h3,.ve-takeaways h2,.ve-next h2) { line-height: 1.45 !important; letter-spacing: normal !important; }
html[lang|="ar"][dir="rtl"] .ve-guide :is(.ve-intro>p:first-child,.ve-photo-essay blockquote,.ve-pullquote p) { letter-spacing: normal; line-height: 1.8; }
html[lang|="ar"][dir="rtl"] .ve-guide :is(.ve-chapter li,.ve-method li) { padding-left: 0; padding-inline-start: 6px; }
html[lang|="ar"][dir="rtl"] .ve-guide :is(.ve-chapter ul,.ve-chapter ol,.ve-method ol) { padding-left: 0; padding-inline-start: 24px; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-pullquote { border-left: 0; border-inline-start: 4px solid var(--ve-lime); }
html[lang|="ar"][dir="rtl"] .ve-guide :is(.ve-toc a,.ve-rail-note,.ve-panel figcaption,.ve-decision-step small,.ve-edge-node,.ve-route-link,.ve-integration-node small,.ve-table tbody :is(td,th)::before) { font-size: 13px; line-height: 1.8; }
html[lang|="ar"][dir="rtl"] .ve-guide :is(.ve-eyebrow,.ve-chapter-label,.ve-toc summary) { font-size: 12px; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-decision-step { padding-left: 14px; padding-right: 0; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-decision-step:not(:last-child)::after { left: 0; right: 37px; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-decision-branch { border-left: 0; border-inline-start: 1px solid #8a9d7a; margin-left: 0; margin-right: calc(20% + 18px); }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-decision-branch::before { left: auto; right: 0; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-poc-bar span:last-child { border-left: 0; border-inline-start: 2px solid var(--ve-paper); }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-stop:not(:last-child)::before { left: -26px; right: 41px; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-route-link::after { right: auto; left: 0; border-left: 0; border-right: 5px solid #7a8e6a; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-integration-node { padding-left: 14px; padding-right: 0; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-integration-node::before { left: auto; right: 0; padding-right: 0; padding-left: 8px; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-storage-route { border-left: 0; border-inline-start: 1px solid #8fa27b; margin-left: 0; margin-right: 16px; }
html[lang|="ar"][dir="rtl"] .ve-guide .ve-storage-route>div { margin-right: 0; margin-left: -20px; }
html[lang|="ar"][dir="rtl"] .ve-guide :is(.ve-related a,.ve-button)::after { content: "↖"; }

@media (min-width: 768px) {
  html[lang|="ar"][dir="rtl"] #accueil .v-51 { border-left: 0; border-inline-start: 1px solid #d1d9ce; padding-left: 0; padding-inline-start: 24px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  html[lang|="ar"][dir="rtl"] #perception .v-94 > :is(.v-97:not(:last-child),.v-101)::after { left: -20px; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  html[lang|="ar"][dir="rtl"] .ve-main-menu { gap: 14px; }
  html[lang|="ar"][dir="rtl"] :is(.ve-menu-group>summary,.ve-menu-direct) { font-size: 15px; }
}
@media (max-width: 1000px) {
  html[lang|="ar"][dir="rtl"] .vpa-flow-step { padding-left: 0; padding-right: 28px; border-left: 0; border-inline-start: 1px solid #5d7564; }
  html[lang|="ar"][dir="rtl"] .vpa-flow-step:not(:last-child)::after { content: "↓"; left: auto; right: -10px; }
}
@media (max-width: 900px) {
  html[lang|="ar"][dir="rtl"] .vp-flow-node:not(:last-child)::after { left: -20px; }
  html[lang|="ar"][dir="rtl"] body.vb-feature-story .vf-step:nth-child(3) { border-inline-start: 0; }
}
@media (max-width: 767px) {
  html[lang|="ar"][dir="rtl"] .v-navigation .is-menu-open .wp-block-navigation__submenu-container { padding-left: 0 !important; padding-right: 16px !important; }
  html[lang|="ar"][dir="rtl"] .ve-main-nav { min-width: 0; }
  html[lang|="ar"][dir="rtl"] .ve-main-menu { max-height: calc(100vh - 88px - var(--wp-admin--admin-bar--height,0px)); max-height: calc(100dvh - 88px - var(--wp-admin--admin-bar--height,0px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  html[lang|="ar"][dir="rtl"] :is(.ve-menu-group>summary,.ve-menu-direct) { white-space: normal; min-height: 44px; font-size: 22px; line-height: 1.7; }
  html[lang|="ar"][dir="rtl"] .ve-menu-column a { overflow-wrap: break-word; }
  html[lang|="ar"][dir="rtl"] header .wp-block-navigation__responsive-container-close { right: auto; left: 24px; }
  html[lang|="ar"][dir="rtl"] .vd-progress :is(li,button,span) { font-size: 12px; }
}
@media (max-width: 700px) {
  html[lang|="ar"][dir="rtl"] #perception .v-95 { left: 12px; right: 12px; }
  html[lang|="ar"][dir="rtl"] #perception .v-94 > :is(.v-97:not(:last-child),.v-101)::after { content: "↓"; left: 50%; right: auto; transform: translateX(-50%); }
}
@media (max-width: 600px) {
  html[lang|="ar"][dir="rtl"] .vp-page .vp-hero { text-align: start; }
  html[lang|="ar"][dir="rtl"] .vp-flow-node:not(:last-child)::after { content: "↓"; left: calc(50% - 9px); right: auto; }
  html[lang|="ar"][dir="rtl"] .vp-server-image { float: none; margin: 24px auto !important; }
  html[lang|="ar"][dir="rtl"] body.vb-feature-story .vf-step+.vf-step { border-inline-start: 0; }
  html[lang|="ar"][dir="rtl"] body.vb-magazine-story .vf-summary-card { border-inline-start: 0; padding-inline: 0; }
  html[lang|="ar"][dir="rtl"] body.vb-magazine-story .vf-summary-card:is(:first-child,:last-child) { padding-inline: 0; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-hero figcaption .ve-photo-credit { text-align: start; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-decision-step { padding-inline: 0; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-decision-step:not(:last-child)::after { left: auto; right: 18px; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-decision-branch { margin-right: 18px; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-stop { padding-left: 0; padding-right: 58px; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-stop-letter { left: auto; right: 0; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-stop:not(:last-child)::before { left: auto; right: 19px; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-edge-route { padding-left: 0; padding-right: 2px; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-edge-node { text-align: start; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-edge-node--compute { border-left: 0; border-inline-start: 2px solid #879b73; margin-left: 0; margin-right: -12px; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-route-link { border-left: 0; border-inline-start: 1px solid #7a8e6a; margin-left: 0; margin-right: 14px; padding-left: 0; padding-right: 25px; text-align: start; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-route-link::after { left: auto; right: -4px; border-top: 5px solid #7a8e6a; border-left: 3px solid transparent; border-right: 3px solid transparent; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-route-link br { display: initial; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-integration-node { border-left: 0; border-inline-start: 1px solid #8fa27b; margin-left: 0; margin-right: 9px; padding-left: 0; padding-right: 25px; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-integration-node::before { left: auto; right: -7px; padding-inline: 0; }
  html[lang|="ar"][dir="rtl"] .ve-guide .ve-storage-route { margin-left: 0; margin-right: 9px; }
}


/* Component reconciliation, revision 2. No new display:hidden or image mirroring. */
html[lang|="ar"][dir="rtl"] :is(.ve-menu-link-label,.ve-menu-heading,.ve-menu-feature p,.ve-breadcrumb,.v-faq,.v-faq summary,.vr-faq summary,.vpa-detail summary,.v-sector-tab) {
  font-family: var(--vd-font-pair);
  letter-spacing: normal;
  font-style: normal;
}
html[lang|="ar"][dir="rtl"] :is(.ve-menu-link-label,.ve-menu-link-label small,.ve-menu-heading,.ve-language-options a,.ve-menu-feature .v-link) { line-height: 1.75; }
html[lang|="ar"][dir="rtl"] .ve-menu-feature p { line-height: 1.5; }
html[lang|="ar"][dir="rtl"] :is(.ve-menu-link-label,.ve-menu-column,.ve-menu-feature,.vc-card,.vs-scenario,.vs-sector,.vpa-card,.vpa-benefit,.vpa-node>div,.vpa-step-copy,.vp-partner,.vb-card-copy,.vl-layout>*) { min-width: 0; }
html[lang|="ar"][dir="rtl"] :is(.ve-menu-column a,.vs-link a,.vb-card a,.vl-page a,.vr-term a) { overflow-wrap: anywhere; }
html[lang|="ar"][dir="rtl"] .ve-language-options { max-height: calc(100dvh - 120px - var(--wp-admin--admin-bar--height,0px)); overflow-y: auto; }
html[lang|="ar"][dir="rtl"] .ve-language-options a { min-width: 0; }
html[lang|="ar"][dir="rtl"] .ve-language-options a[lang] { unicode-bidi: isolate; }
html[lang|="ar"][dir="rtl"] header .v-11 { margin-left: 0; margin-inline-start: auto; }
html[lang|="ar"][dir="rtl"] .ve-breadcrumb li { min-width: 0; line-height: 1.8; }
html[lang|="ar"][dir="rtl"] .ve-breadcrumb-separator { flex-shrink: 0; }
html[lang|="ar"][dir="rtl"] .ve-breadcrumb :is(a,[aria-current]) { min-width: 0; }

/* An Arabic line can be taller without cutting its marks or narrowing its target. */
html[lang|="ar"][dir="rtl"] :is(.v-link,.vr-button,.vd-next,.vd-back,.vg-print,.ve-button,.vb-search button) { line-height: 1.65; letter-spacing: normal; min-height: 44px; }
html[lang|="ar"][dir="rtl"] :is(.vs-actions,.vpa-actions,.vd-actions) :is(a,button) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
html[lang|="ar"][dir="rtl"] :is(.vc-toc,.vpa-page-nav,.vr-tabs,.vb-filters,.vb-pagination) a { line-height: 1.7; min-height: 44px; }
html[lang|="ar"][dir="rtl"] main #faq .v-faq summary { line-height: 1.75; letter-spacing: normal; }
html[lang|="ar"][dir="rtl"] main #faq .v-faq p { line-height: 1.9; letter-spacing: normal; }
html[lang|="ar"][dir="rtl"] main :is(.vr-faq,.vpa-detail,.vpa-profile) summary { line-height: 1.75 !important; letter-spacing: normal; overflow-wrap: break-word; }
html[lang|="ar"][dir="rtl"] main :is(.vr-faq,.vpa-detail) p { line-height: 1.85; }
html[lang|="ar"][dir="rtl"] .v-faq:not(#faq .v-faq) p { padding-right: 0; padding-inline-start: 30px; }
html[lang|="ar"][dir="rtl"] #solutions :is(.v-79,.v-81,.v-83) { line-height: 1.75; letter-spacing: normal; }
html[lang|="ar"][dir="rtl"] #solutions a.v-84::after { content: "↖"; }
html[lang|="ar"][dir="rtl"] #solutions .v-75:is(:hover,:focus-within) a.v-84::after { transform: rotate(-45deg); }
html[lang|="ar"][dir="rtl"] #perception .v-96 { max-width: calc(100% - 64px); white-space: normal; line-height: 1.7; letter-spacing: normal; font-family: var(--vd-font-pair); }
html[lang|="ar"][dir="rtl"] :is(.vpa-flow-step,.vp-flow-node,.cp-node,.ve-guide .ve-panel) { overflow-wrap: break-word; }

/* consistency.css uses :is(...,#faq ...) for summary leading; the narrow
 * !important above avoids inheriting its ID specificity outside #faq. */
html[lang|="ar"][dir="rtl"] main:is(.vs-page,.vr-page) :is(.vc-card,.vg-card,.vs-card-copy,.vs-sector,.vr-card,.vpa-benefit,.vpa-step-copy,.vpa-panel,.vpa-flow-step)>p { line-height: 1.85; letter-spacing: normal; }

/* Native controls keep their browser accessibility and validation semantics. */
html[lang|="ar"][dir="rtl"] :is(.vd-field,.vpa-fields>label,.vpa-fields fieldset,.vr-checker label,.vd-choice span) { min-width: 0; }
html[lang|="ar"][dir="rtl"] :is(.vd-field>label,.vd-field>legend,.vpa-fields>label,.vpa-fields legend,.vr-checker label,.vr-search label,.vb-search label) { line-height: 1.8; }
html[lang|="ar"][dir="rtl"] :is(.vd-choice,.vpa-choices label) { align-items: flex-start; line-height: 1.75; }
html[lang|="ar"][dir="rtl"] :is(.vd-choice,.vpa-choices label,.vpa-consent) input:is([type="checkbox"],[type="radio"]) { margin-block-start: .3em; margin-inline: 0; }
html[lang|="ar"][dir="rtl"] :is(.vd-choice,.vpa-choices label) { min-height: 44px; }
html[lang|="ar"][dir="rtl"] :is(.vd-field,.vpa-fields,.vr-checker) select { min-height: 50px; max-width: 100%; text-align: start; }
html[lang|="ar"][dir="rtl"] :is(.vd-field,.vpa-fields) textarea { resize: vertical; }
html[lang|="ar"][dir="rtl"] :is(.vd-progress li,.vd-progress small,.vd-error,.vd-privacy,.vpa-privacy,.vd-required,.vd-upload-names) { line-height: 1.8; letter-spacing: normal; }
html[lang|="ar"][dir="rtl"] .vd-upload-names { unicode-bidi: plaintext; overflow-wrap: anywhere; }
html[lang|="ar"][dir="rtl"] :is(.vd-status,.vd-error,.vpa-privacy,.vd-privacy) { overflow-wrap: anywhere; }
html[lang|="ar"][dir="rtl"] :is(.vd-field,.vpa-fields) input[type="file"] { min-width: 0; max-width: 100%; }
html[lang|="ar"][dir="rtl"] :is(.vd-field,.vpa-fields) input[type="file"]::file-selector-button { font-family: var(--vd-font-pair); line-height: 1.65; margin-inline-start: 0; margin-inline-end: 12px; }

/* Glossary letters and technical terms need room, not Latin display tracking. */
html[lang|="ar"][dir="rtl"] :is(.gl-kicker,.gl-signature,.gl-help,.gl-letter,.gl-count) { letter-spacing: normal; }
html[lang|="ar"][dir="rtl"] :is(.gl-signature,.gl-help,.gl-keywords p) { line-height: 1.8; }
html[lang|="ar"][dir="rtl"] .gl-letter { line-height: 1.5; }
html[lang|="ar"][dir="rtl"] .gl-alphabet a { width: auto; height: auto; min-width: 44px; min-height: 44px; padding: 6px 10px; line-height: 1.6; }
html[lang|="ar"][dir="rtl"] :is(.gl-tools,.gl-terms,.gl-letter-group,.cp-checker-layout>*,.vr-table-wrap,.vs-comparison,.ve-guide .ve-table) { min-width: 0; max-width: 100%; }
html[lang|="ar"][dir="rtl"] :is(.vr-table-wrap,.vs-comparison,.ve-guide .ve-table) { overscroll-behavior-inline: contain; }
html[lang|="ar"][dir="rtl"] :is(.cp-page .vr-table td,.cp-page .vr-table th,.vs-comparison td,.vs-comparison th) { line-height: 1.8; }
html[lang|="ar"][dir="rtl"] .cp-node:not(:last-child)::after { left: 50%; right: auto; transform: translateX(-50%); }

/* Plain blog and legal templates share the Arabic rhythm too. */
html[lang|="ar"][dir="rtl"] .vb-article blockquote:not(.vf-quote):not(.ve-pullquote):not(.ve-photo-essay blockquote) { border-left: 0; border-inline-start: 3px solid #b5f000; }
html[lang|="ar"][dir="rtl"] .vb-date { flex-wrap: wrap; gap: 8px 16px; line-height: 1.8; }
html[lang|="ar"][dir="rtl"] .vb-pagination { flex-wrap: wrap; }
html[lang|="ar"][dir="rtl"] :is(.vl-page .vl-hero p:first-child,.vl-page .vl-toc>p:first-child) { letter-spacing: normal; line-height: 1.8; }
html[lang|="ar"][dir="rtl"] .vl-toc a { line-height: 1.8; }
html[lang|="ar"][dir="rtl"] body.vb-feature-story :is(.vf-quote,.vf-note) { padding-left: 0; padding-inline-start: 24px; }

@media (min-width: 768px) and (max-width: 1000px) {
  html[lang|="ar"][dir="rtl"] header.v-7 { gap: 10px; padding-inline: 20px; }
  html[lang|="ar"][dir="rtl"] header.v-7 .v-9 { width: 128px; }
  html[lang|="ar"][dir="rtl"] header.v-7 .v-11 { flex: 0 1 120px; max-width: 120px; gap: 0; }
  html[lang|="ar"][dir="rtl"] header.v-7 .v-12 { font-size: 13px; padding-block: 10px; white-space: normal; }
  html[lang|="ar"][dir="rtl"] .ve-main-menu { gap: 8px; }
  html[lang|="ar"][dir="rtl"] :is(.ve-menu-group>summary,.ve-menu-direct) { font-size: 14px; }
  html[lang|="ar"][dir="rtl"] .ve-language-switch summary { width: 44px; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  html[lang|="ar"][dir="rtl"] #solutions .v-78 { padding-left: 8px; padding-right: 0; }
}
@media (max-width: 767px) {
  html[lang|="ar"][dir="rtl"] header.v-7 { padding-block: 14px; }
  html[lang|="ar"][dir="rtl"] .ve-menu-mobile-toggle { flex-shrink: 0; }
  html[lang|="ar"][dir="rtl"] .ve-main-nav .ve-menu-column li>a { line-height: 1.75; }
  html[lang|="ar"][dir="rtl"] .ve-menu-mobile-cta { white-space: normal; }
  html[lang|="ar"][dir="rtl"] .ve-language-options { max-height: calc(100dvh - 110px - var(--wp-admin--admin-bar--height,0px)); }
}
@media (max-width: 600px) {
  html[lang|="ar"][dir="rtl"] .cp-diagram { padding: 22px; }
  html[lang|="ar"][dir="rtl"] .cp-node { padding: 18px 58px 18px 18px; }
  html[lang|="ar"][dir="rtl"] .cp-node .cp-number { right: 20px; top: 20px; }
  html[lang|="ar"][dir="rtl"] body.vb-feature-story .vf-quote { padding-inline-start: 22px; }
}
@media (max-width: 480px) {
  html[lang|="ar"][dir="rtl"] .vd-progress { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 12px; }
  html[lang|="ar"][dir="rtl"] .vd-progress li { min-width: 0; }
  html[lang|="ar"][dir="rtl"] .vd-progress small { font-size: 12px; }
}

/* Keep Gregorian dates intact inside Arabic bylines. */
html[lang|="ar"][dir="rtl"] .vb-meta time { unicode-bidi: isolate; }

/* Arabic indicator labels may span two lines on narrow screens. */
html[lang|="ar"][dir="rtl"] .v-59 { white-space: normal; line-height: 1.4; }

/* Preserve the anti-spam field without extending an RTL page off screen. */
html[lang|="ar"][dir="rtl"] .vd-honey { left: 0; right: auto; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); }
