/* Aanvullingen uitsluitend voor deze reeks. Bestaande sitecomponenten blijven leidend. */
.ai-story-page .ai-figure .photo{display:block;width:100%;padding:0;overflow:hidden;cursor:zoom-in}
.ai-story-page .ai-figure img{width:100%;height:auto;display:block;transform:none}
.ai-story-page .story-body .ai-small{max-width:380px}
.ai-story-page .story-body .ai-diagram{max-width:900px}
.ai-story-page .ai-quote{max-width:850px;margin:42px 0 46px;padding:28px 34px 30px 42px;border-left:2px solid var(--accent);background:linear-gradient(110deg,#e0c4950b,transparent);position:relative}
.ai-story-page .ai-quote:before{content:'“';position:absolute;left:14px;top:0;font:72px/1 Georgia,serif;color:#e0c49566}
.ai-story-page .ai-quote p{font-family:Georgia,serif;font-size:clamp(24px,2.5vw,33px);line-height:1.5;color:var(--text);margin:0;font-style:italic}
.ai-story-page .ai-dialogue{padding:20px 26px;border:1px solid var(--line);border-radius:6px;background:var(--panel);max-width:700px!important;color:var(--text)}
.ai-story-page .ai-dialogue+.ai-dialogue{margin-left:6%;border-color:#e0c49566}
.ai-story-page .ai-need{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.65fr);gap:28px;align-items:center;max-width:900px;margin:32px 0 38px}
.ai-story-page .ai-need .pcs-figure{margin:0;max-width:540px}
.ai-story-page .ai-terminal{padding:32px;min-height:170px;font-size:clamp(23px,2.5vw,34px);border-top:20px solid #24383b;border-radius:6px;color:var(--accent)}
.ai-story-page .ai-history{max-width:1000px;margin-top:58px;padding-top:35px;border-top:1px solid var(--line)}
.ai-story-page .ai-history h2{font-size:clamp(27px,2.7vw,36px);margin:0 0 25px}
.ai-story-page .ai-thumbnails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1000px}
.ai-story-page .ai-thumbnails .photo{padding:12px;background:#102024;border:1px solid var(--line);border-radius:4px;display:flex;align-items:center;justify-content:center;height:210px;cursor:zoom-in}
.ai-story-page .ai-thumbnails img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform:none}
.ai-story-page .ai-thumbnails .photo:hover{border-color:var(--accent)}
.ai-story-page .ai-exit{max-width:850px;margin:52px 0 30px;padding:35px 40px;border:1px solid #e0c49566;background:linear-gradient(130deg,#e0c4950e,#14262a);border-radius:5px}
.ai-story-page .ai-exit h2{font-size:clamp(28px,3vw,39px);line-height:1.15;margin-bottom:24px}
.ai-story-page .ai-exit p{font-size:19px;margin-bottom:20px;max-width:720px}
.ai-story-page .ai-exit p:last-child{margin-bottom:0}
.ai-story-page .ai-exit-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1000px;align-items:center}
.ai-story-page .ai-exit-images .pcs-figure{margin:0}
.ai-story-page .pcs-card-media>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.ai-story-page #lightbox{max-width:96vw;max-height:96dvh;padding:18px;overflow:auto}
.ai-story-page #lightbox>p:empty{display:none}
.ai-story-page .ai-lightbox-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 22px;padding:5px 70px 15px 0;font-size:14px}
.ai-story-page .ai-lightbox-tools button{background:transparent;border:1px solid var(--line);border-radius:3px;padding:6px 12px;cursor:pointer}
.ai-story-page .ai-lightbox-tools a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.ai-story-page .ai-lightbox-scroll{overflow:auto;max-width:90vw;max-height:72dvh;margin:auto;overscroll-behavior:contain}
.ai-story-page .ai-lightbox-scroll>img{display:block;max-width:none;max-height:none;object-fit:contain;margin:auto}
.ai-story-page #lightbox.ai-zoomed{width:96vw}
.ai-story-page #lightbox.ai-zoomed .ai-lightbox-scroll>img{width:auto!important;height:auto!important;max-width:none!important;max-height:none;margin:0;touch-action:auto}
.ai-story-page .lightbox-controls{margin-top:14px}
@media(min-width:1600px){.ai-story-page .story-article{padding-right:8vw}.ai-story-page .story-body{max-width:1100px}}
@media(max-width:760px){
 .ai-story-page .ai-quote{margin:30px 0;padding:24px 20px 25px 30px}
 .ai-story-page .ai-quote:before{left:7px;font-size:58px}
 .ai-story-page .ai-need{grid-template-columns:1fr;gap:22px}
 .ai-story-page .ai-history{margin-top:40px;padding-top:28px}
 .ai-story-page .ai-thumbnails{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .ai-story-page .ai-thumbnails .photo{height:170px;padding:8px}
 .ai-story-page .ai-exit{padding:25px 22px;margin-top:38px}
 .ai-story-page .ai-exit p{font-size:17px}
 .ai-story-page .ai-exit-images{grid-template-columns:1fr;gap:22px}
 .ai-story-page #lightbox{padding:12px;max-width:98vw}
 .ai-story-page .ai-lightbox-tools{justify-content:flex-start;padding:35px 0 14px;gap:10px;font-size:13px}
 .ai-story-page .ai-lightbox-scroll{max-width:90vw;max-height:65dvh}
 .ai-story-page #lightbox .lightbox-controls{gap:8px;font-size:13px}
}
