:root {
  --ink: #142033;
  --ink-soft: #3d4a5c;
  --muted: #6b7685;
  --line: #d8dee7;
  --paper: #f3f5f8;
  --surface: #ffffff;
  --brand: #0b2a45;
  --accent: #c1121f;
  --accent-dark: #9a0e18;
  --chip: #e8eef5;
  --shadow: 0 10px 28px rgba(11, 42, 69, 0.08);
  --radius: 2px;
  --max: 1080px;
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-ui: "Figtree", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(193, 18, 31, 0.05), transparent 55%),
    linear-gradient(180deg, #e9eef4 0%, var(--paper) 38%, #eef1f5 100%);
  line-height: 1.55;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.1rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1.1;
}

.brand-mark span {
  color: var(--accent);
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.site-nav {
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.nav-inner a {
  text-decoration: none;
  padding: 0.7rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}

.nav-inner a:hover,
.nav-inner a.is-active {
  color: var(--brand);
  border-bottom-color: var(--accent);
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.1rem 3rem;
}

.kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  gap: 1.75rem;
  align-items: start;
}

.top-story {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a2a3a;
}

.hero-media a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.story-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.story-body h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  font-weight: 700;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.85rem;
}

.teaser p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.teaser p:last-child {
  margin-bottom: 1.1rem;
}

.teaser .dek {
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.btn-primary {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.cta-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.side-rail {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem 1rem 0.4rem;
}

.side-rail h2 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-list li {
  border-top: 1px solid var(--line);
}

.side-list a {
  display: block;
  text-decoration: none;
  padding: 0.85rem 0;
}

.side-list a:hover .side-title {
  color: var(--accent);
}

.side-cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.side-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 650;
}

.side-date {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.section-block {
  margin-top: 2rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 0.45rem;
  margin-bottom: 0.9rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.section-head a {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
}

.news-list li + li {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.95rem;
  padding: 0.95rem 1rem;
  text-decoration: none;
  align-items: start;
}

.news-item:hover .news-title {
  color: var(--accent);
}

.news-thumb {
  width: 96px;
  height: 72px;
  object-fit: cover;
  background: var(--chip);
}

.news-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0 0 0.3rem;
  color: var(--ink);
  font-weight: 650;
}

.news-excerpt {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 0.35rem;
}

.page-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 46rem;
}

.category-list .news-item {
  grid-template-columns: 88px minmax(0, 1fr);
}

.article-page {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem 1.8rem;
}

.article-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.18;
  margin: 0 0 0.7rem;
}

.article-hero {
  margin: 1rem 0 1.1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--chip);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-page .byline {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.article-page p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  margin: 0 0 0.95rem;
}

.back-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.4rem 1.25rem 1.8rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.9rem;
}

.legal-page h2 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal-page h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-page ul {
  padding-left: 1.2rem;
  margin: 0 0 0.95rem;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--brand);
  color: rgba(255, 255, 255, 0.86);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 1.1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  width: 100%;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.cookie-banner {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 80;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.95rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  flex: 1 1 240px;
}

.cookie-banner a {
  color: var(--brand);
  font-weight: 600;
}

.btn-quiet {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.btn-quiet:hover {
  border-color: var(--muted);
}

@media (max-width: 860px) {
  .home-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-inner {
    flex-direction: column;
    padding: 0.35rem 0.6rem 0.7rem;
  }

  .nav-inner a {
    border-bottom: 0;
    padding: 0.65rem 0.5rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 560px) {
  .news-item,
  .category-list .news-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.85rem 0.8rem;
  }

  .news-thumb {
    width: 72px;
    height: 56px;
  }

  .story-body {
    padding: 1rem 0.95rem 1.15rem;
  }

  .play-disc {
    width: 58px;
    height: 58px;
  }

  .header-meta .hide-sm {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-primary,
  .play-disc,
  .fake-play:hover .play-disc {
    transition: none;
    transform: none;
  }
}
