/* Original artwork and editorial captions. Inherit the site typography and palette. */
#page-visual[data-edition] { min-height:clamp(18rem,29vw,35rem); background:#eaf2ed; }
#page-visual[data-edition="diagram"] img, #page-visual[data-edition="library"] img { object-fit:contain; }
#page-visual[data-edition="diagram"] { background:#eaf2ed; }
#page-visual[data-edition="library"] { background:#112c31; }
#page-visual[data-edition] figcaption { max-width:calc(100% - 4rem); }
#article-body figure[data-editorial-plate] { overflow:hidden; margin:clamp(2.5rem,5vw,4.5rem) 0; padding:0; border:1px solid var(--line); background:var(--paper); }
#article-body figure[data-editorial-plate] > img { display:block; width:100%; max-width:100%; height:auto; max-height:none; margin:0; object-fit:contain; }
#article-body figure[data-editorial-plate] figcaption { display:grid; grid-template-columns:minmax(7.5rem,.34fr) 1fr; gap:1.5rem; align-items:start; border-top:1px solid var(--line); padding:1.25rem 1.5rem 1.5rem; }
#article-body figure[data-editorial-plate] figcaption [data-label] { color:var(--muted); padding-top:.22rem; }
#article-body figure[data-editorial-plate] figcaption p { margin:0; font-size:.88rem; line-height:1.85; }
@media (max-width:760px) {
  #page-visual[data-edition] { min-height:0; aspect-ratio:4 / 3; }
  #page-visual[data-edition="library"] { aspect-ratio:1672 / 941; }
  #page-visual[data-edition="diagram"] { aspect-ratio:3 / 2; }
  #page-visual[data-edition] figcaption { left:1rem; bottom:1rem; max-width:calc(100% - 2rem); }
  #article-body figure[data-editorial-plate] figcaption { grid-template-columns:1fr; gap:.5rem; padding:1rem; }
}
@media (prefers-reduced-motion:reduce) {
  #page-visual[data-edition] img, #article-body figure[data-editorial-plate] img { animation:none; transform:none; }
}
