/* Reuse the existing long-article design; scope only source links and print flow. */
#nvh033 .nvh033-citation a { display:inline-block; min-height:24px; padding-inline:2px; text-decoration:underline; }
#nvh033 .ww-source-list { list-style:none; padding-left:0; }
#nvh033 .ww-source-list a { text-decoration:underline; overflow-wrap:anywhere; word-break:break-word; }
#nvh033 .ww-body > section, #nvh033 .ww-source-list li { scroll-margin-top:15rem; }
@media(max-width:780px){#nvh033 .ww-body > section, #nvh033 .ww-source-list li { scroll-margin-top:9rem; }}
/* Reserve the exact 3:2 image box before lazy images decode, so distant anchors stay put. */
#nvh033 .ww-document img { width:100%; aspect-ratio:3 / 2; max-height:none; }
#nvh033 .nvh033-section-lead { display:contents; }
@media print {
  #nvh033 h1, #nvh033 h2 { break-inside:avoid!important; page-break-inside:avoid!important; orphans:3; widows:3; }
  /* Generic/legacy avoid values also work where avoid-page is not honored. */
  #nvh033 h2 { break-after:avoid!important; page-break-after:avoid!important; }
  #nvh033 .nvh033-section-lead { display:block; break-inside:avoid!important; page-break-inside:avoid!important; }
  #nvh033 .ww-source-list { break-before:avoid!important; page-break-before:avoid!important; }
  /* Start references on their own page; keep one intact semantic source list. */
  #nvh033 #sources { break-before:page!important; page-break-before:always!important; }
  #nvh033 .ww-reading { display:block!important; margin:0!important; }
  #nvh033 .ww-toc, #nvh033 .ww-related { display:none!important; }
  #nvh033 .ww-body > section { margin-bottom:6mm; }
  #nvh033 .ww-hero, #nvh033 .ww-document { padding:0; margin:4mm 0 6mm; border:0; background:none; }
  #nvh033 figure img { max-height:90mm!important; width:auto!important; max-width:100%!important; margin-inline:auto; }
  #nvh033 .ww-source-list li { break-inside:avoid!important; page-break-inside:avoid!important; }
  #nvh033 .ww-source-list a { display:inline; min-height:0; }
  #nvh033 .nvh033-citation a { display:inline; min-height:0; padding:0; }
}
