:root {
  --sky: #7cc9ec;
  --sky-light: #dff4fc;
  --lemon: #f5df38;
  --lemon-soft: #fff8b8;
  --paper: #ffffff;
  --ink: #13212c;
  --muted: #5e6a72;
  --line: #b9c8d0;
  --coral: #ef765f;
  --green: #286b55;
  --page: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

a:hover { text-decoration-color: var(--coral); }

button, input { font: inherit; }

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.topline { height: 10px; background: linear-gradient(90deg, var(--sky) 0 58%, var(--lemon) 58% 86%, var(--coral) 86%); }

.site-header { border-bottom: 2px solid var(--ink); background: var(--paper); }

.masthead {
  width: var(--page);
  min-height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.issue-note, .mast-tagline {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.mast-tagline { justify-self: end; text-align: right; }

.brand {
  position: relative;
  display: inline-block;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: .9;
  text-decoration: none;
}

.brand::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: -7px;
  left: 18%;
  height: 12px;
  background: var(--lemon);
}

.nav-row { border-top: 1px solid var(--line); }

.nav-inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 52px;
}

.main-nav {
  min-width: 0;
  display: flex;
  flex: 1;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.main-nav a {
  flex: 0 0 auto;
  font-size: .79rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.search-toggle {
  flex: 0 0 auto;
  border: 0;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--lemon);
  font-weight: 800;
  cursor: pointer;
}

.search-panel { border-bottom: 2px solid var(--ink); background: var(--sky-light); }
.search-panel[hidden] { display: none; }

.search-inner { width: var(--page); margin: 0 auto; padding: 24px 0 28px; }
.search-inner label { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.search-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-line input { width: 100%; min-width: 0; border: 2px solid var(--ink); padding: 11px 13px; background: var(--paper); }
.search-line button { border: 2px solid var(--ink); padding: 9px 18px; color: var(--paper); background: var(--ink); font-weight: 800; cursor: pointer; }
.search-results { margin-top: 16px; display: grid; gap: 9px; }
.search-result { border-top: 1px solid var(--line); padding-top: 9px; }
.search-result a { font-weight: 800; }
.search-result p, .search-state { margin: 3px 0 0; color: var(--muted); font-size: .9rem; }

.page { width: var(--page); margin: 0 auto; }

.edition-strip {
  margin: 28px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.edition-strip::before { content: ""; width: 52px; height: 8px; background: var(--coral); }
.edition-strip::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .85fr);
  border-top: 6px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.lead-media { min-height: 540px; background: var(--sky-light); }
.lead-media img { width: 100%; height: 100%; object-fit: cover; }

.lead-copy {
  position: relative;
  padding: 34px 30px 34px;
  background: var(--lemon);
}

.lead-copy::before {
  content: "01";
  position: absolute;
  top: -28px;
  right: 24px;
  color: var(--paper);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
}

.kicker { margin: 0 0 12px; color: var(--green); font-size: .74rem; font-weight: 900; text-transform: uppercase; }

h1, h2, h3, h4 { margin-top: 0; letter-spacing: 0; }

.lead-copy h1 {
  margin-bottom: 18px;
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: clamp(2.1rem, 3.4vw, 3.45rem);
  line-height: .99;
}

.lead-copy .dek { margin: 0 0 26px; font-size: 1.05rem; line-height: 1.55; }
.meta { color: var(--muted); font-size: .78rem; font-weight: 700; }
.read-link { display: inline-block; margin-top: 20px; font-weight: 900; text-decoration-color: var(--coral); }

.section-head {
  margin: 54px 0 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 5px solid var(--sky);
}

.section-head h2 { margin-bottom: 8px; font-size: 1.65rem; line-height: 1.2; }
.section-head span { color: var(--muted); font-size: .8rem; }

.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px 22px; }
.story-card { grid-column: span 6; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.story-card:nth-child(3), .story-card:nth-child(4) { grid-column: span 6; }
.story-card a { text-decoration: none; }
.story-card figure { margin: 0 0 16px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sky-light); }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.story-card a:hover img { transform: scale(1.025); }
.story-card h3 { margin-bottom: 10px; font-size: 1.6rem; line-height: 1.15; }
.story-card p { margin: 0 0 12px; color: #34434d; }

.topic-band {
  margin: 58px 0 70px;
  padding: 34px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 34px;
  background: var(--sky);
  border: 2px solid var(--ink);
  box-shadow: 9px 9px 0 var(--lemon);
}

.topic-band h2 { margin-bottom: 8px; font-size: 2rem; line-height: 1.1; }
.topic-band p { margin: 0; }
.topic-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.topic-links a { padding: 10px 12px; border-bottom: 2px solid var(--ink); font-weight: 800; text-decoration: none; }

.site-footer { margin-top: 70px; color: var(--paper); background: var(--ink); }
.footer-inner { width: var(--page); margin: 0 auto; padding: 34px 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.footer-brand { margin: 0; font-size: 2rem; font-weight: 900; }
.footer-copy { margin: 4px 0 0; color: #c7d3d9; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; font-size: .8rem; }

.article-hero { margin-top: 28px; border-top: 6px solid var(--ink); }
.article-hero-image { aspect-ratio: 16 / 8.2; overflow: hidden; background: var(--sky-light); }
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.article-heading {
  position: relative;
  width: min(940px, calc(100% - 30px));
  margin: -64px auto 0;
  padding: 32px 44px 26px;
  background: var(--paper);
  border-top: 9px solid var(--lemon);
}

.article-heading h1 { margin-bottom: 18px; font-size: clamp(2.2rem, 5.2vw, 4.7rem); line-height: 1.02; }
.article-heading .dek { max-width: 740px; margin-bottom: 16px; color: #33444e; font-size: 1.08rem; }

.article-layout { width: min(940px, 100%); margin: 30px auto 0; display: grid; grid-template-columns: 170px minmax(0, 680px); gap: 48px; }
.article-aside { align-self: start; position: sticky; top: 20px; border-top: 4px solid var(--sky); padding-top: 12px; color: var(--muted); font-size: .78rem; }
.article-aside strong { display: block; margin-bottom: 5px; color: var(--ink); text-transform: uppercase; }
.article-aside a { display: block; margin-top: 14px; font-weight: 800; }
.article-body { min-width: 0; font-size: 1.04rem; }
.article-body > p:first-child { font-size: 1.18rem; line-height: 1.68; }
.article-body h2 { margin: 48px 0 14px; padding-top: 12px; border-top: 5px solid var(--sky); font-size: 1.8rem; line-height: 1.2; }
.article-body h3 { margin: 31px 0 10px; font-size: 1.28rem; line-height: 1.3; }
.article-body h4 { margin: 25px 0 8px; color: var(--green); font-size: 1rem; text-transform: uppercase; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { margin: 30px 0; padding: 20px 24px; border-left: 8px solid var(--lemon); background: var(--sky-light); font-size: 1.12rem; font-weight: 700; }
.article-body table { width: 100%; margin: 24px 0 30px; border-collapse: collapse; font-size: .92rem; }
.article-body th, .article-body td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--lemon-soft); }
.back-row { width: min(940px, 100%); margin: 46px auto 0; padding-top: 18px; border-top: 2px solid var(--ink); }
.back-row a { font-weight: 900; }

.category-intro { margin: 38px 0 34px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; align-items: end; border-bottom: 6px solid var(--lemon); padding-bottom: 28px; }
.category-intro h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .98; }
.category-intro p { max-width: 620px; margin: 0; font-size: 1.08rem; }
.category-list { display: grid; gap: 34px; }
.category-story { display: grid; grid-template-columns: minmax(220px, .82fr) 1.18fr; gap: 28px; border-top: 2px solid var(--ink); padding-top: 18px; }
.category-story figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.category-story img { width: 100%; height: 100%; object-fit: cover; }
.category-story h2 { margin-bottom: 10px; font-size: 2rem; line-height: 1.12; }
.category-story p { margin: 0 0 12px; }

@media (max-width: 820px) {
  :root { --page: min(100% - 28px, 720px); }
  .masthead { min-height: 94px; grid-template-columns: 1fr auto; }
  .issue-note { display: none; }
  .brand { justify-self: start; font-size: 3.1rem; }
  .mast-tagline { max-width: 170px; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-media { min-height: 0; aspect-ratio: 3 / 2; }
  .lead-copy::before { font-size: 3.5rem; }
  .topic-band { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 20px; }
  .article-aside { position: static; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
  .article-aside strong, .article-aside a { margin: 0; }
  .category-intro { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .topline { height: 7px; }
  .masthead { min-height: 83px; gap: 10px; }
  .brand { font-size: 2.35rem; }
  .mast-tagline { max-width: 125px; font-size: .63rem; }
  .nav-inner { gap: 10px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .71rem; }
  .search-toggle { padding: 8px 9px; font-size: .75rem; }
  .search-line { grid-template-columns: 1fr; }
  .edition-strip { margin-top: 20px; }
  .lead-copy { padding: 26px 20px; }
  .lead-copy h1 { font-size: 2.35rem; }
  .lead-copy::before { top: -18px; right: 14px; font-size: 3rem; }
  .section-head { margin-top: 42px; align-items: flex-end; }
  .section-head span { max-width: 100px; text-align: right; }
  .story-grid { display: block; }
  .story-card { margin-bottom: 28px; }
  .story-card h3 { font-size: 1.42rem; }
  .topic-band { margin-right: 7px; padding: 24px 19px; box-shadow: 7px 7px 0 var(--lemon); }
  .topic-links { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .article-hero-image { aspect-ratio: 3 / 2; }
  .article-heading { width: calc(100% - 14px); margin-top: -22px; padding: 23px 17px 20px; }
  .article-heading h1 { overflow-wrap: break-word; hyphens: none; font-size: 2.15rem; }
  .article-layout { margin-top: 16px; }
  .article-body h2 { font-size: 1.55rem; }
  .article-body { font-size: 1rem; }
  .article-body table { display: block; overflow-x: auto; }
  .category-story { grid-template-columns: 1fr; gap: 16px; }
  .category-story h2 { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story-card img { transition: none; }
}
