:root {
  --brand: #073c70;
  --blue: #115895;
  --ink: #102039;
  --muted: #526378;
  --line: #dce4ed;
  --paper: #eaf1f8;
  --white: #fff;
  --surface: #f4f7fa;
  color: var(--ink);
  background: white;
  font-family: "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .17em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(button, a, input, select):focus-visible { outline: 3px solid #398ac6; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - clamp(32px, 6vw, 100px))); margin-inline: auto; }
.skip { position: absolute; left: 1em; top: -10em; padding: 10px; background: white; z-index: 4; }
.skip:focus { top: 10px; }
.utility { background: var(--surface); color: var(--muted); }
.utility .wrap, .masthead, .languages, .footer .wrap { display: flex; align-items: center; gap: 16px; }
.utility .wrap, .masthead, .footer .wrap { justify-content: space-between; }
.utility .wrap { min-height: 30px; font-size: .79rem; }
.languages { gap: 11px; }
.languages a { padding: 3px; }
.languages a[aria-current="page"] { color: var(--brand); font-weight: 750; }
header.masthead { min-height: 82px; gap: clamp(12px, 2.6vw, 40px); }
.brand { display: inline-flex; flex: none; }
.logo { width: 161px; height: 36px; position: relative; overflow: hidden; display: block; }
.logo img { position: absolute; width: 199px; left: -18px; top: -17px; }
.data-link, .more {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--brand); color: white; font-weight: 650; padding: 9px 17px; white-space: nowrap; border: 0;
}
.data-link:hover, .more:hover { color: white; background: var(--blue); text-decoration: none; }
.navigation { min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 3px; overflow-x: auto; scrollbar-width: thin; }
.navigation a {
  flex: none; font-family: var(--display-font); font-size: 1.07rem; font-weight: 630;
  padding: 7px clamp(6px, .72vw, 11px); border-radius: 999px; white-space: nowrap;
}
.navigation a:hover, .navigation a[aria-current="page"] { background: var(--paper); color: var(--brand); text-decoration: none; }
.navigation a:focus-visible { outline-offset: -3px; }
.rates-brief { border-block: 1px solid var(--line); }
.rate-brief-link { display: flex; align-items: center; gap: clamp(10px, 2.8vw, 40px); min-height: 37px; font-size: .86rem; color: var(--muted); }
.rate-brief-link:hover { text-decoration: none; }
.rate-brief-title { font-weight: 700; color: var(--blue); white-space: nowrap; }
.rate-brief-unit { color: var(--muted); font-weight: 400; }
.rate-brief-figure { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rate-brief-figure strong { color: var(--ink); margin-left: .24rem; }
.brief-arrow { margin-left: auto; color: var(--blue); }
main { padding: clamp(20px, 2.5vw, 36px) 0 58px; }
.section-title, .topic-digest h2, .section-mast h1 { margin: 0; font-weight: 730; letter-spacing: -.025em; line-height: 1.04; }
.section-title { font-size: clamp(1.7rem, 3.15vw, 2.75rem); }
.top-headline { display: flex; align-items: center; gap: .4em; margin-bottom: 17px; }
.top-headline::before { content: ""; width: .21em; height: .65em; background: var(--blue); border-radius: 1em; }
.top-news { display: grid; grid-template-columns: minmax(0, 2.85fr) minmax(250px, 1fr); align-items: start; gap: clamp(18px, 2.2vw, 32px); }
.home-primary, .lead, .timeline, .news-card, .digest-card, .topic-digest { min-width: 0; }
.headline, .timeline h3 { margin: 0; line-height: 1.13; letter-spacing: -.018em; font-weight: 675; overflow-wrap: anywhere; }
.meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 9px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.32; }
.meta time { font-variant-numeric: tabular-nums; }
.meta-source { color: var(--blue); font-weight: 700; }
.summary { color: var(--muted); font-size: 1.03rem; line-height: 1.45; margin: 0; }
.lead .summary, .news-card .summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-photo-link { display: block; overflow: hidden; border-radius: 15px; background: var(--paper); }
.story-photo-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .story-photo-link img { transition: transform .28s ease-out; }
  .story-photo-link:hover img { transform: scale(1.025); }
}
.lead { border-radius: 24px; overflow: hidden; background: var(--surface); }
.lead-copy { padding: clamp(18px, 2.1vw, 30px); }
.lead h2 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.025; letter-spacing: -.03em; margin: 9px 0 12px; }
.lead .story-photo-link { border-radius: 0; aspect-ratio: 16 / 9; }
.agency-home:not(.agency-topic) .lead { color: white; background: linear-gradient(140deg, var(--brand), var(--ink)); }
.agency-home:not(.agency-topic) .lead .meta, .agency-home:not(.agency-topic) .lead .summary { color: #d5e5f3; }
.agency-home:not(.agency-topic) .lead .meta-source, .agency-home:not(.agency-topic) .lead a:hover { color: white; }
.timeline { background: var(--surface); padding: clamp(16px, 1.7vw, 25px); border-radius: 21px; }
.timeline h2 { font-size: clamp(1.4rem, 2.05vw, 1.85rem); margin-bottom: 15px; }
.timeline article { position: relative; margin-left: 4px; padding: 0 0 15px 17px; border-left: 1px solid #c7d7e7; }
.timeline article:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline article::before { content: ""; position: absolute; left: -3.5px; top: .4rem; width: 6px; height: 6px; border-radius: 50%; background: #809ab3; }
.timeline article:first-of-type::before { background: var(--blue); }
.timeline h3 { font-size: clamp(1.05rem, 1.4vw, 1.24rem); margin-top: 4px; line-height: 1.17; }
.timeline .meta-category { display: none; }

.topic-digests { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(15px, 2vw, 27px); margin-top: clamp(23px, 3vw, 42px); }
.topic-digest h2, .front-data > h2 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.topic-digest h2 a { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.topic-digest h2 span { display: grid; place-items: center; width: 27px; height: 27px; color: var(--brand); background: var(--paper); border-radius: 50%; font: 16px/1 Arial, sans-serif; }
.digest-card .story-photo-link { margin-bottom: 10px; aspect-ratio: 16 / 9; }
.digest-items h3, .section-picks h3 { font-size: clamp(1.08rem, 1.58vw, 1.4rem); margin: 4px 0 0; }
.digest-items article + article { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 13px; }
.digest-items article + article h3 { font-size: 1.1rem; }
.digest-items .meta-category, .section-picks .meta-category { display: none; }
.section-mast { width: min(1320px, calc(100% - clamp(32px, 6vw, 100px))); margin-inline: auto; overflow: hidden; position: relative; isolation: isolate; background: linear-gradient(110deg, var(--ink), var(--brand)); color: white; border-radius: 22px; }
.section-mast::after { content: ""; position: absolute; z-index: -1; width: 18rem; height: 18rem; right: -2rem; top: 40%; border: 32px solid #ffffff0d; border-radius: 50%; box-shadow: 0 0 0 32px #ffffff08, 0 0 0 64px #ffffff05; }
.section-mast .wrap { width: 100%; padding: clamp(20px, 2.5vw, 34px); }
.section-mast h1 { font-size: clamp(2.5rem, 4.4vw, 3.8rem); }
.section-categories { display: flex; flex-wrap: wrap; gap: 7px; }
.section-categories:not(:empty) { margin-top: 14px; }
.section-categories a { font-size: .91rem; border-radius: 999px; padding: 4px 13px; background: #ffffff17; color: white; }
.section-categories a:hover, .section-categories a[aria-current="page"] { background: white; color: var(--brand); text-decoration: none; }
.agency-topic .top-news { grid-template-columns: minmax(0, 1.53fr) minmax(0, 1.18fr) minmax(225px, .87fr); }
.agency-topic .lead .story-photo-link { aspect-ratio: 3 / 2; }
.section-picks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 15px; }
.section-picks h3 { font-size: clamp(1.1rem, 1.55vw, 1.35rem); }
.front-data, .all-news { margin-top: clamp(32px, 4vw, 58px); }
.front-data > h2 { margin-bottom: 16px; }
.front-markets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.price-brief {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  min-width: 0;
  gap: 12px;
  padding: clamp(12px, 2.2vw, 24px);
  border: 1px solid #bfd5e9;
  border-radius: 19px;
  background: var(--paper);
}
.price-brief h2 { font-size: clamp(1.22rem, 2vw, 1.48rem); line-height: 1.2; margin: 0; }
.price-brief h2 a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.brief-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(7px, 1vw, 12px); }
.brief-tile {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 9px;
  min-width: 0;
  padding: clamp(9px, 1.4vw, 17px);
  border: 1px solid #c4d8ec;
  border-radius: 12px;
  background: #f8fbff;
}
.brief-tile:hover { background: var(--white); border-color: #6d9bc4; text-decoration: none; }
.brief-label { display: flex; align-items: center; gap: 7px; min-block-size: 34px; font-size: .95rem; line-height: 1.15; overflow-wrap: anywhere; }
.brief-icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: #e6f0fa; color: var(--blue); }
.brief-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.brief-figure { display: grid; align-content: end; gap: 2px; font-variant-numeric: tabular-nums; }
.brief-figure strong { color: var(--brand); font-size: clamp(1.42rem, 2.8vw, 2.2rem); line-height: 1.1; white-space: nowrap; }
.brief-figure small, .brief-source { font-size: .81rem; color: var(--muted); }
.brief-arrow, .brief-tile-arrow { color: var(--blue); }
.brief-tile-arrow { position: absolute; bottom: 8px; right: 9px; font-size: .78rem; }
.brief-source { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; margin: 0; }
.brief-source [data-brief-date]:empty { display: none; }
.agency-home main > #media-air-quality[data-air-placement][data-air-language] {
  width: min(100%, 640px);
  margin: clamp(28px, 4vw, 54px) 0 0;
}
.feed-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.feed-stamp { color: var(--muted); font-size: .86rem; margin: 0; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 17px 0 23px; }
.filters input, .filters select { min-height: 44px; max-width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 13px; padding: 8px 14px; }
.filters input { flex: 1 1 200px; }
.filters select { flex: 0 1 230px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(21px, 2.4vw, 34px); }
.news-card .story-photo-link { aspect-ratio: 1.92; margin-bottom: 12px; }
.news-card h3 { font-size: clamp(1.27rem, 2vw, 1.65rem); margin: 5px 0 7px; }
.more { display: flex; margin: 24px auto 0; }
.footer { background: var(--surface); padding-block: 22px; color: var(--muted); }
.footer strong, .footer a { color: var(--brand); }

.reading-navigation { border-block: 1px solid var(--line); background: var(--paper); color: var(--blue); font-size: .85rem; font-weight: 700; }
.reading-navigation .wrap { display: flex; align-items: center; min-height: 38px; }
.reading-grid { display: grid; align-items: start; grid-template-columns: minmax(0,790px) minmax(225px,1fr); gap: clamp(22px,5vw,62px); }
.reading-story { min-width: 0; }
.reading-meta { margin-top: 0; }
.reading-title { font-size: clamp(2.15rem,4.2vw,3.7rem); letter-spacing: -.039em; margin: 12px 0; line-height: 1.06; }
.reading-lead { margin: 0 0 13px; color: #3c4b5d; font-size: clamp(1.04rem,2vw,1.21rem); line-height: 1.49; }
.reading-credit { margin: 0 0 8px; color: var(--muted); font-size: .83rem; }
.reading-photo { margin: 18px 0 23px; }
.reading-photo img { width: 100%; height: auto; max-height: 550px; object-fit: contain; display: block; background: var(--paper); border-radius: 16px; }
.reading-photo figcaption { margin-top: 7px; color: var(--muted); font-size: .76rem; }
.reading-body { font-size: clamp(1.04rem,1.6vw,1.17rem); line-height: 1.68; overflow-wrap: anywhere; max-width: 72ch; }
.reading-body p { margin: 0 0 1.05em; }
.reading-body img { max-width: 100%; height: auto; display: block; }
.reading-body a { color: var(--blue); text-decoration: underline; }
.reading-body table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }
.reading-body td, .reading-body th { padding: .35rem; border: 1px solid var(--line); }
.reading-rail { min-width: 0; }

@media (min-width: 1000px) {
  .agency-home:not(.agency-topic) .lead { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: stretch; }
  .agency-home:not(.agency-topic) .lead .story-photo-link { grid-area: 1 / 2; position: relative; aspect-ratio: auto; min-height: clamp(345px, 30vw, 440px); border-top-left-radius: 52px; }
  .agency-home:not(.agency-topic) .lead .story-photo-link img { position: absolute; inset: 0; }
  .agency-home:not(.agency-topic) .lead-copy { grid-area: 1 / 1; align-self: center; padding: clamp(23px, 2.75vw, 43px); }
  .agency-home:not(.agency-topic) .lead:not(:has(.story-photo-link)) .lead-copy { grid-column: 1 / -1; }
}
@media (max-width: 1040px) {
  .agency-home header.masthead { display: grid; grid-template-columns: minmax(0,1fr) minmax(0, auto); gap: 0; padding-top: 13px; }
  .agency-home .data-link { grid-column: 2; grid-row: 1; max-width: 48vw; white-space: normal; text-align: center; line-height: 1.15; }
  .navigation { grid-column: 1 / -1; padding: 8px 0; }
  .agency-topic .top-news { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .agency-topic .timeline { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .top-news { grid-template-columns: minmax(0,1.55fr) minmax(210px,1fr); }
  .home-primary { display: contents; }
  .topic-digests { grid-column: 1 / -1; order: 1; margin-top: 8px; }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) { .reading-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 640px) {
  .logo { width: 125px; height: 29px; }
  .logo img { width: 155px; left: -14px; top: -13px; }
  .data-link { font-size: .87rem; padding: 7px 12px; }
  .nav-links { gap: 1px; }
  .navigation a { font-size: .99rem; padding: 6px 9px; }
  .rates-brief { background: var(--surface); border: 0; }
  .rate-brief-link { min-height: 32px; font-size: .81rem; gap: 8px; }
  .rate-brief-unit, .rate-brief-figure:nth-of-type(4) { display: none; }
  .top-headline { margin-bottom: 12px; }
  .top-news, .agency-topic .top-news, .topic-digests, .news-grid, .front-markets { grid-template-columns: minmax(0,1fr); }
  .price-brief { grid-template-rows: auto; grid-row: auto; }
  .top-news { gap: 23px; }
  .lead { border-radius: 20px; }
  .lead-copy { padding: 18px 20px 22px; }
  .lead .summary { -webkit-line-clamp: 2; }
  .timeline { padding: 19px; }
  .topic-digests { gap: 27px; }
  .section-picks { gap: 18px 12px; }
  .section-picks .story-photo-link { border-radius: 11px; }
  .section-categories { gap: 5px; }
  .section-categories a { font-size: .85rem; padding-inline: 10px; }
  .filters select { flex-grow: 1; }
  .footer .wrap { flex-wrap: wrap; }
}
