.custom-sub-navi {
  position: relative;
  width: 100%;
}

/* Dropdown toggle – visible on all viewports */
.custom-sub-navi .csn-toggle {
  display: flex;
  width: 100%;
  background: none;
  padding-bottom: 10px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  color: #383838;
text-align: justify;
font-family: "Avenir Next";
font-size: var(--Typeface-Size-M, 18px);
font-style: normal;
font-weight: 700;
line-height: 150%; /* 27px */
text-transform: uppercase;
}

.custom-sub-navi .csn-toggle .csn-arrow {
  display: none;
  transition: transform .25s ease;
  margin-left: 8px;
}

.custom-sub-navi.csn-open .csn-toggle .csn-arrow {
  transform: rotate(180deg);
}

/* Desktop: horizontal list, always visible */
.custom-sub-navi .csn-list {
  display: flex;
  flex-wrap: wrap;
  @media (min-width: 768px) {
    gap: 5rem !important;
  }
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-sub-navi .csn-list li {
  margin: 0;
}

.custom-sub-navi .csn-list a {
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.custom-sub-navi .csn-list .current-menu-item > a {
  font-weight: 700;
}

/* Desktop: rich text items in a row */
.custom-sub-navi .csn-content {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10rem;
  row-gap: 2rem;
}
