/* Scoped to the new article; the shared 900px reading column is unchanged. */
.marriage-page .marriage-figure{margin:2rem 0 2.5rem;}
.marriage-page .scan-open{display:block;text-decoration:none;}
.marriage-page .scan-frame{display:block;background:#f3eee2;border:1px solid #c6c1b3;overflow:hidden;}
.marriage-page .scan-frame img{display:block;width:100%;height:auto;}
.marriage-page .historical-hero .scan-frame{position:relative;aspect-ratio:1.68;}
.marriage-page .historical-hero .scan-frame img{position:absolute;width:160%;max-width:none;height:auto;left:-30%;top:-70%;}
.marriage-page .scan-action{display:block;padding:.6rem 0;font-size:1rem;text-decoration:underline;text-underline-offset:.2em;}
.marriage-page figcaption{font-size:.95rem;line-height:1.65;color:#3e5261;}
.marriage-page .marriage-note{border-left:3px solid #a77d2e;background:#f4f2ec;padding:1.1rem 1.3rem;line-height:1.8;margin:1.5rem 0;}
.marriage-table{width:100%;border-collapse:collapse;font-size:1rem;line-height:1.6;}
.marriage-table caption{text-align:left;padding:.6rem 0;color:#405765;}
.marriage-table th,.marriage-table td{text-align:left;vertical-align:top;padding:.8rem;border-bottom:1px solid #bfccd6;}
.marriage-table th{background:#e8f1f8;}
#marriage-lightbox{box-sizing:border-box;width:min(1200px,96vw);max-width:96vw;max-height:94dvh;padding:1rem;background:#f6f4ee;border:1px solid #516778;color:#172c3c;}
#marriage-lightbox::backdrop{background:rgba(13,28,38,.86);}
#marriage-lightbox .scan-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;position:sticky;top:-1rem;background:#f6f4ee;padding:.6rem 0;z-index:1;}
#marriage-lightbox button,#marriage-lightbox a{min-height:44px;display:inline-flex;align-items:center;padding:.5rem 1rem;font-size:1rem;}
#marriage-lightbox button{background:#0755a5;color:white;border:0;cursor:pointer;}
#marriage-lightbox .scan-viewport{overflow:auto;max-height:72dvh;}
#marriage-lightbox img{display:block;max-width:100%;height:auto;margin:auto;}
#marriage-lightbox[data-zoom="true"] img{max-width:none;}
#marriage-lightbox p{font-size:1rem;line-height:1.5;}
@media(max-width:600px){.marriage-page .maaseik-article{padding-inline:0!important;}.marriage-table th,.marriage-table td{padding:.65rem .5rem;}.marriage-page .marriage-figure{margin-block:1.5rem 2rem;}}
@media print{.marriage-page .scan-action,#marriage-lightbox{display:none;}.marriage-page figure{break-inside:avoid;}}

/* 11-10-2026: ook in het eerdere huwelijksartikel het volledige blad. */
.marriage-page .historical-hero .scan-frame{aspect-ratio:auto;overflow:visible}
.marriage-page .historical-hero .scan-frame img{position:static;width:100%;max-width:100%;height:auto;left:auto;top:auto;object-fit:contain}
