/* 900 The Ticket News — Ultra-Fast Newsroom Stylesheet (Zero External Fonts / CLS=0) */
:root {
  --ink: #111827;
  --ink-muted: #4b5563;
  --ink-soft: #6b7280;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e5e7eb;
  --brand: #b91c1c;
  --brand-dark: #991b1b;
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --accent: #1d4ed8;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 8px 14px; z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Utility Top Bar */
.utility-bar {
  background: #090e1a;
  color: #cbd5e1;
  font-size: 0.78rem;
  border-bottom: 1px solid #1e293b;
}
.utility-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px; padding: 6px 18px;
}
.utility-edition { font-weight: 700; letter-spacing: 0.05em; color: #f8fafc; }
.utility-links { display: flex; gap: 14px; }
.utility-links a { color: #cbd5e1; }
.utility-links a:hover { color: #fff; }

/* Header & Primary Navigation */
.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--brand);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
}
.brand-link:hover { text-decoration: none; }
.brand-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  font-weight: 900; font-size: 1.2rem; letter-spacing: -0.02em;
  padding: 5px 10px; border-radius: 6px; line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.15rem; font-weight: 900; letter-spacing: 0.03em; }
.brand-text small { font-size: 0.65rem; letter-spacing: 0.1em; color: #94a3b8; font-weight: 600; }

.primary-nav .nav-list {
  display: flex; list-style: none; margin: 0; padding: 0; gap: 6px; flex-wrap: wrap;
}
.primary-nav .nav-list a {
  display: inline-block; padding: 8px 11px; color: #f1f5f9;
  font-weight: 700; font-size: 0.88rem; border-radius: 6px;
}
.primary-nav .nav-list a:hover { background: var(--navy-soft); text-decoration: none; color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: 1px solid #334155; border-radius: 6px;
  padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; }

/* Main Content */
.site-main { padding: 26px 0 54px; }

.kicker, .kicker-sm {
  display: inline-block; color: var(--brand); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none;
}
.kicker { font-size: 0.78rem; margin-bottom: 6px; }
.kicker-sm { font-size: 0.72rem; margin-bottom: 4px; }

.section-head {
  font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em;
  margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--navy);
}
.section-head span { background: var(--brand); color: #fff; padding: 3px 9px; border-radius: 3px; }

.byline-meta { font-size: 0.8rem; color: var(--ink-soft); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.byline-meta a { color: var(--ink); font-weight: 600; }

/* Front Page Hero */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 24px; margin-bottom: 34px;
}
.hero-lead {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.hero-media { display: block; aspect-ratio: 16 / 9; background: #0f172a; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { padding: 20px 22px 22px; }
.hero-title { margin: 0 0 10px; font-size: 1.85rem; line-height: 1.18; letter-spacing: -0.02em; }
.hero-title a { color: var(--ink); }
.hero-title a:hover { color: var(--brand); text-decoration: none; }
.hero-deck { margin: 0 0 14px; font-size: 1.02rem; color: var(--ink-muted); }

.hero-rail {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px;
}
.rail-list { display: flex; flex-direction: column; gap: 14px; }
.rail-item { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.rail-item:last-child { padding-bottom: 0; border-bottom: none; }
.rail-item h3 { margin: 2px 0 6px; font-size: 1rem; line-height: 1.3; }
.rail-item h3 a { color: var(--ink); }
.rail-item h3 a:hover { color: var(--brand); text-decoration: none; }

/* Card Grid */
.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.story-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card-media { display: block; aspect-ratio: 16 / 9; background: #0f172a; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h2, .card-body h3 { margin: 2px 0 8px; font-size: 1.06rem; line-height: 1.3; }
.card-body h2 a, .card-body h3 a { color: var(--ink); }
.card-body h2 a:hover, .card-body h3 a:hover { color: var(--brand); text-decoration: none; }
.card-body p { margin: 0 0 12px; font-size: 0.9rem; color: var(--ink-muted); flex: 1; }

/* Single Article Layout */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 30px; align-items: start;
}
.news-article, .static-page {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 28px 32px;
}
.breadcrumbs { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.article-headline {
  margin: 0 0 12px; font-size: 2.15rem; line-height: 1.16; letter-spacing: -0.02em;
}
.article-deck { font-size: 1.15rem; color: var(--ink-muted); margin: 0 0 16px; line-height: 1.45; }
.article-meta-bar {
  padding: 12px 0; margin-bottom: 20px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.article-byline { font-size: 0.92rem; }
.role-tag {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px;
  background: #f1f5f9; color: var(--ink-muted); font-size: 0.74rem; font-weight: 600;
}
.article-timestamps { font-size: 0.82rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px; }

.article-hero-figure { margin: 0 0 22px; }
.article-hero-figure img { width: 100%; border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-hero-figure figcaption { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }

.article-body { font-size: 1.06rem; line-height: 1.75; color: #1f2937; }
.article-body h2 { margin: 28px 0 10px; font-size: 1.4rem; line-height: 1.25; }
.article-body h3 { margin: 22px 0 8px; font-size: 1.15rem; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body blockquote {
  margin: 20px 0; padding: 12px 18px; border-left: 4px solid var(--brand);
  background: #f8fafc; font-style: italic; color: var(--ink-muted);
}

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; font-size: 0.84rem; }
.article-tags a {
  padding: 3px 10px; border-radius: 999px; background: #f1f5f9; color: var(--ink);
  border: 1px solid var(--border); font-weight: 600;
}

.author-box {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 26px; padding: 18px; border-radius: 8px;
  background: #f8fafc; border: 1px solid var(--border);
}
.author-avatar img, .author-avatar-lg img { border-radius: 50%; }
.author-info p { margin: 6px 0 0; font-size: 0.9rem; color: var(--ink-muted); }

.correction-strip {
  margin-top: 18px; padding: 12px 14px; border-radius: 8px;
  background: #fef2f2; border: 1px solid #fecaca; font-size: 0.85rem; color: #7f1d1d;
}
.correction-strip a { color: #991b1b; font-weight: 700; text-decoration: underline; }

.article-sidebar {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px;
}

/* Archive, Author & Static Pages */
.archive-header { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.archive-header h1 { margin: 0 0 6px; font-size: 1.9rem; }
.archive-desc { color: var(--ink-muted); }
.author-profile-card {
  display: flex; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 22px; margin-bottom: 26px;
}
.author-profile-meta h1 { margin: 0 0 4px; font-size: 1.7rem; }
.author-role-line { margin: 0 0 8px; color: var(--ink-muted); font-size: 0.92rem; }
.author-socials { display: flex; gap: 12px; margin-top: 8px; font-size: 0.86rem; font-weight: 600; }

.page-wrap { max-width: 860px; }
.page-header { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.page-header h1 { margin: 0 0 4px; font-size: 2rem; }
.page-updated { margin: 0; font-size: 0.84rem; color: var(--ink-soft); }

.pagination-wrap { margin-top: 28px; display: flex; justify-content: center; }

/* Footer */
.site-footer { background: var(--navy); color: #cbd5e1; margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding: 38px 18px 28px;
}
.footer-desc { font-size: 0.88rem; margin: 12px 0 10px; color: #cbd5e1; }
.footer-disclaimer {
  font-size: 0.78rem; color: #94a3b8; border-left: 3px solid var(--brand);
  padding-left: 10px; margin: 0;
}
.footer-col h3 { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin: 0 0 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 0.86rem; }
.footer-col a { color: #cbd5e1; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 14px 0; font-size: 0.8rem; color: #94a3b8; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .article-layout { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); border-bottom: 2px solid var(--brand); padding: 10px 18px 16px;
  }
  .primary-nav.open { display: block; }
  .primary-nav .nav-list { flex-direction: column; }
  .card-grid, .footer-grid { grid-template-columns: 1fr; }
  .news-article, .static-page { padding: 20px 18px; }
  .article-headline { font-size: 1.65rem; }
  .hero-title { font-size: 1.45rem; }
  .author-profile-card { flex-direction: column; align-items: flex-start; }
}
