/* v1.9.14 — homepage-only desktop navigation and Arabic hero repair.
   Preserves the existing DOM, routes, dropdown buttons and backend. */
@media (min-width:1100px) {
  body[data-v585-home="1"] .tx-global-header-v26 .txgh-inner,
  body:has(> .tx-global-header-v26) .tx-global-header-v26 .txgh-inner {display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;height:auto!important;min-height:90px!important;overflow:visible!important;}
  body[data-v585-home="1"] .tx-global-header-v26 .txgh-nav,
  body:has(.v585-home-hero) .tx-global-header-v26 .txgh-nav {
    display:flex!important;visibility:visible!important;opacity:1!important;
    position:relative!important;inset:auto!important;transform:none!important;
    order:30!important;flex:0 0 100%!important;width:100%!important;
    height:auto!important;max-height:none!important;min-height:48px!important;
    flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;
    justify-content:center!important;gap:4px 14px!important;
    margin:4px 0 0!important;padding:7px 10px!important;
    overflow:visible!important;pointer-events:auto!important;z-index:30!important;
    border-top:1px solid rgba(255,255,255,.2)!important;background:transparent!important;
  }
  body:has(.v585-home-hero) .tx-global-header-v26 .txgh-nav>.tx-menu-item {display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;width:auto!important;flex:0 0 auto!important;}
  body:has(.v585-home-hero) .tx-global-header-v26 .txgh-nav .tx-menu-top {display:flex!important;align-items:center!important;gap:2px!important;}
  body:has(.v585-home-hero) .tx-global-header-v26 .txgh-nav .tx-menu-parent {display:inline-flex!important;visibility:visible!important;color:#fff!important;white-space:nowrap!important;opacity:1!important;}
  body:has(.v585-home-hero) .tx-global-header-v26 .txgh-nav .tx-menu-toggle {display:inline-flex!important;visibility:visible!important;color:#fff!important;}
  body:has(.v585-home-hero) .tx-global-header-v26 .txh-frame-menu {display:none!important;}
  body:has(.v585-home-hero) .tx-global-header-v26 .txgh-nav .tx-mega-panel[hidden] {display:none!important;}
  body:has(.v585-home-hero) .tx-global-header-v26 .txgh-nav .tx-mega-panel:not([hidden]) {display:block!important;position:absolute!important;top:100%!important;z-index:1000!important;}
  html[dir="rtl"] body:has(.v585-home-hero) .tx-global-header-v26 .txgh-nav {direction:rtl!important;}
}
/* Arabic hero: keep title, description, and actions on the same right-aligned axis. */
html[dir="rtl"] body:has(.v585-home-hero) .v585-home-grid {direction:rtl!important;display:flex!important;justify-content:flex-start!important;align-items:center!important;}
html[dir="rtl"] body:has(.v585-home-hero) .v585-hero-copy {direction:rtl!important;text-align:right!important;margin-inline:0 auto!important;width:min(100%,760px)!important;max-width:min(100%,760px)!important;min-width:0!important;justify-self:start!important;align-self:center!important;}
html[dir="rtl"] body:has(.v585-home-hero) .v585-hero-copy h1 {text-align:right!important;max-width:100%!important;width:auto!important;margin-inline:0!important;line-height:1.24!important;letter-spacing:0!important;font-size:clamp(2.3rem,4.2vw,4.8rem)!important;overflow-wrap:normal!important;}
html[dir="rtl"] body:has(.v585-home-hero) .v585-hero-copy .v585-eyebrow,
html[dir="rtl"] body:has(.v585-home-hero) .v585-hero-copy .v585-lead {text-align:right!important;margin-inline:0!important;max-width:680px!important;}
html[dir="rtl"] body:has(.v585-home-hero) .v585-hero-copy .v585-actions,
html[dir="rtl"] body:has(.v585-home-hero) .v585-hero-copy .v585-trust-mini {direction:rtl!important;justify-content:flex-start!important;}
@media(max-width:1099px){
  body:has(.v585-home-hero) .tx-global-header-v26 .txh-frame-menu {display:flex!important;}
  body:has(.v585-home-hero) .tx-global-header-v26 .txgh-mobile {display:flex!important;}
  body:has(.v585-home-hero) .tx-global-header-v26 .txgh-nav:not(.mobile-open) {display:none!important;}
}
@media(max-width:680px){
 html[dir="rtl"] body:has(.v585-home-hero) .v585-hero-copy {width:100%!important;max-width:100%!important;}
 html[dir="rtl"] body:has(.v585-home-hero) .v585-hero-copy h1 {font-size:clamp(2rem,8vw,3.1rem)!important;line-height:1.3!important;}
}
