/* Hawk Shelter — right-to-left adjustments, loaded by ar.html only (after style.css and motion.css) */
:root { --f-head: "Alexandria", "Montserrat", "Segoe UI", Tahoma, sans-serif; }
body { font-family: "IBM Plex Sans Arabic", "Barlow", "Segoe UI", Tahoma, sans-serif; line-height: 1.8; }
/* letter spacing would break the joins between Arabic letters */
*, *::before, *::after { letter-spacing: 0 !important; }
.wordmark { direction: ltr; }
h1, h2, h3 { line-height: 1.35; }
.hero h1 { line-height: 1.3; }
.manifesto .head h2, .fcta h2 { line-height: 1.35; }
.ft a small { font-family: "IBM Plex Sans Arabic", sans-serif; }
address, .contacts div[dir="ltr"] { text-align: right; }

/* header */
.nav { margin-left: 0; margin-right: auto; }
.langs ul { right: auto; left: 0; }
.langs summary::after { margin: 0 6px 0 0; }
@media (max-width: 1360px) { .nav { margin: 0; } .langs { margin-left: 0; margin-right: auto; } }

/* text + lines */
th, td { text-align: right; padding: 15px 0 15px 18px; }
.cmp td:not(:first-child), .cmp thead th:not(:first-child) { text-align: center; }
ul.ck li { padding: 10px 24px 10px 0; }
ul.ck li::before { left: auto; right: 0; }
.hero-fig figcaption { text-align: left; }
.stats div { border-left: 0; border-right: 1px solid var(--line); }
.stats div:first-child { border-right: 0; padding-left: 28px; padding-right: 0; }
@media (max-width: 860px) { .stats div:nth-child(3) { border-right: 0; padding-right: 0; } }
@media (max-width: 460px) { .stats div { padding: 20px 14px; } .stats div:nth-child(odd) { padding-right: 0; } }
.badge { padding: 0 26px 0 0; border-left: 0; border-right: 1px solid var(--line2); }
@media (max-width: 460px) { .badge { padding: 0; border: 0; } }
.tag { left: auto; right: 0; }
.gal figcaption { left: auto; right: 0; }
.pills button { margin-right: 0; margin-left: -1px; }
.sizes button { border-left: 0; border-right: 1px solid var(--line2); }
.sizes button:first-child { border-right: 0; }
.callout { padding: 22px 24px 22px 0; border-left: 0; border-right: 2px solid var(--gold); }

/* floating + footer */
.skip { left: auto; right: -9999px; }
.skip:focus { right: 12px; }
.fab { right: auto; left: 20px; }
.flangs { margin: 0 auto 0 0; }
@media (min-width: 641px) and (max-width: 1400px) { .legal { padding-right: 0; padding-left: 76px; } }
@media (max-width: 600px) { .flangs { margin: 0; } }
.ft a { background-position: right calc(100% - 2px); }

/* image viewer */
.lb .x { right: auto; left: 14px; }
.lb .p { left: auto; right: 14px; }
.lb .nx { right: auto; left: 14px; }

/* motion that has a direction */
.progress, .curtain::after, .head::before, .railbar i, .meter i::after { transform-origin: right; }
.motion .w { padding: .16em .06em .24em; margin: -.16em -.06em -.24em; }
.motion .wi { transform: translateY(140%); }
.motion .words.in .wi { transform: none; }
.marquee { direction: ltr; }
.marquee span { padding-right: .7em; line-height: 1.5; }
.marquee span:nth-child(even) { color: var(--gold-lo); -webkit-text-stroke: 0; }
