.nwt-page { max-width: 1040px; margin: 0 auto; padding: 24px 28px 64px; line-height: 1.75; color: var(--text-primary, #142e42); }
.nwt-page p { margin: 12px 0; }
.nwt-page ul, .nwt-page ol { padding-left: 24px; }
.nwt-hero { padding: 38px 0 28px; border-bottom: 2px solid var(--gold, #cba449); }
.nwt-eyebrow { color: var(--text-secondary, #555); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.nwt-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.15; max-width: 820px; margin: 16px 0 24px; }
.nwt-lead { font-size: 1.15rem; max-width: 800px; }
.nwt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.nwt-actions a, .nwt-pagination button { display: inline-block; padding: 9px 16px; border: 1px solid var(--border, #c9c2b3); border-radius: 6px; background: var(--bg-surface, #fff); color: var(--text-primary, #142e42); text-decoration: none; }
.nwt-actions a:first-child { background: #142e42; color: #fff; border-color: #142e42; }
.nwt-notice { margin: 28px 0; border-left: 4px solid var(--gold, #cba449); padding: 16px 24px; background: rgba(203,164,73,.10); }
.nwt-notice h2 { margin: 0; font-size: 1.2rem; }
.nwt-page section { margin-top: 42px; }
.nwt-page h2 { font-size: 1.8rem; line-height: 1.3; }
.nwt-page h3 { font-size: 1.35rem; line-height: 1.4; margin-top: 8px; }
.nwt-page h1, .nwt-page h2, .nwt-page h3 { color: var(--text-primary, #142e42); }
.nwt-page a { color: var(--link-color, #226562); text-decoration: underline; text-underline-offset: 3px; }
.nwt-contents { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; padding-left: 24px; margin: 20px 0 32px; }
.nwt-contents li { padding: 7px 0; }
.nwt-contents a { display: block; text-decoration: none; }
.nwt-contents strong { display: block; }
.nwt-contents span { font-size: .87rem; display: block; line-height: 1.4; margin-top: 3px; }
.nwt-card { border: 1px solid var(--border, #dfdbd2); background: var(--bg-surface, #fff); border-radius: 9px; padding: 26px; margin: 22px 0; scroll-margin-top: 90px; }
.nwt-rank { display: inline-block; color: var(--text-secondary, #666); font-size: 1rem; padding-right: 7px; font-variant-numeric: tabular-nums; }
.nwt-verdict { margin: 0; font-weight: 600; font-size: .85rem; color: var(--text-secondary, #666); }
.nwt-refs { font-size: .9rem; }
.nwt-card details { border-top: 1px solid var(--border, #dfdbd2); padding: 12px 0 2px; margin-top: 12px; }
.nwt-card summary, .nwt-page button { cursor: pointer; }
.nwt-card summary { font-weight: 600; }
.nwt-source-block { background: #f5f2e9; border: 1px solid #ded6bf; border-radius: 8px; padding: 18px 20px; margin: 18px 0; }
.nwt-card h4 { font-family: var(--font-body, sans-serif); font-size: .9rem; font-weight: 700; color: #142e42; line-height: 1.5; margin: 0 0 12px; }
.nwt-card h4 > span { display: block; font-size: .76rem; font-weight: 400; color: #59656a; }
.nwt-words { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 8px; }
.nwt-word { display: inline-flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 8px 9px; border-radius: 5px; min-width: 50px; max-width: 190px; }
.nwt-word-focus { background: #fff0ba; box-shadow: inset 0 -3px #a37816; }
.nwt-word-text { font-family: 'Times New Roman', serif; font-size: calc(1.6rem * var(--nwt-schaal, 1)); line-height: 1.45; color: #172f3d; }
.nwt-page a.nwt-word-text { color: #172f3d; text-decoration: none; }
.nwt-page a.nwt-word-text:hover { text-decoration: underline; }
.nwt-word-text[lang="he"] { font-size: calc(1.85rem * var(--nwt-schaal, 1)); }
.nwt-word-strong { display: block; font-size: calc(.74rem * var(--nwt-schaal, 1)); line-height: 1.5; direction: ltr; }
.nwt-word-gloss { display: block; font-size: calc(.74rem * var(--nwt-schaal, 1)); text-align: center; line-height: 1.35; margin-top: 4px; color: #36484e; }
.nwt-full-verse .nwt-words { padding: 14px 0; }
.nwt-full-verse summary { font-size: .8rem; }
.nwt-translation-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nwt-translation { border: 1px solid #ddd; border-top: 3px solid #9d2827; border-radius: 6px; padding: 17px 20px; background: #fff; }
.nwt-translation-proposed { border-color: #b2cabc; border-top: 3px solid #27634f; background: #f2f8f4; }
.nwt-card .nwt-translation blockquote { border: 0; background: none; padding: 0; margin: 0; font-family: var(--font-body, sans-serif); font-size: calc(1.08rem * var(--nwt-schaal, 1)); font-style: normal; line-height: 1.8; color: #142e42; }
.nwt-error { background: #fce7e6; color: #a31b18; font-weight: 700; border-radius: 3px; padding: 1px 3px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.nwt-quote-source { display: inline-block; font-size: .76rem; margin-top: 12px; }
.nwt-difference { border-left: 3px solid #a31b18; padding: 4px 0 4px 15px; margin-top: 20px; }
.nwt-difference p { margin: 4px 0; }
.nwt-page .nwt-comparison-note { font-size: .86rem; color: #526168; margin: 14px 0; line-height: 1.6; }
.nwt-legend-source { background: #fff0ba; border-bottom: 2px solid #a37816; padding: 0 4px; }
.nwt-notice details { margin-top: 16px; font-size: .9rem; }
.nwt-page #maatstaf { font-weight: 600; cursor: pointer; }
.nwt-manuscript { border: 1px solid #d8d3c7; border-radius: 8px; padding: 20px; margin: 24px 0; background: #faf8f2; }
.nwt-manuscript img { width: 100%; height: auto; max-height: 850px; object-fit: contain; margin: 14px auto; background: #e8e2d4; }
.nwt-manuscript figcaption { color: #42535b; font-size: .85rem; line-height: 1.65; }
.nwt-manuscript h4 { font-size: 1rem; }
.nwt-manuscript-reading { font-family: 'Times New Roman', serif; font-size: 1.2rem; letter-spacing: .06em; overflow-wrap: anywhere; }
.nwt-ov-verse .strongs-inline { display: inline; border: 0; padding: 0 2px; margin: 0 1px; background: transparent; color: #226562; font-size: .65em; vertical-align: super; font-family: var(--font-body, sans-serif); line-height: 1; cursor: pointer; }
.nwt-ov-verse .strongs-inline:hover { text-decoration: underline; }
.nwt-dictionary { width: min(1100px, 94vw); height: min(900px, 90dvh); padding: 0; border: 1px solid #b9c7c3; border-radius: 10px; margin: auto; background: #fff; color: #142e42; overflow: hidden; }
.nwt-dictionary[open] { display: flex; flex-direction: column; }
.nwt-dictionary::backdrop { background: rgba(10,25,35,.65); }
.nwt-dictionary-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 20px; background: #f2f6f3; border-bottom: 2px solid var(--gold, #cba449); }
.nwt-dictionary-header h2 { font-family: var(--font-body, sans-serif); font-size: 1.1rem; line-height: 1.4; margin: 0; }
.nwt-dictionary-header p { font-size: .8rem; margin: 2px 0 0; }
.nwt-dictionary-header button { font: inherit; padding: 8px 13px; border: 1px solid #bac4bf; border-radius: 5px; background: white; color: #142e42; cursor: pointer; }
.nwt-dictionary-fallback { font-size: .8rem; padding: 8px 20px; margin: 0; }
.nwt-dictionary-fallback a { text-decoration: underline; }
.nwt-dictionary iframe { display: block; width: 100%; min-height: 0; flex: 1; border: 0; background: white; }
.nwt-filters { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin: 24px 0; }
.nwt-filters label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.nwt-filters input, .nwt-filters select { min-width: 0; width: 100%; box-sizing: border-box; font: inherit; border: 1px solid var(--border, #bbb); border-radius: 5px; padding: 9px; color: var(--text-primary, #142e42); background: var(--bg-surface, #fff); }
.nwt-table-wrap { overflow-x: auto; }
.nwt-page table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.nwt-page th, .nwt-page td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--border, #ddd); padding: 12px 10px; min-width: 100px; }
.nwt-page th:first-child, .nwt-page td:first-child { padding-left: 0; }
.nwt-page td:nth-child(3) { min-width: 220px; }
.nwt-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 22px 0; }
.nwt-pagination button:disabled { opacity: .4; cursor: default; }
.nwt-page :focus-visible { outline: 3px solid var(--gold, #cba449); outline-offset: 4px; }
.nwt-hash { overflow-wrap: anywhere; }
.nwt-footer { border-top: 1px solid var(--border, #ddd); margin-top: 40px; padding-top: 20px; }
.nwt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.nwt-embedded #topnav { display: none; }
html.nwt-embedded .nwt-page { padding-top: 0; }
@media(max-width: 640px) { .nwt-page { padding-left: 18px; padding-right: 18px; } .nwt-filters, .nwt-contents, .nwt-translation-pair { grid-template-columns: 1fr; } .nwt-card { padding: 18px; } .nwt-notice { padding: 15px; } .nwt-hero { padding-top: 20px; } .nwt-source-block, .nwt-translation { padding: 15px; } .nwt-word-text { font-size: calc(1.45rem * var(--nwt-schaal, 1)); } .nwt-word { padding: 6px; } }
@media print { #topnav, .nwt-filters, .nwt-pagination, #versindex, .nwt-leesopties, .nwt-hs-legenda { display: none; } .nwt-card { break-inside: avoid; } .nwt-page { max-width: none; } }

/* Argument, weerlegging en hoor en wederhoor */
.nwt-debat { display: grid; grid-template-columns: 1fr 1.35fr; gap: 14px; margin: 18px 0 6px; }
.nwt-page .nwt-debat > section { border-radius: 6px; padding: 16px 19px; margin: 0; }
.nwt-debat p { margin: 0 0 10px; line-height: 1.65; }
.nwt-debat p:last-child { margin-bottom: 0; }
.nwt-debat-jg { background: #fbf3f2; border-left: 3px solid #9d2827; }
.nwt-debat-wij { background: #f2f8f4; border-left: 3px solid #27634f; }
.nwt-card .nwt-debat h4 { margin-bottom: 8px; }
.nwt-debat-jg h4 { color: #8a2321; }
.nwt-debat-wij h4 { color: #1f5442; }
.nwt-page a.nwt-vers-link { color: inherit; text-decoration: underline; text-decoration-color: #a37816; text-underline-offset: 2px; white-space: nowrap; }
.nwt-page a.nwt-vers-link:hover { color: #142e42; text-decoration-thickness: 2px; }
.nwt-card details.nwt-hoor > summary { color: #142e42; }
.nwt-hoor-uitleg { font-size: .86rem; color: #526168; margin: 10px 0 4px; }
.nwt-gesprek { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 6px; }
.nwt-beurt { max-width: 86%; border-radius: 10px; padding: 11px 15px; line-height: 1.6; }
.nwt-beurt p { margin: 0; }
.nwt-beurt .nwt-spreker { font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 3px; }
.nwt-beurt-jg { align-self: flex-start; background: #fbf3f2; border: 1px solid #ecd2cf; border-top-left-radius: 2px; }
.nwt-beurt-jg .nwt-spreker { color: #8a2321; }
.nwt-beurt-wij { align-self: flex-end; background: #f2f8f4; border: 1px solid #c9ddd0; border-top-right-radius: 2px; }
.nwt-beurt-wij .nwt-spreker { color: #1f5442; }

/* Leesopties bij de verzen */
.nwt-leesopties { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 16px 0 -4px; padding: 9px 12px; background: #f7f6f2; border: 1px solid #e3ded2; border-radius: 8px; font-size: .8rem; }
.nwt-leesopties[hidden] { display: none; }
.nwt-leesopties-kop { font-weight: 700; color: #142e42; margin-right: 4px; }
.nwt-leesopties button { font: inherit; font-size: .78rem; line-height: 1.2; color: #142e42; background: #fff; border: 1px solid #c9c3b4; border-radius: 999px; padding: 5px 11px; min-height: 30px; }
.nwt-leesopties button:hover { border-color: #142e42; }
.nwt-leesopties button:focus-visible { outline: 2px solid #a37816; outline-offset: 2px; }
.nwt-leesopties .nwt-optie[aria-pressed="true"] { background: #142e42; border-color: #142e42; color: #fff; }
.nwt-leesopties .nwt-optie[aria-pressed="true"]::before { content: "✓ "; }
.nwt-leesopties-grootte { display: inline-flex; gap: 4px; margin-left: auto; }
.nwt-leesopties .nwt-grootte { min-width: 38px; font-weight: 700; }
.nwt-leesopties .nwt-grootte:disabled { opacity: .4; cursor: default; }
.nwt-page.nwt-zonder-ovnummers .nwt-ov-verse .strongs-inline { display: none; }
.nwt-page.nwt-zonder-strong .nwt-word-strong { display: none; }
.nwt-page.nwt-zonder-glossen .nwt-word-gloss { display: none; }
@media (max-width: 640px) {
  .nwt-debat { grid-template-columns: 1fr; }
  .nwt-beurt { max-width: 100%; }
  .nwt-leesopties-grootte { margin-left: 0; }
}

/* Oudste handschrift per vers */
.nwt-page .nwt-oudste { margin: 20px 0 6px; border: 1px solid #d8d3c7; border-left: 3px solid #a37816; border-radius: 8px; padding: 16px 20px; background: #faf8f2; }
.nwt-card .nwt-oudste h4 { margin-bottom: 10px; }
.nwt-oudste p { line-height: 1.65; margin: 0 0 10px; }
.nwt-hs-inleiding { font-size: .9rem; color: #42535b; }
.nwt-hs-tekst { font-family: 'Times New Roman', 'SBL Greek', 'Gentium Plus', serif; font-size: calc(1.12rem * var(--nwt-schaal, 1)); letter-spacing: .07em; line-height: 1.75; color: #2a2116; background: #f1ebdb; border: 1px solid #e2d8bf; border-radius: 6px; padding: 12px 16px; margin: 4px 0 12px; overflow-wrap: anywhere; }
.nwt-hs-tekst[lang="he"] { font-family: 'SBL Hebrew', 'Ezra SIL', 'Times New Roman', serif; font-size: calc(1.55rem * var(--nwt-schaal, 1)); letter-spacing: 0; text-align: right; }
.nwt-hs-regel { display: block; }
.nwt-hs-aangevuld { color: #9a8a6c; }
.nwt-hs-ns { color: #7a2a12; font-weight: 600; }
.nwt-hs-vertaling { font-size: .92rem; color: #36484e; }
.nwt-page .nwt-hs-meta { font-size: .8rem; color: #59656a; margin-top: 4px; }
.nwt-page .nwt-hs-legenda { font-size: .74rem; color: #7a8488; margin: 2px 0 0; }
.nwt-card .nwt-oudste details.nwt-hs-ook { border-top: 1px solid #e2d8bf; margin-top: 12px; }
.nwt-card .nwt-oudste details.nwt-hs-ook > summary { font-size: .86rem; color: #142e42; }
@media (max-width: 640px) { .nwt-page .nwt-oudste { padding: 14px; } .nwt-hs-tekst { font-size: calc(1rem * var(--nwt-schaal, 1)); letter-spacing: .04em; } }
.nwt-page .nwt-oudste > p:not(.nwt-hs-meta):not(.nwt-hs-legenda) { font-size: .95rem; }

/* Handschriftfoto's: uitsnede in het paneel, hele bladzijde in een venster */
.nwt-hs-fotos { margin: 6px 0 14px; }
.nwt-hs-fotos-paar { display: grid; grid-template-columns: minmax(0, 772fr) minmax(0, 1278fr); gap: 14px; align-items: start; }
.nwt-page .nwt-hs-foto { margin: 0 0 10px; }
.nwt-hs-foto > a { display: block; line-height: 0; border: 1px solid #d8cfb8; border-radius: 6px; overflow: hidden; background: #1b1b1b; cursor: zoom-in; }
.nwt-hs-foto img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; margin: 0 auto; }
.nwt-hs-foto-zw > a { background: #e9e9e6; }
.nwt-hs-foto-zw img { width: auto; max-width: 100%; }
.nwt-hs-foto > a:hover, .nwt-hs-foto > a:focus-visible { border-color: #a37816; box-shadow: 0 0 0 2px rgba(163,120,22,.25); }
.nwt-page .nwt-hs-foto figcaption { font-size: .84rem; line-height: 1.6; color: #42535b; margin-top: 7px; }
.nwt-page .nwt-hs-foto figcaption > a { white-space: nowrap; }
.nwt-hs-fotobron { display: block; font-size: .74rem; color: #7a8488; margin-top: 2px; }
.nwt-page .nwt-oudste p.nwt-hs-ogw, .nwt-page .nwt-hs-ook p.nwt-hs-ogw { font-size: .86rem; margin: 2px 0 10px; }
.nwt-hs-ogw > span { white-space: nowrap; font-size: .78rem; color: #59656a; }
.nwt-foto-venster { width: min(1200px, 96vw); height: min(1000px, 94dvh); padding: 0; border: 1px solid #b9c7c3; border-radius: 10px; margin: auto; background: #111; color: #142e42; overflow: hidden; }
.nwt-foto-venster[open] { display: flex; flex-direction: column; }
.nwt-foto-venster::backdrop { background: rgba(10,25,35,.75); }
.nwt-foto-kop { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; background: #f2f6f3; border-bottom: 2px solid var(--gold, #cba449); }
.nwt-foto-kop h2 { font-family: var(--font-body, sans-serif); font-size: 1.05rem; line-height: 1.4; margin: 0; }
.nwt-foto-kop button { font: inherit; padding: 8px 13px; border: 1px solid #bac4bf; border-radius: 5px; background: white; color: #142e42; cursor: pointer; flex: none; }
.nwt-foto-doek { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; }
.nwt-foto-doek img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; }
.nwt-foto-ingezoomd .nwt-foto-doek { display: block; }
.nwt-foto-ingezoomd .nwt-foto-doek img { max-width: none; max-height: none; cursor: zoom-out; }
.nwt-foto-voet { margin: 0; padding: 8px 18px; font-size: .78rem; line-height: 1.5; background: #f2f6f3; color: #42535b; }
.nwt-foto-tip { color: #7a8488; }
@media (max-width: 640px) { .nwt-hs-fotos-paar { grid-template-columns: 1fr; } .nwt-hs-foto img { max-height: 260px; } .nwt-foto-venster { width: 100vw; height: 100dvh; max-width: none; max-height: none; border-radius: 0; } }
@media print { .nwt-foto-venster { display: none; } .nwt-hs-foto img { max-height: 200px; } }
