/* Approved old-deed presentation, 16 October 2026.
   Decorative generated paper only; original documents and images are untouched. */
body main[data-akte-paper], body .home-story, body.vdb-story .portal-main {
  box-sizing:border-box;
  background-color:#f7eedb;
  background-image:linear-gradient(90deg,rgba(143,94,28,.11),transparent 22px,transparent calc(100% - 22px),rgba(143,94,28,.11)),linear-gradient(180deg,rgba(143,94,28,.10),transparent 28px,transparent calc(100% - 28px),rgba(143,94,28,.10)),url('/assets/akte-papier-20261016/papier-naadloos.webp');
  background-size:100% 100%,100% 100%,640px 640px;
  background-repeat:no-repeat,no-repeat,repeat;
  border:1px solid #b99b68;
  border-radius:9px 5px 12px 6px / 5px 11px 6px 10px;
  box-shadow:0 7px 18px rgba(66,47,24,.18),inset 0 0 22px rgba(153,109,43,.09);
  color:#233342;
}
body main[data-akte-paper] {
  width:min(900px,calc(100% - 40px));
  max-width:900px;
  margin:30px auto 64px;
  padding:clamp(24px,5vw,56px) clamp(22px,5vw,56px) !important;
  overflow:visible;
}
/* Keep one continuous sheet, including the older chapter layouts. */
body main[data-akte-paper] > :is(article,.subhero,.section,.content-section,.dossier-intro,.history-invite,.research-layout),
body main[data-akte-paper] > article.hermina-artikel {
  background:transparent !important;
  border:0;
  box-shadow:none;
  padding-inline:0 !important;
  max-width:100%;
  min-width:0;
}
body main[data-akte-paper] > :is(.subhero,.dossier-intro) {padding-top:0;padding-bottom:1.5rem}
body main[data-akte-paper] > article {padding-top:0}
body main[data-akte-paper] .research-layout {padding-inline:0}
body main[data-akte-paper] .maaseik-heading {border-top:0;padding-top:0}
body main[data-akte-paper] :is(.history-index,.maaseik-contents,.article-contents,.batavia-note,.batavia-family,.edition-note,.evidence-note,.side-index) {
  background:rgba(255,250,236,.42);
  border-color:#bca376;
}
body main[data-akte-paper] :is(.maaseik-contents,.article-contents) {background:transparent}
body main[data-akte-paper] .hermina-artikel :is(.edition-note,.evidence-note,.article-nav a) {background:rgba(255,250,236,.52);border-color:#bca376;color:#233342}
body main[data-akte-paper] :is(.sibling-table th,.hermina-artikel th) {background:#eaddc1;color:#233342}
body main[data-akte-paper] :is(.sibling-table .candidate-row,.hermina-artikel tr:nth-child(even) td) {background:rgba(255,250,236,.45)}
body main[data-akte-paper] :is(h1,h2,h3),body .home-story h2 {color:#172c3c}
body main[data-akte-paper] .eyebrow,body .home-story .eyebrow {color:#865b21}
body .home-story {padding:clamp(24px,5vw,56px);margin-block:1.5rem 3.5rem}
body .home-story h2 a {color:#172c3c;text-decoration:none}
body .home-story h2 a:hover {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.14em}
body .home-story :is(.story-intro,.story-subtitle) {font-family:Georgia,'Times New Roman',serif;color:#233342}
body .home-story .story-status {color:#52606a}
body .home-story .story-link {color:#0755a5}
/* No opacity, filtering, cropping or paper overlays on archival images/viewer. */
body main[data-akte-paper] .hermina-artikel {margin:0;max-width:100%}
body main[data-akte-paper] .home-hermina-akten {padding:0}
@media(max-width:600px) {
  body main[data-akte-paper] {width:calc(100% - 28px);margin-top:18px;padding:24px 20px !important}
  body .home-story {padding:26px 22px;margin-bottom:2.75rem}
  body main[data-akte-paper] :is(h1,h2,h3),body .home-story h2 {overflow-wrap:break-word}
  body main[data-akte-paper] > article.hermina-artikel {padding-inline:0 !important}
}
@media print {
  body main[data-akte-paper],body .home-story,body.vdb-story .portal-main {background:#fff!important;border:0;border-radius:0;box-shadow:none;width:100%;max-width:none;margin:0;padding:0!important}
}
