/* Arabic web font: Cairo (SIL Open Font License, Google Fonts), self-hosted, variable weight 400-800, Arabic + Latin subsets only (~65 KB), loaded on /ar/ pages only */
@font-face{font-family:'Cairo';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/cairo-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Cairo';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/cairo-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
body.is-rtl{font-family:var(--sans)}
body.is-rtl h1,body.is-rtl h2,body.is-rtl h3,body.is-rtl h4{font-weight:700}
body.is-rtl .prose,body.is-rtl .pl-prose{line-height:1.95}
/* RTL overrides for right-to-left languages (Arabic). Loaded only when <html dir="rtl">. Logical flow comes from dir="rtl"; this file flips the rules that use physical left/right. */
body.is-rtl { direction: rtl; text-align: right; }
.is-rtl .skip { left: auto; right: -999px; }
.is-rtl .skip:focus { right: 8px; left: auto; }
.is-rtl .hp { left: auto !important; right: -9999px !important; }

/* header / nav / language switcher */
.is-rtl .nav .sub-menu { left: auto; right: 0; }
.is-rtl .nav>ul>li:last-child>.sub-menu { right: auto; left: 0; }
.is-rtl .nav-close { right: auto; left: 16px; }
.is-rtl .lang-switch { direction: ltr; }
.is-rtl .lang-switch a { letter-spacing: 0; }
.is-rtl a[href^="tel:"]:not(.btn):not(.fab__a) { direction: ltr; unicode-bidi: embed; display: inline-block; }
.is-rtl .btn[href^="tel:"] { unicode-bidi: plaintext; }
.is-rtl .mbar a { display: flex; }
.is-rtl .brand { direction: ltr; }
.is-rtl .brand small { direction: rtl; }
@media (max-width: 1300px) {
  .is-rtl .nav { inset: 0 auto 0 0; transform: translateX(-105%); box-shadow: 10px 0 40px rgba(0,0,0,.2); }
  .is-rtl .nav.open { transform: none; }
}

/* hero, badges, lists, timelines */
.is-rtl .hero-badge { left: auto; right: -14px; }
.is-rtl .hs-checklist li::before, .is-rtl .pl-bullets li::before, .is-rtl .pl-bring li::before { left: auto; right: 0; }
.is-rtl .hs-checklist li, .is-rtl .pl-bullets li { padding-left: 0; padding-right: 30px; }
.is-rtl .pl-bring li { padding-left: 0; padding-right: 26px; }
.is-rtl .legal__box li::before { left: auto; right: 6px; }
.is-rtl .legal__box li { padding-left: 0; padding-right: 40px; }
.is-rtl .hs-timeline li::before { left: auto; right: -9px; }
.is-rtl .hs-timeline { padding-left: 0; padding-right: 22px; border-left: 0; border-right: 2px solid var(--line); margin-left: 0; margin-right: 8px; }
.is-rtl .hs-timeline li { padding-left: 0; padding-right: 22px; }
.is-rtl .pub__tag { margin-left: 0; margin-right: 8px; }
.is-rtl .prose th, .is-rtl .prose td, .is-rtl .pl-prose th, .is-rtl .pl-prose td { text-align: right; }
.is-rtl .prose ul, .is-rtl .prose ol, .is-rtl .pl-prose ul, .is-rtl .pl-prose ol { padding-left: 0; padding-right: 1.4em; }
.is-rtl .hs-landing .hs-section-head { text-align: right; }
.is-rtl .pl-toc__toggle { text-align: right; }
.is-rtl .crumbs .sep { display: inline-block; transform: scaleX(-1); }

/* FAQ (details/summary) */
.is-rtl details summary { text-align: right; }

/* forms */
.is-rtl .form label, .is-rtl .form .field { text-align: right; }
.is-rtl input, .is-rtl textarea, .is-rtl select { text-align: right; }
.is-rtl input[type="tel"], .is-rtl input[type="email"] { direction: ltr; text-align: right; }
.is-rtl select { background-position: left 12px center; padding-left: 34px; padding-right: 12px; }

/* buttons, floating buttons, cookie banner, footer */
.is-rtl .fab { right: auto; left: 22px; align-items: flex-start; }
.is-rtl .fsocial { margin-left: 0; margin-right: auto; }
@media (max-width: 900px) { .is-rtl .fsocial { margin-right: 0; } }
.is-rtl .cc { text-align: right; }
.is-rtl .more::after { display: inline-block; transform: scaleX(-1); }

/* English article titles / citations stay left-to-right */
.is-rtl .pubs__body { direction: ltr; text-align: left; }
/* floating phone/WhatsApp: icon on the outer edge, label expands inwards */
.is-rtl .fab__a { flex-direction: row-reverse; }
.is-rtl .fab__a:hover .fab__l, .is-rtl .fab__a:focus-visible .fab__l { padding: 0 20px 0 4px; }
