:root {
  --red: #c41e3a;
  --red-dark: #9a1830;
  --navy: #1a2744;
  --navy-light: #2a3f6b;
  --white: #ffffff;
  --off-white: #f7f5f2;
  --gray-100: #eeecea;
  --gray-300: #c8c4be;
  --gray-600: #666;
  --gray-900: #1a1a1a;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--off-white);
  line-height: 1.6;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

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

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.ticker {
  background: var(--red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 40s linear infinite;
}

.ticker-inner span { margin-right: 3rem; }
.ticker-inner span::before { content: "▸ "; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.1;
}

.logo span { color: var(--red); }

.logo-tagline {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-top: .15rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.nav-links a:hover { color: var(--red); }

.ad-leaderboard {
  background: var(--gray-100);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--gray-300);
  font-size: .75rem;
  color: var(--gray-600);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.grid-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

@media (max-width: 900px) {
  .grid-main { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
}

.hero-lead {
  background: var(--white);
  border-top: 4px solid var(--red);
  padding: 1.5rem;
}

.hero-lead h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: .75rem;
}

.hero-lead h2 a { color: var(--gray-900); }
.hero-lead h2 a:hover { color: var(--red); }

.hero-secondary { display: flex; flex-direction: column; gap: 1rem; }

.hero-card {
  background: var(--white);
  padding: 1rem;
  border-left: 3px solid var(--navy);
  flex: 1;
}

.hero-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.25;
}

.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  margin-bottom: .35rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  padding: 1.25rem;
  border-bottom: 2px solid var(--gray-100);
  transition: box-shadow .15s;
}

.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: .5rem;
}

.card h3 a { color: var(--gray-900); }
.card h3 a:hover { color: var(--red); }

.card .dek {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: .75rem;
}

.meta {
  font-size: .78rem;
  color: var(--gray-600);
}

.meta a { font-weight: 600; }

.sidebar-section {
  background: var(--white);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.sidebar-section h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  border-bottom: 2px solid var(--red);
  padding-bottom: .5rem;
  margin-bottom: 1rem;
}

.trending-list { list-style: none; }

.trending-list li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
}

.trending-list li:last-child { border-bottom: none; }

.trending-num {
  color: var(--red);
  font-weight: 800;
  margin-right: .4rem;
}

.author-strip {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.author-mini {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

.author-mini .name {
  font-weight: 700;
  font-size: .85rem;
}

.author-mini .beat {
  font-size: .75rem;
  color: var(--gray-600);
}

.ad-sidebar, .ad-in-article, .ad-footer {
  min-height: 250px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.ad-footer { min-height: 90px; margin-bottom: 0; }

.article-header {
  background: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.article-header .container { max-width: 780px; }

.article-header h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.15;
  margin: .75rem 0;
}

.article-dek {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.article-body {
  background: var(--white);
  padding: 2rem 0 3rem;
}

.article-body .container { max-width: 780px; }

.article-body p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.author-box {
  background: var(--off-white);
  border-left: 4px solid var(--red);
  padding: 1.25rem;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.author-box .author-avatar { width: 56px; height: 56px; font-size: 1.1rem; }
.author-box h4 { font-family: var(--font-serif); margin-bottom: .25rem; }
.author-box p { font-size: .9rem; color: var(--gray-600); margin: 0; }

.related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--gray-100);
}

.related h3 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 1.75rem; }
}

.related-card {
  background: var(--off-white);
  padding: 1rem;
}

.related-card h4 {
  font-family: var(--font-serif);
  font-size: .95rem;
  line-height: 1.3;
}

.author-profile {
  background: var(--white);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.author-profile .author-avatar { width: 80px; height: 80px; font-size: 1.5rem; }

.author-profile h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
}

.author-profile .beat-label {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .06em;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--red);
  padding-bottom: .5rem;
}

.site-footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  font-size: .85rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand .logo { font-size: 1.4rem; margin-bottom: .5rem; display: block; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: var(--gray-300); }
.footer-links a:hover { color: var(--white); }

.footer-disclaimer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--navy-light);
  padding-top: 1rem;
  font-size: .78rem;
  line-height: 1.5;
}
