/* Interactive guides, arabictranslation.co.uk (21 Oct 2026). Mohamed: "make those guides look more interesting so people
   would actually want to read. it is a massive block of text. we need good design and interactive and animation".
   Built on design A ("Mashrabiya", live since 6 Oct 2026): the .sv2 tokens, Poppins/Inter, Cairo for Arabic, the 8-point
   star mark, the lattice veil and brass hairlines from site-v2.css. Everything readable without JavaScript; motion only
   after the visitor's own action or on first sight of a section, and none at all with reduced motion. */

.gx{--gx-read:#243244;--gx-soft:#5a6672;--gx-ok:#1f7a52;--gx-ok-bg:#e9f5ef;--gx-bad:#b4321b;--gx-bad-bg:#fbece8;--gx-warn-bg:#fdf3e7;--gx-r:18px;--gx-shadow:0 26px 60px -34px rgba(11,22,38,.42);--gx-top:96px;--gx-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 20.5L14.5 18L12 24L9.5 18L3.5 20.5L6 14.5L0 12L6 9.5L3.5 3.5L9.5 6L12 0L14.5 6L20.5 3.5L18 9.5L24 12L18 14.5Z'/%3E%3C/svg%3E")}
.gx *{box-sizing:border-box}
.gx [hidden]{display:none!important}
.gx :focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}
.gx .gx-i{flex:0 0 auto;width:20px;height:20px}
[dir="rtl"] .gx .gx-flip{transform:scaleX(-1)}
.gx-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gx-star{display:inline-block;flex:0 0 auto;width:14px;height:14px;background:var(--accent);-webkit-mask:var(--gx-star) center/contain no-repeat;mask:var(--gx-star) center/contain no-repeat}

/* reading progress: a hairline across the top of the window */
.gx-progress{position:fixed;inset:0 0 auto 0;height:3px;z-index:9999;pointer-events:none}
.gx-progress span{display:block;height:100%;width:100%;background:linear-gradient(90deg,var(--orange),var(--accent));transform:scaleX(var(--gx-p,0));transform-origin:0 50%}
[dir="rtl"] .gx-progress span{transform-origin:100% 50%}

/* hero: the design A guide hero with a photograph on the outer side */
.gx .gx-hero{min-height:0;align-items:stretch}
.gx-hero .sv2-hero-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:56px;align-items:center;padding-block:40px 48px}
.gx-hero h1{max-width:15em;margin-top:12px!important;font-size:clamp(32px,3.05vw,50px)!important;line-height:1.08!important}
.gx-hero .sv2-hero-lead{max-width:640px}
.gx-hero-meta{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:18px;padding:0;list-style:none;font-size:14.5px;color:var(--on-dark)}
.gx-hero-meta li{display:inline-flex;align-items:center;gap:8px}
.gx-hero-meta .gx-i{width:17px;height:17px;color:var(--warm)}
.gx-hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.gx-hero-ctas .sv2-btn{min-height:52px}
.gx-hero-figure{position:relative;margin:0;align-self:stretch;min-height:380px;border-radius:22px;overflow:hidden;box-shadow:0 30px 80px -40px rgba(0,0,0,.8)}
.gx-hero-figure::after{content:"";position:absolute;inset:10px;border:1px solid rgba(201,163,91,.55);border-radius:16px;pointer-events:none}
.gx-hero-figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%)}
.gx-hero-figure figcaption{position:absolute;inset:auto 22px 20px 22px;z-index:1;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;background:rgba(11,22,38,.78);color:#fff;font-size:14px;line-height:1.45;backdrop-filter:blur(6px)}
.gx-hero-figure figcaption .gx-i{color:var(--warm)}
.gx-hero.no-figure .sv2-hero-inner{grid-template-columns:minmax(0,1fr)}
@media(max-width:1100px){.gx-hero .sv2-hero-inner{grid-template-columns:minmax(0,1fr);gap:32px}.gx-hero-figure{min-height:300px;max-height:360px}}
@media(max-width:600px){.gx-hero .sv2-hero-inner{padding-block:36px 36px}.gx-hero h1{font-size:30px!important}.gx-hero .sv2-hero-lead{font-size:16px}.gx-hero-figure{display:none}.gx-hero-ctas .sv2-btn{flex:1 1 100%}.gx-hero-meta li:last-child{display:none}}

/* key takeaways strip under the hero */
.gx-take{background:var(--paper);border-bottom:1px solid var(--line)}
.gx-take .sv2-wrap{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));gap:24px 40px;align-items:start;padding-block:34px}
.gx-take-label{display:flex;align-items:center;gap:10px;font:600 13px/1.4 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--orange);padding-top:3px}
.gx-take ol{display:contents;list-style:none}
.gx-take li{display:flex;gap:14px;align-items:flex-start;font-size:16px;line-height:1.55;color:var(--ink)}
.gx-take li b{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;font:600 13px/1 Inter,sans-serif}
@media(max-width:1100px){.gx-take .sv2-wrap{grid-template-columns:minmax(0,1fr);gap:16px}}

