﻿:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #555;
  --accent: #b91c1c;
  --accent-hover: #991b1b;
  --dark-bg: #111111;
  --border: #ddd;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
}

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

body {
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4, blockquote { font-family: "Libre Baskerville", Georgia, serif; }

.container { width: min(1080px, 94%); margin: 0 auto; }

/* HEADER */
.site-header { border-bottom: 2px solid var(--text); padding-bottom: 0; }
.top-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .85rem;
}
.date-line { color: var(--muted); }
.top-links { display: flex; gap: 1rem; }
.top-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.top-links a:hover { color: var(--accent); }

.masthead { text-align: center; padding: 1.2rem 0 .8rem; }
.site-name { font-size: 2.8rem; letter-spacing: .04em; margin: 0; }
.site-tagline { color: var(--muted); font-family: "Source Sans 3", sans-serif; font-size: .95rem; margin-top: .15rem; }

.section-nav {
  display: flex; justify-content: center; gap: 1.6rem;
  padding: .65rem 0; border-top: 1px solid var(--border);
  font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: .92rem;
}
.section-nav a { color: var(--text); text-decoration: none; }
.section-nav a:hover { color: var(--accent); }

/* HERO STORY */
.hero-story { padding: 2rem 0; }
.hero-story-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.lead-story img {
  width: 100%; height: 380px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: .8rem;
}
.category {
  display: inline-block; font-family: "Source Sans 3", sans-serif;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent); margin-bottom: .3rem;
}
.lead-story h2 { font-size: 1.6rem; line-height: 1.25; margin-bottom: .5rem; }
.lead-story p { color: var(--muted); margin-bottom: .4rem; }
.meta { font-size: .82rem; color: #888; font-family: "Source Sans 3", sans-serif; }
.side-stories { display: grid; gap: 1.2rem; align-content: start; }
.side-stories article { padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.side-stories article:last-child { border-bottom: none; }
.side-stories h3 { font-size: 1.05rem; line-height: 1.3; margin: .2rem 0 .3rem; }

/* MORE COVERAGE */
.section { padding: 2.5rem 0; }
.section-heading { font-size: 1.4rem; margin-bottom: 1.2rem; padding-bottom: .4rem; border-bottom: 2px solid var(--text); display: inline-block; }
.section-heading.light { color: #fff; border-color: #fff; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.article-card img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: .6rem;
}
.article-card h3 { font-size: 1rem; line-height: 1.3; margin: .2rem 0 .3rem; }

/* DARK SECTION */
.section-dark { background: var(--dark-bg); color: #ccc; }
.analysis-content { max-width: 640px; text-align: center; margin: 0 auto; }
.analysis-content p { margin: .8rem 0 1.2rem; color: #aaa; }
.btn {
  display: inline-flex; text-decoration: none; border: none;
  border-radius: var(--radius); background: var(--accent); color: #fff;
  padding: .68rem 1.3rem; font-weight: 700; font-size: .95rem; cursor: pointer;
  font-family: "Source Sans 3", sans-serif; transition: background .15s;
}
.btn:hover { background: var(--accent-hover); }

/* REGISTER */
.register-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.register-info h2 { margin-bottom: .4rem; }
.register-info p { color: var(--muted); margin-bottom: 1rem; }
.perks { list-style: none; display: grid; gap: .35rem; font-family: "Source Sans 3", sans-serif; }
.perks li::before { content: "— "; color: var(--accent); font-weight: 700; }
.register-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .55rem;
  box-shadow: var(--shadow);
}
.register-form label { font-size: .88rem; font-weight: 600; font-family: "Source Sans 3", sans-serif; }
.register-form input, .register-form select {
  width: 100%; border: 1px solid var(--border); border-radius: 6px;
  padding: .62rem .7rem; font-size: .95rem;
}
.register-form button {
  margin-top: .4rem; border: 0; border-radius: 6px;
  background: var(--accent); color: #fff; padding: .68rem; font-weight: 700; cursor: pointer;
  transition: background .15s;
}
.register-form button:hover { background: var(--accent-hover); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.form-note a { color: var(--accent); }

/* FOOTER */
.site-footer { background: var(--dark-bg); color: #777; padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-family: "Libre Baskerville", serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.footer-grid p { font-size: .9rem; }
.footer-grid h4 { color: #ccc; margin-bottom: .5rem; font-family: "Source Sans 3", sans-serif; font-size: .9rem; }
.footer-grid a { display: block; color: #777; text-decoration: none; font-size: .88rem; margin-bottom: .25rem; font-family: "Source Sans 3", sans-serif; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #222; margin-top: 2rem; padding-top: 1rem; }
.footer-bottom p { font-size: .82rem; }

@media (max-width: 860px) {
  .hero-story-grid, .article-grid, .register-layout, .footer-grid { grid-template-columns: 1fr; }
  .section-nav { flex-wrap: wrap; gap: .8rem; }
  .lead-story img { height: 240px; }
  .article-card img { height: 180px; }
}
