/* One reading measure for narrative content. Cards, credits and source lines
   are deliberately outside the paragraph rule. */
body[data-section] .section-content {
  --narrative-width: 850px;
  --narrative-align: justify;
}
@media (max-width: 760px) {
  body[data-section] .section-content { --narrative-align: start; }
}
body[data-section] .section-content :is(.ix-story,.articlebody,.desk-prose,.candidate-story) {
  max-inline-size: var(--narrative-width);
  margin-inline-start: 0;
}
body[data-section] .section-content :is(
  .ix-story > p:not(.ix-category),
  .articlebody section > p:not([class]),
  .articlebody > p:not([class]),
  .desk-prose > div[lang] > p,
  .candidate-story section > p:not([class]),
  .prose65 > p,
  p.reading-copy
) {
  max-inline-size: var(--narrative-width);
  text-align: var(--narrative-align);
  text-align-last: start;
  text-indent: 1.25em;
  margin: 0 0 10px !important;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
body[data-section] .section-content :is(
  .section-nav, .candidate-provenance, .award-season, .desk-byline, figcaption, .ix-card
) p,
body[data-section] .section-content :is(figcaption,.ix-category,.original-name,.award-field,.h61-photo>p) {
  text-align: start;
  text-indent: 0;
}
body[data-section] .section-content :is(h1,h2,h3) {
  text-align:start;
  text-wrap:wrap;
  white-space:normal;
}
body[data-section] .section-content .prose65 > h2 {max-inline-size:var(--narrative-width)}
/* The page title and biographical text share the main text-column origin.
   The image precedes the biography in reading order on small screens. */
@media(min-width:1000px){
  body[data-section] .section-content .award-person{
    grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);
    grid-template-areas:"biography portrait";
  }
  .award-person .articlebody{grid-area:biography}
  .award-person .award-person-visual{grid-area:portrait}
}
body[data-section]:not([data-section="home"]){
  --type-h1:30px;--type-h2:24px;--type-h3:20px;--type-measure:760px;
}
body[data-section]:not([data-section="home"]) .section-content{--narrative-width:760px}
body[data-section]:not([data-section="home"]) main h3{font-weight:600!important}
body[data-section]:not([data-section="home"]) .section-content .functional-note>p{max-width:760px;margin:0 0 10px;text-indent:1.25em;text-align:var(--narrative-align);text-align-last:start}
body[data-section]:not([data-section="home"]) .section-content :is(.ix-card,.official-card) p:not(.reading-copy){text-align:start;text-indent:0}

/* Shared editorial measure for full articles and biographical profiles. */
body[data-section] .section-content {
  --narrative-width: min(74ch, 760px);
  --narrative-align: start;
}
.section-content :is(.ix-story,.articlebody,.functional-note,.desk-prose,.candidate-story) { min-width:0; }
body[data-section] .section-content :is(.ix-story,.articlebody,.desk-prose,.candidate-story,.expert-biography,.functional-note) p,
body[data-section] .section-content :is(p.reading-copy,.wrap.section>p) {
  text-align:start;
  word-spacing:normal;
  hyphens:manual;
  text-wrap:pretty;
}
body[data-section] .section-content :is(h1,h2,h3),body[data-section] .pagehead h1 {
  text-wrap:balance;
  hyphens:manual;
  overflow-wrap:break-word;
}
body[data-section] .section-content :is(.x64-profile,.award-person) .articlebody > section {
  margin:0;
  padding:18px 0;
  border-top:1px solid #d6dde0;
}
body[data-section] .section-content :is(.x64-profile,.award-person) .articlebody h2 {margin:0 0 10px}
body[data-section] .section-content .x64-profile .x64-intro:has(img) {
  width:100%;max-width:760px;display:grid;grid-template-columns:minmax(180px,250px) minmax(0,1fr);
  align-items:center;gap:clamp(16px,3vw,34px);padding:0 0 20px;margin:0;border:0;
}
body[data-section] .section-content .x64-profile .x64-intro .x64-portrait {
  width:100%;height:auto;max-height:325px;aspect-ratio:auto;object-fit:contain;display:block;margin:0;background:transparent;
}
body[data-section] .section-content .x64-profile .articlebody {width:100%;max-width:var(--narrative-width)}
body[data-section] .section-content .award-person {display:block}
.section-content .award-person .award-person-visual{margin:0;min-width:0;}
body[data-section] .section-content .award-person .award-profile-intro {
  display:grid;grid-template-columns:minmax(160px,250px) minmax(0,1fr);align-items:center;
  gap:clamp(16px,3vw,34px);max-width:760px;margin:0 0 24px;
}
.award-profile-intro .award-portrait{margin:0}
body[data-section] .award-profile-intro img.photo,.award-profile-intro .award-portrait img {
  display:block;width:100%;height:auto;max-height:320px;object-fit:contain;background:transparent;
}
body[data-section] .award-profile-intro p{margin:0 0 8px;text-align:start;text-indent:0}
body[data-section] .section-content .award-person .articlebody {width:100%;max-width:var(--narrative-width)}
.x64-rail .gallery-card .gallery-action{margin-top:auto}
.x64-rail .gallery-card .x64-copy{padding-bottom:8px}
@media(min-width:701px){.x64-rail .gallery-card{align-self:stretch}}
@media(max-width:700px){
  body[data-section] .section-content :is(.x64-profile .x64-intro:has(img),.award-person .award-profile-intro) {
    grid-template-columns:minmax(0,1fr);gap:14px;
  }
  body[data-section] .section-content .x64-profile .x64-intro .x64-portrait,
  .section-content .award-profile-intro .award-person-visual{max-width:210px}
  .section-content .x64-profile .x64-intro .x66-credited{max-width:210px}
}
/* The portrait belongs to the introduction, not to the former outer grid. */
.award-person .award-profile-intro .award-person-visual{grid-area:auto}
body[data-section] .section-content .egorov-reference .x64-intro .x64-portrait{
  height:auto;aspect-ratio:auto;object-fit:contain;object-position:center;
}

@media(min-width:761px){
  body[data-section]:not([data-section="executive"]) .section-content {
    --narrative-align:justify;
  }
  body[data-section]:not([data-section="executive"]) .section-content :is(
    .articlebody > p:not([class]),.articlebody section > p:not([class]),
    .ix-story > p:not([class]),.desk-prose [lang] > p,
    .expert-biography p,.candidate-story section > p:not([class]),
    .functional-note > p,.prose65 > p,p.reading-copy
  ){
    text-align:justify;text-align-last:start;text-indent:1.25em;
    margin:0 0 10px;hyphens:auto;hyphenate-limit-chars:7 3 3;
    text-wrap:wrap;max-inline-size:min(100%,74ch);
  }
  body[data-section] .section-content .articlebody .article-sources p {text-align:start;text-indent:0}
}
