/* Prevent static blocks from going out of screen */
.menu-static-block.nav-sublist-dropdown {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
  width: 1200px !important; /* or 1000px depending on your design */
  max-width: 95vw !important;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 9999;
}

/* Only apply fix to last menu items */
#menu-item-6346 .menu-static-block.nav-sublist-dropdown {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
}