/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ===== DESIGN TOKENS ===== */
:root {
  --navy:       #0d1b2a;
  --navy-mid:   #1a2d42;
  --navy-light: #253d56;
  --accent:     #c0392b;
  --accent-2:   #e74c3c;
  --blue:       #2563eb;
  --gold:       #f59e0b;
  --green:      #10b981;
  --text-dark:  #0d1117;
  --text-mid:   #374151;
  --text-muted: #6b7280;
  --border:     #e5e7eb;
  --bg-card:    #ffffff;
  --bg-section: #f0f4f8;
  --tag-tech:   #dbeafe;
  --tag-ai:     #ede9fe;
  --tag-fin:    #d1fae5;
  --tag-infra:  #fef3c7;
  --max-w:      1200px;
}

/* ===== LAYOUT UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }

/* ===== CATEGORY TAGS ===== */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1.4;
}
.tag-tech  { background: var(--tag-tech);  color: #1d4ed8; }
.tag-ai    { background: var(--tag-ai);    color: #6d28d9; }
.tag-fin   { background: var(--tag-fin);   color: #065f46; }
.tag-infra { background: var(--tag-infra); color: #92400e; }
.tag-start { background: #fce7f3; color: #9d174d; }
.tag-break { background: var(--accent); color: #fff; }
.tag-news  { background: #e5e7eb; color: #374151; }

/* ===== TIMESTAMP ===== */
.ts {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--navy);
}
.section-header h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-header .see-all {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-header .see-all:hover { text-decoration: underline; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy);
  color: #9ca3af;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--navy-light);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar a { color: #9ca3af; }
.topbar a:hover { color: #e5e7eb; }
.topbar-date { color: #6b7280; }
.topbar-sep { width: 1px; height: 12px; background: #374151; }
.topbar-pro { color: var(--gold) !important; font-weight: 600; }

/* ===== PRIMARY NAV ===== */
.primary-nav {
  background: var(--navy);
  padding: 0;
  border-bottom: 1px solid var(--navy-light);
}
.primary-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent) 0%, #e74c3c 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}
.logo-tagline {
  font-size: 9.5px;
  color: #9ca3af;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-search {
  display: flex;
  align-items: center;
  background: var(--navy-light);
  border-radius: 6px;
  padding: 6px 12px;
  gap: 8px;
}
.nav-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #e5e7eb;
  font-size: 13px;
  font-family: inherit;
  width: 160px;
}
.nav-search input::placeholder { color: #6b7280; }
.nav-search svg { color: #6b7280; flex-shrink: 0; }
.btn-subscribe {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
}
.btn-subscribe:hover { background: var(--accent-2); }

/* ===== CATEGORY NAV ===== */
.cat-nav {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--navy-light);
}
.cat-nav .container {
  display: flex;
  align-items: center;
  height: 42px;
  gap: 0;
  overflow-x: auto;
}
.cat-nav a {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #d1d5db;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  border-bottom: 3px solid transparent;
  letter-spacing: 0.01em;
}
.cat-nav a:hover { color: #fff; background: var(--navy-light); }
.cat-nav a.active { color: #fff; border-bottom-color: var(--accent); }
.cat-nav-live { margin-left: auto !important; color: var(--gold) !important; }

/* ===== BREAKING NEWS ===== */
.breaking-bar {
  background: var(--accent);
  padding: 0;
}
.breaking-bar .container {
  display: flex;
  align-items: center;
  height: 36px;
}
.breaking-label {
  background: #fff;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 16px;
  flex-shrink: 0;
}
.breaking-ticker {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}
.breaking-item {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breaking-dot {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  flex-shrink: 0;
}
.breaking-new {
  background: rgba(255,255,255,0.2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  color: #fff;
}

/* ===== TOP STORIES ===== */
.top-stories {
  padding: 28px 0 24px;
  background: #fff;
}
.top-stories-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

/* Hero card */
.hero-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.hero-card:hover .hero-title { text-decoration: underline; }
.hero-img {
  width: 100%;
  height: 360px;
  position: relative;
  overflow: hidden;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img--placeholder {
  background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 60%, #1a2d42 100%);
  width: 100%;
  height: 100%;
}
.hero-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(13,27,42,0.97) 0%, rgba(13,27,42,0) 100%);
}
.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
}
.hero-content .tag { margin-bottom: 10px; }
.hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #9ca3af;
}
.hero-meta .author { font-weight: 600; color: #d1d5db; }

/* Side cards */
.side-cards { display: flex; flex-direction: column; gap: 0; }
.side-card {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.side-card:last-child { border-bottom: none; }
.side-card:hover .side-card-title { color: var(--accent); }
.side-card-img {
  width: 90px;
  height: 72px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.side-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.side-card-img--placeholder {
  background: linear-gradient(135deg, #1e3a5f 0%, #253d56 100%);
  width: 100%;
  height: 100%;
}
.side-card-body { flex: 1; min-width: 0; }
.side-card-body .tag { margin-bottom: 6px; }
.side-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 6px;
  transition: color 0.15s;
}

/* ===== CONTENT AREA + SIDEBAR ===== */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 28px 0 32px;
}

/* ===== ARTICLE CARD ===== */
.article-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.15s;
  border: 1px solid var(--border);
  display: block;
}
.article-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.article-card:hover .article-title { color: var(--accent); }
.article-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-img--placeholder {
  width: 100%;
  height: 100%;
}
.article-card-body { padding: 16px; }
.article-card-body .tag { margin-bottom: 8px; }
.article-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: color 0.15s;
}
.article-excerpt {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.article-meta .ts { font-size: 11px; }

/* Placeholder image fills */
.img-navy { background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%); }
.img-purple { background: linear-gradient(135deg, #4c1d95 0%, #1e1b4b 100%); }
.img-green { background: linear-gradient(135deg, #064e3b 0%, #065f46 100%); }
.img-gold { background: linear-gradient(135deg, #78350f 0%, #92400e 100%); }
.img-gray { background: linear-gradient(135deg, #374151 0%, #1f2937 100%); }
.img-blue { background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%); }
.img-red { background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%); }
.img-teal { background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%); }

/* ===== SECTION BLOCKS ===== */
.section-block { margin-bottom: 32px; }

/* ===== SIDEBAR ===== */
.sidebar-widget {
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  overflow: hidden;
}
.sidebar-widget-header {
  padding: 12px 16px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Most Read */
.most-read-list { padding: 8px 0; }
.most-read-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.most-read-item:last-child { border-bottom: none; }
.most-read-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  min-width: 24px;
  flex-shrink: 0;
}
.most-read-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-dark);
  transition: color 0.15s;
}
.most-read-item:hover .most-read-title { color: var(--accent); }

/* Markets Widget */
.market-list { padding: 4px 0; }
.market-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.market-item:last-child { border-bottom: none; }
.market-name { font-weight: 600; color: var(--text-mid); }
.market-val { font-weight: 700; color: var(--text-dark); }
.market-chg { font-weight: 600; font-size: 11px; padding: 2px 6px; border-radius: 3px; }
.chg-up { background: #d1fae5; color: #065f46; }
.chg-dn { background: #fee2e2; color: #991b1b; }

/* Newsletter sidebar */
.newsletter-side { padding: 16px; text-align: center; }
.newsletter-side h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.newsletter-side p { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.4; }
.nl-input-row { display: flex; gap: 0; }
.nl-input-row input {
  flex: 1;
  padding: 8px 12px;
  font-size: 12px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 5px 0 0 5px;
  outline: none;
  color: var(--text-dark);
}
.nl-input-row input:focus { border-color: var(--accent); }
.nl-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}
.nl-btn:hover { background: var(--accent-2); }

/* Trending tags sidebar */
.trending-tags {
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trending-tags .tag {
  cursor: pointer;
  font-size: 11px;
  padding: 4px 10px;
}

/* ===== SECTIONS BACKGROUND ===== */
.bg-section { background: var(--bg-section); padding: 28px 0; }

/* ===== FULL-WIDTH NEWSLETTER ===== */
.newsletter-full {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 52px 0;
  text-align: center;
}
.newsletter-full h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.newsletter-full p {
  font-size: 15px;
  color: #9ca3af;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  font-size: 14px;
  font-family: inherit;
  border: 2px solid var(--navy-light);
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  outline: none;
}
.newsletter-form input::placeholder { color: #6b7280; }
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  letter-spacing: 0.02em;
  font-family: inherit;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--accent-2); }
.nl-disclaimer {
  margin-top: 14px;
  font-size: 11px;
  color: #4b5563;
}

/* ===== MORE STORIES GRID ===== */
.more-stories { padding: 28px 0 36px; background: #fff; }
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.more-card {
  cursor: pointer;
  border-bottom: 2px solid var(--border);
  padding-bottom: 14px;
  display: block;
}
.more-card:hover .more-title { color: var(--accent); }
.more-card-img {
  width: 100%;
  height: 120px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}
.more-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.more-card-img--placeholder {
  width: 100%;
  height: 100%;
}
.more-card .tag { margin-bottom: 7px; }
.more-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 6px;
  transition: color 0.15s;
}
.more-ts { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: #9ca3af;
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-light);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo .logo-name { font-size: 20px; }
.footer-logo .logo-tagline { font-size: 9px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 16px;
  max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 32px; height: 32px;
  background: var(--navy-light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: #9ca3af;
  cursor: pointer;
  transition: background 0.15s;
}
.social-btn:hover { background: var(--navy-mid); color: #fff; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d1d5db;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 13px; color: #6b7280; transition: color 0.15s; }
.footer-col ul li a:hover { color: #d1d5db; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 12px;
  color: #4b5563;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #4b5563; }
.footer-bottom-links a:hover { color: #9ca3af; }

/* ===== LIVE BADGE ===== */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.live-dot::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== OPINION CARD ===== */
.opinion-strip {
  background: var(--bg-section);
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}
.opinion-strip:hover .opinion-title { color: var(--accent); }
.opinion-label { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; margin-bottom: 5px; }
.opinion-title { font-size: 13px; font-weight: 700; color: var(--text-dark); line-height: 1.35; transition: color 0.15s; }
.opinion-author { font-size: 11px; color: var(--text-muted); margin-top: 5px; }

/* ===== MISC ===== */
.badge-exclusive {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
}

/* ===== AI & ML SECTION BACKGROUND ===== */
.section-block--ai {
  background: var(--bg-section);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 28px;
}

/* AI section stacked cards */
.ai-stacked { display: flex; flex-direction: column; gap: 12px; }
.ai-stacked .article-card { flex: 1; }

/* ===== ARTICLE / POST PAGE STYLES ===== */
.article-header {
  background: #fff;
  padding: 32px 0 0;
}
.article-header__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { margin: 0 6px; color: var(--border); }
.article-header__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--tag-tech);
  color: #1d4ed8;
  margin-bottom: 12px;
}
.article-header__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.article-header__byline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.article-header__byline-sep { margin: 0 6px; }
.article-header__divider {
  height: 1px;
  background: var(--border);
  margin-top: 20px;
}

.article-hero {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 20px;
}
.article-hero__image {
  border-radius: 8px;
  width: 100%;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
}
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 16px;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 12px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol {
  margin: 16px 0;
  padding-left: 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--bg-section);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--text-mid);
}
.article-body a { color: var(--accent); }
.article-body a:hover { text-decoration: underline; }
.article-body code {
  background: var(--bg-section);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
}
.article-body pre {
  background: var(--navy);
  color: #e5e7eb;
  padding: 16px 20px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 24px 0;
}
.article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.article-body img {
  border-radius: 6px;
  margin: 24px 0;
}
.article-body hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* Author bio */
.author-bio {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-section);
  border-radius: 8px;
  margin-top: 32px;
}
.author-bio__avatar {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.author-bio__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.author-bio__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Related articles */
.related-articles {
  padding: 32px 0 48px;
  background: #fff;
}
.related-articles .section-header {
  border-bottom: 3px solid var(--navy);
}
.section-header__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* Card grid used in related articles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .top-stories-grid {
    grid-template-columns: 1fr;
  }
  .main-layout {
    grid-template-columns: 1fr;
  }
  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar { display: none; }
}

@media (max-width: 768px) {
  .hero-img { height: 260px; }
  .hero-title { font-size: 20px; }
  .top-stories-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-search { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .cat-nav .container { gap: 0; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 2px solid var(--navy-light); border-radius: 8px; margin-bottom: 8px; }
  .newsletter-form button { border-radius: 8px; }
  .article-header__title { font-size: 24px; }
  .breaking-ticker { overflow: hidden; }
  .ai-stacked { gap: 8px; }
}

@media (max-width: 480px) {
  .primary-nav .container { height: 52px; }
  .logo-name { font-size: 18px; }
  .logo-tagline { font-size: 8px; }
  .hero-img { height: 200px; }
  .hero-title { font-size: 18px; }
  .hero-content { padding: 16px; }
}

/* ===== PODCAST ===== */
:root { --teal: #0d9488; --teal-dark: #0f766e; }

.cat-nav-podcast { color: var(--teal-dark) !important; font-weight: 600; }
.cat-nav-podcast:hover { color: var(--teal) !important; }

/* Home section card */
.podcast-home-card {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 24px;
  align-items: center;
}
.phc-ep-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.phc-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.phc-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; }
.phc-desc  { font-size: 14px; color: var(--text-mid); margin-bottom: 12px; line-height: 1.5; }
.phc-guest { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.phc-guest-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.phc-right { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.phc-audio { width: 100%; border-radius: 8px; }
.phc-link { font-size: 13px; color: var(--teal-dark); font-weight: 600; }
.phc-link:hover { text-decoration: underline; }

/* Podcast page — hero */
.podcast-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f3d3a 100%);
  padding: 56px 0 48px;
  color: #fff;
}
.podcast-hero-inner { max-width: 680px; }
.podcast-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(13,148,136,.25); color: #5eead4;
  border: 1px solid rgba(13,148,136,.4);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 16px;
}
.podcast-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.podcast-hero-desc { font-size: 16px; color: #cbd5e1; line-height: 1.6; margin-bottom: 16px; }
.podcast-meta-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #94a3b8; }
.podcast-dot { color: #475569; }

.podcast-subscribe { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.subscribe-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 6px;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.15);
  transition: background .15s;
}
.subscribe-btn:hover { background: rgba(255,255,255,.1); }
.subscribe-rss   { color: #f59e0b; border-color: rgba(245,158,11,.4); }
.subscribe-apple { color: #fff; background: rgba(255,255,255,.08); }

/* Podcast page — body */
.podcast-body { padding: 40px 0 60px; }

.podcast-featured-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 12px;
}
.podcast-featured-card {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 40px;
  align-items: start;
}
.pfc-ep { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.pfc-title { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.pfc-desc  { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.pfc-guest { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pfc-guest-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.pfc-guest strong { display: block; font-size: 14px; color: var(--text-dark); }
.pfc-guest span { font-size: 12px; color: var(--text-muted); }
.pfc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-podcast { background: #ccfbf1; color: #0f766e; }

.pfc-player { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 8px; }
.pfc-player-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.pfc-audio { width: 100%; border-radius: 8px; }
.pfc-download {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--teal-dark); font-weight: 600;
}
.pfc-download:hover { text-decoration: underline; }

/* All episodes list */
.podcast-all-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.podcast-list { display: flex; flex-direction: column; gap: 0; }
.podcast-ep-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.per-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-section); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0; margin-top: 4px;
}
.per-meta { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }
.per-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.per-desc  { font-size: 13px; color: var(--text-mid); line-height: 1.5; margin-bottom: 6px; }
.per-guest { font-size: 12px; color: var(--text-muted); }
.per-audio { display: flex; align-items: flex-start; padding-top: 8px; }
.per-audio-ctrl { width: 220px; }

@media (max-width: 768px) {
  .podcast-home-card { grid-template-columns: 1fr; }
  .podcast-featured-card { grid-template-columns: 1fr; }
  .podcast-ep-row { grid-template-columns: 40px 1fr; }
  .per-audio { grid-column: 1 / -1; }
  .per-audio-ctrl { width: 100%; }
  .podcast-hero h1 { font-size: 26px; }
}
