
/* Base Reset and Layout */
#promenu *, 
#promenu *::before, 
#promenu *::after {
  box-sizing: border-box;
}

#promenu .menu_ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}


#promenu .menu_ul > li {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

#promenu .menu_ul > li > a {
  position: relative;
  text-decoration: none;
  color: inherit;
  padding: 6px 8px;
  transition: color 0.2s ease;
}

#promenu .menu_ul > li:hover > a {
  color: #005b8a;
}

#promenu .menu_ul > li > a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #0073aa;
  transition: width 0.3s ease;
}

#promenu .menu_ul > li:hover > a::after {
  width: 100%;
}

#promenu .menu_ul > li.active > a {
  font-weight: bold;
  color: #0073aa;
  border-bottom: 2px solid #0073aa;
}

#promenu .menu_ul > li.has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg); /* ? */
  transition: transform 0.3s ease;
  background: transparent;
  position: relative;
  top: -3px;
}


/* Dropdowns (Desktop) */
.pro_module.desktop {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  z-index: 99;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  min-width: 500px;
}

#promenu .menu_ul > li:hover > .pro_module.desktop {
  display: block;
}

.dropdown-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.dropdown-flex.cols-1 .menu-col { flex: 0 0 100%; }
.dropdown-flex.cols-2 .menu-col { flex: 0 0 calc(50% - 10px); }
.dropdown-flex.cols-3 .menu-col { flex: 0 0 calc(33.333% - 13.33px); }
.dropdown-flex.cols-4 .menu-col { flex: 0 0 calc(25% - 15px); }
.dropdown-flex.cols-5 .menu-col { flex: 0 0 calc(20% - 16px); }

.menu-col {
  min-width: 200px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.menu-col p {
  margin: 6px 0;
  padding: 0;
  line-height: 1.4;
  text-align: center;
}

.menu-col p a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.menu-col p.bold a {
  font-weight: bold;
  font-size: 16px;
  color: #000;
}

.menu-col p a:hover {
  color: #0073aa;
  text-decoration: underline;
}

.menu_top_banner,
.menu_bottom_banner {
  width: 100%;
  display: block;
  margin-bottom: 20px;
}

/* Hamburger Styles */
#mobile-wrapper {
  display: none;
}


#mobile-wrapper.open {
  display: block;
  max-width:500px;
}
#mobile-wrapper p {
  padding: 12px 20px;
  margin: 0;
  border-top: 1px solid #ddd;
}

#mobile-wrapper p a {
  color: #333;
  text-decoration: none;
  display: block; /* Makes entire area tappable */
}

#mobile-wrapper p a:hover {
  text-decoration: underline;
}
#menu-button {
   display: none;
}

@media (max-width: 999px) {
  .desktop { display: none !important; }
  .mobile { display: block !important; }
#menu-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}

  #menu-button {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    z-index: 20;
    width: auto;
    height: auto;
  }

  #menu-button .hamburger-bars {
    position: relative;
    width: 36px;
    height: 28px;
  }

  #menu-button .hamburger-bars::before,
  #menu-button .hamburger-bars::after,
  #menu-button .hamburger-bars div {
    content: '';
    position: absolute;
    left: 0;
    height: 4px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  #menu-button .hamburger-bars::before {
    top: 0;
  }

  #menu-button .hamburger-bars div {
    top: 12px;
  }

  #menu-button .hamburger-bars::after {
    bottom: 0;
  }

  #promenu .menu_ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  #promenu .menu_ul.open {
    display: flex;
  }

  #promenu .menu_ul > li {
    flex: 1 1 auto;
    text-align: left;
  }

  .pro_module.desktop {
    display: none !important;
  }

  .mobile-toggle {
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    background: #fafafa;
    border-top: 1px solid #ddd;
    position: relative;
  }

  .mobile-toggle::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border: solid #666;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transition: transform 0.3s ease;
  }

  .mobile-toggle.active::after {
    transform: translateY(-50%) rotate(135deg);
  }

  .mobile-submenu {
    display: none;
    padding: 10px 20px;
    background: #fff;
  }

  .mobile-submenu.open {
    display: block;
  }

  .mobile-link {
    padding: 10px 20px;
    border-top: 1px solid #ddd;
  }

  .mobile-link a {
    color: #333;
    text-decoration: none;
  }

  .mobile-link a:hover {
    text-decoration: underline;
  }
}




/* Desktop-Only Styles */
@media (min-width: 999px) {
  #promenu.mobile { display: none !important; }
}