.scrollspy-nav {
  position: sticky;
  top: var(--fo-scrollspy-top, var(--fo-header-height, 68px));
  z-index: 380;
  display: flex;
  align-items: center;
  height: var(--fo-scrollspy-height, 36px);
  margin-inline: -40px;
  padding-inline: 40px;
  background: var(--white);
  --wd-block-spacing: 0;
}
.scrollspy-nav__container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollspy-nav__container::-webkit-scrollbar {
  display: none;
}
.scrollspy-nav__list {
  display: inline-flex;
  align-items: center;
  height: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
}
@media (width > 767.98px) {
  .scrollspy-nav__list {
    gap: 16px;
  }
}
@media (width > 1023.98px) {
  .scrollspy-nav__list {
    gap: 24px;
  }
}
.scrollspy-nav__item {
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.scrollspy-nav__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: auto;
  padding: 0 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.25s ease;
  position: relative;
}
.scrollspy-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  transition: width 0.25s ease;
}
.scrollspy-nav ul li a {
  color: #242424;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  background-color: #f2f2f3;
  white-space: nowrap;
  user-select: none;
}
@media (width > 767.98px) {
  .scrollspy-nav ul li a {
    font-size: 18px;
    padding: 8px 24px;
  }
}
.scrollspy-nav ul li.active a {
  background: var(--gray900);
  border-color: var(--gray900);
  color: #fff;
}

html {
  scroll-behavior: smooth;
}
