:root {
  --ink: #0b2032;
  --ink-soft: #375063;
  --paper: #f5f0e6;
  --paper-deep: #ece3d4;
  --white: #fffdf8;
  --green: #0e674c;
  --green-dark: #084936;
  --red: #b6252a;
  --line: #d9d0c2;
  --shadow: 0 24px 70px rgba(11, 32, 50, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.demo-strip {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 5vw;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .01em;
}
.demo-strip strong { color: #9fe0c8; }
.demo-strip a { border-bottom: 1px solid rgba(255,255,255,.55); }

.masthead {
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 4vw 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; flex-direction: column; width: max-content; }
.brand strong { font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: -.06em; }
.brand small { margin-top: 10px; color: var(--green); font-weight: 700; font-size: 12px; }
.masthead-meta { display: flex; gap: 10px; align-items: center; color: var(--ink-soft); font-size: 12px; }
.masthead-meta span::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline: 10px 0; border-radius: 50%; background: var(--green); }
.admin-link { justify-self: end; padding: 10px 16px; border: 1px solid var(--ink); font-size: 12px; font-weight: 700; transition: .2s; }
.admin-link:hover { background: var(--ink); color: #fff; }

.section-nav {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 15px 4vw;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  scrollbar-width: thin;
  font-size: 13px;
  font-weight: 700;
}
.section-nav a:hover { color: var(--green); }

main { max-width: 1440px; margin: 0 auto; padding: 0 4vw 80px; }
.breaking-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.breaking-bar span { color: var(--red); font-weight: 800; }
.breaking-bar i { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(182,37,42,.11); }
.breaking-bar p { margin: 0; color: var(--ink-soft); }

.hero-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 8vw, 130px); padding: clamp(52px, 8vw, 100px) 0; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.hero-copy h1 { margin: 0; max-width: 600px; font-size: clamp(50px, 7vw, 96px); line-height: 1.03; letter-spacing: -.065em; }
.hero-copy > p:last-child { max-width: 520px; margin-top: 28px; color: var(--ink-soft); font-size: 16px; }
.lead-story { align-self: end; padding: 40px; background: var(--white); border-top: 5px solid var(--green); box-shadow: var(--shadow); }
.lead-story h2 { margin: 20px 0 16px; font-size: clamp(28px, 3vw, 46px); line-height: 1.35; letter-spacing: -.025em; }
.lead-story > p { color: var(--ink-soft); font-size: 16px; }
.lead-story > small { color: var(--red); font-weight: 700; }
.story-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; }
.story-labels span, .story-labels b, .story-labels em { padding: 4px 9px; font-style: normal; border: 1px solid var(--line); }
.story-labels b { color: var(--green); border-color: rgba(14,103,76,.3); }
.story-labels em { color: var(--ink-soft); background: var(--paper); }
.story-labels .breaking { color: #fff; background: var(--red); border-color: var(--red); }
.why { margin: 24px 0 18px; padding: 15px 18px; background: #edf5f0; color: var(--green-dark); font-size: 13px; }
.why strong { display: block; margin-bottom: 4px; }

.filters { padding: 24px 0; border-bottom: 1px solid var(--line); }
.filters > div { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 5px 0; white-space: nowrap; }
.filters strong { min-width: 70px; font-size: 12px; }
.filters a { padding: 6px 11px; border: 1px solid transparent; color: var(--ink-soft); font-size: 11px; }
.filters a:hover, .filters a.active { border-color: var(--green); background: var(--green); color: #fff; }

.newsroom { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; padding: 70px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.section-heading > div { display: flex; align-items: baseline; gap: 15px; }
.section-heading span { color: var(--green); font-size: 11px; font-weight: 800; }
.section-heading h2 { margin: 0; font-size: 32px; }
.section-heading p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.feed-head { display: flex; justify-content: space-between; padding: 16px 0; color: var(--ink-soft); font-size: 11px; border-bottom: 1px solid var(--line); }
.feed-head i { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--green); }
.news-row { display: grid; grid-template-columns: 82px 1fr auto; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.news-time { padding-left: 16px; border-left: 1px solid var(--line); }
.news-time time { display: block; font-size: 18px; font-weight: 800; }
.news-time small { color: var(--ink-soft); }
.news-body h3 { margin: 12px 0 8px; font-size: clamp(20px, 2vw, 27px); line-height: 1.45; }
.news-body h3 a:hover { color: var(--green); }
.news-body > p { margin: 0; color: var(--ink-soft); }
.source-line { margin-top: 14px; color: var(--ink-soft); font-size: 11px; }
.source-line span { color: var(--green); }
.source-line a { margin-right: 8px; color: var(--green); font-weight: 800; }
.row-arrow { align-self: center; width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid var(--line); }
.row-arrow:hover { background: var(--ink); color: #fff; }

.side-rail { display: flex; flex-direction: column; gap: 24px; }
.trust-card, .trend-card, .ad-slot { background: var(--white); border: 1px solid var(--line); }
.trust-card { padding: 30px; border-top: 4px solid var(--green); }
.trust-card h2 { margin: 0 0 12px; font-size: 27px; }
.trust-card > p:not(.eyebrow) { color: var(--ink-soft); font-size: 13px; }
.trust-card ol { padding: 0; margin: 24px 0; list-style: none; }
.trust-card li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.trust-card li > b { color: var(--green); font-size: 11px; }
.trust-card li strong, .trust-card li small { display: block; }
.trust-card li small { color: var(--ink-soft); }
.trust-card > a { color: var(--green); font-size: 12px; font-weight: 800; }
.trend-card header { padding: 20px; border-bottom: 1px solid var(--line); }
.trend-card header strong, .trend-card header span { display: block; }
.trend-card header span { color: var(--red); font-size: 10px; }
.trend-card article { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.trend-card article > b { color: var(--green); font-size: 10px; }
.trend-card article strong, .trend-card article small { display: block; }
.trend-card article small { color: var(--ink-soft); }
.trend-card article em { color: var(--red); font-size: 9px; font-style: normal; }
.ad-slot { min-height: 165px; display: grid; place-content: center; text-align: center; color: #8a8174; background: repeating-linear-gradient(-45deg,#f7f2e9,#f7f2e9 8px,#f2ece1 8px,#f2ece1 16px); }
.ad-slot span { width: max-content; margin: auto; padding: 2px 8px; border: 1px solid #aaa195; font-size: 9px; }
.ad-slot p { font-size: 11px; }

.country-section { padding: 30px 0 80px; }
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.country-grid a { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; min-height: 76px; padding: 16px; background: rgba(255,253,248,.45); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.country-grid a:hover { background: var(--green); color: #fff; }
.country-grid span { color: var(--green); font-size: 9px; }
.country-grid a:hover span { color: #bfe8d8; }
.country-grid i { font-style: normal; }

.editorial-promise { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding: 70px; background: var(--ink); color: #fff; }
.editorial-promise h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1.15; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.promise-grid b { color: #83d2b5; font-size: 11px; }
.promise-grid h3 { margin: 14px 0 8px; font-size: 20px; }
.promise-grid p { color: #b8c5cc; font-size: 13px; }

.site-footer { max-width: 1440px; margin: 0 auto; padding: 55px 4vw 25px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.footer-brand strong { color: var(--ink); font-size: 34px; }
.site-footer > div > strong, .site-footer > div > a, .site-footer > div > span { display: block; margin-bottom: 8px; }
.site-footer > div > strong { color: var(--ink); }
.footer-note { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); direction: ltr; text-align: center; }

.story-page, .method-page { max-width: 1000px; margin: auto; padding: 60px 0; }
.story-header { padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.story-header h1 { margin: 18px 0; font-size: clamp(36px, 6vw, 68px); line-height: 1.25; letter-spacing: -.045em; }
.story-summary { color: var(--ink-soft); font-size: 19px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 60px; padding-top: 42px; }
.story-body { font-size: 17px; }
.story-body h2, .method-page h2 { margin-top: 44px; }
.story-aside > section, .method-card { margin-bottom: 18px; padding: 22px; background: var(--white); border: 1px solid var(--line); }
.story-aside a { color: var(--green); overflow-wrap: anywhere; }
.source-card { margin: 14px 0; padding: 17px; border-right: 3px solid var(--green); background: var(--white); }
.empty-state { padding: 50px; text-align: center; background: var(--white); }
.empty-state a { display: block; margin-top: 12px; color: var(--green); }

@media (max-width: 1000px) {
  .newsroom, .story-grid { grid-template-columns: 1fr; }
  .side-rail { display: grid; grid-template-columns: repeat(2, 1fr); }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial-promise { grid-template-columns: 1fr; padding: 50px; }
}
@media (max-width: 720px) {
  .demo-strip { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .masthead { grid-template-columns: 1fr auto; padding-top: 24px; }
  .masthead-meta { display: none; }
  .brand strong { font-size: 38px; }
  .hero-shell { grid-template-columns: 1fr; padding: 55px 0; }
  .hero-copy h1 { font-size: 52px; }
  .lead-story { padding: 26px; }
  .breaking-bar { grid-template-columns: auto 1fr; }
  .breaking-bar time { display: none; }
  .newsroom { gap: 45px; padding-top: 45px; }
  .news-row { grid-template-columns: 56px 1fr; gap: 15px; }
  .row-arrow { display: none; }
  .news-time { padding-left: 10px; }
  .section-heading { align-items: start; flex-direction: column; gap: 5px; }
  .side-rail { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-promise { padding: 38px 24px; }
  .promise-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  main { padding-inline: 20px; }
  .masthead, .section-nav, .site-footer { padding-inline: 20px; }
  .hero-copy h1 { font-size: 43px; }
  .lead-story h2 { font-size: 27px; }
  .news-row { grid-template-columns: 1fr; }
  .news-time { display: flex; gap: 8px; border: 0; }
  .country-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div:first-child { grid-column: auto; }
}
