/* The story opens on a wider spread; prose and notes return to a reading column. */
.article {
  --reading-measure: 65ch;
  max-width: 72rem;
  margin-block: .7rem clamp(3rem, 6vw, 6rem);
}
html:lang(zh) .article { --reading-measure: 35em; }
.article > .back { margin-bottom: 1.05rem; }
.article-header, .story-opener { border-block-start: 1px solid #92998c; }
.article-header {
  max-width: none;
  margin: 0 0 1.5rem;
  padding-block-start: clamp(1.25rem, 2.9vw, 2.65rem);
}
.article .article-header h1 {
  max-width: 25ch;
  margin: .65rem 0 .85rem;
  font-size: clamp(2.55rem, 4.95vw, 4.95rem);
  line-height: 1.035;
  text-wrap: balance;
}
html:lang(zh) .article .article-header h1 {
  max-width: 20em;
  font-size: clamp(2rem, 3.65vw, 3.7rem);
  line-height: 1.24;
}
.article-header .dek {
  margin: 0;
  max-width: 57ch;
  font-size: clamp(1.04rem, 1.35vw, 1.23rem);
  line-height: 1.57;
  text-wrap: pretty;
}
html:lang(zh) .article-header .dek { max-width: 39em; line-height: 1.73; }
.article .story-byline { margin-block: 1.05rem 0; font-size: .875rem; gap: .25em .6em; }
.story-opener {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .96fr);
  gap: clamp(1.5rem, 3.4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1.3rem, 2.7vw, 2.5rem);
}
.story-opener .article-header { border: 0; margin: 0; padding: 0; }
.story-opener figure { margin: 0; min-width: 0; }
.story-opener figure img { display: block; width: 100%; height: auto; max-height: none; }
.story-opener figure figcaption, .article > figure figcaption {
  margin: .55rem 0 0;
  color: #535c52;
  font-size: .84rem;
  line-height: 1.52;
  overflow-wrap: anywhere;
}
.article figcaption a { text-decoration: underline; text-underline-offset: .17em; }
.article[data-story="us-vanke-bush-tower"] .story-opener figure img {
  max-height: 29rem;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}
