/* LP40: only the article reader; the accepted news grid remains unchanged. */
html body .lp-layer.lp-page-layer .lp-panel.lp-wide.lp-news-reader-panel > .lp-content {
  padding: 0 !important; overflow: hidden !important; min-height: 0 !important; scrollbar-gutter: auto !important;
}
.lp-news-reader, .lp-news-reader *, .lp-news-browser, .lp-news-browser * { box-sizing: border-box; }
.lp-news-reader {
  height: 100%; min-height: 0; min-width: 0; display: grid;
  grid-template-columns: minmax(0,1fr) minmax(285px,30%);
  grid-template-rows: auto minmax(0,1fr); gap: 12px 18px;
  padding: 14px 18px 18px; background: #f5f8fb;
}
.lp-news-reader-toolbar { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-news-reader-toolbar .lp-btn { padding: 9px 12px; font-size: 12px; }
.lp-news-reader-note { font-size: 12px; color: #697d93; }
.lp-news-reader-toggle { display: none; border: 1px solid #cfdae6; border-radius: 9px; padding: 9px 12px; font: inherit; font-size: 12px; font-weight: 800; color: #153a60; background: #fff; cursor: pointer; }
.lp-news-reader-main {
  min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  scrollbar-gutter: stable; border: 1px solid #e0e8f0; border-radius: 15px;
  background: #fff; padding: 20px 22px; scroll-behavior: auto;
}
.lp-news-reader-main:focus-visible, .lp-news-browser-scroll:focus-visible { outline: 2px solid #327fc4; outline-offset: -3px; }
.lp-news-reader-main .lp-story-title { font-size: clamp(26px,2.6vw,39px); line-height: 1.13; letter-spacing: -.025em; margin: 13px 0 15px; }
.lp-news-reader-main .lp-story-hero { display: block; width: 100%; max-height: 340px; object-fit: cover; margin-bottom: 18px; border-radius: 11px; }
.lp-news-reader-main .lp-story-body { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.lp-news-reader-main .lp-story-lead { font-size: 18px; line-height: 1.65; }
.lp-news-reader-main .lp-story-published { color: #738499; font-size: 12px; margin: 0 0 16px; }
.lp-news-reader-status:empty { display: none; }
.lp-news-reader-status { color: #315d80; font-size: 13px; margin: 0 0 14px; }
.lp-news-reader-main [aria-busy="true"] { opacity: .6; }
.lp-news-browser {
  min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column;
  border: 1px solid #dbe5ef; border-radius: 15px; overflow: hidden;
  background: #fff; color: #0b294a;
}
.lp-news-browser-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 17px 14px 10px; background: #f9fbfd; flex: 0 0 auto; }
.lp-news-browser-head h2 { margin: 0 0 5px; font-size: 17px; font-weight: 850; line-height: 1.3; color: #0b294a; letter-spacing: -.015em; }
.lp-news-browser-head div > span { font-size: 10px; line-height: 1.4; color: #6b7f93; display: block; }
.lp-news-browser-count { flex: 0 0 auto; background: #eaf1f8; border-radius: 8px; padding: 5px 7px; font-size: 12px; font-weight: 800; color: #224b74; }
.lp-news-browser-hint { flex: 0 0 auto; padding: 0 14px 12px; font-size: 11px; color: #6f8193; background: #f9fbfd; border-bottom: 1px solid #e2eaf2; }
.lp-news-browser-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #91a5ba #f0f4f8; padding: 9px; scroll-behavior: auto; }
.lp-news-browser-scroll::-webkit-scrollbar, .lp-news-reader-main::-webkit-scrollbar { width: 8px; }
.lp-news-browser-scroll::-webkit-scrollbar-track, .lp-news-reader-main::-webkit-scrollbar-track { background: #f0f4f8; }
.lp-news-browser-scroll::-webkit-scrollbar-thumb, .lp-news-reader-main::-webkit-scrollbar-thumb { background: #91a5ba; border-radius: 6px; }
.lp-news-browser-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lp-news-browser-list li { margin: 0; padding: 0; list-style: none; min-width: 0; }
.lp-news-browser-item { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: start; gap: 10px; padding: 9px; border: 1px solid #e3eaf2; border-radius: 10px; color: inherit; text-decoration: none; background: #fff; min-width: 0; transition: border-color .15s ease, background .15s ease; }
.lp-news-browser-item:hover { border-color: #a2bbd3; background: #f5f9fd; }
.lp-news-browser-item:focus-visible { outline: 2px solid #327fc4; outline-offset: 1px; }
.lp-news-browser-item.is-current { border-color: #7eadd6; box-shadow: inset 3px 0 #d51b36; background: #f0f6fc; }
.lp-news-browser-image { position: relative; width: 76px; height: 66px; border-radius: 7px; background: linear-gradient(135deg,#e5edf5,#b6cadd); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #4c6985; font-size: 12px; font-weight: 800; }
.lp-news-browser-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-news-browser-copy { min-width: 0; display: block; }
.lp-news-browser-category { font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #c31935; display: block; margin-bottom: 4px; }
.lp-news-browser-copy strong { display: block; color: #103152; font-size: 12px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.lp-news-browser-copy small { display: block; font-size: 9px; color: #718499; line-height: 1.45; margin-top: 5px; }
.lp-news-browser-current { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 3px 2px; text-align: center; font-size: 9px; font-weight: 850; color: #b4142c; background: rgba(255,255,255,.94); }
.lp-news-browser-current[hidden], .lp-news-browser-more[hidden] { display: none; }
.lp-news-browser-status { font-size: 11px; color: #708296; text-align: center; padding: 12px 8px 5px; margin: 0; line-height: 1.6; }
.lp-news-browser-more { width: 100%; border: 1px solid #cfdae6; border-radius: 9px; padding: 10px 8px; margin: 6px 0; color: #1a446b; background: #f4f8fc; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.public-article-layout.lp-public-news-reader { display: grid; grid-template-columns: minmax(0,1fr) minmax(285px,30%); align-items: start; gap: 24px; }
.lp-public-news-reader > .lp-news-browser { position: sticky; top: var(--lp-public-reader-top,140px); height: calc(100dvh - var(--lp-public-reader-top,140px) - 16px); max-height: 850px; min-height: 300px; }
.lp-public-news-reader .public-article[aria-busy="true"] { opacity: .65; }
@media (max-width: 1000px) and (min-width: 821px) {
  .lp-news-reader { gap: 12px; padding: 12px; grid-template-columns: minmax(0,1fr) 280px; }
  .lp-news-reader-main { padding: 16px; }
  .lp-news-browser-item { grid-template-columns: 62px minmax(0,1fr); padding: 7px; gap: 8px; }
  .lp-news-browser-image { position: relative; width: 62px; height: 58px; }
}
@media (max-width: 820px) {
  .lp-news-reader { grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); gap: 9px; padding: 10px; }
  .lp-news-reader-note { display: none; }
  .lp-news-reader-toggle { display: inline-flex; }
  .lp-news-reader > .lp-news-browser { display: none; grid-column: 1; grid-row: 2; }
  .lp-news-reader-main { grid-column: 1; grid-row: 2; padding: 15px; border-radius: 12px; }
  .lp-news-reader.is-browser-open > .lp-news-browser { display: flex; }
  .lp-news-reader.is-browser-open > .lp-news-reader-main { display: none; }
  .lp-news-reader-main .lp-story-title { font-size: 28px; }
  .lp-news-reader-main .lp-story-lead { font-size: 16px; }
  .lp-news-reader-main .lp-story-body { font-size: 15px; }
  .lp-news-reader-main .lp-story-hero { max-height: 260px; }
  .public-article-layout.lp-public-news-reader { grid-template-columns: minmax(0,1fr); }
  .lp-public-news-reader > .lp-news-browser { position: static; height: 450px; min-height: 0; }
}
@media (max-width: 420px) {
  .lp-news-reader { padding: 8px; }
  .lp-news-reader-toolbar .lp-btn, .lp-news-reader-toggle { font-size: 11px; padding: 9px; }
  .lp-news-reader-main { padding: 12px; }
  .lp-news-reader-main .lp-story-title { font-size: 25px; }
}

/* LP42: comfortable reading at every viewport size. */
body .lp-news-reader-main .lp-story-body { font-size:1.125rem!important; line-height:1.8!important; }
body .lp-news-reader-main .lp-story-lead { font-size:1.25rem!important; line-height:1.65!important; }
body .lp-news-reader-main .lp-story-published,body .lp-news-reader-note,body .lp-news-reader-status { font-size:.9375rem; line-height:1.5; }
body .lp-news-browser-copy strong { font-size:1rem; line-height:1.45; }
body .lp-news-browser-copy small,body .lp-news-browser-category,body .lp-news-browser-hint,body .lp-news-browser-head div > span { font-size:.8125rem; line-height:1.45; }
body .lp-news-reader-toolbar .lp-btn,body .lp-news-reader-toggle,body .lp-news-browser-more { font-size:.9375rem; min-height:44px; }
body .lp-news-browser-item { min-height:108px; height:auto; }
body .lp-news-browser-current { font-size:.75rem; }

body .public-prose { font-size:1.125rem; line-height:1.8; }

/* LP195: one floating header on phones, with no reserved blank space while reading. */
@media (max-width:820px) {
  html body .lp-layer .lp-panel.lp-news-reader-panel {
    position:relative!important;
    --lp-reader-head-height:56px;
    --lp-reader-back-height:42px;
    --lp-reader-tools-height:60px;
    --lp-reader-chrome-height:158px;
  }
  html body .lp-layer .lp-panel.lp-news-reader-panel > .lp-head,
  html body .lp-layer .lp-panel.lp-news-reader-panel > .lp58-backbar,
  html body .lp-layer .lp-panel.lp-news-reader-panel .lp-news-reader-toolbar {
    position:absolute!important;left:0;right:0;width:100%;margin:0!important;
    transform:translate3d(0,0,0)!important;
    transition:transform .2s ease,visibility .2s!important;
    visibility:visible;pointer-events:auto!important;z-index:102!important;
  }
  html body .lp-layer .lp-panel.lp-news-reader-panel > .lp-head { top:0!important; }
  html body .lp-layer .lp-panel.lp-news-reader-panel > .lp58-backbar { top:var(--lp-reader-head-height)!important; }
  html body .lp-layer .lp-panel.lp-news-reader-panel .lp-news-reader-toolbar {
    top:calc(var(--lp-reader-head-height) + var(--lp-reader-back-height))!important;
    padding:8px;gap:8px;background:#f5f8fb;border-bottom:1px solid #e0e8f0;
  }
  html body .lp-layer .lp-panel.lp-news-reader-panel.lp-head-hidden > .lp-head,
  html body .lp-layer .lp-panel.lp-news-reader-panel.lp-head-hidden > .lp58-backbar,
  html body .lp-layer .lp-panel.lp-news-reader-panel.lp-head-hidden .lp-news-reader-toolbar {
    transform:translate3d(0,calc(-1 * var(--lp-reader-chrome-height) - 2px),0)!important;
    visibility:hidden;pointer-events:none!important;
  }
  html body .lp-layer .lp-panel.lp-news-reader-panel > .lp-content { position:static!important; }
  .lp-news-reader-panel .lp-news-reader {
    position:static;grid-template-rows:minmax(0,1fr);gap:0;padding:0;
  }
  .lp-news-reader-panel .lp-news-reader-main {
    grid-row:1;padding:calc(var(--lp-reader-chrome-height) + 12px) 12px 18px;
    border:0;border-radius:0;scroll-padding-top:calc(var(--lp-reader-chrome-height) + 12px);
  }
  .lp-news-reader-panel .lp-news-reader > .lp-news-browser {
    grid-row:1;margin:calc(var(--lp-reader-chrome-height) + 8px) 8px 8px;
    height:calc(100% - var(--lp-reader-chrome-height) - 16px);
  }
}
@media (max-width:820px) and (prefers-reduced-motion:reduce) {
  html body .lp-layer .lp-panel.lp-news-reader-panel > .lp-head,
  html body .lp-layer .lp-panel.lp-news-reader-panel > .lp58-backbar,
  html body .lp-layer .lp-panel.lp-news-reader-panel .lp-news-reader-toolbar { transition:none!important; }
}
