/* Shared reading surface for News and Insights, across all locales.
   Prose rules leave catalog tables and the contents rail unaffected.
   Related-reading rules target only recommendations below an article. */
.article-body .page-prose {
  --article-rule: #cbd2c5;
  --article-soft: #edf0e8;
  --article-muted: #596352;
  overflow-wrap: break-word;
}

/* Tables retain every column on mobile; only this region scrolls. */
.article-body .page-prose .article-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-block: 30px 36px;
  border: 1px solid var(--article-rule);
  border-radius: 12px;
  background: #fcfdf9;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #a4ae9b var(--article-soft);
}
.article-body .page-prose .article-table-scroll:focus-visible {
  outline: 2px solid var(--deep-red);
  outline-offset: 4px;
}
.article-body .page-prose table.article-table {
  display: table;
  width: 100%;
  min-width: 560px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  text-align: start;
  font-variant-numeric: tabular-nums;
}
.article-body .page-prose .article-table th,
.article-body .page-prose .article-table td {
  display: table-cell;
  padding: 16px 18px;
  min-width: 120px;
  border: 0;
  border-inline-end: 1px solid #dce1d6;
  border-bottom: 1px solid #dce1d6;
  vertical-align: top;
  white-space: normal;
  color: var(--ink);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-align: inherit;
}
.article-body .page-prose .article-table thead th {
  background: #e6eadf;
  color: #263023;
  font-weight: 800;
  border-bottom: 2px solid var(--red);
}
.article-body .page-prose .article-table tbody td { font-weight: 400; }
.article-body .page-prose .article-table tbody td:first-child { font-weight: 600; }
.article-body .page-prose .article-table tbody tr:nth-child(even) { background: #f2f4ed; }
.article-body .page-prose .article-table tr > :last-child { border-inline-end: 0; }
.article-body .page-prose .article-table tbody tr:last-child > * { border-bottom: 0; }
.article-body .page-prose .article-table td a {
  display: inline;
  min-height: 0;
  font-size: inherit;
}

/* Quiet, consistent emphasis rather than competing card treatments. */
.article-body .page-prose strong { font-weight: 800; color: var(--ink); }
.article-body .page-prose :is(ul, ol) { padding-inline-start: 1.4em; }
.article-body .page-prose li { padding-inline-start: .2em; }
.article-body .page-prose li > :is(ul, ol) { margin-block: 10px 14px; }
.article-body .page-prose blockquote {
  padding: 20px 24px;
  margin-block: 32px;
  border: 0;
  border-block: 1px solid var(--article-rule);
  background: var(--article-soft);
  color: #35412f;
  font-size: 21px;
  line-height: 1.65;
}
.article-body .page-prose blockquote p:last-child { margin-bottom: 0; }
.article-body .page-prose .callout {
  padding: 20px 24px;
  margin-block: 28px;
  border: 1px solid var(--article-rule);
  border-radius: 10px;
  background: var(--article-soft);
  color: var(--ink);
}
.article-body .page-prose .callout-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: normal;
  text-transform: none;
}
.article-body .page-prose .callout :last-child { margin-bottom: 0; }
.article-body .page-prose :not(pre) > code {
  padding: .12em .32em;
  border: 1px solid #dce1d6;
  border-radius: 4px;
  background: var(--article-soft);
  color: #73352f;
  font-size: .85em;
  overflow-wrap: anywhere;
}
.article-body .page-prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 22px;
  border: 1px solid var(--article-rule);
  border-radius: 10px;
  background: #edf0e8;
  font-size: 14px;
  line-height: 1.65;
}
.article-body .page-prose a:hover,
.article-body .page-prose a:focus-visible {
  /* Keep the underline/marker interaction without moving adjacent text. */
  padding: 0 1px;
  margin: 0;
}
.article-body .page-prose img { max-width: 100%; height: auto; object-fit: contain; }
.article-body .page-prose .footnotes {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--article-rule);
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.6;
}
.article-body .page-prose .footnote-ref,
.article-body .page-prose .footnote-backref { color: var(--deep-red); }
@media (max-width: 760px) {
  .article-body .page-prose .article-table-scroll { margin-block: 24px 28px; }
  .article-body .page-prose table.article-table { font-size: 14px; }
  .article-body .page-prose .article-table :is(th, td) { padding: 13px 14px; }
  .article-body .page-prose blockquote { padding: 18px; font-size: 18px; }
  .article-body .page-prose .callout { padding: 18px; }
}

/* Related reading is a compact recommendation, not a second hero. */
.insight-grid.insight-grid-related {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 10px;
  align-items: stretch;
}
.insight-grid-related .insight-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  align-content: start;
  column-gap: 22px;
  padding: 22px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcf8;
  transition: border-color .18s ease, background-color .18s ease;
}
.insight-grid-related .insight-card:hover,
.insight-grid-related .insight-card:focus-within {
  border-color: #aab5a0;
  background: #fff;
}
.insight-grid-related .insight-card a:focus-visible {
  outline: 2px solid var(--deep-red);
  outline-offset: 4px;
}
.insight-grid-related .insight-card-media {
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: start;
  width: 148px;
  aspect-ratio: 8 / 5 !important;
  margin: 0;
  border-radius: 10px;
}
.insight-grid-related .insight-placeholder {
  min-height: 0;
  padding: 10px;
}
.insight-grid-related .insight-placeholder strong { font-size: 18px; }
.insight-grid-related .insight-card > :not(.insight-card-media) { grid-column: 2; }
.insight-grid-related .insight-meta {
  font-size: 10px;
  gap: 6px 14px;
  color: var(--muted);
  letter-spacing: .025em;
  text-transform: none;
}
.insight-grid-related .insight-meta span:first-child {
  color: var(--deep-red);
  font-weight: 600;
}
.insight-grid-related .insight-card h3 {
  max-width: none;
  margin: 9px 0 8px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.insight-grid-related .insight-card > p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: none;
  font-size: 12px;
  line-height: 1.6;
}
.insight-grid-related .insight-card .insight-read {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  margin-top: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.insight-grid-related .insight-read .i {
  width: 26px;
  height: 26px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--deep-red);
  transition: transform .18s ease;
}
.insight-grid-related .insight-read:hover .i { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .insight-grid-related .insight-card,
  .insight-grid-related .insight-read .i { transition: none; }
  .insight-grid-related .insight-read:hover .i { transform: none; }
}
@media (max-width: 1050px) {
  .insight-grid.insight-grid-related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .insight-grid-related .insight-card {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 14px;
    padding: 16px;
  }
  .insight-grid-related .insight-card-media { width: 88px; }
  .insight-grid-related .insight-card h3 { font-size: 18px; }
  .insight-grid-related .insight-meta { font-size: 10px; }
  .insight-grid.insight-grid-related .insight-card > p,
  .insight-grid.insight-grid-related .insight-card .insight-read { grid-column: 1 / -1; }
  .insight-grid-related .insight-card > p { margin-top: 12px; }
  .insight-grid-related .insight-card-media { grid-row: 1 / 3; }
}
