:root {
  --bg: #f2f4f7;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --text: #111827;
  --muted: #667085;
  --line: #dbe2ea;
  --accent: #bf1313;
  --accent-dark: #8c1010;
  --ink: #162033;
  --headline: Georgia, "Times New Roman", serif;
  --ui: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --wrap: min(1240px, calc(100vw - 28px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(191, 19, 19, 0.06), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #f2f4f7 100%);
  color: var(--text);
  font-family: var(--ui);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.top-strip {
  background: linear-gradient(90deg, #171717 0%, #262626 50%, #171717 100%);
  color: #fff;
}

.top-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 48px;
}

.live-pill,
.story-chip,
.mini-chip,
.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.live-pill {
  min-height: 32px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}

.ticker a,
.ticker span {
  position: relative;
  white-space: nowrap;
  font-size: 0.95rem;
}

.ticker a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%);
}

.top-date {
  font-size: 0.85rem;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.brand-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 8px 18px rgba(15, 23, 42, 0.1);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-kicker,
.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-copy strong,
.hero-copy h1,
.section-head h2,
.featured-article-copy h2,
.article-header h1,
.category-copy h1,
.panel-card h2,
.news-card h3,
.section-feature-copy h3 {
  font-family: var(--headline);
}

.brand-copy strong {
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  line-height: 1.12;
}

.brand-copy p,
.category-copy p,
.hero-copy p,
.featured-article-copy p,
.news-card-copy p,
.section-feature-copy p,
.article-spot,
.panel-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.brand-state {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.brand-state span {
  color: var(--ink);
  font-weight: 700;
}

.brand-state small {
  color: var(--muted);
  text-align: right;
}

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

.main-nav-inline {
  margin-left: auto;
  border-top: 0;
}

.main-nav-inline .nav-row {
  justify-content: flex-end;
  gap: 18px;
  min-height: 58px;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 48px;
}

.nav-link {
  min-height: 46px;
  padding: 0;
  border-radius: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
  background: transparent;
  border-bottom-color: var(--accent);
}

.page-shell {
  padding: 22px 0 70px;
}

.ad-block {
  margin-top: 18px;
}

.hero-block,
.stat-block,
.stream-block,
.category-block,
.article-block {
  margin-top: 18px;
}

.hero-grid,
.two-column-grid,
.article-grid {
  display: grid;
  gap: 22px;
}

.ad-slot {
  display: flex;
  justify-content: center;
}

.ad-slot-frame {
  width: min(100%, 728px);
  min-height: 90px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-ad {
  padding: 0 22px;
  margin-top: 22px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.9fr);
}

.two-column-grid,
.article-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
}

.hero-card,
.panel-card,
.stat-card,
.category-count,
.article-main {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card,
.article-main {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.panel-card,
.stat-card,
.category-count {
  border-radius: var(--radius-lg);
}

.hero-media,
.hero-media img,
.featured-article-media img,
.section-feature-media img,
.news-card-media img,
.compact-story-media img,
.article-image img {
  width: 100%;
}

.hero-media img,
.featured-article-media img,
.section-feature-media img,
.article-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.compact-story-media img,
.news-card-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-copy,
.section-feature-copy,
.featured-article-copy,
.news-card-copy,
.article-header,
.article-body,
.article-info,
.category-copy,
.side-card,
.stat-card,
.panel-card {
  padding: 22px;
}

.hero-copy {
  display: grid;
  gap: 14px;
}

.story-chip {
  min-height: 34px;
  padding: 0 14px;
  background: #fff2f2;
  color: var(--accent-dark);
  font-size: 0.8rem;
}

.mini-chip {
  min-height: 28px;
  padding: 0 10px;
  background: #f3f5f8;
  color: var(--accent-dark);
  font-size: 0.76rem;
}

.hero-copy h1,
.article-header h1,
.category-copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.hero-side,
.main-stack,
.side-stack {
  display: grid;
  gap: 18px;
}

.compact-story,
.section-grid,
.latest-grid,
.category-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.compact-story {
  grid-template-columns: 124px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compact-story-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.compact-story-copy h2,
.panel-card h2,
.section-head h2,
.featured-article-copy h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.compact-story-copy span:last-child,
.headline-item span,
.meta-line,
.article-info span,
.article-author span {
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-line span:not(:last-child)::after {
  content: "•";
  margin-left: 12px;
  color: #b3ab9e;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  display: grid;
  gap: 8px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-card strong {
  font-size: 1.85rem;
  font-family: var(--headline);
}

.stat-card a,
.section-head a,
.primary-link {
  color: var(--accent);
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 1.35rem;
}

.latest-grid,
.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-card,
.featured-article {
  overflow: hidden;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.news-card-copy {
  display: grid;
  gap: 10px;
}

.news-card h3,
.section-feature-copy h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.32;
}

.section-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.section-feature {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.section-feature-copy {
  display: grid;
  gap: 10px;
}

.headline-list {
  display: grid;
  gap: 14px;
}

.headline-item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.headline-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.headline-item a {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.4;
  font-size: 1rem;
}

.accent-card {
  background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
  border-top: 4px solid var(--accent);
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-list span,
.tag-pill {
  padding: 8px 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
}

.category-copy {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.category-count {
  min-width: 210px;
  padding: 28px;
  display: grid;
  place-items: center;
  text-align: center;
}

.category-count strong {
  font-size: 3rem;
  font-family: var(--headline);
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.featured-article-copy {
  display: grid;
  gap: 12px;
}

.empty-card {
  text-align: center;
}

.empty-card h2 {
  margin-top: 0;
}

.article-main {
  padding-bottom: 24px;
}

.article-header {
  display: grid;
  gap: 16px;
}

.breadcrumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-spot {
  font-size: 1.1rem;
}

.article-image {
  margin: 0;
  padding: 0 22px;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.article-body p:first-child {
  margin-top: 0;
}

.article-body img,
.article-body iframe,
.article-body table {
  max-width: 100%;
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.article-source-note {
  margin: 18px 22px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-author {
  display: grid;
  gap: 4px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 22px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.page-link {
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.page-link.is-active,
.page-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.site-footer {
  margin-top: 54px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.footer-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
  padding: 34px 0 42px;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: var(--headline);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

@media (max-width: 1180px) {
  .hero-grid,
  .two-column-grid,
  .article-grid,
  .section-grid,
  .featured-article,
  .category-hero,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .main-nav-inline {
    width: 100%;
    margin-left: 0;
    border-top: 1px solid var(--line);
    overflow-x: auto;
  }

  .main-nav-inline .nav-row {
    justify-content: flex-start;
    min-width: max-content;
    padding: 6px 0;
  }
}

@media (max-width: 860px) {
  .top-strip-inner {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .ticker {
    order: 3;
  }

  .latest-grid,
  .category-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .compact-story {
    grid-template-columns: 1fr;
  }

  .compact-story-media img {
    aspect-ratio: 16 / 9;
  }

  .hero-copy,
  .section-feature-copy,
  .featured-article-copy,
  .news-card-copy,
  .article-header,
  .article-body,
  .article-info,
  .category-copy,
  .side-card,
  .stat-card,
  .panel-card {
    padding: 18px;
  }

  .article-image,
  .tag-row {
    padding: 0 18px;
  }

  .article-ad {
    padding: 0 18px;
  }

  .article-source-note {
    margin: 18px 18px 0;
  }

  .hero-copy h1,
  .article-header h1,
  .category-copy h1 {
    font-size: 1.8rem;
  }

  .is-desktop-banner {
    display: none;
  }
}
