/* WeeklyPress 12 — reader and modal corrections */
.weeklypress-reader--context-home .weeklypress-reader__sidebar--pages{display:none!important}
.weeklypress-reader--context-home .weeklypress-reader__shell{grid-template-columns:minmax(0,1fr) minmax(210px,270px)!important}
.weeklypress-reader--context-home .weeklypress-reader__viewer{grid-column:1!important}
.weeklypress-reader--context-home .weeklypress-reader__sidebar--issue{grid-column:2!important}
.weeklypress-reader--context-home .weeklypress-reader__numbers{display:flex!important}

/* The modal is portaled to body by front-reader.js. Keep it as a floating site card. */
.weeklypress-news-modal--portaled{position:fixed!important;inset:0!important;z-index:2147482000!important;display:grid!important;place-items:center!important;padding:clamp(12px,2.4vw,34px)!important;overflow:hidden!important;isolation:isolate}
.weeklypress-news-modal--portaled[hidden]{display:none!important}
.weeklypress-news-modal--portaled .weeklypress-news-modal__backdrop{position:absolute!important;inset:0!important;background:rgba(4,10,20,var(--weeklypress-modal-backdrop,.42))!important;backdrop-filter:blur(10px) saturate(.85)!important;-webkit-backdrop-filter:blur(10px) saturate(.85)!important}
.weeklypress-news-modal--portaled .weeklypress-news-modal__dialog{position:relative!important;z-index:2!important;display:flex!important;flex-direction:column!important;width:min(var(--weeklypress-modal-width,920px),calc(100vw - 28px))!important;height:auto!important;max-height:min(var(--weeklypress-modal-height,76vh),860px)!important;margin:0!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.78)!important;border-radius:26px!important;background:#fff!important;box-shadow:0 36px 120px rgba(3,10,22,.36)!important}
.weeklypress-news-modal__topbar{position:relative!important;top:auto!important;flex:0 0 auto!important;z-index:12!important}
.weeklypress-news-modal__loading,.weeklypress-news-modal__error{overflow:auto!important}
.weeklypress-news-modal__article{min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important}
.weeklypress-news-modal--image-side .weeklypress-news-modal__article{display:grid!important;grid-template-columns:minmax(250px,var(--weeklypress-modal-image-width,38%)) minmax(0,1fr)!important;align-items:start!important}
.weeklypress-news-modal--image-side-left .weeklypress-news-modal__media{grid-column:2!important;grid-row:1!important}
.weeklypress-news-modal--image-side-left .weeklypress-news-modal__main{grid-column:1!important;grid-row:1!important}
.weeklypress-news-modal__media{position:sticky!important;top:0!important;align-self:start!important;width:100%!important;height:min(var(--weeklypress-modal-image-max-height,520px),calc(var(--weeklypress-modal-height,76vh) - 74px))!important;min-height:280px!important;max-height:var(--weeklypress-modal-image-max-height,520px)!important;margin:0!important;overflow:hidden!important;border-radius:0!important;background:var(--weeklypress-modal-image-bg,#eef2f6)!important}
.weeklypress-news-modal__image-button{position:relative!important;display:grid!important;place-items:center!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:hidden!important}
.weeklypress-news-modal__image-button img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;object-position:var(--weeklypress-modal-image-focus,50% 50%)!important;background:var(--weeklypress-modal-image-bg,#eef2f6)!important;transform:none!important}
.weeklypress-news-modal--fit-contain .weeklypress-news-modal__image-button img{object-fit:contain!important;padding:clamp(8px,1.5vw,18px)!important}
.weeklypress-news-modal--ratio-auto .weeklypress-news-modal__media{height:auto!important;max-height:var(--weeklypress-modal-image-max-height,520px)!important;min-height:0!important;aspect-ratio:auto!important}
.weeklypress-news-modal--ratio-auto .weeklypress-news-modal__image-button img{height:auto!important;max-height:var(--weeklypress-modal-image-max-height,520px)!important}
.weeklypress-news-modal--image-top .weeklypress-news-modal__article{display:block!important}
.weeklypress-news-modal--image-top .weeklypress-news-modal__media{position:relative!important;height:min(36vh,var(--weeklypress-modal-image-max-height,520px))!important;max-height:var(--weeklypress-modal-image-max-height,520px)!important}
.weeklypress-news-modal__media figcaption{right:14px!important;left:14px!important;bottom:14px!important;max-width:calc(100% - 28px)!important;white-space:normal!important}
.weeklypress-news-modal__main{min-width:0!important;padding:clamp(22px,3.4vw,42px)!important}
.weeklypress-news-modal__header h2{max-width:none!important;text-wrap:balance!important;overflow-wrap:anywhere!important}
.weeklypress-news-modal__content{max-width:72ch!important;margin-inline:auto!important;overflow-wrap:anywhere!important;word-break:normal!important}
.weeklypress-news-modal__content :is(img,video,iframe,table,pre){max-width:100%!important}
.weeklypress-news-modal__content table{display:block!important;overflow-x:auto!important}
.weeklypress-news-modal__tools{scrollbar-width:thin!important}
.weeklypress-news-modal__related{margin-top:34px!important;padding-top:24px!important;border-top:1px solid #e7eaf0!important}
.weeklypress-news-modal__related-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.weeklypress-news-modal__related-card{min-width:0!important;overflow:hidden!important;border:1px solid #e6eaf0!important;border-radius:16px!important;background:#fff!important}
.weeklypress-news-modal__related-card img{width:92px!important;height:78px!important;object-fit:cover!important;border-radius:12px!important}
.weeklypress-news-modal--related-cards .weeklypress-news-modal__related-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.weeklypress-news-modal--related-cards .weeklypress-news-modal__related-card{display:block!important;padding:0!important}
.weeklypress-news-modal--related-cards .weeklypress-news-modal__related-card img{width:100%!important;height:130px!important;border-radius:0!important}
.weeklypress-news-modal--related-cards .weeklypress-news-modal__related-card>span{display:block!important;padding:12px!important}
.weeklypress-news-modal--related-rail .weeklypress-news-modal__related-grid{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding-bottom:8px!important}
.weeklypress-news-modal--related-rail .weeklypress-news-modal__related-card{flex:0 0 min(310px,82vw)!important;scroll-snap-align:start!important}
.weeklypress-news-modal--related-compact .weeklypress-news-modal__related-grid{grid-template-columns:1fr!important}
.weeklypress-news-modal--related-compact .weeklypress-news-modal__related-card img{width:64px!important;height:56px!important}

.weeklypress-live-notification-action{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:880;display:grid;grid-template-columns:30px auto;align-items:center;gap:2px 10px;min-height:54px;padding:8px 15px;border:1px solid rgba(185,28,48,.2);border-radius:17px;background:rgba(255,255,255,.96);color:#871425;box-shadow:0 18px 55px rgba(16,24,40,.18);backdrop-filter:blur(16px);font:inherit;cursor:pointer}.weeklypress-live-notification-action>span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff0f2;color:#d3203a;animation:weeklypress-live-pulse 1.8s infinite}.weeklypress-live-notification-action b{font-size:12px}.weeklypress-live-notification-action small{font-size:9px;color:#667085}.weeklypress-live-notification-action.is-enabled{border-color:#a7e2c5;background:#effcf5;color:#067647}.weeklypress-live-notification-action.is-enabled>span{background:#d7f7e6;color:#079455;animation:none}@keyframes weeklypress-live-pulse{50%{box-shadow:0 0 0 8px rgba(211,32,58,0)}}

@media(max-width:1100px){.weeklypress-reader--context-home .weeklypress-reader__shell{grid-template-columns:minmax(0,1fr)!important}.weeklypress-reader--context-home .weeklypress-reader__sidebar--issue{display:none!important}.weeklypress-news-modal--image-side .weeklypress-news-modal__article{grid-template-columns:minmax(230px,34%) minmax(0,1fr)!important}}
@media(max-width:760px){
 .weeklypress-news-modal--portaled{padding:10px!important;align-items:center!important}
 .weeklypress-news-modal--portaled .weeklypress-news-modal__dialog{width:calc(100vw - 20px)!important;max-height:86vh!important;max-height:86dvh!important;border-radius:22px!important}
 .weeklypress-news-modal--image-side .weeklypress-news-modal__article{display:block!important}
 .weeklypress-news-modal__media{position:relative!important;top:auto!important;width:100%!important;height:min(30vh,260px)!important;height:min(30dvh,260px)!important;min-height:170px!important;max-height:260px!important}
 .weeklypress-news-modal--mobile-image-inline .weeklypress-news-modal__media{margin:14px!important;width:calc(100% - 28px)!important;border-radius:17px!important}
 .weeklypress-news-modal--mobile-image-hidden .weeklypress-news-modal__media{display:none!important}
 .weeklypress-news-modal__main{padding:20px 16px 26px!important}
 .weeklypress-news-modal__related-grid,.weeklypress-news-modal--related-cards .weeklypress-news-modal__related-grid{grid-template-columns:1fr!important}
 .weeklypress-news-modal__footer{display:block!important}
 .weeklypress-news-modal__share{margin-bottom:10px!important}
 .weeklypress-live-notification-action{right:10px;bottom:calc(82px + env(safe-area-inset-bottom));padding:7px 11px}.weeklypress-live-notification-action small{display:none}
}
@media(max-width:390px){.weeklypress-news-modal--portaled{padding:6px!important}.weeklypress-news-modal--portaled .weeklypress-news-modal__dialog{width:calc(100vw - 12px)!important;max-height:88vh!important;max-height:88dvh!important;border-radius:18px!important}.weeklypress-news-modal__tools button span:not([data-modal-font-value]){display:none!important}.weeklypress-news-modal__media{height:210px!important;min-height:150px!important}.weeklypress-news-modal__main{padding:17px 13px 22px!important}}
@media(prefers-reduced-motion:reduce){.weeklypress-live-notification-action>span{animation:none}}
