/* Sidebar */
.wmo-sidebar {
  margin-top: 2rem;
  max-height: calc(100vh - 2rem);
  padding-right: 2rem;
  width: 100%;
  font-family: inherit;
}

.wmo-sidebar__select {
  width: fit-content;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background-color: var(--brand-primary-color);
  color: var(--brand-accent-color);

  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;

  padding: 0 3rem 0 2rem;

  outline: none;
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  /* ARROW */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23F28C28' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 13px 10px;

  transition: background-color 0.2s ease;
}

.wmo-sidebar__list {
  list-style: none;
  margin: 2rem 0 0;
  padding-left: 2rem;
}

.wmo-sidebar__item {
  margin: 0 0 11px;
  padding: 0;
}
/* dropdown options */
.wmo-sidebar__select option {
  color: var(--brand-primary-text-color);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px;
}

.wmo-sidebar__select option:is(:active, :checked) {
  color: var(--brand-accent-color);
}

.wmo-sidebar__item a {
  color: var(--brand-primary-text-color);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wmo-sidebar__item a:hover,
.wmo-sidebar__item.is-active a {
  color: var(--brand-accent-color);
  font-weight: 700;
}

@media (max-width: 992px) {
  .wmo-sidebar {
    display: none;
  }
  .wmo-sidebar__select {
    width: 100%;
  }
  .wmo-sidebar__item {
    text-align: center;
  }
}

/* Desktop sticky sidebar */
@media (min-width: 992px) {
  .wmo-sidebar-col {
    position: sticky;
    top: 50px;
    align-self: flex-start;
    height: fit-content;
    margin-top: 2rem;
    z-index: 5;
  }

  .wmo-sidebar {
    padding-top: 0;
    padding-right: 2rem;
    width: 100%;
  }
}

/* Mobile / Tablet: sidebar hidden */
@media (max-width: 991.98px) {
  .wmo-sidebar-col,
  .wmo-sidebar {
    display: none;
  }
}