/* body: sticky contents on the side, the reading column, tools wider than the text */
.gx-body{display:grid;grid-template-columns:250px minmax(0,800px);justify-content:center;gap:72px;padding-block:72px 96px}
.gx-toc{position:sticky;top:var(--gx-top);align-self:start;max-height:calc(100vh - var(--gx-top) - 24px);overflow:auto;padding-bottom:12px}
.gx-toc-title{display:flex;align-items:center;gap:10px;margin-bottom:14px;font:600 12.5px/1.4 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--gx-soft)}
.gx-toc ol{margin:0;padding:0;list-style:none;border-inline-start:1px solid var(--line)}
.gx-toc li a{position:relative;display:block;padding:8px 0 8px 18px;padding-inline:18px 0;font-size:14.5px;line-height:1.4;color:var(--gx-soft);text-decoration:none;transition:color .2s}
.gx-toc li a::before{content:"";position:absolute;inset-block:6px;inset-inline-start:-1px;width:2px;background:var(--orange);transform:scaleY(0);transition:transform .25s}
.gx-toc li a:hover{color:var(--ink)}
.gx-toc li a[aria-current="true"]{color:var(--ink);font-weight:600}
.gx-toc li a[aria-current="true"]::before{transform:scaleY(1)}
.gx-toc-box{margin-top:28px;padding:20px;border-radius:16px;background:var(--navy);color:#fff}
.gx-toc-box p{font-size:14.5px;line-height:1.5;color:var(--on-dark)}
.gx-toc-box p strong{display:block;margin-bottom:6px;font:600 16px/1.3 Poppins,"Poppins Fallback",sans-serif;color:#fff}
.gx-toc-box .sv2-btn{width:100%;min-height:46px;margin-top:14px;font-size:15px}
.gx-toc-mobile{display:none}
@media(max-width:1100px){
  .gx-body{grid-template-columns:minmax(0,760px);gap:0;padding-block:28px 72px}
  .gx-toc{display:none}
  .gx-toc-mobile{display:block;margin-bottom:28px;border:1px solid var(--line);border-radius:14px;background:#fff}
  .gx-toc-mobile summary{display:flex;align-items:center;gap:10px;padding:14px 18px;cursor:pointer;font:600 15px/1.3 Inter,sans-serif;color:var(--ink);list-style:none}
  .gx-toc-mobile summary::-webkit-details-marker{display:none}
  .gx-toc-mobile summary .gx-i:last-child{margin-inline-start:auto;transition:transform .2s}
  .gx-toc-mobile[open] summary .gx-i:last-child{transform:rotate(180deg)}
  .gx-toc-mobile ol{margin:0;padding:4px 18px 16px;list-style:none;counter-reset:gxm}
  .gx-toc-mobile li a{display:flex;gap:12px;padding:8px 0;font-size:15px;line-height:1.4;color:var(--gx-read);text-decoration:none;border-top:1px solid var(--line)}
  .gx-toc-mobile li:first-child a{border-top:0}
  .gx-toc-mobile li a span{flex:0 0 26px;color:var(--orange);font-weight:600;font-variant-numeric:tabular-nums}
}

/* reading column */
.gx-article{min-width:0}
.gx-article>*+*{margin-top:0}
.gx-sec{scroll-margin-top:calc(var(--gx-top) + 8px);padding-top:8px}
.gx-sec+.gx-sec{margin-top:72px}
.gx-sec-head{display:flex;flex-direction:column;gap:12px;margin-bottom:22px}
.gx-num{display:inline-flex;align-items:center;gap:10px;font:600 13px/1 Inter,sans-serif;letter-spacing:.14em;color:var(--orange);font-variant-numeric:tabular-nums}
.gx-num::after{content:"";width:40px;height:1px;background:var(--brass)}
.gx .gx-sec-head h2{margin:0;font-size:clamp(27px,2.3vw,36px);line-height:1.16;letter-spacing:-.03em;color:var(--navy)}
.gx .gx-article h3{margin:34px 0 10px;font-size:21px;line-height:1.3;letter-spacing:-.02em;color:var(--navy)}
.gx-article :where(p,li){font-size:18px;line-height:1.75;color:var(--gx-read)}
.gx-article :where(p+p){margin-top:18px}
.gx-article :where(p,li) a,.gx-link{color:var(--orange);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.gx-article :where(p,li) a:hover,.gx-link:hover{color:var(--orange-hover)}
.gx-lede+.gx-sec{margin-top:56px}
.gx-article :is(.gx-cards,.gx-chips,.gx-vs)+p{margin-top:26px}
.gx-article strong{color:var(--ink)}
.gx-lede{font-size:20px!important;line-height:1.7!important;color:var(--ink)!important}
.gx-note{margin-top:14px;font-size:14.5px!important;line-height:1.55!important;color:var(--gx-soft)!important}
.gx-list{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.gx-list li{position:relative;padding-inline-start:28px}
.gx-list li::before{content:"";position:absolute;inset-inline-start:2px;top:.62em;width:12px;height:12px;background:var(--accent);-webkit-mask:var(--gx-star) center/contain no-repeat;mask:var(--gx-star) center/contain no-repeat}

/* pull line, callouts */
.gx-pull{position:relative;margin:34px 0;padding:6px 0 6px 28px;padding-inline:28px 0;border-inline-start:3px solid var(--brass);font:500 clamp(22px,2vw,27px)/1.42 Poppins,"Poppins Fallback",sans-serif;letter-spacing:-.02em;color:var(--navy)}
.gx-callout{display:flex;gap:16px;align-items:flex-start;margin:30px 0;padding:22px 24px;border-radius:16px;background:var(--paper);border:1px solid var(--line)}
.gx-callout>.gx-i{width:24px;height:24px;margin-top:3px;color:var(--orange)}
.gx-callout p{margin:0;font-size:17px!important;line-height:1.65!important}
.gx-callout p+p{margin-top:10px}
.gx-callout-title{display:block;margin-bottom:4px;font:600 17px/1.35 Poppins,"Poppins Fallback",sans-serif;color:var(--navy)}
.gx-callout.is-navy{background:var(--navy);border-color:var(--navy)}
.gx-callout.is-navy p{color:var(--on-dark)!important}
.gx-callout.is-navy .gx-callout-title,.gx-callout.is-navy strong{color:#fff}
.gx-callout.is-navy>.gx-i{color:var(--warm)}
.gx-callout.is-warn{background:var(--gx-warn-bg);border-color:#f3d9bd}
.gx-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--gx-warn-bg);color:#8a4a12;font:600 12.5px/1.3 Inter,sans-serif}

/* cards for comparable items */
.gx-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px;margin-top:26px;padding:0;list-style:none}
.gx-card{position:relative;padding:22px 22px 20px;border:1px solid var(--line);border-radius:var(--gx-r);background:#fff;transition:border-color .2s,transform .2s,box-shadow .2s}
.gx-card>.gx-i{width:24px;height:24px;color:var(--orange)}
.gx .gx-card h3{margin:14px 0 6px;font-size:18px}
.gx-card p,.gx-card li{font-size:15.5px!important;line-height:1.6!important}
.gx-card .gx-list{gap:6px;margin-top:12px}
.gx-card .gx-list li{padding-inline-start:22px}
.gx-card .gx-list li::before{width:10px;height:10px}
.gx-cards.is-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.gx-cards.is-2{grid-template-columns:minmax(0,1fr)}}

/* the interactive panels */
.gx-tool{position:relative;margin:40px 0;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--gx-shadow);overflow:hidden;overflow:clip;scroll-margin-top:calc(var(--gx-top) + 8px)}
.gx-tool-head{display:flex;align-items:flex-start;gap:16px;padding:24px 28px 20px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fff,var(--paper))}
.gx-tool-head>.gx-i{width:26px;height:26px;margin-top:2px;color:var(--orange)}
.gx-tool-kicker{display:flex;align-items:center;gap:8px;margin-bottom:4px;font:600 12px/1.3 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--orange)}
.gx .gx-tool-head h3{margin:0;font-size:21px;line-height:1.3;color:var(--navy)}
.gx-tool-head p{margin-top:6px;font-size:15.5px!important;line-height:1.55!important;color:var(--gx-soft)!important}
.gx-tool-body{padding:26px 28px}
.gx-tool-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;padding:18px 28px;border-top:1px solid var(--line);background:var(--paper)}
.gx-tool-foot p{margin:0;font-size:15px!important;line-height:1.5!important}
.gx-tool.is-dark{background:var(--navy);border-color:var(--navy);color:#fff}
@media(max-width:600px){.gx-tool{margin:32px -8px;border-radius:18px}.gx-tool-head,.gx-tool-body{padding-inline:18px}.gx-tool-foot{padding-inline:18px}}

/* the phone button keeps the page's reading order (the site sets tel: links left to right) */
[dir="rtl"] .gx .gx-tel,[dir="rtl"] .gx .gx-tel>span{direction:rtl}

/* buttons used inside tools */
.gx-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:0 18px;border:0;border-radius:12px;background:var(--navy);color:#fff;font:600 15px/1.2 Inter,sans-serif;cursor:pointer;text-decoration:none;transition:background .18s,box-shadow .18s,color .18s}
.gx-btn:hover{background:#1b2d47}
.gx-btn.is-orange{background:var(--orange)}
.gx-btn.is-orange:hover{background:var(--orange-hover)}
.gx-btn.is-ghost{background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1.5px var(--line-strong)}
.gx-btn.is-ghost:hover{box-shadow:inset 0 0 0 1.5px var(--navy)}
.gx-btn .gx-i{width:18px;height:18px}

/* switch (a real checkbox with a drawn track) */
.gx-switch{display:inline-flex;align-items:center;gap:12px;cursor:pointer;font:600 15.5px/1.3 Inter,sans-serif;color:var(--navy);user-select:none}
.gx-switch input{position:absolute;opacity:0;width:1px;height:1px}
.gx-switch-track{position:relative;flex:0 0 auto;width:50px;height:28px;border-radius:999px;background:#c9ced4;transition:background .2s}
.gx-switch-track::after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:transform .25s cubic-bezier(.3,.7,.3,1)}
.gx-switch input:checked+.gx-switch-track{background:var(--gx-ok)}
.gx-switch input:checked+.gx-switch-track::after{transform:translateX(22px)}
[dir="rtl"] .gx-switch input:checked+.gx-switch-track::after{transform:translateX(-22px)}
.gx-switch input:focus-visible+.gx-switch-track{outline:3px solid var(--accent);outline-offset:3px}

/* tabs (all panels show as plain sections until the script turns them into tabs) */
.gx-tabs [role="tablist"]{display:none}
.gx-js .gx-tabs [role="tablist"]{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.gx-tabs [role="tab"]{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--line-strong);border-radius:999px;background:#fff;color:var(--gx-read);font:600 15px/1.2 Inter,sans-serif;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.gx-tabs [role="tab"]:hover{border-color:var(--navy)}
.gx-tabs [role="tab"][aria-selected="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.gx-tabs [role="tab"] .gx-i{width:18px;height:18px}
.gx-tabs [role="tabpanel"]+[role="tabpanel"]{margin-top:22px}
.gx-js .gx-tabs [role="tabpanel"]+[role="tabpanel"]{margin-top:0}
.gx-js .gx-tabs [role="tabpanel"][hidden]{display:none}
.gx-js .gx-tabs [role="tabpanel"]:not([hidden]){animation:gx-fade .32s ease both}
@keyframes gx-fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* checklist with a progress ring */
.gx-check{display:grid;grid-template-columns:minmax(0,1fr) 168px;gap:28px;align-items:start}
.gx-check ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.gx-check label{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;cursor:pointer;transition:border-color .2s,background .2s}
.gx-check label:hover{border-color:var(--line-strong)}
.gx-check input{position:absolute;opacity:0;width:1px;height:1px}
.gx-box{flex:0 0 auto;display:grid;place-items:center;width:26px;height:26px;margin-top:1px;border:2px solid #9aa4ae;border-radius:8px;background:#fff;transition:background .2s,border-color .2s}
.gx-box svg{width:16px;height:16px;color:#fff;opacity:0;transform:scale(.6);transition:opacity .2s,transform .25s cubic-bezier(.3,.7,.3,1.4)}
.gx-check input:checked+.gx-box{background:var(--gx-ok);border-color:var(--gx-ok)}
.gx-check input:checked+.gx-box svg{opacity:1;transform:none}
.gx-check input:focus-visible+.gx-box{outline:3px solid var(--accent);outline-offset:3px}
.gx-check label:has(input:checked){border-color:#bfe0cd;background:var(--gx-ok-bg)}
.gx-check-text{font-size:16.5px;line-height:1.55;color:var(--gx-read)}
.gx-ring{position:sticky;top:calc(var(--gx-top) + 20px);display:grid;justify-items:center;gap:10px;text-align:center}
.gx-ring-dial{position:relative;width:140px;height:140px}
.gx-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.gx-ring circle{fill:none;stroke-width:10}
.gx-ring .gx-ring-bg{stroke:#e6e8ea}
.gx-ring .gx-ring-fg{stroke:var(--gx-ok);stroke-linecap:round;stroke-dasharray:var(--gx-c);stroke-dashoffset:calc(var(--gx-c) * (1 - var(--gx-v,0)));transition:stroke-dashoffset .6s cubic-bezier(.3,.7,.3,1)}
.gx .gx-ring-num{position:absolute;inset:0;display:grid;place-content:center;margin:0;font:600 30px/1 Poppins,"Poppins Fallback",sans-serif;color:var(--navy);font-variant-numeric:tabular-nums}
.gx-ring-label{font-size:14px!important;line-height:1.4!important;color:var(--gx-soft)!important}
.gx-ring-num small{font-size:16px;color:var(--gx-soft)}
.gx-result{margin-top:18px;padding:16px 18px;border-radius:14px;background:var(--paper);font-size:16px;line-height:1.55;color:var(--ink)}
.gx-result[data-state="done"]{background:var(--gx-ok-bg);color:#14532d}
.gx-result[data-state="some"]{background:var(--gx-warn-bg);color:#6b3a0f}
@media(max-width:700px){.gx-check{grid-template-columns:minmax(0,1fr)}.gx-ring{position:static;grid-row:1;grid-template-columns:auto 1fr;justify-items:start;text-align:start;align-items:center;gap:16px}.gx-ring-dial{width:76px;height:76px}.gx .gx-ring-num{font-size:19px}.gx-ring-num small{font-size:12px}}

/* step line (process, in order) */
.gx-steps{position:relative;margin:28px 0 0;padding:0;list-style:none;counter-reset:gxs}
.gx-steps::before{content:"";position:absolute;inset-block:12px 12px;inset-inline-start:21px;width:2px;background:var(--line)}
.gx-steps::after{content:"";position:absolute;top:12px;inset-inline-start:21px;width:2px;height:calc((100% - 24px) * var(--gx-line,1));background:var(--orange);transition:height .2s linear}
.gx-steps li{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:18px;padding-bottom:26px}
.gx-steps li:last-child{padding-bottom:0}
.gx-steps li::before{counter-increment:gxs;content:counter(gxs);position:relative;z-index:1;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;border:2px solid var(--orange);color:var(--orange);font:600 16px/1 Poppins,"Poppins Fallback",sans-serif}
.gx .gx-steps h3{margin:8px 0 4px;font-size:18.5px}
.gx-steps p{font-size:16.5px!important;line-height:1.6!important}

/* yes / no columns */
.gx-vs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:26px}
.gx-vs>div{padding:22px;border-radius:var(--gx-r);border:1px solid var(--line);background:#fff}
.gx-vs>.is-ok{border-color:#bfe0cd;background:linear-gradient(180deg,var(--gx-ok-bg),#fff 70%)}
.gx-vs>.is-bad{border-color:#f2cbbf;background:linear-gradient(180deg,var(--gx-bad-bg),#fff 70%)}
.gx-vs-title{display:flex;align-items:center;gap:10px;font:600 18px/1.3 Poppins,"Poppins Fallback",sans-serif;color:var(--navy)}
.gx-vs .is-ok .gx-vs-title .gx-i{color:var(--gx-ok)}
.gx-vs .is-bad .gx-vs-title .gx-i{color:var(--gx-bad)}
.gx-vs ul{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.gx-vs li{display:flex;gap:10px;align-items:flex-start;font-size:16px!important;line-height:1.55!important}
.gx-vs li .gx-i{width:18px;height:18px;margin-top:4px}
.gx-vs .is-ok li .gx-i{color:var(--gx-ok)}
.gx-vs .is-bad li .gx-i{color:var(--gx-bad)}
@media(max-width:700px){.gx-vs{grid-template-columns:minmax(0,1fr)}}

/* chips */
.gx-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding:0;list-style:none}
.gx-chips li{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;border:1px solid var(--line-strong);background:#fff;font-size:15px!important;line-height:1.3!important;color:var(--ink)}
.gx-chips li .gx-i{width:16px;height:16px;color:var(--orange)}

/* script samples inside English text keep the Arabic face */
.gx .gx-ar{font-family:Cairo,Tahoma,sans-serif!important;font-weight:600;letter-spacing:0!important;unicode-bidi:isolate}
.gx .gx-ltr{direction:ltr;unicode-bidi:isolate}

/* end of article: related guides and sharing */
.gx-end{padding-block:80px;background:var(--paper)}
.gx-end .sv2-wrap{max-width:1180px}
.gx-end-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:16px 40px;margin-bottom:30px}
.gx .gx-end-head h2{margin:0;font-size:clamp(26px,2.3vw,34px);color:var(--navy);display:flex;align-items:center;gap:12px}
.gx-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.gx-share span{font-size:14.5px;color:var(--gx-soft)}
.gx-share a,.gx-share button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;color:var(--navy);font:600 14.5px/1.2 Inter,sans-serif;text-decoration:none;cursor:pointer}
.gx-share a:hover,.gx-share button:hover{border-color:var(--navy)}
.gx-share .gx-i{width:17px;height:17px}
.gx-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.gx-related a{display:flex;flex-direction:column;height:100%;border:1px solid var(--line);border-radius:var(--gx-r);background:#fff;overflow:hidden;text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s}
.gx-related a:hover{border-color:var(--line-strong);box-shadow:var(--gx-shadow)}
.gx-related figure{margin:0;aspect-ratio:16/9;background:var(--navy);overflow:hidden}
.gx-related img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gx-related a:hover img{transform:scale(1.03)}
.gx-related div{display:flex;flex-direction:column;gap:8px;padding:18px 20px 22px}
.gx-related small{font:600 12.5px/1.3 Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--orange)}
.gx .gx-related h3{margin:0;font-size:18px;line-height:1.35;color:var(--navy)}
@media(max-width:900px){.gx-related{grid-template-columns:minmax(0,1fr)}}

/* first sight of a section: a short rise (never on load, never twice, none with reduced motion) */
.gx-js [data-gx-reveal].gx-pre{opacity:0;transform:translateY(18px)}
.gx-js [data-gx-reveal].gx-in{opacity:1;transform:none;transition:opacity .6s ease,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--gx-d,0s)}

/* Arabic: Cairo everywhere (site-v2.css covers headings, text and links; these add the rest), its own line heights, no tracking, no capitals */
[dir="rtl"] .gx :is(figcaption,dt,dd,label,button,legend,select,option,b,mark,em,i,q,cite,output,small){font-family:Cairo,Tahoma,sans-serif!important}
[dir="rtl"] .gx *{letter-spacing:0!important;text-transform:none!important}
[dir="rtl"] .gx :is(.gx-callout-title,.gx-vs-title,.gx-toc-box strong,.gx-take li,.gx-switch,.gx-btn,.gx-tool-kicker,.gx-num,figcaption,dt,dd,label,button,legend){line-height:1.6}
/* phones: the hero keeps its full height, so the Arabic font arriving late cannot push the page up */
@media(max-width:600px){[dir="rtl"] .gx .gx-hero{min-height:calc(100svh - var(--header))}[dir="rtl"] .gx-hero .sv2-hero-inner{align-items:start;align-content:start}[dir="rtl"] .gx-hero-copy{display:flex;flex-direction:column;min-height:calc(100svh - var(--header) - 72px)}[dir="rtl"] .gx-hero-meta{margin-top:auto!important;padding-top:18px}[dir="rtl"] .gx-hero-meta li:not(:first-child){display:none}[dir="rtl"] .gx-hero .sv2-crumbs{height:28px;overflow:hidden}[dir="rtl"] .gx-hero .sv2-crumbs ol{flex-wrap:nowrap;white-space:nowrap}[dir="rtl"] .gx-hero .sv2-eyebrow{height:24px}}
[dir="rtl"] .gx :is(h1,h2,h3){line-height:1.5!important;letter-spacing:0!important}
[dir="rtl"] .gx-hero h1{line-height:1.45!important}
[dir="rtl"] .gx-article p,[dir="rtl"] .gx-article li{line-height:1.95}
[dir="rtl"] .gx :is(.gx-take-label,.gx-toc-title,.gx-tool-kicker,.gx-related small,.sv2-eyebrow){letter-spacing:0;text-transform:none}
[dir="rtl"] .gx-pull{font-family:Cairo,Tahoma,sans-serif;line-height:1.7}
[dir="rtl"] .gx-ring-num{font-family:Cairo,Tahoma,sans-serif!important}

@media (prefers-reduced-motion:reduce){
  .gx *,.gx *::before,.gx *::after{transition:none!important;animation:none!important}
  .gx-js [data-gx-reveal].gx-pre{opacity:1;transform:none}
  .gx-progress{display:none}
}
/* without the script, controls that only work with it stay out of the way (every word stays on the page) */
.gx:not(.gx-js) :is(button,[role="tablist"],.gx-switch){display:none!important}

@media print{.gx-progress,.gx-toc,.gx-toc-mobile,.gx-share,.sv2-cta{display:none!important}.gx-body{display:block}}
