/* Shared article reading layout. CSS viewport pixels include OS/browser scaling. */
.article-page > .article-shell {
  width: 90%;
  max-width: 1200px;
  min-width: 0;
  margin-inline: auto;
  padding-inline: 0;
}
.article-page .article-content {
  min-width: 0;
  font-size: 18px;
  line-height: 1.85;
  color: #34424c;
}
.article-page .article-header { margin-bottom: 36px; }
.article-page .article-title {
  font-size: clamp(26px, 2.1vw, 36px);
  line-height: 1.45;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.article-page .article-content h2 { font-size: 1.4em; line-height: 1.5; }
.article-page .article-content h3 { font-size: 1.17em; line-height: 1.55; }
.article-page .article-content h4 { font-size: 1.06em; line-height: 1.6; }
.article-page .article-body { min-width: 0; width: 100%; max-width: 100%; }
.article-page .article-body > p,
.article-page .article-body > div:not([class]) > p,
.article-page .article-body .body-paragraph { text-indent: 2em; }
.article-page .article-body :is(li, td, th, figure, figcaption, header, nav, aside) p,
.article-page .article-body p:has(> img:only-child) { text-indent: 0; }
.article-page .article-body :is(a, code) { overflow-wrap: anywhere; }
.article-page .article-body figure { max-width: 100%; margin: 1.6em auto; }
.article-page .article-body figure > img { width: 100%; max-width: 100% !important; height: auto !important; }
.article-page .article-body :is(img, video, iframe, svg) { max-width: 100% !important; }
.article-page .article-body :is(img, video) { height: auto !important; }
.article-page .article-body figcaption {
  text-indent: 0;
  margin-top: 10px;
  color: #64748b;
  font-size: .82em;
  line-height: 1.7;
}
.article-page .article-body figcaption :is(p, span) { font-size: inherit; }
.article-page .article-table-scroll {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  margin-block: 1.5em;
}
.article-page .article-table-scroll:focus-visible { outline: 2px solid #006cb5; outline-offset: 3px; }
.article-page .article-body table {
  display: table;
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: .94em;
}
.article-page .article-body :is(td, th) {
  padding: .7em .8em;
  vertical-align: top;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.article-page .article-body th { background: #eaf4fc; color: #18232d; }
.article-page .article-body pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
  font-size: .86em;
}
@media (min-width: 1536px) {
  .article-page > .article-shell { max-width: 1280px; }
  .article-page .article-content { font-size: 19px; }
}
@media (min-width: 1920px) {
  .article-page > .article-shell { max-width: 1360px; }
  .article-page .article-content { font-size: 20px; }
}
@media (min-width: 2560px) {
  .article-page > .article-shell { max-width: 1440px; }
  .article-page .article-content { font-size: 21px; }
}
@media (min-width: 3200px) {
  .article-page > .article-shell { max-width: 1520px; }
  .article-page .article-content { font-size: 22px; }
  .article-page .article-title { font-size: 40px; }
}
@media (max-width: 1023px) {
  .article-page > .article-shell { width: calc(100% - 56px); }
  .article-page .article-content { font-size: 18px; }
}
@media (max-width: 767px) {
  .article-page > .article-shell { width: calc(100% - 40px); padding: 0; }
  .article-page .article-content { font-size: 17px; line-height: 1.85; }
  .article-page .article-header { margin-bottom: 28px; }
  .article-page .article-title { font-size: 25px; }
  .article-page .article-body :is(section, div, article) { min-width: 0; max-width: 100%; }
  .article-page .article-body [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 640px) {
  .article-page .article-body table.article-table-cards { display: block; border: 0; }
  .article-page .article-body table.article-table-cards > caption {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    text-align: left;
    white-space: normal;
    font-weight: 600;
  }
  .article-page .article-body table.article-table-cards > thead,
  .article-page .article-body table.article-table-cards .article-table-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .article-page .article-body table.article-table-cards > tbody { display: block; }
  .article-page .article-body table.article-table-cards > tbody > tr:not(.article-table-heading) {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #dde5ec;
    border-radius: 8px;
    overflow: hidden;
  }
  .article-page .article-body table.article-table-cards > tbody > tr:not(.article-table-heading) > :is(td, th) {
    display: grid;
    grid-template-columns: minmax(5.5em, 33%) minmax(0, 1fr);
    gap: 12px;
    width: auto !important;
    min-width: 0 !important;
    border: 0;
    border-bottom: 1px solid #edf0f3;
    text-align: left;
  }
  .article-page .article-body table.article-table-cards [data-article-label]::before {
    content: attr(data-article-label);
    color: #006cb5;
    font-weight: 600;
  }
}
