/* ==========================================================================
   GLOBAL AI NEWS PORTAL - Modern Futuristic Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand & Theme Colors */
  --bbc-red: #d91c1c;
  --bbc-red-hover: #ef2323;
  --bbc-red-glow: rgba(217, 28, 28, 0.35);
  
  --bg-dark: #080a0f;
  --bg-nav: #0f121b;
  --bg-card: #141824;
  --bg-card-hover: #1c2234;
  --bg-panel: #111522;
  
  --border-color: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(217, 28, 28, 0.4);
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  
  --font-sans: 'Plus Jakarta Sans', 'IBM Plex Sans', sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   URGENT BREAKING NEWS LIVE FEED STYLES
   ========================================================================== */
.urgent-breaking-container {
  margin: 1.5rem 0 2rem 0;
  background: rgba(227, 6, 19, 0.06);
  border: 1px solid rgba(227, 6, 19, 0.3);
  border-radius: 8px;
  padding: 1.25rem;
}

.urgent-breaking-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(227, 6, 19, 0.2);
  padding-bottom: 0.75rem;
}

.urgent-breaking-header h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
}

.pulse-live-dot {
  width: 10px;
  height: 10px;
  background-color: var(--bbc-red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.7);
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.8);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(227, 6, 19, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
  }
}

.urgent-breaking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.urgent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--bbc-red);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.urgent-card:hover {
  transform: translateY(-2px);
  border-color: var(--bbc-red);
}

.urgent-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--bbc-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.urgent-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.urgent-card-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ==========================================================================
   Financial Market Ticker Strip
   ========================================================================== */

.finance-ticker-bar {
  background: #040508;
  border-bottom: 1px solid var(--border-color);
  padding: 0.45rem 0;
  font-size: 0.8rem;
}

.finance-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.finance-ticker-inner::-webkit-scrollbar {
  display: none;
}

.finance-items {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  white-space: nowrap;
}

.finance-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.finance-item .label {
  color: var(--text-muted);
}

.finance-item .val {
  color: #ffffff;
}

.finance-item .change-up {
  color: var(--accent-emerald);
  font-size: 0.75rem;
}

.finance-item .change-down {
  color: var(--accent-rose);
  font-size: 0.75rem;
}

.airport-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--accent-emerald);
  white-space: nowrap;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
}

/* ==========================================================================
   Header Navigation & Live Search Bar
   ========================================================================== */

.top-header {
  background-color: var(--bbc-red);
  color: #ffffff;
  padding: 0.75rem 0;
  position: relative;
  z-index: 110;
  box-shadow: 0 4px 20px rgba(217, 28, 28, 0.25);
}

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 800;
  font-size: 1.35rem;
}

.brand-box {
  background: #ffffff;
  color: #000000;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  border-radius: 4px;
}

.brand-title {
  color: #ffffff;
  font-weight: 900;
  font-size: 1.3rem;
  margin-left: 0.2rem;
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 1px;
}

/* Search Bar */
.header-search-box {
  position: relative;
  flex: 1;
  max-width: 380px;
  margin: 0 1rem;
}

.header-search-box input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.3rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-fast);
}

.header-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.header-search-box input:focus {
  background: rgba(0, 0, 0, 0.45);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.header-search-box .search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  pointer-events: none;
}

.desktop-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .desktop-links {
    display: flex;
  }
}

.desktop-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.95);
  transition: opacity 0.2s;
}

