/* NG Brand Hub · Arabic (right-to-left) layer. Loaded only on /ar/ pages. */
html[lang="ar"],html[lang="ar"] body,html[lang="ar"] body.ngbh-site{
  --text:"IBM Plex Sans Arabic","Inter","Helvetica Neue",Arial,sans-serif;
  --ff-display:"Noto Kufi Arabic","Archivo","Helvetica Neue",Arial,sans-serif;
  --font-display:"Noto Kufi Arabic","Archivo","Helvetica Neue",Arial,sans-serif;
  --serif:"Amiri","Instrument Serif",Georgia,serif;
}
html[lang="ar"] body{font-family:var(--text)}
/* Arabic letters must stay joined: no letter spacing anywhere */
html[lang="ar"] body,html[lang="ar"] body *{letter-spacing:0!important}
/* Accent words: Amiri (a classical naskh face) instead of italic Latin serif */
html[lang="ar"] body em{font-family:var(--serif);font-style:normal;font-weight:700}
/* Taller Arabic letterforms need more line height than the Latin display type */
html[lang="ar"] body :is(h1,h2,h3,h4){line-height:1.35}
html[lang="ar"] body .elementor :is(.xh-title,.h2,.cta-title,.nc-title,.ic-t,.fc-t,.fs-t,.kc-t,.own-t,.cf-title,.d-title,.disc h3){line-height:1.3}
html[lang="ar"] body .elementor .xh-title{font-size:clamp(40px,5.4vw,92px)}
html[lang="ar"] body .elementor .h2{font-size:clamp(34px,4.6vw,68px)}
html[lang="ar"] body .elementor .sw{padding:.16em 0;margin:-.16em 0}
html[lang="ar"] body :is(p,li,.elementor-widget-text-editor){line-height:1.85}
html[lang="ar"] body .elementor :is(.label,.eyebrow,.k,.wk,.for,.n-num,.tn,.lbl,.kb-grp,.gh){font-size:13px;text-transform:none}

/* Arrows point the other way in Arabic */
html[dir="rtl"] body svg:has(path[d^="M2 8h11"]),
html[dir="rtl"] body :is(.e-fas-arrow-right,.fa-arrow-right),
html[dir="rtl"] body .elementor :is(.go,.lnk,.chan-act) .elementor-heading-title :is(a,span)::after,
html[dir="rtl"] body .elementor .chan .chan-act .elementor-heading-title::after{scale:-1 1}

/* Phone numbers and e-mail addresses read left to right */
html[dir="rtl"] body :is(a[href^="tel:"],a[href^="mailto:"]){unicode-bidi:plaintext}

/* ---------- Mirror what CSS does not mirror by itself (Elementor pages) ---------- */
html[dir="rtl"] body .elementor .subnav .elementor-icon-list-item a{padding:22px 0 22px 28px;margin:0 0 0 28px}
html[dir="rtl"] body .elementor .subnav .is-current a::after{left:28px;right:0}
html[dir="rtl"] body .elementor .sv-nav .elementor-icon-list-item a{padding:20px 0;margin:0}
html[dir="rtl"] body .elementor .sv-nav .is-current a::after{left:0}
html[dir="rtl"] body .elementor .flow::after{left:auto;right:0}
html[dir="rtl"] body .elementor .flow>.flow-s::before{left:auto;right:0}
@media (max-width:900px){
  html[dir="rtl"] body .elementor .flow{padding:0 42px 0 0}
  html[dir="rtl"] body .elementor .flow::before,html[dir="rtl"] body .elementor .flow::after{left:auto;right:9px}
  html[dir="rtl"] body .elementor .flow>.flow-s::before{right:-42px}
}
html[dir="rtl"] body .elementor .gt>.gt-row::after{transform-origin:100% 50%}
html[dir="rtl"] body .elementor .gt-head .gh{padding-left:0;padding-right:8px;border-left:0;border-right:1px solid var(--line-dark)}
html[dir="rtl"] body .elementor .gt-head .gh:first-child{border:0;padding:0}
html[dir="rtl"] body .elementor .gt-row .gr-t{padding:10px 0 10px 14px}
html[dir="rtl"] body .elementor .kb-list>.ko::after{left:auto;right:31px}
@media (max-width:560px){html[dir="rtl"] body .elementor .kb-list>.ko::after{right:25px}}
html[dir="rtl"] body .elementor .kb-list>.ko:hover{transform:translateX(-4px)}
html[dir="rtl"] body .elementor :is(.chan .chan-obj,.kc .kc-obj){right:auto;left:-14px}
html[dir="rtl"] body .elementor .kc .for{padding-right:0;padding-left:84px}
html[dir="rtl"] body .elementor .art-tag{right:auto;left:-2%}
html[dir="rtl"] body .elementor .kt-art .art-tag{left:auto;right:-4%}
html[dir="rtl"] body .elementor .cf .nf-field-element select{padding-right:18px;padding-left:44px;background-position:left 18px center}
html[dir="rtl"] body .elementor .xc-orb{right:auto;left:-8%}
html[dir="rtl"] body .elementor .qa-sec .faq-toggle .elementor-tab-title,html[dir="rtl"] body .elementor .faq-toggle .elementor-tab-content{text-align:right}

