:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4f5f2;
  --ink: #171917;
  --muted: #737a74;
  --line: #e2e5df;
  --brand: #176447;
  --brand-text: #176447;
  --header: #202322;
  --accent: #c83c32;
  --amber: #8f6416;
  --focus: #176447;
  --serif: Arial, Helvetica, sans-serif;
  --sans: Arial, Helvetica, sans-serif;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #141715;
  --surface: #171b18;
  --surface-soft: #202620;
  --ink: #edf1ec;
  --muted: #a5b0a7;
  --line: #343d35;
  --brand: #276b4e;
  --brand-text: #8ed0ad;
  --header: #0f1210;
  --accent: #e17468;
  --amber: #d6a34b;
  --focus: #d6a34b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-text); }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .55; }
svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 15px; background: var(--surface); color: var(--ink); border: 2px solid var(--focus); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.date-bar { background: var(--header); color: #aeb9b0; font-size: 11px; }
.date-bar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 30px; gap: 16px; }
.date-bar__note { opacity: .7; }
.site-header { background: var(--header); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 800; }
.brand__mark svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 2.4; }
.brand__text { display: grid; }
.brand__text strong { color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.04em; text-transform: uppercase; }
.brand__text small { margin-top: 3px; color: #aeb9b0; font-size: 9px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.masthead__actions { display: flex; gap: 7px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; min-height: 42px; padding: 7px 10px; border: 1px solid #4a534b; background: transparent; color: #e7eee7; font-size: 12px; }
.icon-button:hover { background: #343b35; border-color: #879489; }
.main-nav { border-top: 1px solid #3a423b; }
.main-nav__inner { display: flex; overflow-x: auto; scrollbar-width: thin; }
.main-nav__link { position: relative; flex: 0 0 auto; padding: 13px 16px 12px; color: #b7c1b8; font-size: 13px; }
.main-nav__link:first-child { padding-left: 0; }
.main-nav__link:last-child { padding-right: 0; }
.main-nav__link.is-active { color: #fff; }
.main-nav__link.is-active::after { position: absolute; right: 16px; bottom: -1px; left: 16px; height: 3px; background: #65ad86; content: ''; }
.main-nav__link:first-child.is-active::after { left: 0; }
.main-nav__link:last-child.is-active::after { right: 0; }
.live-bar { background: var(--surface); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.live-bar__inner { display: flex; align-items: center; gap: 16px; min-height: 36px; }
.live-bar__label { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
#live-update { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-content { min-height: 65vh; padding-block: 24px 44px; }
.loading-state { padding: 54px 0; color: var(--muted); text-align: center; }
.loading-state__line { display: block; width: min(560px,90%); height: 18px; margin: 0 auto 12px; background: var(--surface-soft); }
.loading-state__line--short { width: min(360px,70%); }
.error-state { padding: 20px; border-left: 3px solid var(--accent); background: var(--surface-soft); }
.error-state p { margin-bottom: 0; }
.error-state a, .site-footer a, .noscript-note a { text-decoration: underline; text-underline-offset: 3px; }
.lead-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.featured-story { position: relative; display: block; padding: 0; background: var(--surface); color: var(--ink); }
.featured-story__media { display: block; margin: 0 0 16px; overflow: hidden; background: var(--surface-soft); aspect-ratio: 16 / 9; }
.featured-story__image, .news-card__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured-story__content { display: block; width: 100%; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.story-category { color: var(--brand-text); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.story-source { font-weight: 700; }
.story-title { margin: 0; font-size: clamp(23px,2.5vw,34px); font-weight: 700; line-height: 1.16; letter-spacing: -.025em; }
.featured-story .story-title a:hover { color: var(--brand-text); }
.story-description { max-width: 68ch; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.story-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--brand-text); font-size: 12px; font-weight: 700; }
.story-link::after { content: '→'; font-size: 15px; }
.story-link:hover::after { transform: translateX(3px); }
.top-stories { padding-top: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--brand); }
.section-heading h2 { margin: 0; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; }
.section-heading--compact { align-items: baseline; margin-bottom: 8px; }
.section-heading--compact h2 { font-size: 21px; }
.section-heading--compact span { color: var(--muted); font-size: 10px; }
.section-heading__eyebrow { display: block; margin-bottom: 4px; color: var(--amber); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-heading__meta { color: var(--muted); font-size: 11px; white-space: nowrap; }
.top-stories__list, .popular-list { margin: 0; padding: 0; list-style: none; counter-reset: story; }
.top-stories__item { position: relative; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 8px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); counter-increment: story; }
.top-stories__item::before { color: var(--amber); content: counter(story, decimal-leading-zero); font-size: 14px; font-weight: 700; }
.top-stories__item a { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.top-stories__item small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.story-thumb { display: block; width: 72px; height: 52px; margin-left: 8px; object-fit: cover; background: var(--surface-soft); }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 30px; padding-top: 26px; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 22px; }
.news-card { position: relative; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.news-card__image { display: block; width: 100%; margin-bottom: 12px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-soft); }
.news-card__title { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
.news-card__title a { background-image: linear-gradient(currentColor,currentColor); background-position: 0 100%; background-repeat: no-repeat; background-size: 0 1px; transition: background-size .16s ease; }
.news-card__title a:hover { background-size: 100% 1px; }
.news-card .story-description { margin-top: 0; font-size: 13px; }
.news-card .story-meta { margin-bottom: 8px; }
.news-card .story-link { margin-top: 10px; font-size: 11px; }
.sidebar { display: grid; align-content: start; gap: 20px; }
.sidebar-block { padding: 18px; background: var(--surface-soft); border: 1px solid var(--line); }
.sidebar-block h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.15; }
.sidebar-block p { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.source-list { margin: 12px 0 0; padding: 0; list-style: none; }
.source-list__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12px; }
.source-list__item small { color: var(--muted); }
.source-list__status { width: 7px; height: 7px; border-radius: 50%; background: #398459; }
.source-list__status--error { background: var(--accent); }
.popular-list__item { padding: 10px 0; border-top: 1px solid var(--line); counter-increment: story; }
.popular-list__item a { display: block; font-size: 13px; font-weight: 700; line-height: 1.35; }
.popular-list__item small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.empty-state { padding: 24px; background: var(--surface-soft); color: var(--muted); text-align: center; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface-soft); }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; padding-block: 26px; }
.site-footer strong { color: var(--brand-text); font-size: 22px; text-transform: uppercase; }
.site-footer p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-content: start; gap: 9px 16px; justify-content: flex-end; font-size: 12px; }
.site-footer__legal { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }
.noscript-note { margin-block: 20px; padding: 16px; background: var(--surface-soft); }
.search-dialog { width: min(720px,calc(100% - 28px)); max-height: min(740px,calc(100dvh - 56px)); padding: 0; border: 0; background: var(--surface); color: var(--ink); box-shadow: 0 22px 90px rgba(0,0,0,.3); }
.search-dialog::backdrop { background: rgba(5,19,13,.68); }
.search-dialog__header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.search-dialog__header h2 { margin: 0; font-size: 23px; }
.search-field { display: block; padding: 18px 22px 10px; }
.search-field input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.search-status { margin: 0; padding: 0 22px 10px; color: var(--muted); font-size: 12px; }
.search-results { overflow-y: auto; max-height: 460px; padding: 0 22px 18px; }
.search-result { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
.search-result__title { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.search-result__meta { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
@media (max-width: 1080px) {
  .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .lead-layout { grid-template-columns: 1fr; }
  .featured-story__media { aspect-ratio: 16 / 8; }
  .top-stories__list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 18px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 24px); }
  .date-bar__note { display: none; }
  .masthead { min-height: 72px; }
  .brand__mark { width: 34px; height: 34px; font-size: 13px; }
  .brand__text strong { font-size: 24px; }
  .brand__text small { display: none; }
  .masthead__actions span { display: none; }
  .main-nav__link { padding-inline: 11px; font-size: 12px; }
  .live-bar__inner { gap: 10px; }
  #live-update { font-size: 11px; }
  .page-content { padding-top: 16px; }
  .featured-story__media { aspect-ratio: 16 / 9; }
  .story-title { font-size: 25px; }
  .top-stories__list { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .news-card__image { aspect-ratio: 16 / 8; }
  .sidebar { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 22px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .search-dialog__header, .search-field, .search-status, .search-results { padding-inline: 15px; }
}
.static-news { padding-bottom: 36px; }
.static-news h2 { margin: 0 0 14px; font-size: 23px; }
.static-news ul { margin: 0; padding: 0; list-style: none; }
.static-news li { padding: 10px 0; border-top: 1px solid var(--line); }
.static-news li a { font-weight: 700; }
.static-news small { display: block; margin-top: 4px; color: var(--muted); }
.js-enabled #static-news { display: none; }
.load-more { display: block; width: 100%; margin-top: 20px; padding: 12px 18px; border: 1px solid var(--brand); background: var(--surface); color: var(--brand-text); font-weight: 700; }
.load-more:hover { background: var(--brand); color: #fff; }
.featured-story__media { max-height: 320px; }
.news-card__image { max-height: 180px; }
@media (max-width: 600px) {
  .featured-story__media { max-height: 230px; }
  .news-card__image { max-height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .sidebar, .site-footer, .search-dialog, .story-link, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .container { width: 100%; }
  .lead-layout, .content-layout, .article-grid { display: block; }
}
