/* News is a public editorial archive. Brand and typography come from style.css. */
.page-insight { --nw-blue: var(--primary); --nw-ice: #F3F7FF; --nw-rule: #E5EBF4; --nw-ease: cubic-bezier(.22,.61,.36,1); }
.page-insight [hidden] { display: none !important; }
.nw-container { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.nw-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.page-insight :is(.nw-filter,.nw-search input,.nw-search button,.nw-article-link,.nw-reset,.nw-reset-inline,.nw-load-more,.nw-channel-action,.nw-hero-secondary,.nw-topic-link,.nw-portal-link):focus-visible { outline: 2px solid var(--nw-blue); outline-offset: 4px; }
.page-insight :is(.nw-filter,.nw-search button,.nw-reset,.nw-reset-inline,.nw-load-more) { cursor: pointer; }

/* A restrained title band gives the archive an editorial opening. */
.nw-hero { background: linear-gradient(110deg,#F7FAFF,#EDF3FF); border-bottom: 1px solid var(--nw-rule); }
.nw-hero-inner { display: flex; justify-content: space-between; align-items: center; gap: 64px; min-height: 176px; padding-block: 24px; }
.nw-eyebrow { color: var(--nw-blue); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; }
.nw-hero h1 { margin-top: 9px; color: var(--title); font-size: 42px; line-height: 1.25; font-weight: 600; letter-spacing: -.03em; }
.nw-hero-lead { margin-top: 13px; color: var(--title); font-size: 19px; font-weight: 400; line-height: 1.6; }
.nw-hero-side { flex: 0 0 270px; padding-left: 24px; border-left: 1px solid #CBD8F2; }
.nw-hero-source { color: var(--text); font-size: 11px; line-height: 1.7; }
.nw-hero-side > p { margin-top: 7px; color: var(--title); font-size: 18px; line-height: 1.6; font-weight: 500; }
.nw-hero-secondary { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; margin-top: 7px; color: var(--nw-blue); font-size: 12px; font-weight: 500; transition: color .2s,gap .2s; }
.nw-hero-secondary:hover { color: var(--primary-hover); gap: 14px; }

/* Category labels remain quiet; the selected underline carries the blue. */
.nw-content { padding-bottom: 64px; background: #fff; scroll-margin-top: calc(var(--header-h) + 12px); }
.nw-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 88px; border-bottom: 1px solid var(--nw-rule); }
.nw-filters { display: flex; align-items: stretch; align-self: stretch; gap: 30px; min-width: 0; }
.nw-filter { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding-block: 20px; color: var(--text); font-size: 14px; line-height: 1.5; white-space: nowrap; transition: color .2s; }
.nw-filter::after { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--nw-blue); transform: scaleX(0); transition: transform .25s var(--nw-ease); }
.nw-filter:hover,.nw-filter[aria-pressed="true"] { color: var(--nw-blue); }
.nw-filter[aria-pressed="true"] { font-weight: 600; }
.nw-filter[aria-pressed="true"]::after { transform: scaleX(1); }
.nw-filter-count { min-width: 20px; color: #74829A; font-size: 11px; font-weight: 400; text-align: center; font-variant-numeric: tabular-nums; }
.nw-filter[aria-pressed="true"] .nw-filter-count { color: var(--nw-blue); }
.nw-search { display: flex; align-items: center; flex: 0 1 294px; min-width: 210px; height: 42px; padding-left: 14px; border: 1px solid #DBE3F0; border-radius: 7px; background: #FAFBFE; transition: border-color .2s,box-shadow .2s; }
.nw-search:focus-within { border-color: var(--nw-blue); box-shadow: 0 0 0 3px color-mix(in srgb,var(--nw-blue) 9%,transparent); background: #fff; }
.nw-search input { width: 100%; min-width: 0; height: 100%; padding: 0 4px 0 0; border: 0; outline: none; border-radius: inherit; background: transparent; color: var(--title); font-size: 12px; }
.nw-search input::placeholder { color: #66768A; }
.nw-search input::-webkit-search-cancel-button { display: none; }
.nw-search :is(.nw-search-clear,.nw-search-submit) { display: grid; place-items: center; flex: none; width: 32px; height: 34px; color: var(--text); border-radius: 5px; transition: color .2s,background .2s; }
.nw-search .nw-search-submit { margin-right: 4px; color: var(--nw-blue); font-size: 18px; }
.nw-search button:hover { color: var(--nw-blue); background: #EDF2FF; }
.nw-search input:focus-visible { outline: none; }

/* Equal editorial cards, with full titles and a stable 16:9 image frame. */
.nw-news-grid { display: grid; grid-template-columns: minmax(0,1fr) 268px; align-items: start; gap: 48px 32px; padding-top: 30px; }
.nw-feed { min-width: 0; }
.nw-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; margin-bottom: 24px; }
.nw-section-heading h2 { color: var(--title); font-size: 24px; line-height: 1.5; font-weight: 550; letter-spacing: -.025em; }
.nw-results { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
.nw-results-note { color: #66768A; font-size: 12px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.nw-reset-inline { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 3px 8px; color: var(--nw-blue); background: #F2F5FD; border-radius: 5px; font-size: 11px; }
.nw-reset-inline:hover { background: #E8EFFF; }
.nw-articles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 22px; align-items: stretch; }
.nw-article { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--nw-rule); border-radius: 11px; background: #fff; overflow: hidden; transition: border-color .25s,box-shadow .25s; }
.nw-article:hover,.nw-article:focus-within { border-color: #C4D3F4; box-shadow: 0 8px 24px -15px #234D9C35; }
.nw-article-link { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.nw-article-link:focus-visible { outline-offset: -3px; }
.nw-article-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--nw-ice); border-bottom: 1px solid #EDF1F8; }
.nw-article-media img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .45s var(--nw-ease); }
.nw-article-copy { display: flex; flex-direction: column; flex: 1; padding: 21px 22px 22px; }
.nw-article-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 12px; color: #66768A; font-size: 11px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.nw-category { color: var(--nw-blue); font-size: 12px; font-weight: 500; }
.nw-article-copy h3 { margin-top: 12px; margin-bottom: 20px; color: var(--title); font-size: 18px; line-height: 1.7; font-weight: 550; overflow-wrap: anywhere; transition: color .2s; }
.nw-excerpt { display: none !important; }
.nw-read-more { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; color: var(--nw-blue); font-size: 12px; line-height: 1.8; font-weight: 500; }
.nw-read-more i { font-size: 14px; transition: transform .2s; }
.nw-article-link:hover h3 { color: var(--nw-blue); }
.nw-article-link:hover .nw-read-more i { transform: translateX(3px); }
.nw-article-link:hover .nw-article-media img { transform: scale(1.025); }
.nw-content .nw-article-stats { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.nw-content .nw-article-stats .nw-read-more { margin-top: 0; }
.nw-content .nw-view-count { display: inline-flex; align-items: center; gap: 5px; color: #66768A; font-size: 11px; line-height: 1.8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nw-content .nw-view-count > i { font-size: 14px; }
.nw-card-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 22px 20px; }
.nw-card-tags:empty { display: none; }
.nw-card-tags .nw-topic-link { padding: 3px 8px; font-size: 11px; }
.nw-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 330px; padding: 38px 24px; text-align: center; border: 1px solid var(--nw-rule); border-radius: 11px; background: #FAFCFF; }
.nw-empty > span { margin-bottom: 16px; color: var(--nw-blue); font-size: 28px; }
.nw-empty h3 { color: var(--title); font-size: 22px; line-height: 1.6; font-weight: 500; }
.nw-empty p { max-width: 430px; margin-top: 10px; color: var(--text); font-size: 13px; line-height: 1.9; }
.nw-reset,.nw-load-more { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 150px; padding: 10px 24px; border: 1px solid #D6E0F0; border-radius: 7px; background: #fff; color: var(--title); font-size: 12px; transition: border-color .2s,color .2s,background .2s; }
.nw-reset { margin-top: 20px; }
.nw-reset:hover,.nw-load-more:hover { color: var(--nw-blue); background: #F3F7FF; border-color: var(--nw-blue); }
.nw-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 114px; padding-top: 28px; overflow-anchor: none; }
.nw-scroll-sentinel { width: 100%; height: 1px; overflow-anchor: none; }
.nw-scroll-status { color: #66768A; font-size: 12px; line-height: 1.8; text-align: center; }
.nw-more[data-state="complete"] { min-height: 78px; padding-top: 28px; }
.nw-load-more:disabled { cursor: wait; opacity: .65; }
.page-insight :is(.footer,.nw-follow) { overflow-anchor: none; }

/* Portal navigation is a quiet secondary column, with real topics and titles. */
.nw-portal-aside { display: grid; align-content: start; gap: 24px; min-width: 0; padding-top: 3px; }
.nw-portal-section { min-width: 0; padding: 21px 20px; border: 1px solid var(--nw-rule); border-radius: 10px; background: #FAFCFF; }
.nw-portal-section h2 { padding-bottom: 15px; margin-bottom: 17px; border-bottom: 1px solid var(--nw-rule); color: var(--title); font-size: 17px; font-weight: 550; line-height: 1.5; }
.nw-portal-topics { display: flex; flex-wrap: wrap; gap: 9px 8px; }
.nw-topic-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #DFE7F4; border-radius: 5px; background: #fff; color: var(--text); font-size: 12px; line-height: 1.6; transition: color .2s,border-color .2s,background .2s; }
.nw-topic-link:hover { color: var(--nw-blue); border-color: #BDCDF4; background: #F0F5FF; }
.nw-topic-link small { color: #74829A; font-size: 10px; font-variant-numeric: tabular-nums; }
.nw-portal-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.nw-portal-item { min-width: 0; }
.nw-portal-link { display: block; color: var(--title); font-size: 13px; font-weight: 450; line-height: 1.8; overflow-wrap: anywhere; transition: color .2s; }
.nw-portal-link:hover { color: var(--nw-blue); }
.nw-portal-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: 7px; color: #74829A; font-size: 10px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.nw-portal-note { margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--nw-rule); color: #74829A; font-size: 10px; line-height: 1.7; }

/* Subscription is secondary to browsing, so it follows the complete archive. */
.nw-follow { grid-column: 1 / -1; min-width: 0; padding-top: 34px; border-top: 1px solid var(--nw-rule); scroll-margin-top: calc(var(--header-h) + 24px); }
.nw-follow-heading { margin-bottom: 23px; }
.nw-follow-heading .nw-eyebrow { font-size: 10px; color: #66768A; }
.nw-follow-heading h2 { margin-top: 6px; color: var(--title); font-size: 24px; line-height: 1.5; font-weight: 550; letter-spacing: -.025em; }
.nw-follow-heading > p:not(.nw-eyebrow) { margin-top: 7px; color: var(--text); font-size: 12px; line-height: 1.8; }
.nw-follow-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.nw-channel { display: grid; grid-template-columns: minmax(0,1fr) 142px; align-items: center; gap: 22px; min-width: 0; padding: 24px 28px; border: 1px solid var(--nw-rule); border-radius: 11px; background: #F8FAFE; }
.nw-channel-label { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 11px; line-height: 1.6; }
.nw-channel-label i { color: var(--nw-blue); font-size: 17px; }
.nw-channel h3 { margin-top: 9px; color: var(--title); font-size: 18px; line-height: 1.6; font-weight: 550; }
.nw-channel-copy > p:not(.nw-channel-label) { margin-top: 8px; color: var(--text); font-size: 12px; line-height: 1.8; }
.nw-channel-action { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; margin-top: 8px; color: var(--nw-blue); font-size: 11px; line-height: 1.7; }
.nw-channel-action:hover { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 4px; }
.nw-mp-qr,.nw-video-qr { width: 142px; aspect-ratio: 1; background: #fff; border-radius: 7px; }
.nw-mp-qr img { display: block; width: 100%; height: auto; object-fit: contain; }
.nw-video-qr { position: relative; overflow: hidden; }
.nw-video-qr img { position: absolute; width: 137.103448%; max-width: none; left: -19.310345%; top: -47.586207%; height: auto; }

@media(min-width:1600px) {
  .nw-container { width: min(1360px,calc(100% - 120px)); }
  .nw-hero-inner { min-height: 188px; }
  .nw-hero h1 { font-size: 46px; }
  .nw-article-copy { padding: 23px 25px 25px; }
  .nw-article-copy h3 { font-size: 19px; }
}
@media(min-width:1025px) and (max-width:1440px) { .nw-content > .nw-container { padding-right: 52px; } }
@media(max-width:1100px) {
  .nw-container { width: calc(100% - 64px); }
  .nw-articles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nw-hero-inner { gap: 36px; }
  .nw-hero-side { flex-basis: 240px; }
  .nw-filters { gap: 20px; }
  .nw-channel { grid-template-columns: minmax(0,1fr) 120px; gap: 16px; padding: 22px; }
  .nw-mp-qr,.nw-video-qr { width: 120px; }
}
@media(max-width:1024px) {
  .nw-news-grid { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .nw-portal-aside { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; padding-top: 0; }
}
@media(max-width:800px) {
  .nw-hero-inner { min-height: 176px; gap: 22px; }
  .nw-hero h1 { font-size: 36px; }
  .nw-hero-lead { font-size: 18px; }
  .nw-hero-side { flex-basis: 206px; padding-left: 20px; }
  .nw-hero-side > p { font-size: 16px; }
  .nw-toolbar { align-items: stretch; flex-direction: column; gap: 0; padding-bottom: 20px; }
  .nw-filters { min-height: 65px; justify-content: space-between; gap: 16px; }
  .nw-filter { padding-block: 19px 16px; }
  .nw-search { flex: none; width: 100%; margin-top: 17px; }
  .nw-article-copy { padding: 18px; }
  .nw-article-copy h3 { font-size: 17px; }
  .nw-follow-grid { gap: 18px; }
  .nw-channel { display: flex; flex-direction: column-reverse; align-items: flex-start; padding: 22px; }
  .nw-mp-qr,.nw-video-qr { width: 142px; align-self: center; }
}
@media(max-width:640px) {
  .nw-container { width: calc(100% - 40px); }
  .nw-hero-inner { display: block; min-height: 0; padding-block: 25px 24px; }
  .nw-hero h1 { margin-top: 7px; font-size: 31px; }
  .nw-hero-lead { margin-top: 11px; font-size: 17px; }
  .nw-hero-side { margin-top: 17px; padding: 0; border: 0; }
  .nw-hero-source,.nw-hero-side > p { display: none; }
  .nw-hero-secondary { margin-top: 0; min-height: 30px; }
  .nw-eyebrow { font-size: 10px; }
  .nw-content { padding-bottom: 38px; }
  .nw-filters { justify-content: flex-start; gap: 22px; min-height: 60px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #A8BAD8 transparent; }
  .nw-filter { gap: 5px; padding-block: 18px 15px; font-size: 13px; }
  .nw-filter-count { min-width: 16px; font-size: 10px; }
  .nw-search { margin-top: 14px; }
  .nw-news-grid { gap: 34px; padding-top: 22px; }
  .nw-section-heading { gap: 12px; margin-bottom: 20px; }
  .nw-section-heading h2 { flex: none; font-size: 22px; }
  .nw-results { gap: 3px 8px; }
  .nw-results-note { font-size: 11px; }
  .nw-reset-inline { font-size: 10px; }
  .nw-articles { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .nw-article-copy { padding: 20px; }
  .nw-article-copy h3 { margin-top: 11px; margin-bottom: 18px; font-size: 18px; line-height: 1.7; }
  .nw-article-meta { font-size: 11px; }
  .nw-more { padding-top: 25px; }
  .nw-follow { padding-top: 26px; }
  .nw-follow-heading { margin-bottom: 20px; }
  .nw-follow-heading h2 { font-size: 22px; }
  .nw-follow-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .nw-channel { display: grid; grid-template-columns: minmax(0,1fr) 128px; align-items: center; gap: 16px; padding: 20px; }
  .nw-channel h3 { font-size: 17px; }
  .nw-mp-qr,.nw-video-qr { width: 128px; }
  .page-insight .side-dock { top: auto; bottom: calc(16px + env(safe-area-inset-bottom,0px)); right: 7px; transform: none; }
}
@media(max-width:768px) {
  .nw-articles,.nw-portal-aside { grid-template-columns: minmax(0,1fr); }
  .nw-portal-section { padding: 21px; }
  .page-insight.nw-reading .side-dock { visibility: hidden; opacity: 0; pointer-events: none; }
}
@media(max-width:360px) {
  .nw-filters { gap: 17px; }
  .nw-channel { grid-template-columns: minmax(0,1fr) 112px; padding: 17px; gap: 12px; }
  .nw-mp-qr,.nw-video-qr { width: 112px; }
}
@media(prefers-reduced-motion:reduce) {
  .page-insight :is(.nw-hero-secondary,.nw-filter,.nw-filter::after,.nw-search,.nw-search button,.nw-article,.nw-article-link,.nw-article-copy h3,.nw-article-media img,.nw-read-more i,.nw-channel-action,.nw-topic-link,.nw-portal-link,.nw-reset,.nw-reset-inline,.nw-load-more) { transition: none; }
  .nw-article-link:hover .nw-article-media img,.nw-article-link:hover .nw-read-more i { transform: none; }
}
@media(forced-colors:active) {
  .nw-filter[aria-pressed="true"] { outline: 2px solid Highlight; }
  .nw-search,.nw-channel,.nw-article-link { border: 1px solid CanvasText; }
  .nw-filters { scrollbar-color: auto; }
}
