:root {
  --ink: #1a1a1a;
  --charcoal: #2e2b2a;
  --gold: #efc700;
  --orange: #ffa200;
  --rust: #b36a00;
  --paper: #f7f6f3;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e6e3db;

  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --wrap: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.nav {
  background: var(--ink);
  position: relative;
  z-index: 20;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-logo img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

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

.nav-subscribe {
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-more { position: relative; }

.nav-more-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  padding: 8px 0;
  min-width: 160px;
  list-style: none;
  z-index: 30;
}

.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu { display: block; }

.nav-more-menu li a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
  font-size: 12px;
}

.nav-more-menu li a:hover { background: var(--paper); color: var(--ink); }

/* ---------- Trending ticker ---------- */

.ticker {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
}

.ticker .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  white-space: nowrap;
  overflow-x: auto;
}

.ticker-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ticker-items {
  display: flex;
  gap: 28px;
}

.ticker-items a {
  font-size: 13px;
  font-weight: 600;
}

.ticker-items a:hover { text-decoration: underline; }

/* ---------- Hero grid (latest across categories) ---------- */

.hero-grid {
  padding: 40px 0;
}

.hero-grid-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}

.hero-lead {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.hero-lead-content {
  position: relative;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  width: 100%;
}

.hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
}

.hero-card-content {
  position: relative;
  padding: 16px;
  color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  width: 100%;
}

.tag-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  margin-bottom: 8px;
}

.tag-pill.region { background: var(--white); color: var(--ink); }

.hero-lead-content h2 { font-size: 30px; color: var(--white); margin-bottom: 6px; }
.hero-card-content h3 { font-size: 16px; color: var(--white); margin-bottom: 0; }

.hero-meta { font-size: 12px; color: rgba(255,255,255,0.75); }

/* ---------- Category preview rows ---------- */

.category-row { padding: 36px 0; border-top: 1px solid var(--border); }

.category-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.category-row-head h2 {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.category-row-head .view-all {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.category-row-head .view-all:hover { color: var(--ink); }

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.article-card-thumb {
  aspect-ratio: 16 / 9;
  background: var(--ink) center / cover no-repeat;
}

.article-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.article-card h3 { font-size: 16px; margin-bottom: 8px; }

.article-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
  flex: 1;
}

.article-card-meta {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.empty-state {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Newsletter band ---------- */

.newsletter-band {
  background: var(--ink);
  color: var(--white);
  padding: 48px 0;
  margin-top: 20px;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter-inner h2 { color: var(--white); font-size: 24px; margin-bottom: 4px; }
.newsletter-inner p { color: rgba(255,255,255,0.7); margin: 0; font-size: 14px; }

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  min-width: 260px;
  font-family: var(--font-body);
}

.newsletter-form button {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.newsletter-note {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  width: 100%;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo img { height: 30px; }

.footer-social { display: flex; gap: 14px; }

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.footer-social a:hover { background: var(--gold); color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover { color: var(--white); }

/* ---------- Page header (category / article) ---------- */

.page-header {
  background: var(--ink);
  color: var(--white);
  padding: 48px 0 32px;
}

.page-header h1 { color: var(--white); font-size: 32px; }
.page-header p { color: rgba(255,255,255,0.7); max-width: 640px; }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Article body ---------- */

.article-body { padding: 40px 0 60px; }
.article-body .wrap { max-width: 760px; }
.article-body h2 { font-size: 24px; margin-top: 1.4em; }
.article-body p { margin: 0 0 1.2em; font-size: 17px; }
.article-body img { border-radius: 6px; margin: 1.2em 0; }
.article-body a { color: var(--rust); text-decoration: underline; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  margin: 1.5em 0;
  padding: 0.4em 1.2em;
  font-style: italic;
  color: var(--text-muted);
}

/* ---------- Listing pages ---------- */

.listing { padding: 40px 0 60px; }

/* ---------- Podcasts page ---------- */

.podcast-embed {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: none;
  width: 100%;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-grid-inner { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav .wrap { flex-wrap: wrap; }
  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 14px;
  }
  .nav-links li { flex-shrink: 0; }
  .nav-links a { white-space: nowrap; }
  .nav-more-menu { position: static; box-shadow: none; padding-left: 0; margin-top: 6px; }
  .nav-more:hover .nav-more-menu, .nav-more:focus-within .nav-more-menu { display: flex; gap: 14px; }
  .hero-side { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
}
