/* SecurityTalent 1.9.55 — explicit desktop and off-canvas dropdown state. */
@media (min-width: 992px) {
  #sp-header .sp-megamenu-parent > li.sp-has-child.st-menu-open > .sp-dropdown,
  #sp-header .sp-megamenu-parent > li.sp-has-child:focus-within > .sp-dropdown,
  #sp-header .sp-megamenu-parent > li.sp-has-child:hover > .sp-dropdown {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  #sp-header .sp-megamenu-parent > li.sp-has-child > a,
  #sp-header .sp-megamenu-parent > li.sp-has-child > span {
    cursor: pointer;
  }

  /* The intentional scroll lock still wins until the pointer moves inside
     the header again, preventing accidental menus under a stationary mouse. */
  body.st-nav-scroll-lock #sp-header .sp-megamenu-parent > li.sp-has-child > .sp-dropdown {
    display: none !important;
  }
}

.offcanvas-menu li.menu-parent.st-offcanvas-menu-open > ul.menu-child,
.offcanvas-menu li.menu-parent.st-offcanvas-menu-open > ul.nav-child,
.offcanvas-menu li.menu-parent.st-offcanvas-menu-open > ul.mod-menu__sub,
.offcanvas-menu li.menu-deeper.st-offcanvas-menu-open > ul,
.offcanvas-menu li.deeper.st-offcanvas-menu-open > ul {
  display: flex !important;
  flex-direction: column !important;
  position: static !important;
  width: 100% !important;
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.offcanvas-menu li.menu-parent > a,
.offcanvas-menu li.menu-parent > .menu-separator,
.offcanvas-menu li.menu-parent > .nav-header {
  cursor: pointer;
}

html[dir="rtl"] .offcanvas-menu li.menu-parent > ul {
  margin-left: 0 !important;
  margin-right: 12px !important;
}
