:root {
  --cnn-red: #cc0000;
  --cnn-red-dark: #990000;
  --cnn-red-soft: #fff1f1;
  --ink-950: #0c0c0c;
  --ink-900: #141414;
  --ink-800: #262626;
  --ink-700: #404040;
  --ink-500: #6b6b6b;
  --ink-300: #d4d4d4;
  --ink-200: #e6e6e6;
  --ink-100: #f4f4f5;
  --surface: #ffffff;
  --max-w: 1320px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cnn-red);
  outline-offset: 2px;
}

/* Reading Progress Bar (Article View) */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #ff2a2a, #cc0000);
  z-index: 250;
  transition: width 0.08s linear;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================================================================
   1. TOP UTILITY BAR (BAKU WEATHER + CBAR AZN CURRENCY + EDITION SWITCHER)
   ========================================================================= */
.utility-bar {
  background: var(--ink-900);
  color: #d9d9d9;
  font-size: 12px;
  border-bottom: 1px solid #262626;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  flex-wrap: wrap;
  padding-top: 4px;
  padding-bottom: 4px;
}

.utility-left,
.utility-rates,
.utility-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.baku-weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #ffffff;
}

.baku-weather .temp {
  color: #fbbf24;
  font-weight: 700;
}

.utility-divider {
  width: 1px;
  height: 12px;
  background: #333;
}

.utility-rates {
  font-variant-numeric: tabular-nums;
  overflow-x: auto;
  scrollbar-width: none;
}
.utility-rates::-webkit-scrollbar {
  display: none;
}

.rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: #b8b8b8;
}

.rate-pill strong {
  color: #ffffff;
  font-weight: 600;
}

.rate-pill .rate-val {
  color: #4ade80;
  font-weight: 600;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
}

.lang-link {
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b3b3b3;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-link:hover {
  color: #ffffff;
  background: #2c2c2c;
}

.lang-link.active {
  background: var(--cnn-red);
  color: #ffffff;
}

.social-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #b3b3b3;
}
.social-mini a:hover {
  color: #ffffff;
}

/* =========================================================================
   2. CNN-STYLE MAIN HEADER & STICKY NAVIGATION
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000000;
  color: #ffffff;
  border-bottom: 3px solid var(--cnn-red);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 10px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #333;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cnn-badge {
  background: var(--cnn-red);
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  padding: 9px 11px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-emblem {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-wordmark .main {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.brand-wordmark .sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #a3a3a3;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  padding: 19px 7px;
  font-size: 13px;
  font-weight: 700;
  color: #e5e5e5;
  white-space: nowrap;
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  background: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: #1c1c1c;
  border: 1px solid #333;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cnn-red);
  box-shadow: 0 0 0 rgba(204, 0, 0, 0.7);
  animation: pulseRed 1.6s infinite;
}

@keyframes pulseRed {
  0% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.8); }
  70% { box-shadow: 0 0 0 7px rgba(204, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0); }
}

.search-form-inline {
  display: flex;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
}

.search-form-inline input {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 6px 8px;
  font-size: 12.5px;
  width: 118px;
  outline: none;
}

.search-form-inline input::placeholder {
  color: #8c8c8c;
}

.search-form-inline button {
  background: transparent;
  border: none;
  color: #d4d4d4;
  padding: 6px 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.search-form-inline button:hover {
  color: #ffffff;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  display: none;
  background: #111111;
  border-top: 1px solid #262626;
  padding: 14px 16px 20px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-nav-link {
  padding: 10px 12px;
  background: #1c1c1c;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  color: #f0f0f0;
}

/* =========================================================================
   3. BREAKING NEWS BANNER (CNN SIGNATURE RED TICKER)
   ========================================================================= */
.breaking-bar {
  background: var(--ink-950);
  color: #ffffff;
  border-bottom: 1px solid var(--ink-200);
}

.breaking-inner {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 14px;
  overflow: hidden;
}

.breaking-tag {
  background: var(--cnn-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breaking-items {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
}
.breaking-items::-webkit-scrollbar {
  display: none;
}

.breaking-item {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: #f5f5f5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breaking-item:hover {
  color: #ff6b6b;
}

.breaking-time {
  color: #ff4d4d;
  font-weight: 800;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   4. CNN 3-COLUMN HERO GRID
   ========================================================================= */
.main-content {
  padding: 22px 0 56px;
}

.cnn-hero-grid {
  display: grid;
  grid-template-columns: 5.4fr 3.6fr 3fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 42px;
}

/* Column 1: Dominant Lead Story */
.hero-lead-card {
  display: flex;
  flex-direction: column;
}

.kicker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.kicker-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cnn-red);
}

.kicker-loc {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-500);
}

