/* CrimeBytes — Editorial identity, October 2026 */
:root {
  color-scheme: light;
  --nav-background: rgba(246, 243, 237, 0.97);
  --bg-black: #f6f3ed;
  --bg-dark: #eeebe4;
  --bg-card: #fcfaf6;
  --bg-elevated: #eee7dc;
  --text-primary: #222725;
  --text-secondary: #575d58;
  --text-muted: #676b64;
  --border-subtle: #dcd9d0;
  --border-medium: #c6c4ba;
  --crimson: #872e46;
  --crimson-mid: #6d2338;
  --crimson-dark: #6d2338;
  --serif: "Crimson Pro", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --container-width: 1280px;
  --topic-homicide: #872e46;
  --topic-trials: #46634f;
  --topic-cold-cases: #645c76;
  --topic-missing-persons: #8d5c27;
  --topic-organized-crime: #635283;
  --topic-white-collar: #355f73;
  --topic-cybercrime: #276566;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  background: var(--bg-black);
  color: var(--text-primary);
  font: 15px/1.6 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.18s,
    background 0.18s;
}
a:hover {
  color: var(--crimson);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
::selection {
  background: #e9cad0;
  color: #222725;
}
:focus-visible {
  outline: 3px solid #b85a73;
  outline-offset: 5px;
}
main:focus {
  outline: 0;
}
[hidden] {
  display: none !important;
}
.container {
  max-width: var(--container-width);
  padding: 0 36px;
  margin: auto;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  background: var(--bg-card);
  padding: 14px;
}
.eyebrow {
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--crimson);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-black: #141a18;
  --bg-dark: #1e2723;
  --bg-card: #19211e;
  --bg-elevated: #29352e;
  --text-primary: #f3efe7;
  --text-secondary: #bcc6bd;
  --text-muted: #a7b3a9;
  --border-subtle: #354139;
  --border-medium: #4e5d52;
  --crimson: #e8a0b4;
  --crimson-mid: #f2bccb;
  --crimson-dark: #e8a0b4;
  --nav-background: rgba(20, 26, 24, 0.98);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-shrink: 0;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
}
.theme-toggle:hover {
  color: var(--crimson);
}
.theme-sun,
[data-theme="dark"] .theme-moon {
  display: none;
}
[data-theme="dark"] .theme-sun {
  display: block;
}
@media (max-width: 1100px) {
  .nav-actions {
    gap: 12px;
  }
}
@media (max-width: 400px) {
  .theme-label {
    display: none;
  }
  .nav-actions {
    gap: 7px;
  }
}

