/*
Theme Name: AICS EsensiNews Pro
Theme URI: https://aics.esensinews.com
Author: AICS Team
Author URI: https://aics.esensinews.com
Description: High CPC & High CTR WordPress Theme for AI Contact Center, Conversational AI, Customer Service Automation, Voice AI & Enterprise SaaS Intelligence. Built-in AdSense High-Viewability Architecture, Active View Optimization, Zero Layout Shift (CLS 0), No-Ads URL Exclusion, and 100% Mobile Responsive Ad Auto-Scaler. Strictly compliant with Google AdWords / Google Ads policies with zero third-party compromise links.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: aics-esensinews
Tags: ai, contact-center, customer-service, conversational-ai, high-cpc, adsense-ready, dark-mode, modern, schema, fast
*/

:root {
  --primary: #f5c92c;
  --primary-hover: #e5b81f;
  --primary-light: #fef9c3;
  --primary-dark: #ca8a04;
  --accent-neon: #baff00;
  --secondary: #070b14;
  --bg-dark: #070b14;
  --bg-card: #0e1526;
  --bg-card-hover: #141d33;
  --bg-surface: #131c31;
  --border-color: #1e293b;
  --border-light: rgba(245, 201, 44, 0.18);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 201, 44, 0.08);
  --shadow-gold: 0 4px 20px rgba(245, 201, 44, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --container-max: 1240px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.3;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* --------------------------------------------------------------------------
   Top Intelligence Bar
-------------------------------------------------------------------------- */
.top-intel-bar {
  background: #04060b;
  border-bottom: 1px solid rgba(245, 201, 44, 0.15);
  font-size: 0.775rem;
  padding: 0.45rem 0;
  color: var(--text-muted);
}

.top-intel-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.intel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-weight: 600;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-neon);
  animation: pulseNeon 2s infinite;
}

@keyframes pulseNeon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(186, 255, 0, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(186, 255, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(186, 255, 0, 0); }
}

.intel-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   Header Navigation
-------------------------------------------------------------------------- */
.site-header {
  background: rgba(14, 21, 38, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #f5c92c 0%, #ca8a04 100%);
  color: #070b14;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  letter-spacing: -0.5px;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.site-title span {
  color: var(--primary);
}

.site-tagline {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.main-nav a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9125rem;
  padding: 0.5rem 0.25rem;
  position: relative;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--primary);
}

.main-nav .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-cta {
  background: linear-gradient(135deg, #f5c92c 0%, #e5b81f 100%);
  color: #070b14;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  box-shadow: 0 2px 10px rgba(245, 201, 44, 0.3);
  transition: all 0.2s ease;
}

.btn-header-cta:hover {
  background: #ffffff;
  color: #070b14;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-main);
}

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #f5c92c, #baff00);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   Hero AI Command Center (Search & Real Metrics)
-------------------------------------------------------------------------- */
.hero-ai-portal {
  background: radial-gradient(circle at 50% 20%, #15203b 0%, #070b14 70%);
  border-bottom: 1px solid var(--border-color);
  color: #ffffff;
  padding: 3.75rem 0 3.25rem;
  position: relative;
  overflow: hidden;
}

.hero-ai-portal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 201, 44, 0.4), transparent);
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 201, 44, 0.1);
  border: 1px solid rgba(245, 201, 44, 0.25);
  color: var(--primary);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.785rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 1.15rem;
  color: #ffffff;
}

.hero-title span {
  background: linear-gradient(135deg, #f5c92c 0%, #baff00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

/* AI Search Bar */
.search-form-hero {
  max-width: 620px;
  margin: 0 auto 2rem;
  position: relative;
}

.search-input-hero {
  width: 100%;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid rgba(245, 201, 44, 0.35);
  padding: 1rem 1.4rem 1rem 3.2rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.975rem;
  font-family: var(--font-body);
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.search-input-hero:focus {
  background: #0e1526;
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(245, 201, 44, 0.25);
}

.search-input-hero::placeholder {
  color: #64748b;
}

.search-icon-hero {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
}

.search-btn-hero {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background: var(--primary);
  color: #070b14;
  border: none;
  border-radius: 999px;
  padding: 0 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn-hero:hover {
  background: #ffffff;
}

/* AI Metric Bar */
.hero-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.metric-item strong {
  color: var(--primary);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Featured Grid Section
-------------------------------------------------------------------------- */
.featured-section {
  padding: 2.75rem 0 1.5rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.55fr 1.15fr;
  gap: 1.75rem;
}

.featured-card-main {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.featured-card-main:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 201, 44, 0.4);
}

.featured-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #070b14;
  overflow: hidden;
}

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

.featured-card-main:hover .featured-thumb-wrap img {
  transform: scale(1.04);
}

.badge-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid rgba(245, 201, 44, 0.4);
  color: var(--primary);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta-inline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.featured-title {
  font-size: 1.45rem;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.featured-title a:hover {
  color: var(--primary);
}

.featured-excerpt {
  color: #94a3b8;
  font-size: 0.9125rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
}

.author-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  font-weight: 600;
}

.author-mini img {
  border-radius: 50%;
}

.read-more-link {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.read-more-link:hover {
  color: #ffffff;
}

/* Secondary Featured Stack */
.featured-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mini-featured-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  transition: transform 0.2s, border-color 0.2s;
}

.mini-featured-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 201, 44, 0.4);
}

.mini-thumb {
  width: 115px;
  min-width: 115px;
  height: 85px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #070b14;
}

.mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.mini-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.mini-info h4 a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Main Feed Layout
-------------------------------------------------------------------------- */
.site-content {
  padding: 2rem 0 3.5rem;
}

.content-layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

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

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 201, 44, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.post-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #070b14;
  overflow: hidden;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.04);
}

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

