.static-page-content,
.terms-content {
  line-height: 1.75;
}

.static-page-content h2,
.terms-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  scroll-margin-top: 7rem;
  font-size: 1.45rem;
}

.static-page-content h2:first-of-type,
.terms-content h2:first-of-type {
  margin-top: 2rem;
}

.static-page-content p,
.static-page-content ul,
.terms-content p,
.terms-content ul {
  margin-bottom: 1.25rem;
}

.static-page-content li + li,
.terms-content li + li {
  margin-top: 0.5rem;
}

.static-page-lead {
  font-size: 1.1rem;
}

.terms-updated {
  color: var(--bs-secondary-text);
  font-size: 0.9rem;
}

.terms-index {
  padding-left: 0;
  list-style: none;
}

.terms-index li {
  border-top: var(--bs-border-width) solid var(--bs-border-color);
}

.terms-index a {
  display: block;
  padding: 0.65rem 0;
  color: var(--bs-body-color);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
}

.terms-index a:hover,
.terms-index a:focus-visible {
  color: var(--bs-primary);
}

.terms-index a:focus-visible {
  outline: 0.2rem solid var(--bs-primary-border-subtle);
  outline-offset: 0.15rem;
}

@media (max-width: 991.98px) {
  .static-page .knowledge-detail-sidebar,
  .terms-page .knowledge-detail-sidebar {
    position: static;
  }
}
