/*
Theme Name: Dubai Gateway
Theme URI: https://dubaigateway.ae
Author: Dubai Gateway
Description: Custom theme for Dubai Gateway. Request-and-match service for people entering Dubai.
Version: 1.5.0
Requires at least: 5.5
Text Domain: dubai-gateway
*/
body{margin:0}img{max-width:100%;height:auto}[hidden]{display:none!important}

/* Layout: one dark world taken from the logo. Navy ground, gold used only for the lintel
   bars, headings and the single primary action; four services drawn as gates you walk through. */
:root{
  color-scheme:dark;
  --navy:#010D19; --panel:#0A1B2E; --panel-2:#0F2438; --line:#1C3349;
  --gold:#B9934C; --gold-hi:#F8EC98; --ivory:#F5F1E6; --muted:#9AA7B5; --cyan:#22D3EE;
  --display:"Cinzel","Cinzel FB1","Cinzel FB2","Times New Roman",serif;
  --body:"Inter","Inter FB",system-ui,-apple-system,"Segoe UI",sans-serif;
  --goldgrad:linear-gradient(100deg,#B9934C 0%,#F8EC98 48%,#B9934C 100%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--navy);color:var(--ivory);font-family:var(--body);font-size:16px;line-height:1.65}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--navy)}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:4px}
.w{max-width:1160px;margin-inline:auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.15;text-wrap:balance;margin:0}
h2{font-size:clamp(1.6rem,3.4vw,2.4rem);letter-spacing:.02em}
p{margin:0}
.eyebrow{font-size:.74rem;letter-spacing:.22em;text-transform:uppercase;color:var(--cyan);font-weight:600}
.lead{color:var(--muted);max-width:60ch}
.gold{background:var(--goldgrad);-webkit-background-clip:text;background-clip:text;color:transparent}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.9rem 1.5rem;border-radius:2px;font-weight:600;font-size:.95rem;letter-spacing:.03em;border:1px solid var(--gold);cursor:pointer;font-family:var(--body);transition:transform .2s,box-shadow .2s,background .2s}
.btn-gold{background:var(--goldgrad);color:var(--navy);box-shadow:0 0 28px rgba(185,147,76,.28)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 0 40px rgba(248,236,152,.4)}
.btn-line{background:transparent;color:var(--gold-hi)}
.btn-line:hover{background:rgba(185,147,76,.12)}

/* header */
header.site{position:sticky;top:env(safe-area-inset-top,0px);z-index:9;background:rgba(1,13,25,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.55rem}
.logo img{display:block;height:46px;width:auto;mix-blend-mode:lighten}
nav{display:flex;gap:1.6rem;font-size:.9rem;color:var(--muted)}
nav a:hover{color:var(--gold-hi)}
.bar .btn{padding:.6rem 1.1rem;font-size:.85rem}
@media(max-width:900px){nav{display:none}}

/* hero */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.hero .w{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:2rem;padding-block:clamp(2.5rem,6vw,5rem)}
.hero h1{font-size:clamp(2.2rem,5.6vw,4.1rem);letter-spacing:.01em;margin-block:1rem 1.2rem}
.hero .lead{font-size:1.1rem;color:var(--ivory);opacity:.86}
.cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem}
.note{margin-top:1.1rem;font-size:.85rem;color:var(--muted)}
.gate{position:relative;min-width:0}
.gate img{display:block;width:100%;transform:scale(1.25);filter:brightness(.82) saturate(.85);mix-blend-mode:lighten;-webkit-mask-image:radial-gradient(ellipse 62% 66% at 50% 48%,#000 55%,transparent 100%);mask-image:radial-gradient(ellipse 62% 66% at 50% 48%,#000 55%,transparent 100%)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
.grid-bg{position:absolute;inset:0;background-image:linear-gradient(rgba(34,211,238,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(34,211,238,.05) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 40%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 40%,transparent);pointer-events:none}
@media(max-width:820px){.hero .w{grid-template-columns:1fr}.gate{order:-1;max-width:420px;margin-inline:auto}}

section{padding-block:clamp(3rem,7vw,5.5rem)}
.head{display:flex;flex-direction:column;gap:.8rem;margin-bottom:2.4rem}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line)}
.step{padding:1.6rem 1.6rem 0 0;position:relative}
.step::before{content:"";position:absolute;top:-1px;left:0;width:64px;height:1px;background:var(--cyan);box-shadow:0 0 10px var(--cyan)}
.step b{font-family:var(--display);font-size:2.2rem;line-height:1}
.step h3{font-size:1.1rem;margin-block:.7rem .4rem;font-family:var(--body);font-weight:600}
.step p{color:var(--muted);font-size:.95rem}
@media(max-width:760px){.steps{grid-template-columns:1fr;border-top:0}.step{border-top:1px solid var(--line);padding:1.4rem 0}}

/* doors */
.doors{background:linear-gradient(var(--navy),var(--panel) 30%,var(--navy))}
.door-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.door{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-top:0;transition:transform .25s,border-color .25s;min-width:0}
.door::before{content:"";display:block;height:10px;margin-inline:-9px;background:var(--goldgrad);box-shadow:0 6px 22px rgba(185,147,76,.35)}
.door:hover{transform:translateY(-6px);border-color:var(--gold)}
.door-in{display:flex;flex-direction:column;gap:.7rem;padding:1.6rem 1.3rem 1.4rem;flex:1}
.door svg{width:34px;height:34px;stroke:var(--gold-hi);fill:none;stroke-width:1.4}
.door h3{font-size:1.15rem;letter-spacing:.04em}
.door p{color:var(--muted);font-size:.92rem;flex:1}
.door span{font-size:.85rem;font-weight:600;color:var(--gold-hi);letter-spacing:.04em}
@media(max-width:980px){.door-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.door-grid{grid-template-columns:1fr;padding-inline:9px}}

/* why */
.why{display:grid;grid-template-columns:.8fr 1.2fr;gap:3rem;align-items:start}
.why dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:1.8rem 2.2rem}
.why dt{font-weight:600;color:var(--gold-hi);margin-bottom:.3rem}
.why dd{margin:0;color:var(--muted);font-size:.95rem}
@media(max-width:820px){.why{grid-template-columns:1fr;gap:1.8rem}}
@media(max-width:520px){.why dl{grid-template-columns:1fr}}

/* request */
.request{background:var(--panel);border-block:1px solid var(--line)}
.req{display:grid;grid-template-columns:.9fr 1.1fr;gap:3rem;align-items:start}
.req ul{list-style:none;padding:0;margin:1.6rem 0 0;display:grid;gap:.7rem;color:var(--muted);font-size:.95rem}
.req li{padding-left:1.4rem;position:relative}
.req li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;background:var(--gold);transform:rotate(45deg)}
form{display:grid;gap:1rem;background:var(--navy);border:1px solid var(--line);padding:1.6rem;min-width:0}
form::before{content:"";height:6px;margin:-1.6rem -1.6rem .4rem;background:var(--goldgrad)}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chips input{position:absolute;opacity:0}
.chips label{padding:.5rem .9rem;border:1px solid var(--line);font-size:.86rem;cursor:pointer;color:var(--muted)}
.chips input:checked+label{border-color:var(--gold);color:var(--navy);background:var(--goldgrad);font-weight:600}
.chips input:focus-visible+label{outline:2px solid var(--cyan);outline-offset:2px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:520px){.two{grid-template-columns:1fr}}
.f{display:grid;gap:.35rem;min-width:0}
.f>span,legend{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
fieldset{border:0;padding:0;margin:0;display:grid;gap:.5rem;min-width:0}
legend{padding:0;margin-bottom:.5rem}
input[type=text],input[type=tel],input[type=email],select,textarea{width:100%;background:var(--panel);border:1px solid var(--line);color:var(--ivory);padding:.75rem .8rem;font:inherit;font-size:.95rem;border-radius:2px}
input:focus,select:focus,textarea:focus{border-color:var(--gold);outline:0}
textarea{min-height:92px;resize:vertical}
.small{font-size:.8rem;color:var(--muted)}
.done{border:1px solid var(--gold);padding:1rem;background:rgba(185,147,76,.1);font-size:.95rem}
@media(max-width:860px){.req{grid-template-columns:1fr;gap:2rem}}

/* business */
.biz{display:grid;grid-template-columns:1.2fr .8fr;gap:2.5rem;align-items:center;border:1px solid var(--line);padding:clamp(1.6rem,4vw,3rem);background:linear-gradient(120deg,var(--panel-2),var(--navy))}
.biz ul{margin:1.2rem 0 1.6rem;padding-left:1.1rem;color:var(--muted);display:grid;gap:.4rem;font-size:.95rem}
.biz aside{border-left:1px solid var(--line);padding-left:2rem;color:var(--muted);font-size:.92rem}
.biz aside b{display:block;color:var(--ivory);font-weight:600;margin-bottom:.5rem}
@media(max-width:820px){.biz{grid-template-columns:1fr}.biz aside{border-left:0;border-top:1px solid var(--line);padding:1.4rem 0 0}}

.about{display:grid;grid-template-columns:auto 1fr;gap:2.5rem;align-items:center}
.about img{width:120px;height:120px;mix-blend-mode:lighten}
.about p+p{margin-top:1rem}
@media(max-width:640px){.about{grid-template-columns:1fr}.about img{width:84px;height:84px}}

footer.site{border-top:1px solid var(--line);padding-block:2.5rem;color:var(--muted);font-size:.88rem}
.foot{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:2rem}
.foot h4{font-family:var(--body);font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-hi);margin:0 0 .7rem}
.foot a{display:block;margin-bottom:.35rem}
.foot a:hover{color:var(--ivory)}
.foot .sel{user-select:all;color:var(--ivory)}
.legal{margin-top:2rem;padding-top:1.4rem;border-top:1px solid var(--line);font-size:.8rem}
@media(max-width:720px){.foot{grid-template-columns:1fr}}

