/* Text and pictures share a reading flow instead of reserving a rigid row. */
.nacht-redaktion .ad-managed-media>a.ad-image-link{display:block;line-height:0;cursor:zoom-in;border-radius:5px;text-decoration:none}
.nacht-redaktion .ad-managed-media>a.ad-image-link:focus-visible{outline:3px solid #f2a45d;outline-offset:4px}
html.ad-lightbox-open{overflow:hidden;scrollbar-gutter:stable}
dialog.ad-lightbox{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:72px 24px 28px;border:0;background:transparent;color:#e8eef4;overflow:auto;overscroll-behavior:contain}
dialog.ad-lightbox[open]{display:flex;align-items:center;justify-content:center}
dialog.ad-lightbox::backdrop{background:rgba(5,15,22,.94);backdrop-filter:blur(4px)}
dialog.ad-lightbox .ad-lightbox-frame{display:flex;flex-direction:column;align-items:center;gap:16px;max-width:1400px;min-width:0;margin:0}
dialog.ad-lightbox .ad-lightbox-picture>img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100vh - 180px);max-height:calc(100dvh - 180px);object-fit:contain;border-radius:5px;box-shadow:0 16px 70px rgba(0,0,0,.3)}
dialog.ad-lightbox .ad-lightbox-frame>figcaption{max-width:78ch;text-align:center;font:400 14px/1.55 Manrope,system-ui,sans-serif;color:#bdcbd2}
dialog.ad-lightbox .ad-lightbox-frame>figcaption[hidden]{display:none}
dialog.ad-lightbox .ad-lightbox-close{position:fixed;top:16px;right:20px;display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;padding:0;border:1px solid rgba(232,238,244,.3);border-radius:50%;background:#142c38;color:#fff;font:400 32px/1 system-ui,sans-serif;cursor:pointer}
dialog.ad-lightbox .ad-lightbox-close:hover{background:#254552}
dialog.ad-lightbox .ad-lightbox-close:focus-visible{outline:3px solid #f2a45d;outline-offset:4px}
@media(max-width:600px){dialog.ad-lightbox{padding:68px 12px 20px}dialog.ad-lightbox .ad-lightbox-close{right:12px}dialog.ad-lightbox .ad-lightbox-frame{gap:12px}dialog.ad-lightbox .ad-lightbox-frame>figcaption{font-size:12px}}
.nacht-redaktion .ad-paragraph-media{display:flex;flex-direction:column;gap:18px;margin:24px 0}
.nacht-redaktion .ad-paragraph-media>.ad-paragraph-text{order:0;min-width:0}
.nacht-redaktion .ad-paragraph-media>.ad-paragraph-text>p{margin:0}
.nacht-redaktion .ad-paragraph-media>.ad-section-photo{order:1;width:100%;min-width:0;margin:0;float:none}
.nacht-redaktion .ad-paragraph-media>.ad-section-photo img{display:block;width:100%;height:auto;object-fit:contain;border-radius:5px}
.nacht-redaktion .ad-paragraph-media figcaption{padding-top:9px;line-height:1.65;color:#a9bdc4}
.nacht-redaktion .ad-piet-tip>.ad-paragraph-media{grid-area:copy;min-width:0;margin:0}
.nacht-redaktion .ad-piet-tip>.ad-paragraph-media>.ad-paragraph-text>p{font:400 16px/1.8 Manrope,Arial,sans-serif;color:#e2e9e7;overflow-wrap:break-word}
/* A restrained rhythm: clear chapter starts, legible lists, useful signposts. */
.nacht-redaktion .nwp-prose-section{display:flow-root;border-top:1px solid rgba(153,192,204,.18);padding-top:30px;margin-top:38px}
/* Tables need the full reading column, below any preceding floated picture. */
.nacht-redaktion .nwp-prose :is(.nwp-table-wrap,.wp-block-table,table){clear:both}
.nacht-redaktion .nwp-prose :is(.nwp-table-wrap,.wp-block-table){box-sizing:border-box;width:100%;max-width:100%}
.nacht-redaktion .nwp-prose-section>h2{position:relative;padding-left:19px;margin-bottom:22px;max-width:32ch;text-wrap:balance}
.nacht-redaktion .nwp-prose-section>h2::before{content:"";position:absolute;left:0;top:.18em;width:4px;height:.85em;border-radius:2px;background:#f2a45d}
.nacht-redaktion .ad-category-toc{background:rgba(10,27,35,.32);border-radius:7px;padding:22px 24px}
.nacht-redaktion .ad-category-toc a{text-decoration-thickness:1px;text-underline-offset:4px}
.nacht-redaktion .nwp-prose-section>ul,.nacht-redaktion .nwp-prose-section>ol{padding-left:24px;margin:22px 0}
.nacht-redaktion .nwp-prose-section li{padding-left:5px;margin:10px 0}
.nacht-redaktion .nwp-prose-section li::marker{color:#f2a45d;font-weight:700}
.nacht-redaktion .nwp-prose-section .ad-reading-tip{display:flow-root;background:rgba(15,46,55,.72);border-left:3px solid #f2a45d;border-radius:0 6px 6px 0;padding:17px 20px;margin:22px 0}
.nacht-redaktion .ad-reading-tip-label{display:block;color:#ffc38a;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;margin-bottom:6px}
.nacht-redaktion .ad-reading-tip>p{margin:0;font-size:inherit}
.nacht-redaktion .nwp-prose-section details{border-bottom:1px solid rgba(153,192,204,.18);padding:12px 0}
.nacht-redaktion .nwp-prose-section summary{cursor:pointer;font-weight:600;color:#e3ecef}
@media(min-width:1025px){
 /* Intro floats must end before a chapter, including chapters in group blocks. */
 .nacht-redaktion .nwp-prose .nwp-prose-section,.nacht-redaktion .nwp-prose h2{clear:both}
 .nacht-redaktion .ad-paragraph-media,.nacht-redaktion .ad-paragraph-media>.ad-paragraph-text{display:contents}
 .nacht-redaktion .ad-paragraph-media>.ad-section-photo{float:right;width:41%;margin:0 0 20px 28px;clear:right}
 .nacht-redaktion .ad-paragraph-media>.ad-paragraph-text>p{margin:16px 0}
 .nacht-redaktion .ad-piet-tip>.ad-paragraph-media{display:flex;flex-direction:row-reverse;align-items:flex-start;gap:24px}
 .nacht-redaktion .ad-piet-tip>.ad-paragraph-media>.ad-paragraph-text{display:block;flex:1}
 .nacht-redaktion .ad-piet-tip>.ad-paragraph-media>.ad-section-photo{float:none;flex:0 0 41%;margin:0}
 .nacht-redaktion .ad-piet-tip>.ad-paragraph-media>.ad-paragraph-text>p{margin:0}
}
@media(max-width:600px){
 .nacht-redaktion .nwp-prose-section{padding-top:24px;margin-top:30px}
 .nacht-redaktion .nwp-prose-section>h2{padding-left:15px;font-size:24px}
 .nacht-redaktion .nwp-prose-section .ad-reading-tip{padding:15px 16px}
}

/* EU basic AI icon: one quiet, fixed corner position, no separate action. */
.ad-managed-media>.ad-image-link{position:relative;isolation:isolate}
.ad-ai-badge{position:absolute;top:8px;right:8px;display:block;width:20px;height:20px;flex:none;border-radius:50%;background:#000 url(eu-ai-basic.svg) center/contain no-repeat;pointer-events:none}
.ad-ai-badge[hidden]{display:none}
.ad-ai-picture{position:relative;display:inline-block;max-width:100%;line-height:0;vertical-align:top}
.ad-ai-picture>img,.ad-ai-picture>picture,.ad-ai-picture>picture>img{display:block;max-width:100%}
.ad-launch-card figure>.ad-ai-picture,.ad-managed-media .ad-ai-picture{display:block}

dialog.ad-lightbox .ad-lightbox-picture{position:relative;display:block;max-width:100%;line-height:0}
