/* Y-Squre — article.css
   Article reading experience: single measure column, optional sidebar,
   key-points / timeline / source blocks used by event reports. */

.article { padding: 22px 0 10px; }
.article-grid { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }

.article-head { margin-bottom: 20px; }
.article-head h1 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem); line-height: 1.14;
  margin: 8px 0 12px;
}
.article-deck {
  font-size: 1.06rem; color: var(--ink-2); line-height: 1.5;
  padding-bottom: 15px; margin-bottom: 13px; border-bottom: 1px solid var(--line);
}
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  font-size: .76rem; color: var(--faint);
  text-transform: uppercase; letter-spacing: .05em;
}
.byline a { color: var(--muted); }

/* Content-type label. This is the site's core editorial guarantee:
   a reader can always tell reported fact from Y-Squre analysis. */
.ctype {
  display: inline-block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 3px 9px; border-radius: var(--radius); margin-bottom: 10px;
}
.ctype-news      { background: #e7f0f7; color: var(--c-geo); border: 1px solid #bcd6e8; }
.ctype-analysis { background: #f2eaf6; color: var(--c-analysis); border: 1px solid #d9c4e3; }
.ctype-research { background: var(--paper-3); color: var(--c-research); border: 1px solid var(--line); }
.ctype-explainer{ background: #f6efe4; color: var(--c-macro); border: 1px solid #e0cdb0; }

/* ---------- body copy ---------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 17px; }
.prose p { font-size: 1.03rem; line-height: 1.72; }
.prose h2 {
  font-size: 1.2rem; margin-top: 32px; padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
.prose h3 { font-size: 1.02rem; margin-top: 24px; }
.prose ul, .prose ol { margin-left: 24px; }
.prose li { margin-bottom: 7px; font-size: 1rem; line-height: 1.65; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose figure { margin: 24px 0; }
.prose figcaption {
  font-size: .8rem; color: var(--muted); padding-top: 7px;
  border-top: 1px solid var(--line-2); margin-top: 7px;
}
.prose img { border: 1px solid var(--line); }

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px; margin: 22px 0;
  font-size: 1.06rem; line-height: 1.6; color: var(--ink-2); font-style: italic;
}
.prose blockquote cite {
  display: block; margin-top: 8px; font-size: .8rem; font-style: normal;
  color: var(--muted);
}

/* ---------- key points ---------- */
.keypoints {
  border: 1px solid var(--line); border-top: 3px solid var(--navy);
  background: var(--paper-2); padding: 16px 18px; margin: 22px 0;
}
.keypoints h2 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  border: 0; padding: 0; margin: 0 0 10px; color: var(--navy);
}
.keypoints ul { margin-left: 18px; }
.keypoints li { font-size: .93rem; line-height: 1.55; margin-bottom: 7px; }

/* ---------- timeline ---------- */
.timeline { border-left: 2px solid var(--line); margin: 22px 0; padding-left: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 5px;
  width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--accent);
  border-radius: 50%;
}
.timeline .t-time {
  display: block; font-size: .74rem; font-weight: 700; color: var(--accent);
  letter-spacing: .06em; text-transform: uppercase;
}
.timeline .t-what { font-size: .95rem; line-height: 1.55; }

/* ---------- sources block ---------- */
.sources {
  border: 1px solid var(--line); background: var(--paper-2);
  padding: 15px 17px; margin: 26px 0;
}
.sources h2 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  border: 0; padding: 0; margin: 0 0 9px; color: var(--navy);
}
.sources ul { list-style: none; margin: 0; }
.sources li { font-size: .89rem; padding: 4px 0; border-bottom: 1px solid var(--line-2); }
.sources li:last-child { border-bottom: 0; }
.sources .src-kind {
  display: inline-block; font-size: .64rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 1px 6px; margin-right: 8px; border-radius: 2px;
  background: var(--paper-3); color: var(--muted); vertical-align: 1px;
}
.sources .src-kind.primary { background: #e4efe6; color: #2f6b3f; }
.sources .src-kind.secondary { background: #eceff3; color: #55606e; }
.sources a { color: var(--navy-2); }

/* ---------- data table ---------- */
.data-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .92rem; }
.data-table caption {
  caption-side: top; text-align: left; font-size: .82rem; color: var(--muted);
  padding-bottom: 7px;
}
.data-table th, .data-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.data-table thead th {
  background: var(--paper-2); color: var(--navy); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--navy);
}
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table tbody tr:hover { background: var(--paper-2); }

/* ---------- article footer ---------- */
.article-foot { border-top: 2px solid var(--navy); margin-top: 32px; padding-top: 18px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin-bottom: 20px; }
.tagrow a {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
  color: var(--muted); text-decoration: none; border: 1px solid var(--line);
  padding: 4px 9px; border-radius: var(--radius);
}
.tagrow a:hover { border-color: var(--accent); color: var(--accent); }

.related h2 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 2px solid var(--navy); padding-bottom: 6px; margin-bottom: 12px;
}
.correction-note {
  font-size: .85rem; color: var(--muted); background: var(--paper-2);
  border-left: 3px solid var(--line); padding: 12px 14px; margin-top: 22px;
}
.correction-note strong { color: var(--ink-2); }

/* ---------- share row (no external trackers) ---------- */
.share { display: flex; gap: 8px; align-items: center; margin: 20px 0; flex-wrap: wrap; }
.share-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.share a, .share button {
  font: inherit; font-size: .74rem; font-weight: 600; text-decoration: none;
  color: var(--muted); border: 1px solid var(--line); background: var(--paper);
  padding: 5px 11px; border-radius: var(--radius); cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }


/* Inline schematic figure. The SVG scales to the measure, and the caption is
   set small because it carries a caveat, not a legend. */
.art-fig {
  margin: 2rem 0;
  padding: 1.25rem 1rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.art-fig svg { display: block; width: 100%; height: auto; }

.art-fig figcaption {
  margin-top: .9rem;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--faint);
}


/* Commons photographs. The caption carries a licence credit, so it is set at
   caption size rather than body size, and the link is the way back to the
   source file. The featured image is capped so a 7200px original cannot blow
   the measure on a wide monitor. */
.art-fig-photo { margin: 1.75rem 0 2.25rem; }

.art-fig-photo .img-link { display: block; line-height: 0; }

.art-fig-photo img {
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  border: 1px solid var(--line);
}

.art-fig-featured img { max-width: 100%; }

.art-fig-photo figcaption {
  margin-top: .7rem;
  max-width: 820px;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--faint);
}

.img-credit-link { color: var(--accent); }
