/* R100 — Arabic hero typography + slider control polish + e-card SV alignment.
 * Scope intentionally limited to the approved R90 hero slider and R94 e-card visual.
 */

/* 1) Arabic hero typography: cleaner, premium, more legible than the previous display face. */
html[dir="rtl"] .r90-hero__eyebrow,
html[lang^="ar"] .r90-hero__eyebrow{
  font-family:"Alexandria","IBM Plex Sans Arabic",Tahoma,sans-serif!important;
  font-weight:600!important;
  font-size:14px!important;
  line-height:1.55!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
html[dir="rtl"] .r90-hero h1,
html[lang^="ar"] .r90-hero h1{
  font-family:"Alexandria","IBM Plex Sans Arabic",Tahoma,sans-serif!important;
  font-size:clamp(54px,4.8vw,78px)!important;
  font-weight:500!important;
  line-height:1.22!important;
  letter-spacing:-.018em!important;
  text-wrap:balance!important;
  font-feature-settings:"kern" 1,"liga" 1!important;
}
html[dir="rtl"] .r90-hero h1 em,
html[lang^="ar"] .r90-hero h1 em{
  font-family:inherit!important;
  font-style:normal!important;
  font-weight:600!important;
  color:#c38d2d!important;
  letter-spacing:-.012em!important;
}
html[dir="rtl"] .r90-hero__intro,
html[lang^="ar"] .r90-hero__intro{
  font-family:"IBM Plex Sans Arabic",Tahoma,sans-serif!important;
  font-weight:500!important;
  line-height:1.9!important;
}

/* 2) Slider controls: one coherent control dock, fully inset from the clipped photo corners. */
.r90-hero__controls{
  left:auto!important;
  right:24px!important;
  bottom:22px!important;
  width:auto!important;
  min-height:54px!important;
  padding:6px!important;
  gap:7px!important;
  justify-content:flex-start!important;
  direction:ltr!important;
  border:1px solid rgba(255,255,255,.46)!important;
  border-radius:999px!important;
  background:rgba(5,38,65,.68)!important;
  box-shadow:0 12px 30px rgba(3,29,51,.22)!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
}
.r90-hero__controls button{
  position:relative!important;
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.40)!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,rgba(16,65,101,.96),rgba(5,39,67,.96))!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease!important;
}
.r90-hero__controls button:hover{
  transform:translateY(-1px)!important;
  background:linear-gradient(145deg,#174f78,#082f51)!important;
  border-color:rgba(239,194,99,.72)!important;
}
.r90-hero__controls button svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}
.r90-hero__dots{
  order:-1!important;
  margin:0 4px 0 2px!important;
  gap:6px!important;
  align-items:center!important;
}
.r90-hero__dots i{
  width:7px!important;
  height:7px!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.12)!important;
}

@media(max-width:960px){
  html[dir="rtl"] .r90-hero h1,
  html[lang^="ar"] .r90-hero h1{
    font-size:clamp(36px,8.7vw,46px)!important;
    line-height:1.24!important;
    letter-spacing:-.01em!important;
  }
  html[dir="rtl"] .r90-hero__eyebrow,
  html[lang^="ar"] .r90-hero__eyebrow{font-size:12.5px!important;line-height:1.5!important}
  html[dir="rtl"] .r90-hero__intro,
  html[lang^="ar"] .r90-hero__intro{font-size:13px!important;line-height:1.78!important}
  .r90-hero__controls{
    right:16px!important;
    bottom:16px!important;
    min-height:48px!important;
    padding:5px!important;
    gap:6px!important;
  }
  .r90-hero__controls button{width:38px!important;height:38px!important;flex-basis:38px!important}
  .r90-hero__controls button svg{width:16px!important;height:16px!important}
  .r90-hero__dots{display:none!important}
}
@media(max-width:560px){
  html[dir="rtl"] .r90-hero h1,
  html[lang^="ar"] .r90-hero h1{font-size:clamp(32px,8.9vw,39px)!important;line-height:1.25!important}
  html[dir="rtl"] .r90-hero__intro,
  html[lang^="ar"] .r90-hero__intro{font-size:12px!important;line-height:1.72!important}
  .r90-hero__controls{right:12px!important;bottom:12px!important}
}

/* 3) E-card: guarantee the full SVG remains visible after the internal SV alignment correction. */
.r90-cover__media img,
html[dir="rtl"] .r90-cover__media img{
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}