/* Masthead */
.top-bar {
  border-bottom: 1px solid var(--border-subtle);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.3px;
  color: var(--text-secondary);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.ai-badge {
  display: flex;
  gap: 12px;
}
.masthead {
  padding: 29px 0;
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.brand-name {
  font: 600 48px/0.9 var(--serif);
  letter-spacing: -2px;
}
.brand-name > span {
  color: var(--crimson);
  font-weight: 400;
}
.brand-name small {
  display: block;
  font: 500 8px/1 var(--mono);
  letter-spacing: 2px;
  margin-top: 12px;
}
.masthead-note {
  font: 18px/1.35 var(--serif);
  padding-left: 28px;
  border-left: 1px solid var(--border-medium);
  margin-right: auto;
  color: var(--text-secondary);
}
.masthead-note em {
  font-style: normal;
}
.edition-link {
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 6px;
}
.edition-link span {
  margin-left: 18px;
}
.site-nav {
  border-block: 1px solid var(--border-medium);
  background: var(--nav-background);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  padding: 16px 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.nav-links a.active {
  color: var(--crimson);
  border-color: var(--crimson);
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  padding: 14px 0;
}
.nav-toggle {
  display: none;
}
/* Lead story */
.front-page {
  padding-top: 27px;
}
.edition-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 21px;
}
.edition-heading h1 {
  font: 500 12px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 1.6px;
}
.edition-heading > span {
  font: italic 17px var(--serif);
  color: var(--text-secondary);
}
.headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  background: #222b29;
  color: #f8f5ed;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}
.headline-main {
  padding: 40px 46px 36px;
  position: relative;
}
.lead-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.lead-kicker .eyebrow {
  color: #e6bc92;
}
.hl-label {
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d0d8d0;
  border-left: 1px solid #66716b;
  padding-left: 18px;
}
.headline-main h2 {
  font: 600 clamp(36px, 3.75vw, 53px)/1.06 var(--serif);
  letter-spacing: -1.2px;
  max-width: 800px;
  text-wrap: pretty;
}
.headline-main h2 a:hover {
  color: #e6bc92;
}
.lede {
  font-size: 14px;
  line-height: 1.85;
  color: #d4d9d2;
  max-width: 680px;
  margin-top: 20px;
}
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}
.byline .name {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.byline .meta {
  display: block;
  font: 9px/1.5 var(--mono);
  color: #c4cec6;
  margin-top: 4px;
}
.byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 10px var(--mono);
  flex-shrink: 0;
  color: white;
}
.avatar-photo {
  object-fit: cover;
  object-position: center top;
}
.read-story {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  font-size: 11px;
  font-weight: 600;
  border-top: 1px solid #63716a;
  margin-top: 27px;
  padding-top: 14px;
}
.read-story:hover {
  color: #e6bc92;
}
.coverage-guide {
  background: #1b2321;
  border-left: 1px solid #45514a;
  padding: 27px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-art {
  height: 135px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 23px;
}
.guide-art img {
  position: relative;
  z-index: 1;
  width: 64px;
  transform: rotate(-8deg);
}
.orbit {
  position: absolute;
  border: 1px solid #46524a;
  border-radius: 50%;
  width: 130px;
  height: 130px;
}
.orbit-two {
  width: 195px;
  height: 195px;
}
.orbit-three {
  width: 260px;
  height: 260px;
}
.art-label {
  position: absolute;
  bottom: 0;
  font: 8px var(--mono);
  letter-spacing: 2px;
  background: #1b2321;
  padding: 2px 10px;
  color: #c4bdab;
}
.coverage-guide .eyebrow {
  color: #e6bc92;
}
.coverage-guide h2 {
  font: 400 36px/1.04 var(--serif);
  letter-spacing: -0.7px;
  margin-top: 9px;
}
.guide-intro {
  font-size: 11px;
  color: #bfc9c0;
  margin: 13px 0 18px;
}
.coverage-guide > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #45514a;
  padding: 15px 0;
  gap: 10px;
}
.coverage-guide > a:hover {
  color: #e6bc92;
}
.coverage-guide strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.coverage-guide small {
  display: block;
  font-size: 9px;
  color: #bfc9c0;
  margin-top: 3px;
}
.featured-hero-wrap {
  margin-bottom: 24px;
}
.featured-hero-image {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 2px;
}
/* Coverage grids */
.homepage-content {
  padding-top: 42px;
}
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 17px;
  margin-bottom: 0;
}
.section-title h2 {
  font: 500 34px/1.1 var(--serif);
  letter-spacing: -0.7px;
  margin-top: 5px;
}
.section-title > a,
.wire-sub {
  font-size: 11px;
  color: var(--text-secondary);
  padding-bottom: 3px;
}
.section-title > a span {
  margin-left: 14px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}
.article-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 27px 0 25px;
  border-bottom: 1px solid var(--border-medium);
  min-width: 0;
  align-items: flex-start;
}
.card-topic,
.related-topic {
  font: 500 10px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--crimson);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}
