/* V11 — removes accidental pre-rendered source lettering, stabilizes Arabic copy.
   Important: mask only the picture, not the independently animated metric cards. */
.rayat-reference-hero .rayat-art-stage .rayat-reference-art{
  -webkit-mask-image:linear-gradient(to right, #000 0%, #000 83%, rgba(0,0,0,.86) 84.5%, rgba(0,0,0,.25) 87%, transparent 89%);
  mask-image:linear-gradient(to right, #000 0%, #000 83%, rgba(0,0,0,.86) 84.5%, rgba(0,0,0,.25) 87%, transparent 89%);
  image-rendering:auto;
  filter:none!important;
}
/* Make source-image edge dissolve into the navy background with no hard rectangle. */
.rayat-reference-hero .rayat-art-drift::after{display:none!important}
.rayat-reference-hero .hero-inner{
  z-index:30!important;
  position:relative!important;
  max-width:44.5%!important;
  isolation:isolate;
  overflow:visible!important;
}
.rayat-reference-hero .hero-inner h1{
  font-size:clamp(36px,3.25vw,56px)!important;
  line-height:1.45!important;
  margin:0 0 18px!important;
  letter-spacing:0!important;
  max-width:100%!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  white-space:normal!important;
  text-wrap:pretty;
  direction:rtl!important;
}
.rayat-reference-hero .hero-inner h1 strong,
.rayat-reference-hero .hero-inner h1 strong>span,
.rayat-reference-hero .hero-inner h1 .rayat-title-white{
  max-width:100%!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  transform:none!important;
  filter:none!important;
}
.rayat-reference-hero .hero-inner h1 strong span{
  display:block!important;
  white-space:normal!important;
  line-height:1.5!important;
}
.rayat-reference-hero .hero-inner .rayat-hero-description{
  line-height:1.96!important;
  margin:19px 0 24px!important;
  max-width:100%!important;
}
.rayat-reference-hero .hero-inner .actions{margin-top:25px!important}
@media(min-width:1001px) and (max-width:1500px){
  .rayat-reference-hero .hero-inner{max-width:49%!important}
  .rayat-reference-hero .hero-inner h1{font-size:clamp(34px,3.3vw,49px)!important}
}
@media(max-width:1000px){
  .rayat-reference-hero .hero-inner{max-width:100%!important}
  .rayat-reference-hero .hero-inner h1{font-size:clamp(34px,5.7vw,51px)!important;text-align:center!important}
}
@media(max-width:640px){
  .rayat-reference-hero .hero-inner h1{font-size:clamp(29px,7.2vw,42px)!important;line-height:1.48!important}
  .rayat-reference-hero .rayat-art-stage .rayat-reference-art{
    -webkit-mask-image:linear-gradient(to right,#000 0%,#000 83%,transparent 89%);
    mask-image:linear-gradient(to right,#000 0%,#000 83%,transparent 89%);
  }
}
@media(prefers-reduced-motion:reduce){
  .rayat-reference-hero .hero-inner h1,
  .rayat-reference-hero .hero-inner h1 strong>span{animation:none!important}
}