.hero-lead-title {
  font-size: clamp(24px, 2.5vw, 35px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--ink-950);
}

.hero-lead-title a:hover {
  color: var(--cnn-red);
}

.hero-media-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-100);
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
}

.hero-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-media-wrap:hover img {
  transform: scale(1.025);
}

.media-badge-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(204, 0, 0, 0.94);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 2px;
  text-transform: uppercase;
}

.hero-lead-excerpt {
  font-size: 16px;
  color: var(--ink-700);
  margin: 0 0 14px;
  line-height: 1.55;
}

.hero-highlights {
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid var(--ink-200);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hero-highlights li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
  line-height: 1.4;
}

.hero-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--cnn-red);
}

/* Column 2: Featured Secondary Stack */
.hero-mid-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid var(--ink-200);
  border-right: 1px solid var(--ink-200);
  padding: 0 22px;
}

.mid-card {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink-200);
}
.mid-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mid-card-thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-100);
  margin-bottom: 10px;
}

.mid-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.mid-card-thumb:hover img {
  transform: scale(1.03);
}

.mid-card-title {
  margin: 4px 0 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
}
.mid-card-title a:hover {
  color: var(--cnn-red);
}

.card-meta-line {
  font-size: 12px;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Column 3: Latest Wire + Most Read */
.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sidebar-box {
  background: #fafafa;
  border: 1px solid var(--ink-200);
  border-top: 3px solid var(--cnn-red);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.sidebar-heading {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-950);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wire-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wire-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-200);
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: start;
}
.wire-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wire-time {
  font-size: 12px;
  font-weight: 800;
  color: var(--cnn-red);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.wire-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-900);
}
.wire-title:hover {
  color: var(--cnn-red);
}

/* Ranked Most Read List */
.ranked-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranked-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-200);
}
.ranked-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rank-num {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--cnn-red);
  font-variant-numeric: tabular-nums;
}

.ranked-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.ranked-title:hover {
  color: var(--cnn-red);
}

/* =========================================================================
   5. CATEGORY SECTIONS (CNN HORIZONTAL EDITORIAL BLOCKS)
   ========================================================================= */
.category-section {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 2px solid var(--ink-950);
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--cnn-red);
}

.section-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--cnn-red);
}
.section-more:hover {
  text-decoration: underline;
}

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

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card-thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-100);
  margin-bottom: 10px;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-card-thumb:hover img {
  transform: scale(1.035);
}

.news-card-title {
  margin: 4px 0 6px;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.32;
}
.news-card-title a:hover {
  color: var(--cnn-red);
}

.news-card-excerpt {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================================
   6. ARTICLE READING VIEW (CNN EDITORIAL STORY PAGE)
   ========================================================================= */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.breadcrumbs a:hover {
  color: var(--cnn-red);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 340px;
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}

.article-title {
  font-size: clamp(26px, 3.3vw, 42px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--ink-950);
  margin: 8px 0 14px;
}

.article-subtitle {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-700);
  line-height: 1.45;
  margin: 0 0 18px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--ink-500);
}

.meta-author strong {
  color: var(--ink-900);
}

.edition-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.edition-pill {
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 800;
  border: 1px solid var(--ink-300);
  color: var(--ink-800);
}
.edition-pill.active {
  background: var(--cnn-red);
  color: #ffffff;
  border-color: var(--cnn-red);
}

.article-figure {
  margin: 0 0 24px;
}

.article-figure-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-100);
  aspect-ratio: 16 / 9;
}

.article-figure-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-figcaption {
  font-size: 12.5px;
  color: var(--ink-500);
  padding-top: 8px;
  border-bottom: 1px solid var(--ink-200);
  padding-bottom: 10px;
}

/* CNN "What You Need To Know" Story Highlights Box */
.keypoints-box {
  background: #fafafa;
  border-left: 4px solid var(--cnn-red);
  padding: 16px 20px;
  margin: 0 0 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.keypoints-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cnn-red);
}