.card-topic:before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
}
.article-card h3 {
  font: 600 28px/1.14 var(--serif);
  letter-spacing: -0.3px;
  text-wrap: pretty;
}
.article-card:hover h3,
.related-article-card:hover h4 {
  color: var(--crimson);
}
.article-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 12px;
  margin-bottom: 18px;
}
.card-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 9px;
  color: var(--text-secondary);
  margin-top: auto;
  padding-top: 12px;
  width: 100%;
}
.card-byline .name {
  font-weight: 600;
}
.card-byline-avatar {
  display: none;
}
.card-date {
  margin-left: auto;
}
.card-image {
  width: 100%;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 2px;
}
.card-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.status-badge {
  font: 500 8px var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding: 5px 8px;
  margin-bottom: 10px;
  background: #e6eee6;
  color: #35543e;
}
.status-breaking {
  color: #80421c;
  background: #f3e6d6;
}
.status-developing {
  color: #35576b;
  background: #e4ebed;
}
.status-cold-case {
  color: #625777;
  background: #ebe6ee;
}
.status-section {
  margin-top: 46px;
}
.status-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 26px 28px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-medium);
}
.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 14px;
}
.rail-head h3 {
  font: 500 24px var(--serif);
}
.rail-all {
  font: 10px var(--mono);
  color: var(--crimson);
}
.wire-section {
  margin: 46px 0;
}
.wire-list {
  list-style: none;
}
.wire-list li {
  border-bottom: 1px solid var(--border-subtle);
}
.wire-list a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 100px;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
}
.wire-list a:hover .wire-headline {
  color: var(--crimson);
}
.wire-topic {
  font: 500 9px/1.5 var(--mono);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--crimson);
}
.wire-headline {
  font: 500 21px/1.3 var(--serif);
}
.wire-date {
  font: 9px/1.5 var(--mono);
  color: var(--text-secondary);
  text-align: right;
}
.rail-col .wire-list a {
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 15px 0;
}
.rail-col .wire-headline {
  font-size: 20px;
}
.rail-col .wire-date {
  text-align: left;
  font-size: 9px;
}
.rail-col .wire-list li:last-child {
  border: 0;
}
.reader-note {
  display: flex;
  align-items: center;
  gap: 22px;
  border-block: 1px solid var(--border-medium);
  padding: 28px 0;
  margin: 50px 0;
}
.reader-note h2 {
  font: 500 26px var(--serif);
}
.reader-note p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 5px;
}
.reader-note > a {
  font-size: 11px;
  margin-left: auto;
  white-space: nowrap;
}
.reader-note > a span {
  margin-left: 16px;
}
/* Reading experience */
.article-topic-bar {
  height: 3px;
  background: var(--crimson);
}
.article-container {
  max-width: 850px;
}
.article-header-section {
  padding: 48px 0 34px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
}
.article-topic {
  font: 500 11px var(--mono);
  color: var(--crimson);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.article-headline {
  font: 600 clamp(36px, 4.5vw, 56px)/1.08 var(--serif);
  letter-spacing: -1px;
  margin: 18px 0;
}
.article-subhead {
  font: 18px/1.65 var(--sans);
  color: var(--text-secondary);
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  font-size: 11px;
}
.byline-name {
  font-weight: 600;
}
.byline-role {
  margin-left: 8px;
  color: var(--text-secondary);
}
.byline-date {
  display: block;
  margin-top: 4px;
  color: var(--text-secondary);
}
.byline-readtime {
  font-size: 10px;
  color: var(--crimson);
}
.article-body {
  max-width: 720px;
  margin: 38px auto;
  font: 21px/1.8 var(--serif);
}
.article-body p {
  margin-bottom: 24px;
}
.article-body h2 {
  font: 600 31px/1.2 var(--serif);
  margin: 36px 0 17px;
}
.article-body h3 {
  font-size: 25px;
  margin: 25px 0 12px;
}
.article-body ul,
.article-body ol {
  padding-left: 25px;
  margin-bottom: 24px;
}
.article-body a,
.legal-content a,
.about-content a {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.article-body blockquote,
.pull-quote {
  padding: 20px 25px;
  border-left: 3px solid var(--crimson);
  background: var(--bg-dark);
  margin: 30px 0;
  font-style: italic;
}
.article-hero-image-wrap {
  max-width: 1208px;
  margin: 28px auto 0;
  padding: 0 24px;
}
.headline-hero-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.article-share {
  padding: 25px 0;
  border-block: 1px solid var(--border-medium);
  margin: 35px 0;
}
.article-share h3 {
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.share-btn,
.btn-home {
  border: 1px solid var(--border-medium);
  padding: 11px 18px;
  font-size: 11px;
  display: inline-block;
}
.share-btn:hover,
.btn-home:hover {
  background: var(--bg-elevated);
}
.related-articles {
  margin: 40px 0 60px;
}
.related-articles > h3 {
  font: 500 30px var(--serif);
  margin-bottom: 22px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.related-article-card {
  border-top: 2px solid var(--border-medium);
  padding-top: 16px;
}
.related-article-card h4 {
  font: 600 22px/1.2 var(--serif);
  margin-bottom: 13px;
}
.related-meta {
  font: 9px var(--mono);
  color: var(--text-secondary);
}
/* Amazon shelf — books + one product matched to the story (lib/shelf.js) */
.shelf {
  container: shelf / inline-size;
  margin: 8px 0 38px;
  padding: clamp(16px, 3vw, 26px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--crimson);
}
.shelf-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--crimson);
}
.shelf-tag {
  padding: 1px 7px;
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}
.shelf-title {
  margin-top: 6px;
  font: 600 clamp(24px, 3vw, 30px)/1.15 var(--serif);
  letter-spacing: -0.3px;
}
.shelf-books {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.shelf-book a,
.shelf-gear {
  display: grid;
  gap: 14px;
  padding: 12px;
  background: var(--bg-black);
  border: 1px solid var(--border-subtle);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s;
}
.shelf-book a:hover,
.shelf-gear:hover {
  border-color: var(--crimson);
}
.shelf-book a:focus-visible,
.shelf-gear:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}
.shelf-book a {
  grid-template-columns: 76px minmax(0, 1fr);
  height: 100%;
}
.shelf-cover {
  position: relative;
  align-self: start;
}
.shelf-cover img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.45);
}
.shelf-book-text,
.shelf-gear-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.shelf-kind,
.shelf-gear-kicker {
  font: 500 9.5px/1.5 var(--mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--crimson);
}
.shelf-book-title,
.shelf-gear-title {
  font: 600 19px/1.2 var(--serif);
  overflow-wrap: break-word;
}
.shelf-author {
  font: 12px/1.4 var(--sans);
  color: var(--text-secondary);
}
.shelf-why {
  margin-top: 2px;
  font: 13.5px/1.5 var(--sans);
  color: var(--text-secondary);
}
.shelf-cta {
  margin-top: auto;
  padding-top: 8px;
  font: 600 12px var(--sans);
  color: var(--crimson);
  white-space: nowrap;
}
.shelf-cta::after {
  content: " \2197";
  content: " \2197" / ""; /* decorative: not read aloud */
}
.shelf-gear {
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  margin-top: 12px;
}
.shelf-gear-img {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 6px;
  background: #fff; /* product shots are on white; keep them on white in both themes */
}
.shelf-gear-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.shelf-gear .shelf-cta {
  grid-column: 2;
  margin-top: -8px;
  padding-top: 0;
}
/* Photo failed to load: a titled tile instead of a broken image */
.shelf-fallback {
  display: none;
}
.noimg > img {
  display: none;
}
.noimg > .shelf-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 3;
  padding: 8px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font: 600 13px/1.2 var(--serif);
  text-align: center;
}
.shelf-gear-img.noimg {
  background: var(--bg-elevated);
}
.shelf-gear-img.noimg > .shelf-fallback {
  aspect-ratio: auto;
  background: none;
}
.shelf-disclosure {
  margin-top: 14px;
  font: 12px/1.5 var(--sans);
  color: var(--text-muted);
}
.shelf-disclosure a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@container shelf (min-width: 600px) {
  .shelf-books {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .shelf-book a {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .shelf-cover {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 190px;
    padding-top: 4px;
  }
  .shelf-cover img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .shelf-cover.noimg {
    display: block;
    height: auto;
  }
  .shelf-gear {
    grid-template-columns: 84px minmax(0, 1fr) auto;
  }
  .shelf-gear .shelf-cta {
    grid-column: auto;
    margin-top: 0;
  }
}
/* Archives, search and information */
.topic-page,
.reporter-page,
.search-page,
.topics-index-page,
.about-page,
.legal-page {
  padding: 45px 0 64px;
}
.topic-header,
.search-header,
.page-header,
.reporter-header {
  padding-bottom: 28px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-medium);
}
.topic-title,
.reporter-name,
.search-header h1,
.page-header h1 {
  font: 500 48px/1.1 var(--serif);
  letter-spacing: -1px;
  margin-bottom: 15px;
}
.topic-description,
.reporter-bio {
  max-width: 680px;
  color: var(--text-secondary);
}
.topic-meta,
.article-count,
.last-updated,
.results-count {
  font: 11px/1.6 var(--mono);
  color: var(--text-secondary);
  margin-top: 16px;
}
.search-box {
  max-width: 720px;
  margin-top: 25px;
}
#search-input {
  width: 100%;
  padding: 17px 18px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  border-radius: 3px;
  font-size: 15px;
}
.search-page .article-grid {
  margin-top: 15px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-link {
  padding: 10px 14px;
  border: 1px solid var(--border-medium);
  font-size: 12px;
}
.page-disabled {
  color: var(--text-secondary);
}
.page-status {
  font: 11px var(--mono);
}
.about-content,
.legal-content {
  max-width: 760px;
  margin: 35px auto;
}
.about-section,
.legal-content section {
  margin-bottom: 35px;
}
.about-section h2,
.legal-content h2 {
  font: 500 30px var(--serif);
  margin-bottom: 15px;
}
.about-section p,
.legal-content p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 18px;
  color: var(--text-secondary);
}
.reporter-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  margin-bottom: 18px;
}
.reporter-role {
  font: 11px var(--mono);
  color: var(--crimson);
  margin: 12px 0;
}
.reporter-articles h2 {
  font: 500 30px var(--serif);
}
.topics-grid,
.reporters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.topic-card,
.reporter-card {
  padding: 25px;
  border: 1px solid var(--border-medium);
}
.error-page {
  text-align: center;
  padding: 75px 24px;
}
.error-code {
  font: 600 120px/1 var(--serif);
  color: var(--crimson);
}
.error-title {
  font: 500 38px var(--serif);
  margin: 15px;
}
.error-message {
  color: var(--text-secondary);
  margin: 20px 0 30px;
}
/* Footer */
footer {
  background: #222b29;
  color: #f8f5ed;
  padding: 45px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-logo .brand-name {
  font-size: 35px;
  letter-spacing: -1px;
}
.footer-logo .brand-name > span {
  color: #ddb194;
}
.footer-brand p {
  font-size: 12px;
  line-height: 1.8;
  color: #c2ccc4;
  max-width: 320px;
  margin: 20px 0;
}
.footer-reporters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 330px;
}
.footer-reporter-tag {
  font-size: 9px;
  color: #d5ddd5;
  border: 1px solid #57635c;
  padding: 4px 7px;
}
.footer-nav h4 {
  font: 500 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #dfb697;
  margin-bottom: 17px;
}
.footer-nav > a {
  display: block;
  font-size: 11px;
  margin: 9px 0;
  color: #d0d8d0;
}
footer a:hover {
  color: #e6bc92;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  border-top: 1px solid #536057;
  padding-top: 23px;
  margin-top: 35px;
  font-size: 9px;
  color: #c2ccc4;
}
.footer-bottom > p:first-child {
  white-space: nowrap;
}
.footer-ai-disclosure {
  max-width: 650px;
}
.footer-ai-disclosure a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 1500px) {
  .headline-main h2 {
    font-size: 55px;
  }
}
@media (max-width: 1100px) {
  .nav-links {
    gap: 15px;
  }
  .nav-links a {
    font-size: 10px;
  }
  .masthead-note {
    display: none;
  }
  .headline {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .headline-main {
    padding: 32px;
  }
  .coverage-guide {
    padding: 25px;
  }
  .headline-main h2 {
    font-size: 43px;
  }
  .card-date {
    margin-left: 0;
  }
  .card-byline .name {
    flex-basis: 100%;
  }
}
@media (max-width: 850px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border: 0;
    background: none;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
  }
  .site-nav .container {
    position: relative;
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
    order: 3;
    flex-basis: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    padding-bottom: 15px;
  }
  .nav-links.open {
    display: grid;
  }
  .nav-links a {
    font-size: 12px;
    padding: 12px 0;
  }
  .site-nav .container:has(.nav-links.open) {
    row-gap: 0;
  }
  .nav-search {
    margin-left: auto;
    font-size: 12px;
  }
  .headline {
    grid-template-columns: 1fr 245px;
  }
  .headline-main {
    padding: 28px;
  }
  .headline-main h2 {
    font-size: 37px;
  }
  .coverage-guide {
    padding: 24px 20px;
  }
  .guide-art {
    height: 110px;
  }
  .coverage-guide h2 {
    font-size: 31px;
  }
  .guide-intro {
    font-size: 10px;
  }
  .lede {
    font-size: 13px;
  }
  .article-grid {
    column-gap: 28px;
  }
  .article-card h3 {
    font-size: 26px;
  }
  .status-rail {
    gap: 24px;
    padding: 22px;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr;
    gap: 30px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .related-article-card {
    padding-bottom: 15px;
  }
  .wire-list a {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 8px 16px;
  }
  .wire-date {
    grid-column: 2;
    text-align: left;
  }
}
@media (max-width: 640px) {
  .container {
    padding-inline: 20px;
  }
  .top-bar {
    font-size: 8px;
  }
  .top-bar .container {
    gap: 8px;
  }
  .ai-badge {
    gap: 4px;
  }
  .masthead {
    padding: 22px 0;
  }
  .brand {
    gap: 11px;
  }
  .brand > img {
    width: 43px;
    height: 43px;
  }
  .brand-name {
    font-size: 40px;
  }
  .brand-name small {
    font-size: 7px;
    letter-spacing: 1.4px;
    margin-top: 9px;
  }
  .edition-link {
    display: none;
  }
  .edition-heading {
    margin-bottom: 17px;
  }
  .edition-heading h1 {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .edition-heading > span {
    font-size: 13px;
  }
  .front-page {
    padding-top: 21px;
  }
  .headline {
    grid-template-columns: 1fr;
  }
  .headline-main {
    padding: 27px 23px;
  }
  .lead-kicker {
    margin-bottom: 21px;
  }
  .headline-main h2 {
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -0.7px;
  }
  .lede {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 17px;
  }
  .coverage-guide {
    display: none;
  }
  .read-story {
    width: 100%;
    margin-top: 23px;
  }
  .homepage-content {
    padding-top: 30px;
  }
  .section-title h2 {
    font-size: 30px;
  }
  .section-title > a,
  .wire-sub {
    font-size: 10px;
    max-width: 120px;
    text-align: right;
  }
  .section-title > a span {
    margin-left: 4px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-card {
    padding: 24px 0;
  }
  .article-card h3 {
    font-size: 28px;
  }
  .article-card p {
    font-size: 13px;
  }
  .card-byline .name {
    flex-basis: auto;
  }
  .card-date {
    margin-left: auto;
  }
  .status-section {
    margin-top: 34px;
  }
  .status-rail {
    grid-template-columns: 1fr;
    padding: 23px 19px;
    gap: 27px;
  }
  .wire-section {
    margin-top: 35px;
  }
  .wire-list a {
    grid-template-columns: 1fr;
    padding: 17px 0;
    gap: 6px;
  }
  .wire-headline {
    font-size: 22px;
  }
  .wire-date {
    grid-column: auto;
  }
  .reader-note {
    flex-wrap: wrap;
    gap: 14px;
    margin: 35px 0;
  }
  .reader-note > img {
    width: 38px;
    height: 38px;
  }
  .reader-note > div {
    flex: 1;
  }
  .reader-note h2 {
    font-size: 23px;
    line-height: 1.15;
  }
  .reader-note p {
    font-size: 10px;
  }
  .reader-note > a {
    margin-left: 52px;
  }
  .article-header-section {
    padding: 30px 0;
  }
  .article-headline {
    font-size: 38px;
  }
  .article-subhead {
    font-size: 15px;
  }
  .article-byline {
    font-size: 10px;
  }
  .byline-role {
    display: block;
    margin-left: 0;
  }
  .article-body {
    font-size: 21px;
    line-height: 1.7;
    margin-top: 28px;
  }
  .article-body h2 {
    font-size: 29px;
  }
  .topic-title,
  .reporter-name,
  .search-header h1,
  .page-header h1 {
    font-size: 38px;
  }
  .topic-page,
  .reporter-page,
  .search-page,
  .about-page,
  .legal-page {
    padding-top: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 13px;
  }
  .topics-grid,
  .reporters-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  :root[data-theme] {
    color-scheme: light;
    --text-primary: #222725;
    --text-secondary: #575d58;
    --text-muted: #676b64;
    --crimson: #872e46;
    --bg-dark: #eeebe4;
    --bg-card: #fff;
    --border-subtle: #dcd9d0;
    --border-medium: #c6c4ba;
  }

  .site-header,
  .site-nav,
  footer,
  .article-share,
  .related-articles,
  .shelf,
  .skip-link {
    display: none;
  }
  body,
  .article-header-section {
    background: white;
    color: black;
  }
  .article-container {
    max-width: none;
  }
  .article-body {
    max-width: none;
    font-size: 12pt;
  }
  a {
    color: inherit;
  }
  .article-headline {
    font-size: 28pt;
  }
}
