/* Arabic (right-to-left) — loaded only on /ar/ pages, after every other stylesheet */
:root{--fh:Cairo,"Noto Kufi Arabic","Noto Sans Arabic",Tahoma,sans-serif;--fb:Cairo,"Noto Sans Arabic",Tahoma,system-ui,sans-serif}
body{line-height:1.8}
h1,h2,h3{line-height:1.35;letter-spacing:0}
h1,h2{font-weight:700}
/* letter-spacing breaks Arabic letter joining */
*,*::before,*::after{letter-spacing:0!important}
/* numbers, phones, e-mails stay left-to-right inside Arabic text */
a[href^="tel:"],a[href^="mailto:"],.st b{direction:ltr;unicode-bidi:isolate}
input[type=email],input[type=tel]{direction:ltr;text-align:right}
/* header + dropdown */
.links>a::after,.dd-link::after{left:auto;right:0}
.dd-toggle{margin-right:0;margin-left:-4px}
.dd-panel{left:auto;right:-24px}
.dd-card::before{left:auto;right:44px;border-left:0;border-right:1px solid var(--b);transform:rotate(-45deg)}
/* off-canvas menu slides in from the left */
.mnav{right:auto;left:0;transform:translateX(-100%);box-shadow:24px 0 50px -24px rgba(5,40,25,.45)}
.mnav.open{transform:none}
.mnav-list>li>a,.sub-toggle{text-align:right}
.sub-in a{margin:0 10px 0 0;border-left:0;border-right:2px solid var(--b)}
/* hero visual + decorations (mirrored) */
.hero{background:radial-gradient(900px 500px at 15% 10%,#E4F4EB,transparent 60%),#fff}
.vis{margin-left:0;margin-right:auto}
.panel{inset:0 8% 0 0}
.c1{left:auto;right:0}.c2{right:auto;left:0}.c3{left:auto;right:6%}
.ab::before{inset:auto auto -60px -60px}
.docs{transform:rotate(4deg)}.docs .pie{margin:18px auto 0 0}
.tagc{right:auto;left:7%}
.wv svg.big{left:auto;right:44px}
.wv::before{right:auto;left:-120px}
.cats{left:auto;right:18px}
.pl .n{right:auto;left:26px}
.ph{background:radial-gradient(800px 420px at 10% 0,#E4F4EB,transparent 60%),var(--bg2)}
.ph::before{right:auto;left:-120px}
/* stats borders */
.st{border-right:0;border-left:1px solid var(--b)}
.st:last-child{border:0}
@media(max-width:1024px){.st:nth-child(2){border-left:0}}
/* hover nudges follow the reading direction */
.sc:hover .more svg,.more:hover svg{transform:translateX(-4px)}
.ft-links a:hover,.ft-links a:focus-visible{transform:translateX(-4px)}
footer h4::after{left:auto;right:0}
footer::after{right:auto;left:-160px}
/* back-to-top on the left */
.to-top{right:auto;left:20px}
@media(max-width:560px){.to-top{right:auto;left:14px}}
/* articles */
.prose ul{padding-left:0;padding-right:22px}
.callout{border-left:0;border-right:4px solid var(--g);border-radius:14px 0 0 14px}
.tbl th{text-align:right}
.fq summary{text-align:right}
/* Arabic glyphs read smaller: nudge small UI text up */
.eyebrow{font-size:.85rem}.cats b{font-size:.75rem}.ab2 time{font-size:.85rem}
.c1 .n{font-size:1.55rem}
.lang-panel{right:auto;left:0}
.expert-badge{padding:8px 8px 8px 16px}.eb-go{margin-left:0;margin-right:4px}.expert-badge:hover .eb-go{transform:translateX(-3px)}
.ex-years b,.ex-call{direction:ltr;unicode-bidi:isolate}