.post-card-title {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-card-excerpt {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.775rem;
}

/* Pagination */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pagination-wrap .nav-links {
  display: flex;
  gap: 0.5rem;
}

.pagination-wrap .page-numbers {
  background: var(--bg-card);
  color: #cbd5e1;
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s;
}

.pagination-wrap .page-numbers:hover {
  background: var(--primary);
  color: #070b14;
  border-color: var(--primary);
}

.pagination-wrap .page-numbers.current {
  background: var(--primary);
  color: #070b14;
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   Sidebar Area
-------------------------------------------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.15rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(245, 201, 44, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-software-cta {
  background: radial-gradient(circle at 10% 20%, #1e293b 0%, #070b14 100%);
  border: 1px solid rgba(245, 201, 44, 0.35);
  color: #ffffff;
}

.widget-software-cta .widget-title {
  color: var(--primary);
  border-bottom-color: rgba(245, 201, 44, 0.25);
}

.widget-software-cta p {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.btn-software-cta {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #070b14;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(245, 201, 44, 0.25);
}

.btn-software-cta:hover {
  background: #ffffff;
  color: #070b14;
  transform: translateY(-2px);
}

.ranked-posts-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ranked-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.ranked-num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: rgba(245, 201, 44, 0.15);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.775rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 201, 44, 0.3);
}

.ranked-item h5 {
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 600;
}

.ranked-item h5 a:hover {
  color: var(--primary);
}

.category-badges-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cat-cloud-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: #cbd5e1;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.cat-cloud-item span {
  font-size: 0.7rem;
  background: rgba(245, 201, 44, 0.2);
  color: var(--primary);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-weight: 700;
}

.cat-cloud-item:hover {
  background: var(--primary);
  color: #070b14;
  border-color: var(--primary);
}

.cat-cloud-item:hover span {
  background: #070b14;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Google AdSense Policy Safe Containment (High CPC & Active View Boosted)
-------------------------------------------------------------------------- */
.ad-slot-container {
  margin: 1.75rem auto;
  text-align: center;
  position: relative;
  clear: both;
  width: 100%;
  max-width: 100%;
  display: block;
}

.ad-label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-light);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.ad-slot-container ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  background: transparent !important;
}

/* Auto-hide empty containers and labels if AdSense is unfilled */
.ad-slot-container ins.adsbygoogle[data-ad-status="unfilled"],
.ad-slot-container:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
  display: none !important;
}

.ad-leaderboard {
  max-width: 970px;
  min-height: 90px;
}

.ad-in-article {
  max-width: 728px;
  margin: 2.25rem auto;
  min-height: 280px;
}

.ad-in-feed-card {
  grid-column: 1 / -1;
  margin: 1.5rem 0;
  min-height: 180px;
}

.ad-sticky-sidebar {
  position: sticky;
  top: 85px;
  z-index: 10;
  max-width: 336px;
  min-height: 280px;
  margin: 0 auto;
}

/* Mobile Sticky Bottom Anchor Ad */
.mobile-anchor-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 99999;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid rgba(245, 201, 44, 0.2);
}

.close-anchor-btn {
  align-self: flex-end;
  background: var(--primary);
  color: #070b14;
  border: none;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   Single Article Layout (Executive Light Reading Canvas with Dark Tech Header)
-------------------------------------------------------------------------- */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb-sep {
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}

.article-main {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 1.75rem;
}

.article-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.6px;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.author-meta-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.author-avatar-img {
  border-radius: 50%;
}

.fact-checked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(186, 255, 0, 0.1);
  color: var(--accent-neon);
  border: 1px solid rgba(186, 255, 0, 0.25);
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.article-featured-image {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-featured-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Dynamic Table of Contents (TOC) */
.toc-box {
  background: rgba(245, 201, 44, 0.03);
  border: 1px solid rgba(245, 201, 44, 0.2);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.toc-list li a {
  color: #cbd5e1;
  font-size: 0.9125rem;
  font-weight: 600;
  display: block;
  transition: color 0.15s;
}

.toc-list li a:hover {
  color: var(--primary);
}

/* Article Body Typography */
.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2.25rem 0 1rem;
  line-height: 1.35;
  letter-spacing: -0.4px;
  border-left: 3px solid var(--primary);
  padding-left: 0.75rem;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 1.75rem 0 0.85rem;
}

.article-content p {
  margin-bottom: 1.35rem;
}

.article-content ul, 
.article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  color: #94a3b8;
  font-style: italic;
}

/* Author Box */
.author-box-card {
  margin-top: 3rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.author-box-card img {
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.author-box-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.author-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Footer Layout (4 Balanced Symmetrical Columns with Trust Signals)
-------------------------------------------------------------------------- */
.site-footer {
  background: #04060b;
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.25fr 1fr 1.25fr;
  gap: 2.25rem;
  margin-bottom: 3rem;
}

.footer-widget h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-widget p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}

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

.footer-widget li a {
  color: #cbd5e1;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-widget li a:hover {
  color: var(--primary);
}

.footer-trust-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.trust-item:hover {
  background: rgba(245, 201, 44, 0.05);
  border-color: rgba(245, 201, 44, 0.2);
  transform: translateY(-1px);
}

.trust-item .trust-icon {
  font-size: 1.15rem;
  line-height: 1.2;
}

.trust-item strong {
  display: block;
  font-size: 0.8125rem;
  color: #f1f5f9;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.trust-item p {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
  margin-bottom: 0;
}

.footer-help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.15s;
}

.footer-help-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: #cbd5e1;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
-------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-metrics-bar {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .top-intel-bar .container {
    justify-content: center;
  }
  .intel-meta {
    display: none;
  }
  .article-main {
    padding: 1.25rem;
  }
  .article-title {
    font-size: 1.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
