/* Settings for the special story take priority over the site's generic modal dimensions. */
.news-site .n-dialog[data-display]{box-sizing:border-box;padding:0;position:fixed;inset:0;margin:auto;width:min(var(--ns-width),calc(100% - 2 * var(--ns-gap)));max-width:none;height:auto;max-height:min(var(--ns-height),calc(100dvh - 2 * var(--ns-gap)));border:0;border-radius:var(--ns-radius);background:var(--ns-bg,var(--nd-modal-bg,#fff));color:var(--ns-fg,var(--nd-modal-text,#182b24));overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.news-site .n-dialog[data-display]::backdrop{background:color-mix(in srgb,var(--ns-backdrop) calc(var(--ns-opacity) * 100%),transparent);backdrop-filter:blur(var(--ns-blur))}
.news-site .n-dialog[data-display="wide"]{width:calc(100% - 2 * var(--ns-gap))}
.news-site .n-dialog[data-display="fullscreen"]{width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0}
.news-site .n-dialog[data-display^="drawer-"]{width:min(var(--ns-width),calc(100% - var(--ns-gap)));height:100dvh;max-height:100dvh;border-radius:0;margin:0 0 0 auto}
.news-site .n-dialog[data-display="drawer-left"]{margin:0 auto 0 0}
.news-site .n-dialog[data-display] .n-dialog-content{box-sizing:border-box;width:100%;max-width:calc(var(--ns-content-width) + 2 * var(--ns-padding));margin-inline:auto;padding:var(--ns-padding);overflow-wrap:anywhere}
.news-site .n-dialog[data-display] .n-dialog-content>.n-prose{width:100%;max-width:none;display:flow-root}
.news-site .n-dialog[data-content="full"] .n-dialog-content,.news-site .n-dialog[data-content="auto"][data-display="wide"] .n-dialog-content,.news-site .n-dialog[data-content="auto"][data-display="fullscreen"] .n-dialog-content{max-width:none}
.news-site .n-dialog[data-display] .n-dialog-bar{position:sticky;top:0;background:var(--ns-bg,var(--nd-soft,#f1f5f2));color:inherit;padding:12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));gap:16px}
.news-site .n-dialog[data-display] .n-dialog-bar>span{color:inherit;overflow-wrap:anywhere}
.news-site .n-dialog[data-custom-colors="1"] .n-prose,.news-site .n-dialog[data-custom-colors="1"] .n-deck,.news-site .n-dialog[data-custom-colors="1"] .n-meta,.news-site .n-dialog[data-custom-colors="1"] .n-category,.news-site .n-dialog[data-custom-colors="1"] h1{color:var(--ns-fg)!important}
.news-site .n-dialog[data-display] .n-dialog-close{flex-shrink:0;min-width:44px;min-height:44px;color:inherit;background:transparent;border-color:currentColor;position:relative;cursor:pointer}
.news-site .n-dialog[data-sticky-bar="0"] .n-dialog-bar{position:static}
.news-site .n-dialog[data-display] .n-special-cover{width:100%;height:auto;max-height:var(--ns-image-height);object-fit:var(--ns-image-fit);margin-top:25px}
.news-site .n-dialog[data-show-image="0"] .n-special-cover,.news-site .n-dialog[data-show-summary="0"] .n-dialog-content>.n-deck,.news-site .n-dialog[data-show-meta="0"] .n-dialog-content>.n-meta,.news-site .n-dialog[data-show-source="0"] .n-dialog-content>.n-source{display:none}
.news-site .n-dialog[data-motion="fade"][open]{animation:ns-fade .22s ease-out}
.news-site .n-dialog[data-motion="slide"][open]{animation:ns-slide .25s ease-out}
@keyframes ns-fade{from{opacity:0}to{opacity:1}}
@keyframes ns-slide{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){
 .news-site .n-dialog[data-display]{width:calc(100% - 2 * min(var(--ns-gap),16px));height:auto;max-height:min(var(--ns-height),calc(100dvh - 2 * min(var(--ns-gap),16px)));margin:auto;border-radius:var(--ns-radius)}
 .news-site .n-dialog[data-display] .n-dialog-content{padding:var(--ns-mobile-padding);max-width:100%;padding-bottom:max(var(--ns-mobile-padding),env(safe-area-inset-bottom))}
 .news-site .n-dialog[data-display][data-mobile="fullscreen"],.news-site .n-dialog[data-display="fullscreen"][data-mobile="auto"],.news-site .n-dialog[data-display^="drawer-"][data-mobile="auto"]{width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0}
}
@media(prefers-reduced-motion:reduce){.news-site .n-dialog[data-display][open]{animation:none}}
/* Article invitation cards: inline in the page or centered in the viewport. */
.news-site .n-nudge.n-teaser-card{display:block;background:var(--nt-bg);color:var(--nt-fg);border:1px solid var(--nt-border);border-radius:var(--nt-radius);padding:var(--nt-pad);width:min(var(--nt-width),calc(100% - 32px));max-width:100%;font-family:var(--nb-font);font-size:var(--nb-size);text-align:left;overflow-wrap:anywhere;animation:none}
.news-site .n-teaser-card.n-teaser-center{position:fixed;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);max-height:calc(100dvh - 32px);overflow:auto}
.news-site .n-teaser-card.n-teaser-inline{position:relative;inset:auto;transform:none;margin:0 auto;width:min(var(--nt-width),100%);z-index:auto}
.n-teaser-section{margin-block:32px}
.news-site .n-teaser-card .n-teaser-copy{display:flex;flex-direction:column;gap:16px;min-width:0}
.news-site .n-teaser-card h2{font:700 clamp(20px,3vw,30px)/1.3 var(--nb-font);color:inherit;margin:0;padding-right:22px}
.news-site .n-teaser-card p{font-size:var(--nb-size);line-height:1.65;font-weight:400;color:inherit;margin:0;white-space:pre-line}
.news-site .n-teaser-card .n-teaser-image{width:100%;height:var(--nt-image-height);object-fit:cover;border-radius:max(0px,calc(var(--nt-radius) - 6px));margin-bottom:20px}
.news-site .n-teaser-card[data-layout=side]:has(.n-teaser-image){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:24px;align-items:center}
.news-site .n-teaser-card[data-layout=side] .n-teaser-image{margin:0}
.news-site .n-teaser-card .n-nudge-open{display:flex;justify-content:center;gap:9px;background:var(--nb-bg);color:var(--nb-fg);border:var(--nb-bw) solid var(--nb-border);border-radius:var(--nb-radius);padding:var(--nb-pad);font:var(--nb-weight) var(--nb-size)/1.4 var(--nb-font);width:auto;max-width:100%;align-self:center}
.news-site .n-teaser-card[data-button-align=left] .n-nudge-open{align-self:flex-start}.news-site .n-teaser-card[data-button-align=right] .n-nudge-open{align-self:flex-end}.news-site .n-teaser-card[data-button-align=stretch] .n-nudge-open{align-self:stretch}
.news-site .n-teaser-card .n-nudge-dismiss{position:absolute;top:5px;right:5px;color:var(--nt-fg);background:var(--nt-bg);width:32px;height:32px;border-radius:50%}
@media(max-width:600px){.news-site .n-teaser-card[data-layout=side]:has(.n-teaser-image){display:block}.news-site .n-teaser-card[data-layout=side] .n-teaser-image{margin-bottom:18px}.news-site .n-nudge.n-teaser-card{padding:min(var(--nt-pad),22px)}.news-site .n-teaser-card .n-nudge-open{max-width:100%}}
.news-site .n-teaser-card .n-nudge-dismiss{border:0}.news-site .n-teaser-card.motion-slide{animation:nt-fade .35s ease both}.news-site .n-teaser-card.motion-pulse{animation:nt-pulse 2s ease-in-out 3}@keyframes nt-fade{from{opacity:0}to{opacity:1}}@keyframes nt-pulse{50%{filter:brightness(1.05)}}@media(prefers-reduced-motion:reduce){.news-site .n-teaser-card{animation:none!important}}