/* multi-page additions */
.foot4{grid-template-columns:1.3fr 1fr 1fr 1fr}
@media(max-width:720px){.foot4{grid-template-columns:1fr}}
nav{gap:1.15rem;font-size:.86rem}
nav a,.bar .btn{white-space:nowrap}
@media(max-width:1120px){nav{display:none}.menu-btn{display:block}.bar .btn{display:none}
 nav.open{display:flex;flex-direction:column;gap:0;position:absolute;left:0;right:0;top:100%;background:var(--navy);border-bottom:1px solid var(--line);padding:.4rem 20px 1rem}
 nav.open a{padding:.8rem 0;border-bottom:1px solid var(--line)}}

nav a[aria-current=page]{color:var(--gold-hi)}
.menu-btn{display:none;background:none;border:1px solid var(--line);color:var(--ivory);padding:.5rem .7rem;font:inherit;font-size:.85rem;cursor:pointer}
@media(max-width:900px){.menu-btn{display:block}.bar .btn{display:none}
 nav.open{display:flex;flex-direction:column;gap:0;position:absolute;left:0;right:0;top:100%;background:var(--navy);border-bottom:1px solid var(--line);padding:.4rem 20px 1rem}
 nav.open a{padding:.8rem 0;border-bottom:1px solid var(--line)}}
