.mobile-slider-navbar {
  display: none;
  overflow: auto hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: rgb(var(--header-background));
  animation: animation-fade-in 0.16s ease-in;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 959px) {
  .mobile-slider-navbar {
    display: block;
  }
}

.mobile-slider-navbar::-webkit-scrollbar {
  display: none;
}

.mobile-slider-navbar__list {
  display: flex;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-slider-navbar__item {
  flex-shrink: 0;
  scroll-snap-align: center;
}

.mobile-slider-navbar__link {
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-slider-navbar__link:not(.button),
.mobile-slider-navbar__link:not(.button):hover {
  color: rgb(var(--header-color-text));
}

.mobile-slider-navbar__link--active {
  position: relative;
  color: rgb(var(--header-color-text));
}

.mobile-slider-navbar__link--active::after {
  position: absolute;
  inset-block-end: 8px;
  inset-inline: 16px;
  height: 2px;
  content: "";
  background-color: rgb(var(--header-color-text));
}
