.lt-toc * {
  box-sizing: border-box;
}
.lt-toc--list {
  margin: 0;
  padding-left: 0;
  overflow-y: auto;
  list-style: none;
}
.lt-toc--link {
  display: block;
  padding: 6px 12px 6px 24px;
  text-decoration: none;
  position: relative;
  color: #002c97;
}

.lt-toc--link:active,
.lt-toc--link span,
.lt-toc--link:hover,
.lt-toc--link:active span,
.lt-toc--link:hover span {
  color: #002c97 !important;
}
/* .lt-toc--link.is-active {
  background: currentColor;
} */
.lt-toc--link.is-active span {
  font-weight: bold;
}
.lt-toc--current {
  padding: 6px 12px;
}
.lt-toc_is-desktop {
  position: relative;
}
.lt-toc_is-desktop .lt-toc--title {
  margin: 0 0 12px;
  font-size: calc(16px * 1.424) !important;
}
.lt-toc_is-desktop .lt-toc--current {
  display: none;
}

.lt-toc_is-desktop .lt-toc--list {
  display: block !important;
}
.lt-toc_is-desktop .lt-toc--link {
  border-radius: 4px;
}
.lt-toc-mobile {
  display: none;
}
.lt-toc-mobile.is-active {
  display: block;
}
.lt-toc-mobile,
.lt-toc_is-mobile {
  width: 100%;
  height: 50px;
}
.lt-toc-mobile_start {
  margin-bottom: 24px;
}
.lt-toc-mobile_end {
  margin-top: 24px;
}
.lt-toc_is-mobile {
  position: absolute;
  z-index: 99;
}
.lt-toc_is-mobile.lt-toc_is-bottom {
  top: 0 !important;
}
.lt-toc_is-mobile .lt-toc--container {
  position: relative;
  width: 100%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
}
.lt-toc_is-mobile .lt-toc--title {
  position: absolute;
  top: 0;
  left: 12px;
  display: block;
  margin: 0;
  padding: 2px 4px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  background: #eee;
  border-radius: 4px;
  transform: translateY(-50%);
}
.lt-toc_is-mobile .lt-toc--list {
  display: none;
  border-top: 1px solid #e8e8e8;
}
.lt-toc_is-mobile .lt-toc--current,
.lt-toc_is-mobile .lt-toc--link {
  padding: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.lt-toc_is-mobile .lt-toc--current {
  position: relative;
  padding-right: 36px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}
.lt-toc_is-mobile .lt-toc--current:after,
.lt-toc_is-mobile .lt-toc--current:before {
  position: absolute;
  right: 22px;
  bottom: 50%;
  display: block;
  background: #4e5565;
  border-radius: 1px;
  transform: translate(50%, 50%);
  transition: all 0.3s;
  content: "";
}
.lt-toc_is-mobile .lt-toc--current:before {
  width: 2px;
  height: 12px;
}
.lt-toc_is-mobile .lt-toc--current:after {
  width: 12px;
  height: 2px;
}
.lt-toc_is-mobile .lt-toc--container.is-active .lt-toc--current:before {
  transform: translate(50%, 50%) rotate(-90deg);
}
.lt-toc_is-mobile .lt-toc--container.is-active .lt-toc--current:after {
  transform: translate(50%, 50%) rotate(-90deg);
  opacity: 0;
}
.lt-toc_is-mobile .lt-toc--item:last-child a {
  border-radius: 0 0 4px 4px;
}

.toc-circle {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #002c97;
  background-color: #fff;
  z-index: 2;
}

.lt-toc--link.is-active .toc-circle {
  background-color: #002c97;
}
.lt-toc--item {
  position: relative;
}
.lt-toc--item::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 50%;
  left: 4px;
  top: 0;
  background-color: #002c97;
  z-index: 1;
}

.lt-toc--item::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 50%;
  left: 4px;
  bottom: 0;
  background-color: #002c97;
  z-index: 1;
}

.lt-toc--item:first-child::before {
  display: none;
}
.lt-toc--item:last-child::after {
  display: none;
}

@media (max-width: 991px) {
  .toc-circle,
  .lt-toc--link::after,
  .lt-toc--link::before {
    display: none !important;
  }
}
