/* Shared article typography. Presentation changes do not require article DB updates. */
.article-document,
.article-container .article-document {
  line-height: 1.9;
}

.article-document p,
.article-document li {
  line-height: inherit;
}

.article-document p {
  margin: 0 0 1.25em;
}

.article-document h2 {
  margin: 2.25em 0 0.85em;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.5;
}

.article-document h3 {
  margin: 1.8em 0 0.8em;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.6;
}

/* These numbered subsections contain full sentences in the Word source. */
.article-document h3.article-document-subsection {
  font-size: 1em;
  font-weight: 400;
  line-height: inherit;
  margin-bottom: 1.25em;
}

.article-document ol,
.article-document ul {
  margin: 0 0 1.25em;
  padding-left: 1.75em;
}

.article-document ol {
  list-style-type: decimal;
}

.article-document ul {
  list-style-type: disc;
}

.article-document li {
  margin: 0.5em 0;
  padding-left: 0.15em;
}

/* Keep the two language labels together instead of stretching them across the article. */
.article-document .article-language-table {
  width: auto;
  max-width: 100%;
  table-layout: auto;
}

.article-document .article-language-table th:first-child,
.article-document .article-language-table td:first-child {
  padding-right: 2.5rem;
}

.article-document .article-document-box {
  margin: 1.5em 0;
  padding: 1.25em clamp(16px, 3vw, 24px);
  line-height: inherit;
}

.article-document .article-document-box > p {
  margin: 0;
}

.article-document .article-document-box > p + p {
  margin-top: 0.85em;
}

.article-document-quote {
  border: 1px solid #000;
}

.article-document-example {
  background-color: #fae2d5;
}

.article-document-decision {
  background-color: #ebf6a8;
}

.article-document > :first-child {
  margin-top: 0;
}

.article-document > :last-child {
  margin-bottom: 0;
}