.article .research-exhibit {
  margin-bottom: 2.2rem;
  padding: 1rem 0;
  border-block: 1px solid #a4ad9f;
  background: transparent;
}
.research-exhibit dl { gap: 1rem 1.5rem; }
.article .research-exhibit dd { font-variant-numeric: lining-nums tabular-nums; }
.reading-frame {
  width: 100%;
  margin: clamp(1.8rem, 4vw, 3.75rem) auto;
  font-size: 1.125rem;
}
.reading-frame .article-body { min-width: 0; width: 100%; max-width: var(--reading-measure); margin: 0 auto; }
.reading-frame.with-index {
  display: grid;
  grid-template-columns: minmax(10rem, .7fr) minmax(0, 2.45fr);
  gap: clamp(2rem, 4.9vw, 4.9rem);
  align-items: start;
  max-width: 65rem;
}
.reading-frame.with-index .article-body { margin-inline: 0; }
.reading-index {
  min-width: 0;
  border-top: 1px solid #84917e;
  font: .9375rem/1.5 var(--sans);
}
.reading-index summary {
  padding-block: .65rem;
  cursor: pointer;
  color: #37493b;
  font-weight: 650;
}
.reading-index ul,.article-body .source-list ul { margin: 0; list-style: none; padding: 0; }
.reading-index li + li { border-top: 1px solid var(--rule); }
.reading-index li a { display: block; padding: .48rem 0; color: #4f584d; }
.reading-index a:hover,.reading-index a:focus-visible { color: var(--accent); text-decoration: underline; }
.reading-index .index-sources a { color: var(--accent); }
.reading-index :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.article-body > h2, .article-body .source-list h2 { scroll-margin-block-start: 1.5rem; }
.article-body > h2 {
  margin-block: 2.1em .48em;
  font-size: clamp(1.7rem, 2.75vw, 2.65rem);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: pretty;
}
.article-body > h2:first-child { margin-block-start: 0; }
html:lang(zh) .article-body > h2 { margin-block: 1.75em .6em; font-size: clamp(1.5rem, 2.15vw, 2.1rem); }
html:lang(zh) .article-body > h2:first-child { margin-block-start: 0; }
.article-body > p { font-size: 1.125rem; line-height: 1.74; margin: 0 0 1em; }
html:lang(zh) .article .article-body > p { line-height: 1.87; }
.article-body p a, .article-body .fact-source { text-decoration: underline; text-underline-offset: .17em; }
.article-body > p a { color: #67432f; text-decoration-color: #a17d66; text-decoration-skip-ink: auto; }
.article-body > p a:is(:hover,:focus-visible) { text-decoration-color: currentColor; }
.article-body .story-data {
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: .95rem .7rem;
  border-block-start: 2px solid #566c5a;
}
/* Only the comparison scrolls. Its heading, chart and evidence stay in the reading column. */
.article .story-data { overflow-x: visible; }
.story-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.story-table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.story-data table { font-variant-numeric: lining-nums tabular-nums; line-height: 1.5; }
.story-data thead th { vertical-align: bottom; }
.story-data tbody th[scope="row"] { font-weight: 600; }
.story-data tbody tr:nth-child(even) { background: #f2f1e9; }
html:lang(zh) .story-data :is(th,td) { line-break: strict; }
.article-body > .source-list, .article-body > .more-reads {
  padding-top: 1rem;
  margin-block: clamp(2.25rem, 4.2vw, 3.7rem) 0;
  border-top: 1px solid #899582;
}
.article-body .source-list h2, .article-body .more-reads h2 {
  margin: 0 0 .7rem;
  font: 400 clamp(1.6rem, 2.5vw, 2.2rem)/1.2 var(--serif);
}
.article-body .source-list li + li { border-top: 1px solid var(--rule); }
.report-reference { font-style: normal; overflow-wrap: anywhere; }
.article-body .source-list li > .report-reference { display: block; padding-block: .65rem; font: .95rem/1.55 var(--sans); }
.article-body .source-list li a {
  margin: 0;
  padding-block: .65rem;
  font: .95rem/1.55 var(--sans);
  text-decoration-color: #af9d8c;
  overflow-wrap: anywhere;
}
.article-body .more-reads a { padding-block: .8rem; font-size: clamp(1.25rem,2vw,1.7rem); }
.topic-page .topic-results .archive-lead {
  grid-template-columns: minmax(6rem, .63fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.archive-lead-image img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.archive-lead-copy p { margin-block-start: .5rem; }
.topic-page .topic-sources { background: none; padding-inline: 0; border-color: #879582; }
@media (min-width: 961px) {
  .topic-page .topic-sources { padding-inline-start: clamp(1rem, 1.8vw, 1.7rem); border-inline-start: 1px solid var(--rule); }
}
.topic-sources h2[id], .topic-results h2[id] { scroll-margin-top: 1.2rem; }

@media (min-width: 900px) and (min-height: 640px) {
  .reading-index { position: sticky; top: 1.25rem; max-height: calc(100vh - 2.5rem); overflow-y: auto; }
}
@media (max-width: 760px) {
  .story-opener, .reading-frame.with-index { grid-template-columns: minmax(0, 1fr); }
  .story-opener { gap: 1rem; }
  .reading-frame.with-index { gap: 1.6rem; max-width: var(--reading-measure); }
  .reading-index li a { display: flex; align-items: center; min-height: 2.75rem; padding-block: .6rem; }
  .story-table-scroll table:has(th:nth-child(3)) { min-width: 24rem; }
  .story-table-scroll td, .story-table-scroll th { overflow-wrap: break-word; }
  .article .article-header h1 { font-size: clamp(2.25rem, 7.2vw, 3.5rem); }
  html:lang(zh) .article .article-header h1 { font-size: clamp(1.9rem, 5.8vw, 2.7rem); }
  .article .article-body > p { font-size: 1.0625rem; }
  .article > .back { margin-bottom: .8rem; }
  .reading-frame { margin-block: 1.8rem; }
}
@media (max-width: 540px) {
  .topic-page .topic-results .archive-lead {
    align-items: start;
    grid-template: "image location" auto "image title" auto "summary summary" auto / minmax(4.8rem, .55fr) minmax(0, 1.45fr);
    gap: .2rem .8rem;
  }
  .archive-lead-image { grid-area: image; align-self: center; }
  .archive-lead-copy { display: contents; }
  .archive-lead-copy .desk-kicker { grid-area: location; }
  .topic-page .topic-results .archive-lead :is(h3,h4) {
    grid-area: title;
    margin: 0;
    font-size: clamp(1.44rem, 5.2vw, 1.8rem);
  }
  .archive-lead-copy p { grid-area: summary; margin-block-start: .35rem; }
}

.venue-gallery-link { margin-top: .65rem; }
.article .venue-gallery-link a {
  display: inline-block;
  padding-block: .25rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  text-underline-offset: .22em;
}

.venue-clip { margin-top: .4rem; }
.venue-clip summary { cursor: pointer; font-size: .93rem; }
.venue-clip iframe { display: block; border: 0; width: 100%; height: auto; aspect-ratio: 16/9; margin-block: .65rem .3rem; background: #18231f; }
