/* CMS content sits under theme body { line-height: 0 }. Restore readable flow. */
.cms-content {
  line-height: 1.6;
  color: inherit;
  overflow-wrap: anywhere;
}

.cms-content > * + * {
  margin-top: 1rem;
}

.cms-content p,
.cms-content li,
.cms-content td,
.cms-content th,
.cms-content span,
.cms-content div,
.cms-content a,
.cms-content td *,
.cms-content th *,
.cms-content li * {
  line-height: 1.6 !important;
  position: static !important;
  float: none !important;
}

.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4,
.cms-content h5,
.cms-content h6 {
  line-height: 1.3 !important;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #222E48;
}

.cms-content ul,
.cms-content ol {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.cms-content ul {
  list-style: disc;
}

.cms-content ol {
  list-style: decimal;
}

.cms-content li + li {
  margin-top: 0.35rem;
}

.cms-content a {
  color: #2660B5;
  text-decoration: underline;
}

.cms-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
}

.cms-content .cms-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
}

.cms-content .cms-table-scroll table {
  margin: 0;
  min-width: 640px;
}

.cms-content th,
.cms-content td {
  border: 1px solid #C1C4CC;
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.cms-content th {
  background: #F5F7FB;
  font-weight: 600;
  color: #222E48;
}

.cms-content blockquote {
  border-left: 3px solid #2660B5;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #404A60;
}

.cms-content hr {
  border: 0;
  border-top: 1px solid #C1C4CC;
  margin: 1.5rem 0;
}

.cms-content s,
.cms-content strike {
  text-decoration: line-through;
}

.cms-content sup {
  vertical-align: super;
  font-size: 0.75em;
}

.cms-content sub {
  vertical-align: sub;
  font-size: 0.75em;
}

.cms-content pre,
.cms-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.cms-content pre {
  background: #F5F7FB;
  padding: 1rem;
  overflow-x: auto;
}
