/* Arabic (RTL) overrides for Omnia's site. Loaded after repair.css on pages with <html dir="rtl" lang="ar">. */
@font-face{font-family:'Cairo';src:url('../fonts/cairo-arabic.woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:'Cairo';src:url('../fonts/cairo-latin.woff2');unicode-range:U+0000-00FF,U+2000-206F}
html[dir=rtl] body{font-family:'Cairo',sans-serif}
html[dir=rtl] .brand,html[dir=rtl] .bigout,html[dir=rtl] .bigfill{font-family:'Cairo',sans-serif}
html[dir=rtl] *{letter-spacing:0 !important}

/* Mirror fixed chrome to the left side */
html[dir=rtl] .robot{right:auto !important;left:26px}
html[dir=rtl] .rpanel{right:auto !important;left:26px}
@media (max-width:760px){
html[dir=rtl] .robot{right:auto !important;left:16px !important}
html[dir=rtl] .rpanel{right:auto !important;left:16px !important}
}

/* Mirror home absolutes */
html[dir=rtl] body.home .typo{left:auto;right:90px}
html[dir=rtl] body.home .portrait{right:auto;left:140px}
html[dir=rtl] body.home .sub{left:auto;right:100px}
@media (max-width:760px){
html[dir=rtl] body.home .typo,html[dir=rtl] body.home .portrait,html[dir=rtl] body.home .sub{right:auto;left:auto}
}

/* Arabic display type: solid fills instead of the Latin outline stroke (busy on joined letters) */
html[dir=rtl] body.home .out,html[dir=rtl] body.home .fill{font-size:170px;line-height:1.02}
html[dir=rtl] body.home .out{color:var(--sage-d);-webkit-text-stroke:0 !important}
html[dir=rtl] .bigout,html[dir=rtl] .out2{color:var(--brown) !important;-webkit-text-stroke:0 !important}
html[dir=rtl] .out2{color:var(--sage-d) !important}
html[dir=rtl] body.home .fill{margin-top:-24px;color:var(--brown)}
@media (max-width:760px){
html[dir=rtl] body.home .out,html[dir=rtl] body.home .fill{font-size:56px}
html[dir=rtl] body.home .fill{margin-top:-8px}
}

/* Arabic runs taller than the Latin display font; ease a few fixed sizes */
html[dir=rtl] .typo .bigout{line-height:1.15}
html[dir=rtl] .out2,html[dir=rtl] .fill2{line-height:1.1}
html[dir=rtl] .band{height:auto}

/* Bullets and markers read from the right */
html[dir=rtl] .a ul{padding-left:0;padding-right:16px}
html[dir=rtl] .lbl span{margin-left:0}

/* Keep stat numbers and latin values in latin Cairo */
html[dir=rtl] .stat b{font-family:'Cairo',sans-serif}
