/* Reading compositions for the selected article chapters. Keep buying controls in the shared shell. */
main[data-article-reading] {
  --reading-rule:#ced3d2;
  --reading-gutter:max(4vw,calc((100vw - 1300px)/2));
}
main[data-article-reading] section[data-reading-composition] {
  box-sizing:border-box;
  margin-inline:0;
  padding:clamp(34px,4.3vw,64px) var(--reading-gutter);
  max-width:none;
}
main[data-article-reading] section[data-reading-composition] .section-heading {
  width:100%;
  max-width:none;
  margin:0 0 clamp(17px,2.1vw,31px);
  display:block;
}
main[data-article-reading] section[data-reading-composition] .section-heading > div {margin:0;}
main[data-article-reading] section[data-reading-composition] .section-heading h2 {
  font-size:clamp(26px,2.4vw,36px);
  line-height:1.13;
  letter-spacing:-.039em;
  max-width:36ch;
  margin:0;
  text-wrap:balance;
  overflow-wrap:break-word;
}
main[data-article-reading] [data-reading-composition] .section-heading .section-number {
  margin:0 0 11px;
  font-size:12px;
  letter-spacing:.08em;
  line-height:1.4;
}
main[data-article-reading] .article-reading-copy {
  box-sizing:border-box;min-width:0;max-width:68ch;
}
main[data-article-reading] .article-reading-copy :is(p,.story-copy,.editorial-reading-body) {margin-inline:0;width:100%;max-width:68ch;}
main[data-article-reading] .article-reading-copy p {
  font-size:clamp(16px,1.14vw,18px);
  line-height:1.63;
  margin:0 0 .85em;
}
main[data-article-reading] .article-reading-copy p:last-child {margin-bottom:0;}
main[data-article-reading] .article-reading-copy .article-reading-deck {
  display:block;max-width:45ch;
  margin:0 0 .72em;color:inherit;
  font-size:clamp(19px,1.53vw,23px);font-weight:580;line-height:1.38;letter-spacing:-.02em;
}
main[data-article-reading] [data-reading-composition=photo],
main[data-article-reading] [data-reading-composition=matrix],
main[data-article-reading] [data-reading-composition=options] {display:block;}
main[data-article-reading] .article-reading-spread {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);
  max-width:none;align-items:center;gap:clamp(24px,6vw,90px);
}
main[data-article-reading] .article-reading-spread .article-reading-photo {margin:0;min-width:0;}
main[data-article-reading] .article-reading-photo img {
  display:block;width:100%;max-width:100%;height:auto;
  aspect-ratio:1.95;object-fit:cover;
}
main[data-article-reading] section[data-reading-composition=matrix] .supply-comparison-scroll {
  margin-inline:0;width:100%;max-width:100%;
}
main[data-article-reading] [data-reading-composition=matrix] tbody td:first-child {
  font-weight:650;line-height:1.43;
}
main[data-article-reading] section[data-reading-composition=options] :is(.story-notes,.expert-menu,.expert-choice-grid) {
  display:block;max-width:none;border:0;
}
main[data-article-reading] section[data-reading-composition=options] :is(.story-notes,.expert-menu,.expert-choice-grid) > :is(article,div) {
  display:grid;grid-template-columns:minmax(0,.67fr) minmax(0,1.45fr);
  column-gap:clamp(24px,5vw,72px);align-content:start;align-items:baseline;
  border:0;border-top:1px solid var(--reading-rule);padding:19px 0;background:transparent;margin:0;
}
main[data-article-reading] section[data-reading-composition=options] :is(.story-notes,.expert-menu,.expert-choice-grid) > :is(article,div) > h3 {
  grid-column:1;grid-row:1/span 8;font-size:clamp(19px,1.65vw,25px);line-height:1.22;letter-spacing:-.025em;margin:0;max-width:29ch;
}
main[data-article-reading] section[data-reading-composition=options] :is(.story-notes,.expert-menu,.expert-choice-grid) > :is(article,div) > :not(h3) {
  grid-column:2;max-width:70ch;margin:0 0 .45em;
}
main[data-article-reading] [data-reading-focus][data-reading-composition=prose] .article-reading-copy {
  border-inline-start:3px solid #c65d1c;padding-inline-start:clamp(16px,1.8vw,26px);
}
main[data-article-reading] [data-reading-composition=reference] > :is(.editorial-measures,.editorial-findings,.editorial-explanation,.editorial-sequence,.expert-test-list) {
  margin-left:0;
}
@media(min-width:901px) {
  main[data-article-reading] section[data-reading-composition=prose]:not([data-layout=lead]) {
    display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1.35fr);
    column-gap:clamp(38px,6vw,86px);align-items:start;
  }
  main[data-article-reading] section[data-reading-composition=prose]:not([data-layout=lead]) .section-heading {margin:0;}
  main[data-article-reading] section[data-reading-composition=prose]:not([data-layout=lead]) .section-heading h2 {
    font-size:clamp(23px,2vw,31px);
  }
  main[data-article-reading] section[data-reading-composition=prose][data-layout=lead] {
    display:block;padding-inline:max(9vw,calc((100vw - 1030px)/2));
  }
}
@media(max-width:900px) {
  main[data-article-reading] {--reading-gutter:clamp(20px,4.7vw,42px);}
  main[data-article-reading] section[data-reading-composition=prose] {display:block;}
  main[data-article-reading] section[data-reading-composition] {padding-block:32px;}
}
@media(max-width:640px) {
  main[data-article-reading] .article-reading-spread {grid-template-columns:1fr;gap:20px;}
  main[data-article-reading] .article-reading-photo img {aspect-ratio:1.9;}
  main[data-article-reading] section[data-reading-composition=options] :is(.story-notes,.expert-menu,.expert-choice-grid) > :is(article,div) {display:block;padding-block:15px;}
  main[data-article-reading] section[data-reading-composition=options] :is(.story-notes,.expert-menu,.expert-choice-grid) > :is(article,div) > h3 {margin:0 0 8px;}
  main[data-article-reading] .supply-comparison-scroll:has([data-mobile-records]) {overflow:visible;}
  main[data-article-reading] table[data-mobile-records] {display:block;width:100%;min-width:0;border:0;}
  main[data-article-reading] table[data-mobile-records] thead {
    position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);
  }
  main[data-article-reading] table[data-mobile-records] :is(tbody,tr) {display:block;width:100%;}
  main[data-article-reading] table[data-mobile-records] tbody tr {
    margin:0 0 16px;border:1px solid var(--reading-rule);
  }
  main[data-article-reading] table[data-mobile-records] tbody td {
    display:block;position:static;width:auto;max-width:none;min-width:0;padding:10px 13px;
    background:white;color:#142630;border:0;font-size:15px;
  }
  main[data-article-reading] table[data-mobile-records] tbody td:first-child {background:#081727;color:white;font-size:17px;}
  main[data-article-reading] table[data-mobile-records] tbody td:not(:first-child)::before {
    content:attr(data-reading-label);
    content:attr(data-reading-label) / "";
    display:block;color:#475965;line-height:1.4;font-size:13px;font-weight:650;margin-bottom:3px;
  }
}
/* Text-led guides with a reference table give the existing chapter links a stronger editorial panel. */
main[data-article-reading]:has([data-reading-focus][data-reading-composition=matrix]) .solution-hero .topic-contents {
  padding:clamp(21px,2.5vw,36px);margin:0;background:#111f2c;border:0;
}
main[data-article-reading]:has([data-reading-focus][data-reading-composition=matrix]) .solution-hero .topic-contents .section-number {
  color:#ffb477 !important;margin:0 0 12px;
}
main[data-article-reading]:has([data-reading-focus][data-reading-composition=matrix]) .solution-hero .topic-contents a {
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:14px 0;min-height:44px;color:#fff;border-color:#536370;
  font-size:clamp(16px,1.3vw,20px);line-height:1.37;font-weight:550;
}
main[data-article-reading]:has([data-reading-focus][data-reading-composition=matrix]) .solution-hero .topic-contents a::after {
  content:"↓" / "";color:#ffb477;flex:0 0 auto;
}
main[data-article-reading]:has([data-reading-focus][data-reading-composition=matrix]) .solution-hero .topic-contents a:hover {color:#ffd4b4;}
main[data-article-reading]:has([data-reading-focus][data-reading-composition=matrix]) .solution-hero .topic-contents a:focus-visible {outline:2px solid #ffb477;outline-offset:4px;}
main[data-article-reading] [data-reading-focus] .editorial-layers {
  width:100%;max-width:none;margin:0 0 1.25rem;
}
main[data-article-reading] [data-reading-focus] .editorial-layers > div {
  padding:clamp(14px,1.8vw,25px);
  background:#f2f1eb;color:#152939;
  border-inline-start:4px solid #879daa;border-top:2px solid white;
}
main[data-article-reading] [data-reading-focus] .editorial-layers > div:has(strong):first-child {border-inline-start-color:#ad5422;}
@media(max-width:760px) {
  main[data-article-reading]:has([data-reading-focus][data-reading-composition=matrix]) .solution-hero .topic-contents {width:auto;margin:16px 0 0;}
  main[data-article-reading]:has([data-reading-focus][data-reading-composition=matrix]) .solution-hero .topic-contents a {padding-block:11px;}
}
