/* =====================================================
   ANish News Network — CNN-Identical Theme
   assets/css/main.css
   ===================================================== */

/* ── Google Fonts loaded via functions.php ──
   CNN uses: CNN Sans (proprietary) → we use:
   Display: "DM Serif Display"  (editorial headlines)
   Body:    "DM Sans"           (clean UI text)
   Mono/labels: "Oswald"        (section labels, nav)
*/

:root {
  --cnn-red:       #cc0000;
  --cnn-red-hover: #a80000;
  --cnn-black:     #0b0b0b;
  --cnn-dark:      #1a1a1a;
  --cnn-charcoal:  #2a2a2a;
  --cnn-mid:       #444;
  --cnn-muted:     #767676;
  --cnn-border:    #e2e2e2;
  --cnn-bg:        #f7f7f5;
  --cnn-white:     #ffffff;
  --cnn-accent:    #f0a500;
  --cnn-blue:      #0066cc;
  --max-w:         1280px;
  --font-display:  'DM Serif Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --font-label:    'Oswald', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cnn-bg);
  color: var(--cnn-black);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }

/* ════════════════════════════════════════
   TOP UTILITY BAR  (CNN has a slim dark bar)
   ════════════════════════════════════════ */
.top-utility-bar {
  background: var(--cnn-black);
  color: #aaa;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #2a2a2a;
}
.top-utility-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top-utility-left { display: flex; align-items: center; gap: 18px; }
.top-utility-left a { color: #999; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; transition: color .2s; }
.top-utility-left a:hover { color: #fff; }
.top-utility-right { display: flex; align-items: center; gap: 14px; }
.top-utility-right a { color: #999; font-size: 11px; text-transform: uppercase; transition: color .2s; }
.top-utility-right a:hover { color: #fff; }
.util-divider { width: 1px; height: 12px; background: #333; }
.util-live {
  display: flex; align-items: center; gap: 6px;
  color: var(--cnn-red) !important;
  font-weight: 600;
}
.util-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cnn-red);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ════════════════════════════════════════
   BREAKING NEWS TICKER
   ════════════════════════════════════════ */
.breaking-ticker {
  background: var(--cnn-red);
  display: flex;
  align-items: center;
  height: 36px;
  overflow: hidden;
  position: relative;
}
.breaking-label {
  background: var(--cnn-black);
  color: #fff;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  white-space: nowrap;
  border-right: 2px solid var(--cnn-red);
}
.breaking-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cnn-red); animation: pulse 1.4s infinite; }
.ticker-scroll-wrap { flex: 1; overflow: hidden; height: 100%; position: relative; }
.ticker-scroll {
  display: flex;
  white-space: nowrap;
  height: 100%;
  align-items: center;
  animation: ticker-move 55s linear infinite;
}
.ticker-scroll:hover { animation-play-state: paused; }
.ticker-item {
  color: #fff;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0 52px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-item::before {
  content: "▸";
  font-size: 9px;
  opacity: 0.7;
}
@keyframes ticker-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════════════════════════
   MAIN HEADER
   ════════════════════════════════════════ */
#site-header {
  background: var(--cnn-white);
  border-bottom: 3px solid var(--cnn-red);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-pill {
  background: var(--cnn-red);
  color: #fff;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 3px;
  line-height: 1;
  text-transform: uppercase;
}
.logo-network-name {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--cnn-mid);
  line-height: 1.2;
  max-width: 120px;
}
.logo-network-name strong { display: block; color: var(--cnn-black); font-size: 15px; }
/* Search */
.header-search {
  flex: 1;
  max-width: 380px;
  position: relative;
}
.header-search form { display: flex; }
.header-search input {
  width: 100%;
  border: 1.5px solid var(--cnn-border);
  border-radius: 24px;
  padding: 9px 42px 9px 18px;
  font-size: 13px;
  font-family: var(--font-body);
  background: var(--cnn-bg);
  color: var(--cnn-black);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.header-search input:focus {
  border-color: var(--cnn-red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}
.header-search button {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--cnn-muted);
  padding: 0;
  display: flex;
}
.header-search button:hover { color: var(--cnn-red); }
/* Header right */
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-date-block {
  text-align: right;
  font-size: 11px;
  color: var(--cnn-muted);
  line-height: 1.4;
  font-family: var(--font-label);
  letter-spacing: 0.04em;
}
.header-date-block .hd-day { font-size: 14px; color: var(--cnn-black); font-weight: 500; }
.btn-subscribe {
  background: var(--cnn-red);
  color: #fff;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
  border: none;
  transition: background .2s;
  white-space: nowrap;
}
.btn-subscribe:hover { background: var(--cnn-red-hover); color: #fff; }

/* ════════════════════════════════════════
   PRIMARY NAVIGATION
   ════════════════════════════════════════ */
#primary-nav {
  background: var(--cnn-dark);
  position: sticky;
  top: 68px;
  z-index: 199;
  border-bottom: 1px solid #333;
}
.primary-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.primary-nav-inner::-webkit-scrollbar { display: none; }

/* WP nav menu */
#main-menu { list-style: none; display: flex; align-items: center; }
#main-menu li { position: relative; }
#main-menu li a {
  display: block;
  color: #c8c8c8;
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 16px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
#main-menu li a:hover,
#main-menu li.current-menu-item > a { color: #fff; border-bottom-color: var(--cnn-red); }
#main-menu li.menu-highlight > a { color: var(--cnn-accent); }

.nav-live-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cnn-accent) !important;
  border-bottom-color: var(--cnn-accent) !important;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 0 14px 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cnn-accent);
  animation: pulse 1.4s infinite;
}

