/* ===== Main nav bar ===== */
.a-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;   /* spread items evenly */
  align-items: stretch;
}

@media (max-width:959px) {
    .a-menu { display: none; }
}

.a-menu-item {
  flex: 1 1 0;
  text-align: center;
}

.a-menu-item > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem .75rem;
  text-decoration: none;
}

/* ===== Full-width dropdown ===== */
.a-menu-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;              /* drop directly below the nav bar */
  width: 90vw;            /* 90% of the viewport width */
  max-width: 1200px;      /* optional: cap width */
  display: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  border-radius: 10px;
  z-index: 9999;
  min-height: 400px;      /* just so you can see it while empty */
  padding: 1rem;
}

/* Show dropdown on hover/focus */
.a-menu-item:hover > .a-menu-content,
.a-menu-item:focus-within > .a-menu-content {
  display: block;
}

/* Make sure the nav container is positioned to anchor the dropdown */
.a-navigation {
  position: relative;
  z-index: 100;
}

/* container */

.a-menu-subcats {
    flex-direction: column;
    column-count: 5;
    height: 400px;
    /*flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;*/
    font-size: 0.8em;
}
.a-menu-subcats a {
    display: block;
    text-align: left;
    break-inside: avoid;
}
.a-menu-subcats a.a-menu-subcats-2 {
    font-weight: bold;
}
.a-menu-subcats a.a-menu-subcats-3 {
    font-size: 0.9em;
}
