html.news-modal-open{overflow:hidden}
.news-read-dialog{box-sizing:border-box;width:min(1100px,calc(100vw - 48px));max-width:calc(100vw - 24px);max-height:90vh;max-height:90dvh;margin:auto;padding:0;border:1px solid #ff8a0055;border-radius:20px;background:#17121a;color:#f6eff7;box-shadow:0 24px 90px #0008;font-family:inherit}
.news-read-dialog:not([open]){display:none}
.news-read-dialog[open]{display:flex;flex-direction:column}
.news-read-dialog::backdrop{background:#09060cba;backdrop-filter:blur(5px)}
.news-read-dialog [hidden]{display:none!important}
.news-read-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:12px 20px;border-bottom:1px solid #ffffff1c}
.news-read-header>span{font-size:11px;font-weight:750;letter-spacing:.1em;color:#ffabd0}
.news-read-close{display:inline-flex;align-items:center;gap:12px;min-height:42px;padding:8px 12px;border:1px solid #ffffff26;border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}
.news-read-close>span{font-size:24px;line-height:1}
.news-read-layout{min-height:0;flex:1;overflow:hidden}
.news-read-scroll{min-height:0;max-height:calc(90vh - 134px);max-height:calc(90dvh - 134px);overflow:auto;overscroll-behavior:contain}
.news-read-article{min-width:0;padding:26px 32px 30px}
.news-read-category{font-size:11px;letter-spacing:.1em;color:#ffabd0;font-weight:700}
.news-read-dialog #newsReadTitle{margin:10px 0 12px;font-size:clamp(23px,2.8vw,32px);line-height:1.25;overflow-wrap:anywhere}
.news-read-meta{display:block;margin:0 0 24px;color:#bbafc4;font-size:12px;line-height:1.5}
.news-read-body{width:100%;max-width:none;min-width:0;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.news-read-body p{margin:0 0 18px;line-height:inherit}
.news-read-dialog img{display:block;width:auto;max-width:100%;height:auto;max-height:70vh;max-height:70dvh;aspect-ratio:auto;object-fit:contain;margin-inline:auto}
.news-read-dialog img.news-read-banner{width:100%;height:220px;max-height:220px;object-fit:cover;border-radius:0;margin:0}
.news-read-picture :is(.news-article-image,.news-inline-figure){margin:0}
.news-read-footer{flex-shrink:0;margin:0;padding:10px 24px;border-top:1px solid #ffffff1c}
.news-read-link{display:inline-flex;align-items:center;min-height:42px;color:#ffabd0;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.news-read-dialog :is(button,a):focus-visible{outline:3px solid #ffac55;outline-offset:3px}
html.display-large .news-read-body{font-size:19px}
/* Desktop: text and image are siblings; scrolling the text never moves the image. */
@media(min-width:900px){
 .news-read-dialog.has-reader-picture[open]{width:min(1200px,calc(100vw - 48px));height:min(900px,90vh);height:min(900px,90dvh)}
 .news-read-dialog.has-reader-picture .news-read-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,36%);grid-template-rows:minmax(0,1fr)}
 .news-read-dialog.has-reader-picture .news-read-scroll{max-height:none}
 .news-read-dialog.has-reader-picture .news-read-picture{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:0;overflow:hidden;padding:24px;border-left:1px solid #ffffff1c;background:#ffffff03}
 .news-read-dialog.has-reader-picture .news-read-picture>figure{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-height:0;min-width:0}
 .news-read-dialog.has-reader-picture .news-read-picture>figure>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}
 .news-read-dialog.has-reader-picture .news-read-picture img{width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain}
}
/* Portrait/mobile: keep readable text and full-width images in one scroll area. */
@media(max-width:899px){
 .news-read-layout{overflow:auto;max-height:calc(100vh - 160px);max-height:calc(100dvh - 160px);flex:none;overscroll-behavior:contain}
 .news-read-scroll{max-height:none;overflow:visible}
 .news-read-picture{padding:0 24px 24px}
 .news-read-picture>figure+figure{margin-top:16px}
}
@media(max-width:600px){.news-read-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:14px}.news-read-header{padding:9px 12px;gap:8px}.news-read-header>span{font-size:9px}.news-read-article{padding:20px 18px 24px}.news-read-dialog img.news-read-banner{height:160px;max-height:160px}.news-read-body{font-size:15px}.news-read-picture{padding:0 18px 20px}.news-read-footer{padding:8px 18px}}
