/* R97 — Arabic mobile header brand RTL placement lock.
 * Scope: Arabic mobile header only. No hero, footer, insurance, or desktop changes.
 * Goal: logo at the physical far right, localized identity copy immediately to its left,
 * while language/menu controls stay on the physical left.
 */
@media (max-width:960px){
  html[dir="rtl"] .r90-header__inner{
    direction:ltr!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    grid-template-areas:"actions brand"!important;
    align-items:center!important;
  }

  html[dir="rtl"] .r90-brand{
    grid-area:brand!important;
    justify-self:end!important;
    order:initial!important;
    flex-direction:row-reverse!important;
    direction:ltr!important;
    margin:0!important;
  }

  html[dir="rtl"] .r90-brand__mark{
    order:initial!important;
    margin:0!important;
  }

  html[dir="rtl"] .r90-brand__copy{
    direction:rtl!important;
    text-align:center!important;
  }

  html[dir="rtl"] .r90-brand__copy strong,
  html[dir="rtl"] .r90-brand__copy small,
  html[dir="rtl"] .r90-brand__copy i{
    text-align:center!important;
  }

  html[dir="rtl"] .r90-actions{
    grid-area:actions!important;
    justify-self:start!important;
    order:initial!important;
    margin:0!important;
    direction:ltr!important;
  }
}
