/*
 * Header menu: the item for the current section (e.g. "Insights" on /case-study/) keeps its dark
 * "active" style. While another top-level item is hovered or open, show only that one as active
 * so two items are never highlighted at the same time.
 */
@media only screen and (min-width: 1025px) {
  #mega-menu-wrap-primary #mega-menu-primary:has(> li.mega-menu-item:not(.mega-current-menu-ancestor):not(.mega-current-menu-item):hover, > li.mega-menu-item.mega-toggle-on:not(.mega-current-menu-ancestor):not(.mega-current-menu-item))
    > li.mega-menu-item:is(.mega-current-menu-ancestor, .mega-current-menu-item, .mega-current-page-ancestor):not(:hover):not(.mega-toggle-on)
    > a.mega-menu-link {
    background: transparent;
    color: #222;
  }
}

/*
 * Arabic (RTL): js/script.js starts most carousels with `rtl: isRTL`, but a few have that option
 * commented out. Those run in LTR mode inside a right-to-left page, which pushes the slides
 * off-screen; give them an LTR track while the slide contents stay right-to-left.
 */
html[dir="rtl"] .owl-carousel:not(.owl-rtl) {
  direction: ltr;
}
html[dir="rtl"] .owl-carousel:not(.owl-rtl) .owl-item > * {
  direction: rtl;
}