.strip{border-bottom:1px solid var(--line);background:var(--panel)}
.strip .w{display:flex;flex-wrap:wrap;gap:.6rem 2.2rem;padding-block:1rem;font-size:.86rem;color:var(--muted)}
.strip span::before{content:"";display:inline-block;width:7px;height:7px;background:var(--gold);transform:rotate(45deg);margin-right:.7rem;vertical-align:middle}
.page-head{border-bottom:1px solid var(--line);background:linear-gradient(var(--panel),var(--navy))}
.page-head .w{padding-block:clamp(2.5rem,6vw,4.5rem);display:flex;flex-direction:column;gap:1rem}
.page-head h1{font-size:clamp(1.9rem,4.6vw,3.2rem)}
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:start}
@media(max-width:820px){.split{grid-template-columns:1fr;gap:2rem}}
.covers{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 2rem}
.covers li{padding:.9rem 0;border-bottom:1px solid var(--line)}
@media(max-width:520px){.covers{grid-template-columns:1fr}}
.box{border:1px solid var(--line);background:var(--panel);padding:1.5rem;display:grid;gap:.8rem}
.box::before{content:"";height:6px;margin:-1.5rem -1.5rem .3rem;background:var(--goldgrad)}
.box p{color:var(--muted);font-size:.94rem}
.box b{color:var(--gold-hi)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
@media(max-width:900px){.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cards{grid-template-columns:1fr}}
.post{display:flex;flex-direction:column;gap:.7rem;border:1px solid var(--line);background:var(--panel);padding:1.3rem;min-width:0;transition:border-color .2s,transform .2s}
.post:hover{border-color:var(--gold);transform:translateY(-4px)}
.tag{align-self:flex-start;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--cyan);border:1px solid rgba(34,211,238,.35);padding:.2rem .55rem}
.post h3{font-family:var(--body);font-size:1.05rem;font-weight:600;line-height:1.35}
.post p{color:var(--muted);font-size:.9rem;flex:1}
.post span.more{font-size:.84rem;color:var(--gold-hi);font-weight:600}
.post.empty{border-style:dashed}
.post.empty h3{color:var(--muted);font-weight:500}
.rowhead{display:flex;justify-content:space-between;align-items:end;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}
.rowhead .head{margin:0}
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.8rem}
.filters span{border:1px solid var(--line);padding:.4rem .85rem;font-size:.84rem;color:var(--muted)}
.filters span:first-child{border-color:var(--gold);color:var(--gold-hi)}
.sample{border-left:2px solid var(--cyan);padding:.7rem 1rem;background:rgba(34,211,238,.06);font-size:.88rem;color:var(--muted);margin-bottom:1.8rem}
details{border-bottom:1px solid var(--line);padding:1.1rem 0}
summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:1rem}
summary::after{content:"+";color:var(--gold-hi);font-size:1.2rem;line-height:1}
details[open] summary::after{content:"–"}
details p{color:var(--muted);margin-top:.7rem;max-width:70ch;font-size:.95rem}
.faq{display:grid;grid-template-columns:.7fr 1.3fr;gap:3rem}
@media(max-width:820px){.faq{grid-template-columns:1fr;gap:1.5rem}}
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
@media(max-width:720px){.contact-grid{grid-template-columns:1fr}}
.contact-grid .box p.sel{user-select:all;color:var(--ivory);font-size:1.05rem}
button.linkish{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.door{cursor:pointer}

/* live-site additions */
body.admin-bar header.site{top:32px}
@media(max-width:782px){body.admin-bar header.site{top:46px}}
.wa-float{position:fixed;left:18px;bottom:18px;z-index:8;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.45)}
.wa-float svg{width:30px;height:30px;fill:#fff}
.prose{max-width:72ch}
.prose p,.prose ul,.prose ol{margin:0 0 1.1rem;color:var(--ivory);opacity:.9}
.prose h2{font-size:1.5rem;margin:2rem 0 .8rem}
.prose h3{font-family:var(--body);font-size:1.15rem;margin:1.6rem 0 .6rem}
.prose a{color:var(--gold-hi);text-decoration:underline}
.prose img{margin-block:1rem}
.meta{color:var(--muted);font-size:.88rem}
.pager{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:2.2rem}
.pager .page-numbers{border:1px solid var(--line);padding:.45rem .85rem;font-size:.9rem;color:var(--muted)}
.pager .current{border-color:var(--gold);color:var(--gold-hi)}
.err{border:1px solid #e0705f;padding:1rem;background:rgba(224,112,95,.1);font-size:.95rem}
.post time{font-size:.8rem;color:var(--muted)}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

header.site .menu-btn{color:var(--ivory);line-height:1.2;min-width:auto;height:auto;width:auto;border-radius:2px;text-transform:none}
header.site nav a{color:var(--muted);text-decoration:none}
header.site nav a:hover,header.site nav a[aria-current=page]{color:var(--gold-hi)}

@media(max-width:1120px){header.site .menu-btn{display:block}}

.crumbs{font-size:.82rem;color:var(--muted)}
.crumbs a{color:var(--gold-hi)}
a.ul{color:var(--gold-hi);text-decoration:underline}
.prose .covers{padding:0;margin:0 0 1rem}
.prose .covers li{opacity:1}
.box .btn{justify-self:start;margin-top:.4rem}

/* old popup markup is not used by this theme */
.pum,.pum-overlay,.pum-container{display:none!important}

/* fallback fonts sized to match the web fonts, so text does not jump when they load */
@font-face{font-family:"Cinzel FB1";src:local("Times New Roman"),local("TimesNewRomanPSMT");size-adjust:128.5%}
@font-face{font-family:"Cinzel FB2";src:local("Noto Serif"),local("Liberation Serif"),local("Georgia");size-adjust:110%}
@font-face{font-family:"Inter FB";src:local("Arial"),local("Helvetica Neue"),local("Roboto"),local("Liberation Sans");size-adjust:107%}

/* languages */
html[lang="ru"]{--display:"Playfair Display","Times New Roman",Georgia,serif}
html[lang^="zh"]{--display:"Noto Serif SC","Songti SC","STSong","SimSun","PingFang SC",serif;--body:"PingFang SC","Microsoft YaHei","Noto Sans SC","Inter",system-ui,sans-serif}
html[lang^="zh"] h1,html[lang^="zh"] h2,html[lang^="zh"] h3{letter-spacing:0;line-height:1.3}
html[lang^="zh"] .eyebrow{letter-spacing:.12em}
html[lang="ru"] .hero h1{font-size:clamp(2rem,4.8vw,3.5rem)}
.langs{display:inline-flex;gap:.7rem;align-items:center;font-size:.8rem;padding-left:.9rem;border-left:1px solid var(--line)}
header.site nav .langs a{color:var(--muted)}
header.site nav .langs a[aria-current]{color:var(--gold-hi)}
.langs button{color:var(--muted);font-size:1rem;line-height:1}
@media(max-width:1120px){nav.open .langs{border-left:0;padding:.9rem 0 0;gap:1.2rem;font-size:.95rem}}
.lang-bar{background:var(--panel-2);border-bottom:1px solid var(--line);padding:.6rem 20px;font-size:.88rem;display:flex;gap:1rem;justify-content:center;align-items:center;flex-wrap:wrap;color:var(--ivory)}
.lang-bar a{color:var(--gold-hi);text-decoration:underline}
.lang-bar button{background:none;border:1px solid var(--line);color:var(--muted);font:inherit;font-size:.82rem;padding:.2rem .6rem;cursor:pointer}
.gt-box{margin-top:1.6rem}
.gt-box select{background:var(--panel);color:var(--ivory);border:1px solid var(--line);padding:.4rem}
.goog-te-banner-frame,iframe.skiptranslate,.VIpgJd-ZVi9od-ORHb-OEVmcd{display:none!important}
body{top:0!important}

/* the menu is longer with the language switcher, so collapse it earlier */
@media(max-width:1300px){header.site nav{display:none}header.site .menu-btn{display:block}header.site .bar>.btn{display:none}
 header.site nav.open{display:flex;flex-direction:column;gap:0;position:absolute;left:0;right:0;top:100%;background:var(--navy);border-bottom:1px solid var(--line);padding:.4rem 20px 1rem}
 header.site nav.open>a{padding:.8rem 0;border-bottom:1px solid var(--line)}
 header.site nav.open .langs{border-left:0;padding:.9rem 0 0;gap:1.2rem;font-size:.95rem}}
@media(max-width:1600px){html[lang="ru"] header.site nav{display:none}html[lang="ru"] header.site .menu-btn{display:block}html[lang="ru"] header.site .bar>.btn{display:none}
 html[lang="ru"] header.site nav.open{display:flex;flex-direction:column;gap:0;position:absolute;left:0;right:0;top:100%;background:var(--navy);border-bottom:1px solid var(--line);padding:.4rem 20px 1rem}
 html[lang="ru"] header.site nav.open>a{padding:.8rem 0;border-bottom:1px solid var(--line)}
 html[lang="ru"] header.site nav.open .langs{border-left:0;padding:.9rem 0 0;gap:1.2rem;font-size:.95rem}}

/* reserve the hero image space on phones before the image arrives */
@media(max-width:820px){.gate{width:100%;justify-self:center}}

/* Arabic: right-to-left layout */
html[lang="ar"]{--display:"Amiri","Noto Naskh Arabic","Geeza Pro","Traditional Arabic","Times New Roman",serif;--body:"Tajawal","Noto Sans Arabic","Geeza Pro","Segoe UI",Tahoma,sans-serif}
html[dir="rtl"] body{font-size:17px;line-height:1.8}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3{letter-spacing:0;line-height:1.45}
html[dir="rtl"] .eyebrow,html[dir="rtl"] .f>span,html[dir="rtl"] legend,html[dir="rtl"] .foot h4,html[dir="rtl"] .tag,html[dir="rtl"] .btn{letter-spacing:0}
html[dir="rtl"] .eyebrow{font-size:.9rem}
html[dir="rtl"] .hero h1{font-size:clamp(2.3rem,5.4vw,4rem)}
html[dir="rtl"] .step{padding:1.6rem 0 0 1.6rem}
html[dir="rtl"] .step::before{left:auto;right:0}
html[dir="rtl"] .req li{padding-left:0;padding-right:1.4rem}
html[dir="rtl"] .req li::before{left:auto;right:0}
html[dir="rtl"] .strip span::before{margin-right:0;margin-left:.7rem}
html[dir="rtl"] .langs{padding-left:0;padding-right:.9rem;border-left:0;border-right:1px solid var(--line)}
html[dir="rtl"] .sample{border-left:0;border-right:2px solid var(--cyan)}
html[dir="rtl"] .sel,html[dir="rtl"] input[type=tel],html[dir="rtl"] input[type=email]{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] input[type=tel],html[dir="rtl"] input[type=email]{text-align:right}
html[dir="rtl"] .foot .sel{text-align:right}
html[dir="rtl"] .crumbs a{margin-left:.2rem}
html[dir="rtl"] button.linkish{text-align:right}
@media(max-width:760px){html[dir="rtl"] .step{padding:1.4rem 0}}
@media(max-width:1300px){html[dir="rtl"] header.site nav.open .langs{border-right:0;padding:.9rem 0 0}}

.tagline{font-family:var(--display);font-style:italic;font-size:clamp(1.15rem,2.2vw,1.5rem);background:var(--goldgrad);-webkit-background-clip:text;background-clip:text;color:transparent;margin:-.4rem 0 1.1rem;letter-spacing:.02em}
html[lang^="zh"] .tagline,html[dir="rtl"] .tagline{font-style:normal;letter-spacing:0}