/* Fallback nav (no menu assigned) */
.fallback-nav { list-style: none; display: flex; }
.fallback-nav li a {
  display: block;
  color: #c8c8c8;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 16px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.fallback-nav li a:hover { color: #fff; border-bottom-color: var(--cnn-red); }

/* ════════════════════════════════════════
   PAGE WRAPPER
   ════════════════════════════════════════ */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* Ad strip */
.ad-strip {
  border: 1px dashed var(--cnn-border);
  border-radius: 3px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: #fff;
}

/* ════════════════════════════════════════
   HERO GRID  (CNN-style: 1 big + 2 medium + ticker strip)
   ════════════════════════════════════════ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  grid-template-rows: auto auto;
  gap: 3px;
  margin-bottom: 32px;
  border-radius: 4px;
  overflow: hidden;
}
/* Big story */
.hero-big {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: var(--cnn-dark);
  min-height: 380px;
}
.hero-big img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity .4s, transform .6s;
}
.hero-big:hover img { opacity: 1; transform: scale(1.02); }
.hero-big-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  padding: 48px 22px 22px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cnn-red);
  color: #fff;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
}
.hero-byline { color: rgba(255,255,255,0.6); font-size: 12px; }

/* Medium story tile */
.hero-med {
  position: relative;
  overflow: hidden;
  background: var(--cnn-dark);
  min-height: 190px;
}
.hero-med img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity .3s, transform .5s;
}
.hero-med:hover img { opacity: 1; transform: scale(1.03); }
.hero-med-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
  padding: 32px 16px 14px;
}
.hero-med .hero-eyebrow { font-size: 9px; padding: 2px 8px; margin-bottom: 7px; }
.hero-med-title {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.4vw, 18px);
  color: #fff;
  line-height: 1.3;
}

/* Sidebar list panel */
.hero-sidebar-panel {
  background: var(--cnn-white);
  border-left: 3px solid var(--cnn-red);
  display: flex;
  flex-direction: column;
  grid-row: 1 / 3;
}
.hero-sidebar-header {
  background: var(--cnn-black);
  color: #fff;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.hero-sidebar-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--cnn-border);
  transition: background .2s;
  align-items: flex-start;
}
.hero-sidebar-item:last-child { border-bottom: none; }
.hero-sidebar-item:hover { background: #fafafa; }
.hero-sidebar-img {
  width: 80px;
  height: 55px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.hero-sidebar-cat {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cnn-red);
  margin-bottom: 4px;
}
.hero-sidebar-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cnn-black);
}
.hero-sidebar-time { font-size: 11px; color: var(--cnn-muted); margin-top: 4px; }

/* ════════════════════════════════════════
   SECTION LABELS  (CNN-style red bar + label)
   ════════════════════════════════════════ */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cnn-black);
}
.section-label-bar {
  width: 4px; height: 20px;
  background: var(--cnn-red);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-label h2 {
  font-family: var(--font-label);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cnn-black);
}
.section-label .see-all {
  margin-left: auto;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cnn-red);
  border-bottom: 1px solid currentColor;
  transition: opacity .2s;
}
.section-label .see-all:hover { opacity: 0.7; }

/* ════════════════════════════════════════
   FEATURED + RAIL LAYOUT  (CNN's 2/3 + 1/3 layout)
   ════════════════════════════════════════ */
.featured-rail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  margin-bottom: 40px;
}
/* Featured card */
.featured-card {
  background: var(--cnn-white);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--cnn-border);
  transition: box-shadow .25s;
}
.featured-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.featured-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.featured-card-body { padding: 18px 20px 22px; }
.featured-card-cat {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cnn-red);
  margin-bottom: 8px;
}
.featured-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--cnn-black);
  margin-bottom: 10px;
}
.featured-card-excerpt { font-size: 14px; color: var(--cnn-mid); line-height: 1.6; }
.featured-card-meta { font-size: 11px; color: var(--cnn-muted); margin-top: 12px; }