/* ---------- Home page (NG Brand Hub Site plugin) ---------- */
html[lang="ar"] body .ngbh-title,html[lang="ar"] body .ngbh-h2,html[lang="ar"] body .ngbh-say,html[lang="ar"] body .ngbh-cta-title{line-height:1.3}
html[lang="ar"] body.ngbh-site .ngbh-say{font-size:clamp(30px,4.3vw,68px);max-width:24ch;--mw:24ch}
html[lang="ar"] body.ngbh-site .ngbh-h2{font-size:clamp(34px,4.5vw,72px)}
html[lang="ar"] body.ngbh-site .ngbh-faq-title{font-size:clamp(42px,4.6vw,76px)}
html[lang="ar"] body.ngbh-site .ngbh-cta-title{font-size:clamp(40px,5.2vw,88px)}
html[dir="rtl"] body.ngbh-site .ngbh-stickers{right:auto;left:0}
html[dir="rtl"] body.ngbh-site .ngbh-globe{right:auto;left:calc(max(var(--gx),env(safe-area-inset-left,0px)) - 30px)}
html[dir="rtl"] body.ngbh-site .ngbh-fact{padding-left:0;padding-right:16px;border-left:0;border-right:1px solid var(--line-light)}
html[dir="rtl"] body.ngbh-site .ngbh-meter-fill{transform-origin:100% 50%}
html[dir="rtl"] body.ngbh-site .ngbh-meter-value{text-align:left}
html[lang="ar"] body.ngbh-site .ngbh-faq-title{line-height:1.25}
html[lang="ar"] body.ngbh-site .ngbh-faq-title em{font-size:1em}
html[lang="ar"] body.ngbh-site .ngbh-sticker b{font-size:24px;line-height:1.2;white-space:nowrap}
html[lang="ar"] body.ngbh-site .ngbh-wordmark{direction:ltr}
html[dir="rtl"] body.ngbh-site .ngbh-print-go>.elementor-heading-title::after{content:"←";margin:0 8px 0 0}
html[dir="rtl"] body.ngbh-site .ngbh-print:hover .ngbh-print-go>.elementor-heading-title::after{margin:0 12px 0 0}
html[dir="rtl"] body.ngbh-site .ngbh-pill{padding:0 18px 0 14px}
@media (max-width:1240px) and (min-width:1024px){html[dir="rtl"] body.ngbh-site .ngbh-pill{padding-left:14px;padding-right:18px}}
@media (max-width:760px){html[dir="rtl"] body.ngbh-site .ngbh-pill{padding:0 12px 0 8px}}
@media (max-width:1023px){html[dir="rtl"] body.ngbh-site .ngbh-header-actions{margin-left:0;margin-right:auto}}
@media (max-width:900px){
  html[dir="rtl"] body.ngbh-site .ngbh-steps{padding-left:0;padding-right:30px}
  html[dir="rtl"] body.ngbh-site .ngbh-steps::before,html[dir="rtl"] body.ngbh-site .ngbh-steps::after{left:auto;right:4px}
  html[dir="rtl"] body.ngbh-site .ngbh-globe{left:-16vw;right:auto}
}
html[dir="rtl"] body.ngbh-site .ngbh-fl{left:auto;right:var(--x)}
/* Hero copy stays on the left so it never covers the person and flag in the film */
@media (min-width:901px){html[dir="rtl"] body.ngbh-site .ngbh-copy{direction:ltr}html[dir="rtl"] body.ngbh-site .ngbh-copy>*{direction:rtl}}
html[lang="ar"] body.ngbh-site .ngbh-fact-n{font-size:clamp(28px,3vw,46px);line-height:1.15;white-space:nowrap}
html[lang="ar"] body.ngbh-site .ngbh-cue-title{font-size:clamp(22px,2.4vw,38px);line-height:1.35;max-width:22ch;--mw:22ch}
@media (max-width:560px){html[lang="ar"] body.ngbh-site .ngbh-fact-n{font-size:26px}html[lang="ar"] body.ngbh-site .ngbh-facts{gap:16px}}
