.slice-anchor_links__list {
  display: flex;
  margin-left: -24px;
  margin-bottom: 0;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;  /* Firefox */
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slice-anchor_links__list::-webkit-scrollbar {
  display: none;
}

.slice-anchor_links__content {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  overflow: hidden;
}

.slice-anchor_links__list__item {
  flex-shrink: 0;
}

.slice-anchor_links__list__item::before {
  content: initial;
}

.slice-anchor_links__list__item__link {
  color: #000;
  display: inline-block;
  margin-left: 24px;
  padding: 24px 0;
  position: relative;
  text-decoration: none;
}

.slice-anchor_links__list__item__link::after {
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2774ae;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  position: absolute;
}

.slice-anchor_links__list__item__link:active,
.slice-anchor_links__list__item__link:focus,
.slice-anchor_links__list__item__link:hover {
  text-decoration: none;
  color: #2774ae;
}

.slice-anchor_links__list__item__link:active::after,
.slice-anchor_links__list__item__link:focus::after,
.slice-anchor_links__list__item__link:hover::after {
  opacity: 1;
}

@media screen and (max-width: 990px) {
  .slice-anchor_links__content {
    overflow: initial;
    position: relative;
    width: 100% !important;
  }

  .slice-anchor_links__content::after {
    content: "";
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #858585;
    position: absolute;
  }

  .slice-anchor_links__list {
    margin-left: 0;
    width: 100% !important;
  }

  .slice-anchor_links__list__item:last-child {
    padding-right: 20px;
  }

  .slice-anchor_links__list__item__link {
    margin-left: 20px;
  }
}
