:root {
  --ink: #122030;
  --blue: #0a42a4;
  --blue-dark: #06245c;
  --yellow: #ffd229;
  --red: #d94a38;
  --paper: #fffdf7;
  --mist: #e9eef6;
  --line: #bcc7d6;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  line-height: 1.58;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--red); text-underline-offset: .2em; }
a:hover { color: var(--blue); }
button, input { font: inherit; }

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: .75rem; top: .75rem; z-index: 20; padding: .6rem .8rem; background: var(--yellow); }
.site-top { border-bottom: 1px solid var(--line); background: #f3f6fb; }
.top-inner, .masthead, .nav-inner, .wrap, .footer-inner { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.top-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .76rem; }
.top-inner p { margin: 0; }
.edition { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.masthead { min-height: 118px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { color: var(--blue-dark); text-decoration: none; text-align: center; font-size: clamp(2.15rem, 6vw, 4.25rem); font-weight: 700; line-height: .82; letter-spacing: 0; }
.brand small { display: block; margin-top: .55rem; color: var(--red); font: 700 .66rem/1 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.mast-kicker { margin: 0; max-width: 16rem; font-size: .84rem; line-height: 1.35; }
.mast-kicker:last-child { text-align: right; justify-self: end; }
.main-nav { background: var(--blue); color: white; border-block: 4px solid var(--yellow); }
.nav-inner { display: flex; align-items: stretch; min-height: 46px; }
.nav-links { display: flex; align-items: stretch; overflow-x: auto; flex: 1; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { display: flex; align-items: center; padding: .65rem .9rem; color: white; text-decoration: none; white-space: nowrap; font-size: .85rem; font-weight: 700; border-right: 1px solid rgba(255,255,255,.25); }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--yellow); color: var(--blue-dark); }
.search-toggle { width: 48px; border: 0; border-left: 1px solid rgba(255,255,255,.3); background: var(--blue-dark); color: white; cursor: pointer; position: relative; flex: 0 0 48px; }
.search-toggle::before { content: ""; position: absolute; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; left: 15px; top: 12px; }
.search-toggle::after { content: ""; position: absolute; width: 8px; height: 2px; background: currentColor; transform: rotate(45deg); left: 27px; top: 27px; }
.search-panel { background: var(--yellow); border-bottom: 1px solid var(--blue-dark); }
.search-panel[hidden] { display: none; }
.search-inner { width: min(calc(100% - 32px), 760px); margin: auto; padding: 1.1rem 0 1.25rem; }
.search-form { display: grid; grid-template-columns: 1fr auto; }
.search-form input { min-width: 0; border: 2px solid var(--blue-dark); background: white; padding: .75rem; border-radius: 0; }
.search-form button { border: 2px solid var(--blue-dark); border-left: 0; padding: .65rem 1rem; background: var(--blue-dark); color: white; font-weight: 700; cursor: pointer; }
.search-status { margin: .65rem 0 0; font-size: .85rem; }
.search-results { margin-top: .75rem; display: grid; gap: .45rem; }
.search-result { display: block; padding: .55rem .7rem; background: white; border-left: 4px solid var(--red); text-decoration: none; }
.search-result span { display: block; color: #4a5564; font-size: .78rem; }

main { min-height: 55vh; }
.wrap { padding-block: 1.35rem 3rem; }
.section-label { display: flex; align-items: center; gap: .75rem; margin: 0 0 .8rem; font: 700 .74rem/1 Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); }
.section-label::after { content: ""; height: 1px; flex: 1; background: var(--blue); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); max-height: 500px; border-bottom: 1px solid var(--ink); padding-bottom: 1.35rem; }
.lead-media { position: relative; min-height: 430px; overflow: hidden; background: var(--mist); }
.lead-media img { height: 100%; object-fit: cover; }
.issue-mark { position: absolute; top: 0; left: 0; background: var(--yellow); color: var(--blue-dark); padding: .42rem .7rem; font: 700 .68rem/1 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.lead-copy { background: var(--blue-dark); color: white; padding: clamp(1.2rem, 3vw, 2.1rem); display: flex; flex-direction: column; justify-content: flex-end; }
.eyebrow { margin: 0 0 .65rem; color: var(--yellow); font: 700 .7rem/1 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.lead-copy h1 { margin: 0; font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: .98; letter-spacing: 0; }
.lead-copy p { margin: 1rem 0; font-size: 1.03rem; }
.read-link { display: inline-flex; align-items: center; align-self: flex-start; gap: .5rem; color: var(--yellow); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.read-link::after { content: ">"; font-family: Arial, sans-serif; }
.read-link:hover { color: white; }
.ticker { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--ink); margin-bottom: 1.5rem; }
.ticker strong { padding: .65rem .85rem; background: var(--yellow); color: var(--blue-dark); font: 700 .74rem/1.4 Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.ticker p { margin: 0; padding: .62rem .85rem; font-size: .88rem; background: white; }
.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.story-card { grid-column: span 4; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: white; }
.story-card.wide { grid-column: span 6; }
.story-card a { text-decoration: none; }
.story-image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.story-image img { height: 100%; object-fit: cover; transition: transform .25s ease; }
.story-card:hover .story-image img { transform: scale(1.02); }
.story-copy { padding: 1rem; }
.story-copy .meta { color: var(--blue); font: 700 .68rem/1.2 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.story-copy h2, .story-copy h3 { margin: .45rem 0 .55rem; font-size: 1.45rem; line-height: 1.08; letter-spacing: 0; }
.story-card.wide h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.story-copy p { margin: 0; color: #475467; font-size: .93rem; }
.category-strip { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.category-strip a { background: var(--paper); padding: 1.15rem; text-decoration: none; }
.category-strip strong { display: block; color: var(--blue); font-size: 1.15rem; }
.category-strip span { display: block; margin-top: .25rem; font-size: .82rem; }

.page-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; border-bottom: 4px solid var(--blue); padding: .6rem 0 1rem; margin-bottom: 1.4rem; }
.page-head h1 { margin: 0; font-size: clamp(2.15rem, 6vw, 4.8rem); line-height: .95; color: var(--blue-dark); letter-spacing: 0; }
.page-head p { margin: 0; max-width: 33rem; color: #4a5564; }
.category-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.category-item { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ink); }
.category-item:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--ink); }
.category-item:nth-child(even) { padding-left: 1rem; }
.category-item img { height: 120px; object-fit: cover; }
.category-item h2 { margin: .2rem 0 .45rem; font-size: 1.35rem; line-height: 1.1; }
.category-item p { margin: 0; font-size: .85rem; color: #4a5564; }

.article-shell { width: min(calc(100% - 32px), 1120px); margin: auto; padding: 1.4rem 0 3rem; }
.breadcrumbs { margin: 0 0 1.1rem; color: #526170; font-size: .78rem; }
.article-header { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: end; gap: 0; border-bottom: 1px solid var(--ink); }
.article-title { padding: 1rem 2rem 1.4rem 0; }
.article-title h1 { margin: .5rem 0 .75rem; color: var(--blue-dark); font-size: clamp(2.3rem, 6vw, 5rem); line-height: .94; letter-spacing: 0; }
.article-title .dek { margin: 0; max-width: 42rem; font-size: 1.12rem; line-height: 1.42; color: #3d4b59; }
.byline { margin: 1rem 0 0; font-size: .8rem; font-weight: 700; }
.article-figure { margin: 0; }
.article-figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.article-figure figcaption { padding: .4rem .55rem; background: var(--yellow); font-size: .72rem; line-height: 1.35; }
.article-layout { display: grid; grid-template-columns: 180px minmax(0, 680px) 1fr; gap: 2rem; margin-top: 2rem; }
.article-aside { font-size: .78rem; border-top: 4px solid var(--yellow); padding-top: .75rem; align-self: start; position: sticky; top: 1rem; }
.article-aside strong { display: block; color: var(--blue); text-transform: uppercase; font-family: Arial, sans-serif; letter-spacing: .06em; }
.article-body { font-size: 1.08rem; }
.article-body > p:first-child::first-letter { float: left; margin: .08em .1em 0 0; color: var(--blue); font-size: 4.4em; line-height: .72; font-weight: 700; }
.article-body h2 { margin: 2.1rem 0 .65rem; padding-top: .45rem; border-top: 1px solid var(--blue); color: var(--blue-dark); font-size: 2rem; line-height: 1.08; letter-spacing: 0; }
.article-body h3 { margin: 1.45rem 0 .45rem; color: var(--blue); font-size: 1.35rem; line-height: 1.15; letter-spacing: 0; }
.article-body p { margin: 0 0 1rem; }
.article-body ul, .article-body ol { margin: .4rem 0 1.2rem; padding-left: 1.25rem; }
.article-body li { margin-bottom: .38rem; }
.pullquote { margin: 1.4rem 0; padding: 1rem 1.15rem; background: var(--mist); border-left: 6px solid var(--yellow); color: var(--blue-dark); font-size: 1.24rem; line-height: 1.3; font-weight: 700; }
.article-rail { align-self: start; border-top: 1px solid var(--ink); padding-top: .7rem; }
.article-rail h2 { margin: 0 0 .6rem; font: 700 .7rem/1 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.article-rail a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--line); font-weight: 700; line-height: 1.2; text-decoration: none; }

.site-footer { background: var(--blue-dark); color: white; border-top: 8px solid var(--yellow); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding-block: 2rem; }
.footer-brand { margin: 0; color: var(--yellow); font-size: 2rem; font-weight: 700; }
.footer-inner p { margin: .4rem 0; font-size: .84rem; }
.footer-inner h2 { margin: 0 0 .5rem; font: 700 .7rem/1 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.footer-inner a { color: white; }
.footer-links { display: grid; gap: .35rem; align-content: start; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.3); padding-top: .8rem; }

@media (max-width: 900px) {
  .lead-grid, .article-header { grid-template-columns: 1fr; }
  .lead-grid { max-height: none; }
  .lead-media { min-height: 0; aspect-ratio: 3 / 2; }
  .lead-copy { min-height: 320px; }
  .story-card, .story-card.wide { grid-column: span 6; }
  .article-title { padding-right: 0; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 180px; gap: 1.4rem; }
  .article-aside { grid-column: 1 / -1; position: static; display: flex; gap: .5rem; }
  .category-list { grid-template-columns: 1fr; }
  .category-item:nth-child(n) { padding-inline: 0; border-right: 0; }
}

@media (max-width: 640px) {
  .top-inner { font-size: .68rem; }
  .masthead { min-height: 102px; grid-template-columns: 1fr; }
  .mast-kicker { display: none; }
  .brand { font-size: 2.75rem; }
  .nav-inner { width: 100%; margin: 0; }
  .nav-links a { padding-inline: .72rem; font-size: .78rem; }
  .ticker { display: none; }
  .lead-media { aspect-ratio: 16 / 9; }
  .lead-copy { min-height: 300px; }
  .lead-grid + .section-label { margin-top: .7rem !important; }
  .story-card, .story-card.wide { grid-column: 1 / -1; }
  .category-strip { grid-template-columns: 1fr; }
  .page-head { grid-template-columns: 1fr; }
  .category-item { grid-template-columns: 110px 1fr; gap: .75rem; }
  .category-item img { height: 90px; }
  .category-item h2 { font-size: 1.1rem; }
  .article-title h1 { font-size: 2.55rem; }
  .article-layout { display: block; }
  .article-aside { margin-bottom: 1.2rem; }
  .article-rail { margin-top: 2rem; }
  .article-body { font-size: 1.03rem; }
  .article-body h2 { font-size: 1.65rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
