/* Homepage only: Arabic artwork left, copy right. English desktop is unchanged. */
html[lang=ar][dir=rtl] .hero::after{
 content:"";position:absolute;inset:0!important;width:100%;height:100%!important;
 background:inherit!important;background-image:var(--adham-home-image,url(/assets/hero.jpg))!important;
 transform:scaleX(-1)!important;z-index:0;pointer-events:none;
}
@media(min-width:761px){
 html[lang=ar][dir=rtl] .hero .copy{margin-left:auto!important;margin-right:0!important}
 html[lang=ar][dir=rtl] .hero::after{background-position:70% 50%!important;background-size:cover!important;background-repeat:no-repeat!important}
 html[lang=ar][dir=rtl] .hero::before{background:linear-gradient(270deg,rgba(15,17,20,.88),rgba(15,17,20,.60) 34%,transparent 65%)!important}
 html[lang=ar][dir=rtl][data-adham-palette=light] .hero::before{background:linear-gradient(270deg,color-mix(in srgb,var(--ink) 97%,transparent),color-mix(in srgb,var(--ink) 92%,transparent) 40%,transparent 76%)!important}
}
@media(max-width:760px){
 /* Match the approved Arabic mobile picture area, without changing English type or buttons. */
 html[lang=en][data-theme] .hero{background-size:100% auto!important;background-position:center top!important}
 html[lang=en][data-theme] .hero .copy{padding-top:clamp(240px,58vw,420px)!important}
 html[lang=en][data-theme] .hero::before{background:linear-gradient(180deg,transparent 0,transparent 140px,var(--ink) clamp(230px,56vw,400px))!important}
 html[lang=ar][dir=rtl] .hero::after{background-size:100% auto!important;background-position:center top!important;background-repeat:no-repeat!important}
}
