/* Yoursender GEO Content Engine 0.5.3 — Services dropdown stability */
@media (min-width: 768px) and (any-hover: hover) and (any-pointer: fine) {
  .ys-nav-hover-enabled,
  .ys-has-case-studies-child {
    position: relative;
    z-index: 1000;
  }

  /* The plugin adds this class to the real menu panel, including panels rendered
     beside the trigger rather than as a direct child of the Services <li>. */
  .ys-case-studies-submenu.ys-nav-hover-open,
  .ys-nav-hover-open > .sub-menu,
  .ys-nav-hover-open > ul.sub-menu,
  .ys-nav-hover-open > ul.children,
  .ys-nav-hover-open > .wp-block-navigation__submenu-container,
  .ys-nav-hover-open > .elementor-nav-menu--dropdown,
  .ys-nav-hover-open > [role="menu"],
  .ys-nav-hover-open > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .ys-nav-hover-enabled.ys-nav-hover-open,
  .ys-has-case-studies-child.ys-nav-hover-open {
    z-index: 99999 !important;
  }

  .ys-case-studies-menu-item,
  .ys-case-studies-menu-item > a {
    pointer-events: auto !important;
  }

  .ys-case-studies-menu-item > a {
    display: block;
  }
}