.desktop-link:hover {
  opacity: 0.8;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  font-size: 1.6rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 850px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Category Navbar */
.main-nav {
  background-color: var(--bg-nav);
  border-bottom: 3px solid var(--bbc-red);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-categories {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-categories::-webkit-scrollbar {
  display: none;
}

.nav-item {
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
  border-bottom-color: var(--bbc-red);
  color: #ffffff;
  font-weight: 700;
  background: rgba(217, 28, 28, 0.1);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  background: var(--bg-nav);
  width: 290px;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-item {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-item.active {
  background: var(--bbc-red);
  color: #ffffff;
}

/* Breaking Ticker */
.breaking-bar {
  background: #0c0f18;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.breaking-label {
  background: var(--bbc-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.55rem 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.breaking-ticker {
  overflow: hidden;
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  width: 100%;
}

.breaking-marquee {
  display: inline-block;
  animation: marquee 35s linear infinite;
}

.breaking-marquee span {
  margin-right: 2.5rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Commercial Banners - Cohesive Executive Design */
.ad-slot {
  background: linear-gradient(135deg, rgba(16, 20, 30, 0.95), rgba(24, 30, 46, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--bbc-red);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0;
  padding: 1.25rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.ad-slot:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 25px rgba(217, 28, 28, 0.15);
}

.ad-label {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ad-banner-top {
  min-height: 90px;
  max-width: 970px;
  margin: 1.25rem auto;
}

.ad-in-article {
  min-height: 160px;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(16, 20, 30, 0.95), rgba(35, 25, 30, 0.95));
}

.ad-sidebar {
  min-height: 220px;
  width: 100%;
}

.ad-placeholder-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ad-placeholder-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Header Micro Ad */
.ad-header-micro {
  display: none;
  background: rgba(0, 0, 0, 0.35);
  border: 1px fill rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  position: relative;
}

@media (min-width: 1100px) {
  .ad-header-micro {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Extra Article Ad Slots */
.ad-above-headline {
  min-height: 75px;
  margin: 1rem 0;
}

.ad-in-article-secondary {
  min-height: 140px;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, rgba(20, 24, 36, 0.95), rgba(30, 25, 45, 0.95));
}

.ad-below-comments {
  min-height: 90px;
  margin: 2rem 0;
}

/* Sticky Footer Anchor Ad */
.sticky-footer-ad-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--bbc-red);
  padding: 0.6rem 1rem;
  z-index: 99;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.8);
}

.sticky-ad-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-ad-close {
  color: var(--text-muted);
  font-size: 1.3rem;
  padding: 0.2rem 0.5rem;
  transition: color 0.2s;
  border-radius: 4px;
}

.sticky-ad-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
  color: #ffffff;
}

/* ==========================================================================
   Hero Lead Section
   ========================================================================== */

.lead-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .lead-grid {
    grid-template-columns: 2.3fr 1fr;
    gap: 1.75rem;
  }
}

.primary-story {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.primary-story:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(217, 28, 28, 0.15);
}

.primary-story-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .primary-story-img-wrapper {
    height: 400px;
  }
}

.primary-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.primary-story:hover .primary-story-img {
  transform: scale(1.04);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--bbc-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.primary-story-body {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .primary-story-body {
    padding: 2rem;
  }
}

.category-tag {
  color: var(--bbc-red);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.primary-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.28;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.primary-excerpt {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.secondary-stories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) and (max-width: 991px) {
  .secondary-stories {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sec-story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  height: 100%;
}

.sec-story-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(3px);
}

.sec-story-img {
  width: 120px;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.sec-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
}

.sec-story-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar Related News Items */
.sidebar-news-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
}

.sidebar-news-item:hover {
  opacity: 0.85;
}

.sidebar-news-item img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-news-cat {
  color: var(--bbc-red);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sidebar-news-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0.15rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Main News Grid
   ========================================================================== */

.section-header {
  margin: 2rem 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  background: var(--bbc-red);
  border-radius: 2px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 540px) {
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .section-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .section-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition-normal);
}

.news-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.news-card-img-wrapper {
  height: 175px;
  overflow: hidden;
  position: relative;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 18, 27, 0.85);
  backdrop-filter: blur(6px);
  color: var(--accent-cyan);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.news-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.38;
  color: #ffffff;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FULL DEDICATED ARTICLE READER PAGE
   ========================================================================== */

.full-article-page {
  padding: 2rem 0 4rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--bbc-red);
}

.article-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .article-layout-grid {
    grid-template-columns: 2.5fr 1fr;
  }
}

.article-main-column {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .article-main-column {
    padding: 2.75rem;
  }
}

.article-category-badge {
  color: var(--bbc-red);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.article-page-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.article-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.75rem;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bbc-red), #901010);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px var(--bbc-red-glow);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Audio Speech Reader Bar */
.audio-reader-bar {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.audio-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.audio-icon {
  font-size: 1.5rem;
  animation: pulseAudio 2s infinite;
}

@keyframes pulseAudio {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.btn-audio-listen {
  background: var(--accent-cyan);
  color: #000000;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-audio-listen:hover {
  background: #22d3ee;
  transform: scale(1.03);
}

/* AI Key Takeaways Box */
.ai-takeaways-box {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.takeaways-header {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent-amber);
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.takeaways-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-main);
}

/* Hero Image & Body Typography */
.article-hero-wrapper {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.article-hero-photo {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.photo-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  background: rgba(0, 0, 0, 0.4);
}

.article-full-body {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.85;
  color: #e2e8f0;
}

.article-paragraph {
  margin-bottom: 1.6rem;
}

.article-subheading {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2.2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-quote {
  background: linear-gradient(135deg, rgba(217, 28, 28, 0.1), rgba(139, 92, 246, 0.1));
  border-left: 4px solid var(--bbc-red);
  padding: 1.25rem 1.5rem;
  margin: 1.8rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #f1f5f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.article-subheading::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--bbc-red);
}

/* Reactions Bar */
.article-reactions-bar {
  margin: 2.5rem 0 2rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.reactions-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reaction-btn {
  background: var(--bg-nav);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.reaction-btn:hover {
  border-color: var(--bbc-red);
  transform: translateY(-2px);
  background: rgba(217, 28, 28, 0.15);
}

/* Comments System */
.comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.comments-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.comment-input, .comment-textarea {
  background: var(--bg-nav);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.comment-input:focus, .comment-textarea:focus {
  border-color: var(--bbc-red);
}

.btn-submit-comment {
  align-self: flex-end;
  background: var(--bbc-red);
  color: #ffffff;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-submit-comment:hover {
  background: var(--bbc-red-hover);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-item {
  display: flex;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-purple);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.comment-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
}

.comment-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.comment-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.6rem;
}

.flight-board-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flight-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.flight-status-on-time {
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.75rem;
}

.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-news-item {
  display: flex;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sidebar-news-item:hover {
  transform: translateX(3px);
}

.sidebar-news-item img {
  width: 75px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-news-cat {
  color: var(--bbc-red);
  font-weight: 800;
  font-size: 0.68rem;
  text-transform: uppercase;

}

.sidebar-news-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modal Admin Controls */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: 90%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.modal-header {
  background: var(--bg-nav);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg-nav);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

/* Footer */
footer {
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.admin-gear-trigger {
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.admin-gear-trigger:hover {
  color: var(--bbc-red);
  transform: rotate(90deg);
}
