body.rtl{font-family:'IBM Plex Sans Arabic',sans-serif}
body.rtl :is(h1,h2,h3,p,a,button,summary){font-family:inherit;letter-spacing:0}
body.rtl .tx-ribbon-title{line-height:1.18!important;font-size:calc(var(--tx-ribbon-unit)*5.2)!important}
body.rtl .tx-ribbon-title em{font-style:normal;font-size:1em;white-space:nowrap}
body.rtl .tx-ribbon-description{line-height:1.65}
body.rtl .tx-ribbon-number{direction:ltr;text-align:right}
body.rtl .tx-ribbon-stat{border-left:0;border-right:1px solid #777;padding-right:18px;padding-left:0}
body.rtl .tx-ribbon-eyebrow{letter-spacing:0}
body.rtl .tx-ribbon-logo{direction:ltr}
body.rtl .txf-logo{direction:ltr;justify-content:flex-end}
body.rtl .txf-contact a[href^="mailto:"],body.rtl .txf-contact a[href^="tel:"]{direction:ltr;unicode-bidi:isolate}
body.rtl .txf-links li a:before,body.rtl .txf-services li a:before{transform:scaleX(-1)}
body.rtl :is(.txs-title,.txw-title,.txa-title,.txc-title){line-height:1.3}
body.rtl .tx-ribbon-header .tx-ribbon-language{direction:ltr}
@media(min-width:851px){
 body.rtl .tx-ribbon-logo{margin-left:auto;margin-right:0}
 body.rtl .tx-ribbon-nav{left:auto;right:34.65%}
 body.rtl .tx-ribbon-header-cta{right:auto;left:3.3%}
 body.rtl .tx-ribbon-language{right:auto;left:19.5%}
 body.rtl .tx-ribbon-viewport .tx-ribbon-copy{left:auto;right:4.1%;width:41%;z-index:2}
 body.rtl .tx-ribbon-viewport .tx-ribbon-stats{left:auto;right:4.1%;z-index:2}
 body.rtl .tx-ribbon-viewport>.tx-ribbon-hero{background-image:none;position:relative}
 body.rtl .tx-ribbon-viewport>.tx-ribbon-hero:before{content:'';position:absolute;left:0;top:0;width:57%;height:100%;background:url('../images/ribbon-background.webp') right bottom/auto 109% no-repeat}
}
@media(max-width:850px){body.rtl .tx-ribbon-title{font-size:11vw!important}body.rtl .tx-ribbon-copy{text-align:right}body.rtl .tx-ribbon-stat{padding-right:8px}}

body.rtl .txs-card-copy{line-height:1.65}body.rtl .txa-description{line-height:1.7}
body.rtl .txf-brand{border-right:0;border-left:1px solid #d9cec4;padding-right:0;padding-left:30px}
body.rtl .txf-contact{border-left:0;border-right:1px solid #d9cec4;padding-left:0;padding-right:30px}
@media(max-width:700px){body.rtl .txf-brand,body.rtl .txf-contact{border:0;padding:0}}
body.rtl .tx-ribbon-primary .wp-block-button__link{color:#fff}body.rtl .tx-ribbon-secondary .wp-block-button__link{color:#111}
body.rtl .tx-ribbon-label{font-size:max(12px,calc(var(--tx-ribbon-unit)*1.05))}

/* 0.8.1: override parent-theme typography only inside our Arabic components. */
body.rtl :is(.tx-ribbon-header,.tx-ribbon-hero,.tx-services-v3,.tx-selected-work,.tx-about-v5,.tx-project-cta,.tx-footer-v7){font-family:'IBM Plex Sans Arabic',sans-serif}
.tx-main,.tx-main>.wp-block-post-content{max-width:none;width:100%;margin-inline:0;padding-inline:0}

/* 0.8.3: native Arabic artwork; text is baked in readable RTL, never mirrored. */
@media(min-width:851px){body.rtl .tx-ribbon-viewport>.tx-ribbon-hero:before{background-image:url('../images/ribbon-background-ar.png');background-position:center bottom;background-size:cover;transform:none}}
@media(max-width:850px){
 body.rtl .tx-ribbon-scene{transform:none;aspect-ratio:4/3}
 body.rtl .tx-ribbon-original{background-image:url('../images/ribbon-background-ar.png');background-size:cover;background-position:center;clip-path:none;mask-image:none;-webkit-mask-image:none;transform:none}
}
