:root {
  --navy-dark: #0a1f3d;
  --navy: #123a6b;
  --blue: #1e5fa8;
  --red: #e21e2e;
  --white: #ffffff;
  --gray: #c9d6e3;
  --bg: #f4f6f9;
  --text: #1a1a1a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Arial', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { text-decoration: none; }

header.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e7ebf1;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site-header .brand img {
  height: 34px;
  max-height: 34px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

header.site-header nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

header.site-header nav a {
  color: #4a5a6d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

header.site-header nav a:hover,
header.site-header nav a.active { color: var(--red); }

.edition-switcher {
  background: #eef2f7;
  border-bottom: 1px solid #dde4ec;
  padding: 8px 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.edition-switcher .edition-label { color: #8892a0; font-weight: bold; letter-spacing: 0.4px; text-transform: uppercase; font-size: 10.5px; }
.edition-switcher a {
  color: #4a5a6d; font-weight: bold; padding: 3px 11px; border-radius: 12px;
}
.edition-switcher a:hover { color: var(--navy-dark); }
.edition-switcher a.active { background: var(--navy-dark); color: white; }

.tagline-bar {
  background: var(--navy-dark);
  color: var(--gray);
  text-align: center;
  padding: 7px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 70px;
}

main > h1.page-title {
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin: 0 0 20px;
}

.beat-tag {
  display: inline-block;
  color: white;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  margin-right: 6px;
}
.beat-tag.beat-color { background: var(--blue); }
.status-developing { background: var(--red); }
.status-confirmed { background: var(--blue); }
.status-analysis { background: var(--navy); }
.status-explainer { background: #2f8f4e; }

.hero-card {
  display: block;
  background: var(--navy-dark);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 380px;
  margin-bottom: 30px;
}
.hero-card img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
}
.hero-card .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,31,61,0.95) 15%, rgba(10,31,61,0.1) 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; color: white;
}
.hero-card h2 { font-size: 30px; line-height: 1.3; margin: 12px 0 10px; max-width: 700px; }
.hero-card h2 a { color: white; }
.hero-card p.excerpt { color: var(--gray); font-size: 15px; max-width: 650px; margin: 0; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 10px;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .story-grid { grid-template-columns: 1fr; } }

.story-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(10, 31, 61, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.story-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(10, 31, 61, 0.16); }

.story-card img.thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

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

.story-card h3 {
  margin: 8px 0 8px;
  font-size: 16px;
  line-height: 1.35;
}
.story-card h3 a { color: var(--navy-dark); }
.story-card h3 a:hover { color: var(--red); }

.story-card p.excerpt { color: #4a5a6d; font-size: 13.5px; margin: 0 0 10px; flex: 1; }

.story-meta { color: #8892a0; font-size: 11.5px; margin-top: auto; }

section.section-block { margin-bottom: 44px; }
section.section-block h2.section-heading {
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy-dark);
  margin: 0 0 16px; display: flex; align-items: center; justify-content: space-between;
}

article.full-story h1 {
  color: var(--navy-dark);
  font-size: 30px;
  line-height: 1.25;
  margin: 14px 0 8px;
}
article.full-story img.hero-full {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin: 18px 0;
}
article.full-story p { font-size: 17px; line-height: 1.75; color: #222; }

.timeline-thread {
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(10, 31, 61, 0.1);
  padding: 22px 26px;
  margin-bottom: 24px;
}
.timeline-thread h3 { font-size: 17px; color: var(--navy-dark); margin: 0 0 14px; }
.timeline-row { display: flex; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.timeline-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.timeline-row .ts { font-size: 12px; color: #8892a0; width: 150px; flex-shrink: 0; }
.timeline-row a { color: var(--navy-dark); font-size: 14px; }
.timeline-row a:hover { color: var(--red); }

footer.site-footer {
  background: var(--navy-dark);
  color: var(--gray);
  text-align: center;
  padding: 32px 20px;
  font-size: 13px;
}
footer.site-footer img { height: 24px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
footer.site-footer .handle { color: var(--red); font-weight: bold; }

.empty-state { color: #8892a0; font-size: 15px; padding: 40px 0; text-align: center; }

/* ---------- 60-Second Brief ---------- */
.brief-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .brief-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .brief-grid { grid-template-columns: 1fr; } }

.brief-card {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-dark);
  aspect-ratio: 9 / 16;
  box-shadow: 0 1px 6px rgba(10, 31, 61, 0.15);
  transition: transform 0.15s ease;
}
.brief-card:hover { transform: translateY(-3px); }
.brief-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85;
}
.brief-card .brief-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,31,61,0.92) 10%, rgba(10,31,61,0.05) 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px; color: white;
}
.brief-card .play-button {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
}
.brief-card .play-button::after {
  content: ""; width: 0; height: 0;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  border-left: 13px solid var(--navy-dark); margin-left: 3px;
}
.brief-card .brief-headline { font-size: 13px; line-height: 1.3; font-weight: bold; margin: 0; }
.brief-card .brief-duration {
  position: absolute; top: 10px; right: 10px; background: rgba(10,31,61,0.75);
  color: white; font-size: 10px; padding: 2px 7px; border-radius: 3px; letter-spacing: 0.3px;
}

/* ---------- Africa & Nigeria Desk ---------- */
.africa-desk {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0d2a4f 100%);
  border-radius: 12px;
  padding: 30px 32px;
  color: white;
}
.africa-desk .section-heading { color: white !important; }
.africa-desk .section-heading .desk-badge {
  background: var(--red); color: white; font-size: 10px; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 3px; text-transform: uppercase;
}
.africa-desk .story-grid { margin-bottom: 0; }
.africa-desk .hero-card { margin-bottom: 20px; }
.africa-desk .story-card { background: rgba(255,255,255,0.06); box-shadow: none; }
.africa-desk .story-card h3 a { color: white; }
.africa-desk .story-card h3 a:hover { color: var(--red); }
.africa-desk .story-card p.excerpt { color: #c9d6e3; }
.africa-desk .story-card .story-meta { color: #8fa3bd; }
.africa-desk .empty-state { color: #c9d6e3; }
.africa-desk a.see-all { color: var(--gray); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.africa-desk a.see-all:hover { color: white; }

/* ---------- YouTube video feed ---------- */
.video-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .video-feed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .video-feed-grid { grid-template-columns: 1fr; } }
.video-feed-grid iframe {
  width: 100%; aspect-ratio: 16 / 9; border: none; border-radius: 10px; display: block;
}
.video-feed-placeholder {
  background: white; border-radius: 10px; box-shadow: 0 1px 6px rgba(10,31,61,0.1);
  padding: 46px 24px; text-align: center; color: #8892a0; font-size: 14px;
}
.video-feed-placeholder .yt-icon {
  width: 46px; height: 32px; margin: 0 auto 14px; background: var(--red); border-radius: 8px;
  position: relative;
}
.video-feed-placeholder .yt-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-45%, -50%);
  width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 11px solid white;
}
.video-feed-placeholder a { color: var(--blue); font-weight: bold; }

/* ---------- Around the Web (curated RSS, excerpt + link-out) ---------- */
.web-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .web-link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .web-link-grid { grid-template-columns: 1fr; } }
.web-link-card {
  background: white; border-radius: 10px; padding: 16px 18px;
  box-shadow: 0 1px 6px rgba(10, 31, 61, 0.1);
}
.web-link-source {
  font-size: 10.5px; font-weight: bold; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 6px;
}
.web-link-card h3 { font-size: 15px; line-height: 1.35; margin: 0 0 8px; }
.web-link-card h3 a { color: var(--navy-dark); }
.web-link-card h3 a:hover { color: var(--red); }
.web-link-card p.excerpt { color: #4a5a6d; font-size: 13px; margin: 0 0 10px; }
.web-link-readmore { font-size: 11.5px; font-weight: bold; color: var(--blue); }
.web-link-readmore:hover { color: var(--red); }

/* ---------- Newsletter signup ---------- */
.newsletter-block {
  background: var(--navy-dark);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  color: white;
}
.newsletter-block h2 {
  font-size: 22px; margin: 0 0 8px; color: white;
}
.newsletter-block p {
  color: var(--gray); font-size: 14px; margin: 0 0 22px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.newsletter-form {
  display: flex; gap: 10px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1; min-width: 220px; padding: 12px 16px; border-radius: 6px; border: none; font-size: 14px;
}
.newsletter-form button {
  background: var(--red); color: white; border: none; font-weight: bold; letter-spacing: 0.5px;
  text-transform: uppercase; font-size: 12px; padding: 12px 22px; border-radius: 6px; cursor: pointer;
}
.newsletter-form button:hover { background: #c71826; }
.newsletter-note { font-size: 11px; color: #8fa3bd; margin-top: 12px; }
