/* Article headings should consume the available measure before wrapping. */
.article-heading h1 {
  max-width: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: wrap;
}

.article-prose :is(h2, h3) {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: wrap;
}

.article-prose div:has(> table) {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.4rem 0 2.2rem;
  border: 1px solid #dce4eb;
  border-radius: 10px;
}

.article-prose table {
  display: table;
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: .88rem;
  line-height: 1.5;
}

.article-prose table :is(th, td) {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e7edf2;
}

.article-prose table th {
  background: #f0f5f8;
  color: #182b3a;
  font-weight: 700;
}

.article-prose table tr:last-child td { border-bottom: 0; }
.article-prose pre { max-width: 100%; overflow-x: auto; white-space: pre; }
.article-prose code { overflow-wrap: anywhere; }

@media (min-width: 761px) {
  .article-heading h1 {
    font-size: clamp(2.18rem, 3.1vw, 3rem);
    line-height: 1.08;
  }
}

.article-prose .article-evidence-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin: 22px 0 34px;
}
.article-prose .article-evidence-gallery figure {
  min-width: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #dce4eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 28px #142e420b;
}
.article-prose .article-evidence-gallery figure.article-evidence-source { grid-column: 1 / -1; }
.article-prose .article-evidence-gallery a { display: block; line-height: 0; }
.article-prose .article-evidence-gallery img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
}
.article-prose .article-evidence-gallery figcaption {
  padding: 13px 16px;
  color: #586a7b;
  font-size: .78rem;
  line-height: 1.5;
}
.article-prose .article-evidence-gallery figcaption strong { color: #1a2d3d; }
@media (max-width: 680px) {
  .article-prose .article-evidence-gallery { grid-template-columns: 1fr; gap: 16px; }
}