/* Story rail (numbered list) */
.story-rail { display: flex; flex-direction: column; }
.rail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cnn-border);
  transition: opacity .2s;
}
.rail-item:last-child { border-bottom: none; }
.rail-item:hover { opacity: 0.8; }
.rail-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--cnn-border);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
}
.rail-body {}
.rail-cat {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cnn-red);
  margin-bottom: 4px;
}
.rail-title { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--cnn-black); }
.rail-time { font-size: 11px; color: var(--cnn-muted); margin-top: 5px; }

/* ════════════════════════════════════════
   3-COLUMN CARD GRID
   ════════════════════════════════════════ */
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.news-card {
  background: var(--cnn-white);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--cnn-border);
  transition: box-shadow .25s, transform .25s;
}
.news-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.news-card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news-card-body { padding: 13px 15px 17px; }
.news-card-cat {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cnn-red);
  margin-bottom: 6px;
}
.news-card-title { font-family: var(--font-display); font-size: 17px; font-weight: 400; line-height: 1.3; color: var(--cnn-black); margin-bottom: 7px; }
.news-card-excerpt { font-size: 13px; color: var(--cnn-mid); line-height: 1.5; }
.news-card-meta { font-size: 11px; color: var(--cnn-muted); margin-top: 10px; }

/* ════════════════════════════════════════
   VIDEO ROW  (CNN has 4-col video strip)
   ════════════════════════════════════════ */
.video-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.video-tile {
  background: var(--cnn-dark);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .25s;
  position: relative;
}
.video-tile:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.video-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; transition: opacity .3s; }
.video-tile:hover .video-thumb-wrap img { opacity: 0.95; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.video-play-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .2s, transform .2s;
}
.video-tile:hover .video-play-icon { background: rgba(204,0,0,0.8); transform: scale(1.1); }
.video-play-icon svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.video-duration {
  position: absolute;
  bottom: 7px; right: 9px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 2px;
}
.video-info { padding: 11px 13px 14px; }
.video-cat {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cnn-accent);
  margin-bottom: 5px;
}
.video-title { font-size: 13px; font-weight: 600; color: #e8e8e8; line-height: 1.35; }

/* ════════════════════════════════════════
   OPINION / ANALYSIS ROW
   ════════════════════════════════════════ */
.opinion-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.opinion-card {
  background: var(--cnn-white);
  border: 1px solid var(--cnn-border);
  border-top: 3px solid var(--cnn-red);
  border-radius: 3px;
  padding: 18px;
  transition: box-shadow .25s;
}
.opinion-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.08); }
.opinion-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cnn-muted);
  margin-bottom: 12px;
}
.opinion-author-row { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.opinion-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--cnn-border);
}
.opinion-author-name { font-size: 13px; font-weight: 700; color: var(--cnn-black); }
.opinion-author-role { font-size: 11px; color: var(--cnn-muted); margin-top: 2px; }
.opinion-headline { font-family: var(--font-display); font-size: 17px; font-weight: 400; line-height: 1.3; color: var(--cnn-black); }

/* ════════════════════════════════════════
   TICKER / MARQUEE SECTION DIVIDER
   ════════════════════════════════════════ */
.section-divider {
  background: var(--cnn-black);
  color: #777;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 10px;
  margin-bottom: 36px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.section-divider a { color: #aaa; transition: color .2s; }
.section-divider a:hover { color: #fff; }
.section-divider span { color: #444; }

/* ════════════════════════════════════════
   TRENDING / TAGS BAR
   ════════════════════════════════════════ */
.trending-bar {
  background: var(--cnn-white);
  border: 1px solid var(--cnn-border);
  border-radius: 3px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.trending-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cnn-muted);
  flex-shrink: 0;
}
.trending-tag {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cnn-black);
  background: var(--cnn-bg);
  border: 1px solid var(--cnn-border);
  border-radius: 2px;
  padding: 4px 10px;
  transition: background .2s, color .2s;
}
.trending-tag:hover { background: var(--cnn-red); color: #fff; border-color: var(--cnn-red); }

/* ════════════════════════════════════════
   SINGLE POST PAGE
   ════════════════════════════════════════ */
.single-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}
.article-eyebrow {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cnn-red);
  margin-bottom: 12px;
}
.article-eyebrow a { color: var(--cnn-red); border-bottom: 1px solid rgba(204,0,0,.3); }
.article-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--cnn-black);
  margin-bottom: 16px;
}
.article-dek {
  font-size: 18px;
  font-weight: 300;
  color: var(--cnn-mid);
  line-height: 1.55;
  margin-bottom: 18px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--cnn-muted);
  padding: 14px 0;
  border-top: 1px solid var(--cnn-border);
  border-bottom: 1px solid var(--cnn-border);
  margin-bottom: 24px;
}
.article-meta .meta-author { font-weight: 700; color: var(--cnn-black); }
.article-featured-img {
  width: 100%;
  border-radius: 3px;
  margin-bottom: 32px;
}
.article-body {
  font-size: 18px;
  line-height: 1.78;
  color: var(--cnn-mid);
}
.article-body p { margin-bottom: 1.5em; }
.article-body h2 { font-family: var(--font-display); font-size: 28px; margin: 2em 0 0.6em; color: var(--cnn-black); }
.article-body h3 { font-family: var(--font-display); font-size: 22px; margin: 1.6em 0 0.5em; color: var(--cnn-black); }
.article-body a { color: var(--cnn-red); border-bottom: 1px solid rgba(204,0,0,.25); }
.article-body blockquote {
  border-left: 4px solid var(--cnn-red);
  padding: 12px 24px;
  margin: 2em 0;
  background: #fff;
  font-style: italic;
  font-size: 20px;
  color: var(--cnn-mid);
}
.article-body ul, .article-body ol { margin: 1em 0 1.5em 1.5em; }
.article-body li { margin-bottom: 0.5em; }
.article-body img { border-radius: 3px; margin: 1.5em 0; }
.article-body figcaption { font-size: 12px; color: var(--cnn-muted); margin-top: 6px; }

