/* Categories dropdown — match Neve header-bottom (white bar, #393939 text, #0066bf accent) */

.nav-ul > .menu-item-has-children {
  position: relative;
}

.nav-ul > .menu-item-has-children > a {
  gap: 0.15rem;
}

.nav-ul .sub-menu {
  background-color: #ffffff;
  border: 1px solid #ededed;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0.35rem 0;
  min-width: 240px;
  z-index: 200;
}

.header--row .nav-ul .sub-menu li > a {
  color: #393939;
  font-size: 0.95em;
  font-weight: 500;
  justify-content: flex-start;
  padding: 0.55rem 1rem;
  line-height: 1.35;
  white-space: normal;
}

.header--row .nav-ul .sub-menu li > a:hover,
.header--row .nav-ul .sub-menu li > a:focus {
  color: #0066bf;
  background-color: #f5f8fc;
  text-decoration: none;
}

.nav-ul .menu-item-has-children > a .caret {
  margin-left: 4px;
  padding: 0;
}

.nav-ul .menu-item-has-children > a .caret svg {
  width: 0.65em !important;
  height: 0.65em !important;
  fill: currentColor;
}

/* Mobile sidebar: show category list stacked (no hover) */
.header-menu-sidebar-inner .nav-ul .menu-item-has-children > .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  border: none;
  border-left: 2px solid #0066bf;
  margin: 0.25rem 0 0.5rem 0.75rem;
  padding: 0;
  min-width: 0;
  background: transparent;
}

.header-menu-sidebar-inner .nav-ul .sub-menu li > a {
  justify-content: flex-start;
  padding: 0.45rem 0.75rem;
  color: #393939;
}

.header-menu-sidebar-inner .nav-ul .sub-menu li > a:hover,
.header-menu-sidebar-inner .nav-ul .sub-menu li > a:focus {
  color: #0066bf;
  background-color: transparent;
}