.keypoints-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}

.article-prose {
  font-size: 18px;
  line-height: 1.75;
  color: #1c1c1c;
}

.article-prose p {
  margin: 0 0 20px;
}

.article-prose h2,
.article-prose h3 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  margin: 30px 0 14px;
  color: var(--ink-950);
}

.article-prose blockquote {
  margin: 24px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--cnn-red);
  background: var(--ink-100);
  font-style: italic;
  font-weight: 600;
}

.source-credit-box {
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--ink-100);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
}
.source-credit-box a {
  color: var(--cnn-red);
  text-decoration: underline;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-chip {
  padding: 5px 11px;
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-800);
}
.tag-chip:hover {
  border-color: var(--cnn-red);
  color: var(--cnn-red);
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-200);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--ink-300);
  background: #ffffff;
  color: var(--ink-900);
  cursor: pointer;
}
.share-btn:hover {
  border-color: var(--ink-900);
  background: var(--ink-100);
}
.share-btn.wa { border-color: #16a34a; color: #15803d; }
.share-btn.tg { border-color: #0284c7; color: #0369a1; }

.faq-section {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px solid var(--ink-950);
}

.faq-item {
  border-bottom: 1px solid var(--ink-200);
  padding: 12px 0;
}
.faq-item summary {
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}
.faq-item p {
  margin: 8px 0 4px;
  color: var(--ink-700);
  font-size: 15px;
}

/* =========================================================================
   7. FOOTER (DARK CNN EDITORIAL FOOTER)
   ========================================================================= */
.site-footer {
  background: #0c0c0c;
  color: #d4d4d4;
  border-top: 4px solid var(--cnn-red);
  padding: 44px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #262626;
}

.footer-about-text {
  font-size: 14px;
  color: #a3a3a3;
  line-height: 1.65;
  margin: 14px 0;
  max-width: 520px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  font-size: 13.5px;
}
.footer-links a {
  color: #b3b3b3;
}
.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #8c8c8c;
}

/* =========================================================================
   8. MOBILE & TABLET APP SHELL (SWIPEABLE CATEGORIES + BOTTOM TAB BAR)
   ========================================================================= */
.mobile-cat-strip {
  display: none;
  background: #141414;
  border-bottom: 1px solid #262626;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mobile-cat-strip::-webkit-scrollbar {
  display: none;
}

.mobile-cat-list {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  width: max-content;
}

.mobile-cat-pill {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #e5e5e5;
  background: #242424;
  white-space: nowrap;
  border: 1px solid #333;
}
.mobile-cat-pill.active {
  background: var(--cnn-red);
  color: #ffffff;
  border-color: var(--cnn-red);
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 1080px) {
  .mobile-cat-strip {
    display: block;
  }
  .cnn-hero-grid {
    grid-template-columns: 1.35fr 1fr;
  }
  .hero-mid-col {
    border-right: none;
    padding-right: 0;
  }
  .hero-right-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .category-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .utility-rates,
  .social-mini {
    display: none;
  }
  .utility-inner {
    font-size: 11px;
    min-height: 30px;
  }
  .header-inner {
    height: 54px;
  }
  .cnn-badge {
    font-size: 19px;
    padding: 7px 9px;
  }
  .main-nav,
  .search-form-inline,
  .brand-wordmark .sub {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
  }
  .live-indicator {
    font-size: 10.5px;
    padding: 5px 9px;
  }
  .cnn-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 28px;
  }
  .hero-lead-title {
    font-size: 24px;
  }
  .hero-lead-excerpt {
    font-size: 15px;
  }
  .hero-mid-col {
    border-left: none;
    padding: 0;
    border-top: 1px solid var(--ink-200);
    padding-top: 18px;
  }
  .hero-right-col {
    grid-template-columns: 1fr;
  }
  .category-grid-4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .article-prose {
    font-size: 17px;
  }
  .share-btn {
    min-height: 40px;
  }
  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: rgba(12, 12, 12, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #2a2a2a;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 700;
    color: #b3b3b3;
    background: transparent;
    border: none;
    padding: 4px 2px;
    cursor: pointer;
    min-height: 46px;
  }
  .mbn-item.active,
  .mbn-item:active {
    color: #ffffff;
  }
  .mbn-item.active svg {
    color: var(--cnn-red);
  }
}
