:host {
  --wcs-nav-background-color: var(--wcs-semantic-color-background-surface-brand);
  --wcs-nav-width-desktop: calc(12 * var(--wcs-semantic-size-base));
  --wcs-nav-height-mobile: calc(6 * var(--wcs-semantic-size-base));
}

nav {
  background-color: var(--wcs-nav-background-color);
  display: flex;
  z-index: 1055;
  flex-direction: column;
  width: var(--wcs-nav-width-desktop);
  height: 100%;
  overflow: auto;
  scrollbar-width: thin;
}
nav div[role=list] {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
@media (max-width: 1199px) {
  nav div[role=list] {
    flex-direction: row;
  }
}
@media (max-width: 1199px) {
  nav {
    flex-direction: row;
    width: 100%;
    height: var(--wcs-nav-height-mobile);
  }
}

@media (max-width: 1199px) {
  ::slotted(wcs-nav-item) {
    flex: 1;
  }
}

@media (min-width: 1200px) {
  slot[name=bottom],
  wcs-nav-item:not([slot=bottom]) + wcs-nav-item[slot=bottom] {
    display: block;
    margin-top: auto;
  }
}