.legal-page .zc-page-hero h1,
.legal-page .zc-prose,
.legal-page .zc-toc a {
  overflow-wrap: anywhere;
}

.legal-page .zc-prose h2 {
  scroll-margin-top: 100px;
}

.legal-sidebar,
.legal-content {
  min-width: 0;
}

.legal-table {
  overflow-x: auto;
}

.legal-table table {
  min-width: 520px;
}

.legal-page .zc-footer__legal {
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .legal-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 991px) {
  .legal-page .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}