/* ════════════════════════════════════════
   ARCHIVE / SEARCH PAGE
   ════════════════════════════════════════ */
.archive-header {
  padding: 24px 0 20px;
  border-bottom: 2px solid var(--cnn-black);
  margin-bottom: 28px;
}
.archive-header h1 {
  font-family: var(--font-label);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.archive-header h1 em { font-style: normal; color: var(--cnn-red); }
.archive-header p { font-size: 14px; color: var(--cnn-muted); margin-top: 6px; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
  font-family: var(--font-label);
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--cnn-border);
  border-radius: 2px;
  font-size: 13px;
  color: var(--cnn-black);
  transition: background .2s, color .2s;
}
.pagination .current { background: var(--cnn-red); color: #fff; border-color: var(--cnn-red); }
.pagination a:hover { background: var(--cnn-black); color: #fff; border-color: var(--cnn-black); }

/* ════════════════════════════════════════
   404 PAGE
   ════════════════════════════════════════ */
.error-page {
  text-align: center;
  padding: 80px 20px;
}
.error-code {
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--cnn-red);
  line-height: 1;
  opacity: 0.15;
}
.error-title { font-family: var(--font-display); font-size: 36px; margin-bottom: 14px; }
.error-desc { color: var(--cnn-muted); margin-bottom: 28px; }
.btn-back-home {
  display: inline-block;
  background: var(--cnn-red);
  color: #fff;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 2px;
  transition: background .2s;
}
.btn-back-home:hover { background: var(--cnn-red-hover); color: #fff; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
#site-footer {
  background: var(--cnn-black);
  color: #888;
  margin-top: 24px;
}
.footer-nav-strip {
  border-bottom: 1px solid #1e1e1e;
  padding: 14px 20px;
}
.footer-nav-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-nav-strip a {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  padding: 4px 10px;
  border-radius: 2px;
  transition: color .2s;
}
.footer-nav-strip a:hover { color: #fff; }

.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 20px 28px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}
.footer-brand-col .footer-logo {
  background: var(--cnn-red);
  color: #fff;
  font-family: var(--font-label);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand-col p { font-size: 13px; line-height: 1.65; color: #666; }
.footer-brand-col .footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-brand-col .footer-social a {
  width: 32px; height: 32px;
  background: #1e1e1e;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #666;
  font-size: 13px;
  transition: background .2s, color .2s;
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0;
}
.footer-brand-col .footer-social a:hover { background: var(--cnn-red); color: #fff; }

.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1e1e1e;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom-bar {
  border-top: 1px solid #1a1a1a;
  padding: 14px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
}
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { color: #555; transition: color .2s; }
.footer-bottom-links a:hover { color: #fff; }

/* ════════════════════════════════════════
   FADE-IN ANIMATIONS
   ════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.5s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.12s; }
.fade-up:nth-child(3) { animation-delay: 0.19s; }
.fade-up:nth-child(4) { animation-delay: 0.26s; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-sidebar-panel { display: none; }
  .video-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-med { display: none; }
  .featured-rail { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 1fr 1fr; }
  .opinion-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .top-utility-bar { display: none; }
}
@media (max-width: 560px) {
  .card-row { grid-template-columns: 1fr; }
  .video-row { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; }
  .header-search { order: 3; max-width: 100%; width: 100%; }
  .btn-subscribe { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
