/* Readability for the new long-form technical articles; existing pages are unchanged. */
.article-header h1 { font-size: 48px; line-height: 1.25 !important; letter-spacing: 0; overflow-wrap: anywhere; }
.article-section h2, .summary-card h2, .resource-card h2 { font-size: 23px; line-height: 1.5 !important; letter-spacing: 0; }
.article-cta__copy h2 { font-size: 28px; line-height: 1.4; letter-spacing: 0; }
.article-section, .resource-card, .summary-card { min-width: 0; }
.article-section, .resource-card { scroll-margin-top: 110px; }
.article-cover img { width: min(100%, 720px); height: auto; max-height: none; margin-inline: auto; object-fit: contain; filter: none; background: #fff; }
.article-table-wrap { max-width: 100%; overflow-x: auto; }
.article-table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.7; text-align: start; }
.article-table-wrap th, .article-table-wrap td { padding: 14px; border-bottom: 1px solid #dedee3; vertical-align: top; }
.article-table-wrap thead { background: #f0f1f4; }
.article-section pre { min-width: 0; max-width: 100%; overflow: auto; padding: 20px; background: #171719; color: #f4f5f7; font: 13px/1.8 Consolas, monospace; text-align: left; }
.article-citations { font-size: 14px; }
.article-list a { color: #b80510; text-decoration: underline; }
.article-byline, .sources-list a, .breadcrumbs { overflow-wrap: anywhere; }
.article-share { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.article-share-button, .article-copy-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid #dedee3; border-radius: 6px; background: #fff; color: #171719; font: 600 15px/1.4 var(--font-ui); cursor: pointer; }
.article-share-button img { flex: none; }
.article-share-button, .article-copy-link { font-family: inherit; }
.article-share-status { font-size: 14px; }
.article-share-dialog { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border: 1px solid #dedee3; border-radius: 8px; background: #fff; color: #171719; font-family: inherit; }
.article-share-dialog::backdrop { background: rgb(10 10 15 / 55%); }
.article-share-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 20px; }
.article-share-head h2 { margin: 0; font-size: 21px; line-height: 1.4; }
.article-share-close { width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 6px; background: #f0f1f4; font-size: 24px; cursor: pointer; }
.article-share-options { display: grid; grid-template-columns: 1fr; gap: 10px; }
.article-share-options a { padding: 12px 16px; border: 1px solid #dedee3; border-radius: 6px; text-align: center; font-size: 15px; }
.article-share-options a:hover, .article-share-button:hover { border-color: #e30613; color: #b80510; }
.article-share-dialog input { width: 100%; min-height: 44px; padding: 10px; margin-top: 12px; border: 1px solid #dedee3; font-size: 14px; }
.article-share-dialog [hidden] { display: none; }
.article-share-dialog button:focus-visible, .article-share-button:focus-visible { outline: 2px solid #e30613; outline-offset: 3px; }
@media (max-width: 760px) {
  .article-header h1 { font-size: 30px; }
  .article-section h2, .summary-card h2, .resource-card h2 { font-size: 21px; }
  .article-cta__copy h2 { font-size: 24px; }
  .article-meta-line { grid-template-columns: 1fr !important; }
  .related-grid { grid-template-columns: 1fr; }
}

/* Source line shown under a section when the claim is backed by an external primary source */
.article-source { margin: 10px 0 0; font-size: .86rem; color: rgba(18, 18, 18, .62); }
.article-source a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
