/* Wahaj visual refresh. Scoped overlays only; no section sizes, GSAP transforms, or global animation rules change. */
html[lang="ar"] .wahaj-media-stage {position:relative!important;overflow:hidden!important;isolation:isolate}
html[lang="ar"] .wahaj-media-stage>img,
html[lang="ar"] .wahaj-media-stage>.wahaj-media-poster{display:block}
html[lang="ar"] .wahaj-media-stage>.wahaj-motion-video{
  position:absolute!important;z-index:1!important;inset:0!important;
  width:100%!important;height:100%!important;
  min-width:100%;min-height:100%;
  display:block!important;object-fit:cover!important;
  opacity:0;
  transition:opacity .45s ease!important;
  border-radius:inherit;
  pointer-events:none!important;
}
html[lang="ar"] .wahaj-media-stage>.wahaj-motion-video.wahaj-playing{opacity:1!important}
html[lang="ar"] .hero-photo.wahaj-media-stage>.wahaj-motion-video{z-index:2!important}
html[lang="ar"] .portfolio-card.wahaj-motion-card{position:relative;overflow:hidden}
html[lang="ar"] .portfolio-card.wahaj-motion-card>.wahaj-motion-video{
  position:absolute!important;inset:0 0 auto!important;
  height:230px!important;object-fit:cover!important;
  z-index:1!important;opacity:0;transition:opacity .45s ease!important;pointer-events:none
}
html[lang="ar"] .portfolio-card.wahaj-motion-card>.wahaj-motion-video.wahaj-playing{opacity:1}
html[lang="ar"] .portfolio-card.wahaj-motion-card>.portfolio-content{position:relative;z-index:2}
html[lang="ar"] .wahaj-media-stage:focus-within .wahaj-motion-video{opacity:0}
@media(prefers-reduced-motion:reduce){
 html[lang="ar"] .wahaj-media-stage>.wahaj-motion-video,
 html[lang="ar"] .portfolio-card.wahaj-motion-card>.wahaj-motion-video{display:none!important}
}
