body#cms:is(.cms-id-1, .cms-id-2, .cms-id-4, .cms-id-5) #content {
  box-sizing: border-box;
  width: 100%;
  max-width: 58rem;
  margin: 0 auto 3rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  overflow: visible;
  border: 1px solid rgb(16 28 34 / 10%);
  border-radius: .75rem;
  background: var(--ft-surface, #fff);
  box-shadow: none;
}

.ft-legal-document {
  max-width: 70ch;
  margin-inline: auto;
  color: var(--ft-ink, #101c22);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

#cms #content .ft-legal-document h1 {
  margin: 0 0 1.75rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid rgb(16 28 34 / 12%);
  color: var(--ft-ink, #101c22);
  font-family: inherit;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-transform: none;
  text-wrap: balance;
}

#cms #content .ft-legal-document :is(h2, h3, h4, h5, h6) {
  display: block;
  margin: 2rem 0 .75rem;
  padding: 0;
  border: 0;
  color: var(--ft-ink, #101c22);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}

#cms #content .ft-legal-document :is(p, li) {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
}

#cms #content .ft-legal-document p {
  margin: 0 0 1.125rem;
  padding: 0;
}

#cms #content .ft-legal-document :is(ul, ol) {
  margin: 0 0 1.125rem;
  padding-inline-start: 1.5rem;
}

#cms #content .ft-legal-document ul { list-style: disc; }
#cms #content .ft-legal-document ol { list-style: decimal; }
#cms #content .ft-legal-document li { margin-block: .25rem; }

#cms #content .ft-legal-document a[href] {
  color: var(--ft-accent-strong, #05677a);
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}

#cms #content .ft-legal-document a[href]:hover { color: var(--ft-ink, #101c22); }
#cms #content .ft-legal-document a[href]:focus-visible {
  outline: 2px solid var(--ft-accent-strong, #05677a);
  outline-offset: 3px;
  border-radius: 2px;
}

.ft-legal-document > :last-child,
.ft-legal-document > section > :last-child { margin-bottom: 0; }

@media (max-width: 575.98px) {
  body#cms:is(.cms-id-1, .cms-id-2, .cms-id-4, .cms-id-5) #content {
    margin-bottom: 1.5rem;
    border-radius: .5rem;
  }
}

@media print {
  body#cms:is(.cms-id-1, .cms-id-2, .cms-id-4, .cms-id-5) #content {
    max-width: none;
    padding: 0;
    border: 0;
  }
  .ft-legal-document { max-width: none; }
  .ft-legal-document :is(h1, h2, h3) { break-after: avoid; }
  .ft-legal-document p { orphans: 3; widows: 3; }
}
