/* Alleen het ongenummerde naschrift en de gerichte homepage-ingang. */
.afterword-page .aw-article{padding:44px 5vw 48px 8vw}
.afterword-page .aw-article>*{max-width:1100px}
.afterword-page .aw-prose{max-width:var(--standalone-prose-width);color:var(--muted);font-size:19px;line-height:1.75}
.afterword-page .aw-prose p{margin:0 0 24px}
.afterword-page .aw-prose p:last-child{margin-bottom:0}
.afterword-page strong{color:var(--text);font-weight:600}
.afterword-page .aw-inline-link{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.afterword-page .aw-toc{margin:32px 0 12px;padding:18px 24px;border:1px solid var(--line);border-radius:4px;background:var(--panel)}
.afterword-page .aw-toc>summary{font-size:16px;color:var(--accent);cursor:pointer;min-height:32px}
.afterword-page .aw-toc nav{display:block}
.afterword-page .aw-toc ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 24px;list-style:none;padding:12px 0 0;margin:0}
.afterword-page .aw-toc a{display:block;padding:8px 0;min-height:44px;font-size:15px;line-height:1.5;border-bottom:1px solid var(--line)}
.afterword-page .aw-section{padding:42px 0 36px;border-bottom:1px solid var(--line);scroll-margin-top:0}
.afterword-page .aw-section h2{font-size:clamp(29px,3.2vw,44px);line-height:1.15;max-width:760px;margin:0 0 28px}
.afterword-page .aw-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:48px;align-items:start}
.afterword-page .aw-figure{max-width:850px;margin:30px 0;color:var(--muted)}
.afterword-page .aw-figure img{display:block;width:100%;height:auto}
.afterword-page .aw-side-figure{margin:0}
.afterword-page .aw-wide{max-width:1100px}
.afterword-page .aw-figure picture{display:block}
.afterword-page figcaption{margin-top:12px;font-size:14px;line-height:1.6;color:var(--muted)}
.afterword-page .aw-chat{max-width:760px;margin:28px 0 0;border:1px solid var(--line);border-radius:5px;background:#14262a66}
.afterword-page .aw-chat>summary{padding:14px 20px;color:var(--accent);cursor:pointer;font-size:15px;line-height:1.6;min-height:48px}
.afterword-page .aw-chat-content{max-height:330px;overflow-y:auto;padding:0 20px 20px;scrollbar-width:thin;scrollbar-color:var(--muted) var(--panel)}
.afterword-page .aw-chat-source{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 18px}
.afterword-page .aw-chat ol{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.afterword-page .aw-chat li{background:#0c191c80;border-left:2px solid #e0c49566;padding:14px 18px}
.afterword-page .aw-speaker{font-size:13px;font-weight:600;letter-spacing:.05em;color:var(--accent);margin:0 0 8px}
.afterword-page .aw-chat blockquote{margin:0;color:var(--text);font-size:17px;line-height:1.7}
.afterword-page .aw-chat blockquote p{margin:0}
.afterword-page summary:focus-visible,.afterword-page .aw-chat-content:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.afterword-page .aw-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:30px 0}
.afterword-page .aw-comparison>div{padding:24px;background:var(--panel);border-top:2px solid #e0c49566;min-width:0}
.afterword-page .aw-comparison blockquote{margin:16px 0 0;color:var(--muted);font-size:17px;line-height:1.75}
.afterword-page .aw-comparison blockquote p{margin:0}
.afterword-page .aw-comparison figcaption{grid-column:1/-1;margin:0}
.afterword-page .aw-small-label{font-size:13px;color:var(--accent);letter-spacing:.04em;margin:0 0 12px;line-height:1.6}
.afterword-page .aw-thumb-history{margin:32px 0}
.afterword-page .aw-thumb-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.afterword-page .aw-thumb-stages>div{min-width:0}
.afterword-page .aw-thumb-stages .aw-thumb-image{width:100%;border:1px solid var(--line);border-radius:5px;background:#102024}
.afterword-page .aw-thumb-stages img{display:block;width:100%;height:auto}
.afterword-page .aw-updates{max-width:760px;border-left:3px solid var(--accent);padding:18px 24px;margin:28px 0;color:var(--muted);background:#14262a66}
.afterword-page .aw-updates article+article{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.afterword-page .aw-updates p:last-child{margin-bottom:0}
.afterword-page .aw-sources{margin:32px 0 0;max-width:760px}
.home-sitemap-feature{padding:42px 8vw;background:#14262a;border-block:1px solid var(--line)}
.home-sitemap-feature .home-sitemap-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;align-items:center;max-width:1240px}
.home-sitemap-feature h2{font-size:clamp(32px,3.7vw,50px);line-height:1.12;max-width:580px;margin-bottom:20px}
.home-sitemap-feature .home-sitemap-intro{font-size:19px;line-height:1.65;color:var(--muted);margin-bottom:12px}
.home-sitemap-feature figure{margin:0;min-width:0}
.home-sitemap-feature img{display:block;width:100%;height:auto}
@media(max-width:1199px){.afterword-page .aw-layout{grid-template-columns:minmax(0,1fr);gap:26px}.afterword-page .aw-side-figure{max-width:580px}}
@media(max-width:1023px){.home-sitemap-feature .home-sitemap-layout{grid-template-columns:minmax(0,1fr);gap:28px}.home-sitemap-feature figure{max-width:580px}}
@media(max-width:760px){
.afterword-page .aw-article{padding:30px 6vw 36px}
.afterword-page .aw-prose{font-size:17px}
.afterword-page .aw-section{padding:32px 0 30px;scroll-margin-top:0}
.afterword-page .aw-toc{padding:14px 18px;margin-top:26px}
.afterword-page .aw-toc ol{grid-template-columns:minmax(0,1fr)}
.afterword-page .aw-chat-content{max-height:none;overflow:visible}
.afterword-page .aw-chat blockquote{font-size:16px}
.afterword-page .aw-comparison,.afterword-page .aw-thumb-stages{grid-template-columns:minmax(0,1fr);gap:24px}
.afterword-page .aw-comparison>div{padding:20px}
.afterword-page .aw-comparison figcaption{grid-column:auto}
.home-sitemap-feature{padding:32px 6vw}
.home-sitemap-feature .home-sitemap-intro{font-size:17px}
}

/* Work-opdracht 23: tweestemmige gesprekken, voortbouwend op native details. */
.afterword-page .aw-dialogue{background:var(--panel);border-color:#e0c49540;margin-bottom:28px}
.afterword-page .aw-dialogue>summary{display:block;position:relative;padding-left:44px;font-size:17px;font-weight:600;border-bottom:1px solid transparent}
.afterword-page .aw-dialogue>summary::-webkit-details-marker{display:none}
.afterword-page .aw-dialogue>summary::before{content:"";position:absolute;left:21px;top:24px;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.afterword-page .aw-dialogue[open]>summary::before{transform:rotate(45deg)}
.afterword-page .aw-dialogue[open]>summary{border-bottom-color:var(--line);margin-bottom:18px}
.afterword-page .aw-dialogue-label{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:400;margin-bottom:4px}
.afterword-page .aw-dialogue .aw-chat-content{max-height:440px;overscroll-behavior-y:contain}
.afterword-page .aw-dialogue ol{gap:18px}
.afterword-page .aw-dialogue .aw-message{width:91%;border:1px solid #b7cdbd30;border-left:3px solid #93b49b;padding:16px 18px;border-radius:3px;background:#172d2c}
.afterword-page .aw-dialogue .aw-message--robert{justify-self:end;border-left:1px solid #e0c49540;border-right:3px solid var(--accent);background:#2a2d26}
.afterword-page .aw-dialogue .aw-speaker{display:flex;align-items:center;gap:9px;color:#c0d9c6;margin-bottom:10px;letter-spacing:.02em}
.afterword-page .aw-dialogue .aw-message--robert .aw-speaker{color:var(--accent)}
.afterword-page .aw-chat-avatar{display:inline-grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border:1px solid currentColor;border-radius:50%;font-size:11px}
.afterword-page .aw-dialogue blockquote p+p{margin-top:12px}
.afterword-page .aw-dialogue blockquote{overflow-wrap:anywhere}
@media(max-width:760px){
.afterword-page .aw-dialogue>summary{padding:14px 16px 14px 40px;font-size:16px}
.afterword-page .aw-dialogue>summary::before{left:17px}
.afterword-page .aw-dialogue .aw-chat-content{max-height:none;overflow:visible;overscroll-behavior-y:auto;padding:0 14px 18px}
.afterword-page .aw-dialogue .aw-message{width:96%;padding:14px}
}

/* Langere, geselecteerde gespreksfragmenten. */
.afterword-page .aw-dialogue .aw-chat-gap{background:transparent;border:0;padding:4px 0;color:var(--muted);font-size:12px;line-height:1.6;text-align:center}
.afterword-page .aw-chat-gap span{display:inline-block;padding:4px 12px;border-block:1px solid var(--line)}
.afterword-page .aw-dialogue .aw-excerpt-note{color:var(--muted);font-size:12px;line-height:1.6;margin:18px 0;padding-block:10px;border-block:1px solid var(--line)}
.afterword-page .aw-dialogue blockquote ul{list-style:disc;margin:12px 0;padding-left:22px}
.afterword-page .aw-dialogue blockquote li{background:none;border:0;padding:0;margin:0 0 8px}
@media(min-width:761px){.afterword-page #gesprek-chronologie .aw-chat-content{max-height:520px}}

/* Inleiding met drietrapsillustratie; overige bestaande secties behouden. */
.afterword-page .aw-intro-layout{margin-top:28px}
.afterword-page .aw-intro-figure{width:100%;max-width:360px}
.afterword-page .aw-thumb-bridge{margin:20px 0 0}
.afterword-page .aw-thumb-history:has(+.aw-thumb-bridge){margin-bottom:0}

/* Alleen het zelfreferentiële drieluik in deze naschriftsectie. */
.afterword-page #verhaal-zelf .aw-self-triptych{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:30px 0;min-width:0}
.afterword-page #verhaal-zelf .aw-self-triptych figure{margin:0;min-width:0}
.afterword-page #verhaal-zelf .aw-self-triptych img{display:block;width:100%;height:auto}
@media(max-width:1023px){.afterword-page #verhaal-zelf .aw-self-triptych{grid-template-columns:minmax(0,1fr);max-width:520px;gap:20px}}

/* Twee redactionele sfeerbeelden, uitsluitend boven het bestaande drieluik. */
.afterword-page #verhaal-zelf .aw-editorial-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(0,1fr);gap:42px;align-items:stretch}
.afterword-page #verhaal-zelf .aw-editorial-images{display:flex;flex-direction:column;justify-content:flex-start;gap:24px;min-width:0;padding:0}
.afterword-page #verhaal-zelf .aw-editorial-images figure{margin:0;min-width:0}
.afterword-page #verhaal-zelf .aw-editorial-images img{display:block;width:100%;height:auto}
@media(max-width:1023px){
.afterword-page #verhaal-zelf .aw-editorial-layout{grid-template-columns:minmax(0,1fr);gap:24px}
.afterword-page #verhaal-zelf .aw-editorial-images{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding:0;max-width:360px}
}
@media(max-width:600px){.afterword-page #verhaal-zelf .aw-editorial-images{grid-template-columns:minmax(0,1fr);max-width:360px;gap:24px}}

/* Gedeelde goedgekeurde chatpresentatie voor authentieke redactiegesprekken. */
:is(.afterword-page .aw-dialogue, .ai-conversation.rz-chat) { border-color: #e0c49555; border-radius: 12px; background: #0f2024; }
:is(.afterword-page .aw-dialogue, .ai-conversation.rz-chat) > :is(summary, .ai-conversation-toolbar) { background: #182d31; border-radius: 12px 12px 0 0; }
:is(.afterword-page .aw-dialogue, .ai-conversation.rz-chat) ol { gap: 24px; }
:is(.afterword-page .aw-dialogue, .ai-conversation.rz-chat) .aw-message { width: 84%; justify-self: start; background: #192b2e; border: 1px solid #e0c49535; border-left: 3px solid var(--accent); border-radius: 16px 16px 16px 4px; padding: 16px 20px; }
:is(.afterword-page .aw-dialogue, .ai-conversation.rz-chat) .aw-message--robert { justify-self: end; background: #234044; border: 1px solid #adc9bf40; border-radius: 16px 16px 4px 16px; }
:is(.afterword-page .aw-dialogue, .ai-conversation.rz-chat) .aw-speaker { color: var(--accent); font-size: 13px; font-weight: 600; }
:is(.afterword-page .aw-dialogue, .ai-conversation.rz-chat) .aw-message--robert .aw-speaker { color: #cadfd6; justify-content: flex-end; }
:is(.afterword-page .aw-dialogue, .ai-conversation.rz-chat) .aw-chat-avatar { display: none; }
@media (max-width: 760px) {
 :is(.afterword-page .aw-dialogue, .ai-conversation.rz-chat) .aw-message { width: 94%; padding: 14px; }
}
