/**
 * PRADUMNA_FX — Premium Editorial Blog System Stylesheet
 * Scoped exclusively to blog pages to preserve site-wide performance.
 * Aesthetic: Dark Cinematic Obsidian Glass & Champagne Gold Accents
 */

:root {
  --blog-bg: #050505;
  --blog-surface: #0a0b10;
  --blog-surface-elevated: #11131c;
  --blog-surface-hover: #161926;
  --blog-card-bg: rgba(14, 16, 24, 0.75);
  --blog-card-border: rgba(255, 255, 255, 0.08);
  --blog-card-border-hover: rgba(199, 167, 106, 0.4);
  
  --blog-gold: #c7a76a;
  --blog-gold-light: #e5c88c;
  --blog-gold-glow: rgba(199, 167, 106, 0.25);
  --blog-gold-gradient: linear-gradient(135deg, #c7a76a 0%, #e5c88c 50%, #b89355 100%);
  
  --blog-cyan: #00d4ff;
  --blog-purple: #8a2be2;
  --blog-pink: #ff007f;
  --blog-green: #00ff88;
  
  --blog-text: #e2e8f0;
  --blog-text-muted: #94a3b8;
  --blog-text-subtle: #64748b;
  --blog-text-bright: #ffffff;
  
  --blog-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --blog-font-heading: 'Space Grotesk', var(--blog-font-sans);
  --blog-font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, Monaco, monospace;
  
  --blog-radius-sm: 8px;
  --blog-radius-md: 14px;
  --blog-radius-lg: 20px;
  --blog-radius-full: 9999px;
  
  --blog-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --blog-shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(199, 167, 106, 0.15);
  --blog-shadow-glow: 0 0 25px rgba(199, 167, 106, 0.35);
  
  --blog-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════════════════════════════════════
   1. READING PROGRESS BAR
   ══════════════════════════════════════════════════════════════ */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--blog-gold-gradient);
  box-shadow: 0 0 10px rgba(199, 167, 106, 0.6);
  z-index: 9999;
  transition: width 0.08s ease-out;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   2. GLOBAL BLOG CONTAINERS & BREADCRUMBS
   ══════════════════════════════════════════════════════════════ */
.blog-page-wrapper {
  background-color: var(--blog-bg);
  color: var(--blog-text);
  font-family: var(--blog-font-sans);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle ambient background glow */
.blog-page-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(199, 167, 106, 0.06) 0%, rgba(138, 43, 226, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.blog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.blog-container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Editorial Breadcrumb */
.blog-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 16px 0;
  font-size: 0.875rem;
  color: var(--blog-text-subtle);
}

.blog-breadcrumb a {
  color: var(--blog-text-muted);
  text-decoration: none;
  transition: var(--blog-transition);
}

.blog-breadcrumb a:hover {
  color: var(--blog-gold);
}

.blog-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

.blog-breadcrumb span[aria-current="page"] {
  color: var(--blog-text);
  font-weight: 500;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════════════════════════
   3. BLOG HUB HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.blog-hub-hero {
  padding: 40px 0 32px 0;
  text-align: center;
}

.blog-hub-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(199, 167, 106, 0.1);
  border: 1px solid rgba(199, 167, 106, 0.3);
  border-radius: var(--blog-radius-full);
  color: var(--blog-gold-light);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.blog-hub-hero-eyebrow svg {
  width: 14px;
  height: 14px;
  color: var(--blog-gold);
}

.blog-hub-title {
  font-family: var(--blog-font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--blog-text-bright);
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto 18px auto;
}

.blog-hub-title .gradient-text {
  background: var(--blog-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hub-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--blog-text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

/* Hero Stats Strip */
.blog-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--blog-card-border);
  border-radius: var(--blog-radius-md);
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.blog-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-stat-number {
  font-family: var(--blog-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blog-gold);
}

.blog-stat-label {
  font-size: 0.8125rem;
  color: var(--blog-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-stat-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
}

/* ══════════════════════════════════════════════════════════════
   4. FLAGSHIP FEATURED ARTICLE HERO CARD
   ══════════════════════════════════════════════════════════════ */
.blog-featured-hero {
  background: linear-gradient(145deg, rgba(20, 22, 34, 0.9) 0%, rgba(10, 11, 16, 0.95) 100%);
  border: 1px solid rgba(199, 167, 106, 0.25);
  border-radius: var(--blog-radius-lg);
  overflow: hidden;
  box-shadow: var(--blog-shadow-card);
  margin-bottom: 56px;
  transition: var(--blog-transition);
  position: relative;
}

.blog-featured-hero:hover {
  border-color: rgba(199, 167, 106, 0.5);
  box-shadow: var(--blog-shadow-hover);
  transform: translateY(-2px);
}

.blog-featured-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}

.blog-featured-visual {
  position: relative;
  min-height: 380px;
  background: #090a0f;
  overflow: hidden;
}

.blog-featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-hero:hover .blog-featured-visual img {
  transform: scale(1.04);
}

.blog-featured-badge-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.blog-featured-content {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--blog-text-muted);
  margin-bottom: 16px;
}

.blog-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.blog-featured-title {
  font-family: var(--blog-font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--blog-text-bright);
  margin-bottom: 16px;
}

.blog-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--blog-transition);
}

.blog-featured-title a:hover {
  color: var(--blog-gold-light);
}

.blog-featured-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--blog-text-muted);
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-author-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(199, 167, 106, 0.2);
  border: 1px solid rgba(199, 167, 106, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blog-gold);
}

.blog-author-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blog-text);
}

/* ══════════════════════════════════════════════════════════════
   5. FEATURED DEEP DIVES (3 CARDS)
   ══════════════════════════════════════════════════════════════ */
.blog-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.blog-section-title-wrap h2 {
  font-family: var(--blog-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blog-text-bright);
  margin-bottom: 6px;
}

.blog-section-title-wrap p {
  font-size: 0.9375rem;
  color: var(--blog-text-muted);
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

/* ══════════════════════════════════════════════════════════════
   6. SEARCH & INTERACTIVE FILTER BAR
   ══════════════════════════════════════════════════════════════ */
.blog-filter-section {
  background: rgba(14, 16, 24, 0.8);
  border: 1px solid var(--blog-card-border);
  border-radius: var(--blog-radius-lg);
  padding: 28px;
  margin-bottom: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Search input container */
.blog-search-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.blog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--blog-text-subtle);
  pointer-events: none;
  transition: var(--blog-transition);
}

.blog-search-input {
  width: 100%;
  padding: 14px 48px 14px 48px;
  background: rgba(8, 9, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--blog-radius-md);
  color: var(--blog-text-bright);
  font-family: var(--blog-font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--blog-transition);
}

.blog-search-input:focus {
  border-color: var(--blog-gold);
  background: rgba(12, 14, 20, 0.95);
  box-shadow: 0 0 20px rgba(199, 167, 106, 0.2);
}

.blog-search-input:focus + .blog-search-icon {
  color: var(--blog-gold);
}

.blog-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--blog-text-muted);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--blog-transition);
}

.blog-search-clear:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--blog-text-bright);
}

.blog-search-clear.active {
  display: flex;
}

/* Shortcut badge inside search */
.blog-search-badge {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-family: var(--blog-font-mono);
  font-size: 0.75rem;
  color: var(--blog-text-subtle);
  pointer-events: none;
}

/* Category Pills Bar */
.blog-category-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.blog-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--blog-radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--blog-transition);
  background: rgba(255, 255, 255, 0.04);
  color: var(--blog-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  white-space: nowrap;
}

.blog-category-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--blog-text-bright);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.blog-category-pill.active {
  background: var(--blog-gold-gradient);
  color: #050505;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(199, 167, 106, 0.3);
}

.blog-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.blog-category-pill.active .blog-category-count {
  background: rgba(0, 0, 0, 0.2);
  color: #050505;
}

/* Quick Topic Tags Bar */
.blog-tags-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-tag-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blog-text-subtle);
  margin-right: 4px;
}

.blog-tag-btn {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--blog-text-muted);
  cursor: pointer;
  transition: var(--blog-transition);
}

.blog-tag-btn:hover {
  border-color: var(--blog-gold);
  color: var(--blog-gold-light);
  background: rgba(199, 167, 106, 0.06);
}

.blog-tag-btn.active {
  border-style: solid;
  border-color: var(--blog-gold);
  background: rgba(199, 167, 106, 0.15);
  color: var(--blog-gold-light);
  font-weight: 600;
}

/* Results status bar */
.blog-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  font-size: 0.875rem;
  color: var(--blog-text-muted);
}

.blog-reset-btn {
  background: transparent;
  border: none;
  color: var(--blog-gold);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 4px;
  transition: var(--blog-transition);
}

.blog-reset-btn.active {
  display: inline-flex;
}

.blog-reset-btn:hover {
  color: var(--blog-gold-light);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
   7. ARTICLE CARDS GRID
   ══════════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.blog-card {
  background: var(--blog-card-bg);
  border: 1px solid var(--blog-card-border);
  border-radius: var(--blog-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--blog-transition);
  box-shadow: var(--blog-shadow-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.blog-card:hover {
  border-color: var(--blog-card-border-hover);
  box-shadow: var(--blog-shadow-hover);
  transform: translateY(-4px);
}

.blog-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090a10;
}

.blog-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-thumb {
  transform: scale(1.05);
}

.blog-card-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--blog-radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Software/Category Pill Themes */
.pill-ae {
  background: rgba(138, 43, 226, 0.25);
  color: #bf80ff;
  border: 1px solid rgba(138, 43, 226, 0.5);
}
.pill-pr {
  background: rgba(0, 212, 255, 0.2);
  color: #66e5ff;
  border: 1px solid rgba(0, 212, 255, 0.4);
}
.pill-capcut {
  background: rgba(0, 229, 255, 0.2);
  color: #80f0ff;
  border: 1px solid rgba(0, 229, 255, 0.4);
}
.pill-ai {
  background: rgba(255, 0, 127, 0.2);
  color: #ff66b2;
  border: 1px solid rgba(255, 0, 127, 0.4);
}
.pill-clips {
  background: rgba(0, 255, 136, 0.2);
  color: #66ffb2;
  border: 1px solid rgba(0, 255, 136, 0.4);
}
.pill-assets {
  background: rgba(255, 170, 0, 0.2);
  color: #ffd166;
  border: 1px solid rgba(255, 170, 0, 0.4);
}
.pill-gold {
  background: rgba(199, 167, 106, 0.2);
  color: var(--blog-gold-light);
  border: 1px solid rgba(199, 167, 106, 0.4);
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--blog-text-subtle);
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: var(--blog-font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--blog-text-bright);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--blog-transition);
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--blog-gold-light);
}

.blog-card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--blog-text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blog-gold);
  text-decoration: none;
  transition: var(--blog-transition);
}

.blog-read-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-read-link {
  color: var(--blog-gold-light);
}

.blog-card:hover .blog-read-link svg {
  transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════════════
   8. NO RESULTS EMPTY STATE
   ══════════════════════════════════════════════════════════════ */
.blog-empty-state {
  display: none;
  text-align: center;
  padding: 64px 24px;
  background: rgba(14, 16, 24, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--blog-radius-lg);
  margin: 40px auto;
  max-width: 560px;
}

.blog-empty-state.active {
  display: block;
}

.blog-empty-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px auto;
  color: var(--blog-text-subtle);
}

.blog-empty-title {
  font-family: var(--blog-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blog-text-bright);
  margin-bottom: 8px;
}

.blog-empty-text {
  font-size: 0.9375rem;
  color: var(--blog-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.blog-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--blog-gold-gradient);
  color: #050505;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--blog-radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--blog-transition);
}

.blog-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--blog-shadow-glow);
}

/* ══════════════════════════════════════════════════════════════
   9. INDIVIDUAL ARTICLE PAGE LAYOUT (2-COLUMN EDITORIAL)
   ══════════════════════════════════════════════════════════════ */
.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  padding: 24px 0 80px 0;
}

.blog-article-main {
  min-width: 0;
}

/* Article Header */
.blog-article-header {
  margin-bottom: 36px;
}

.blog-article-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--blog-radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.blog-article-title {
  font-family: var(--blog-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--blog-text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.blog-article-lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 24px;
}

/* Article Meta Bar */
.blog-article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
  font-size: 0.875rem;
  color: var(--blog-text-muted);
}

.blog-article-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-article-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--blog-gold);
}

/* Featured Article Image Wrapper */
.blog-featured-image-wrapper {
  border-radius: var(--blog-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--blog-shadow-card);
  margin-bottom: 40px;
  position: relative;
  max-height: 480px;
  background: #090a10;
}

.blog-featured-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile Collapsible TOC */
.blog-mobile-toc {
  display: none;
  background: var(--blog-surface);
  border: 1px solid var(--blog-card-border);
  border-radius: var(--blog-radius-md);
  padding: 16px 20px;
  margin-bottom: 32px;
}

.blog-mobile-toc summary {
  font-family: var(--blog-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blog-text-bright);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.blog-mobile-toc summary::-webkit-details-marker {
  display: none;
}

.blog-mobile-toc-list {
  list-style: none;
  padding: 16px 0 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-mobile-toc-list a {
  color: var(--blog-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--blog-transition);
}

.blog-mobile-toc-list a:hover {
  color: var(--blog-gold);
}

/* ══════════════════════════════════════════════════════════════
   10. ARTICLE EDITORIAL CONTENT & TYPOGRAPHY
   ══════════════════════════════════════════════════════════════ */
.blog-content {
  color: #cbd5e1;
  font-size: 1.125rem;
  line-height: 1.85;
  word-break: break-word;
}

.blog-content p {
  margin-bottom: 1.75rem;
}

.blog-content strong {
  color: #f1f5f9;
  font-weight: 600;
}

/* Section Headings */
.blog-content h2,
.blog-content .vp-h2 {
  font-family: var(--blog-font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--blog-text-bright);
  line-height: 1.28;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 110px;
  position: relative;
}

.blog-content h2::before,
.blog-content .vp-h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--blog-gold);
}

.blog-content h3 {
  font-family: var(--blog-font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--blog-gold-light);
  line-height: 1.35;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  scroll-margin-top: 110px;
}

.blog-content h4 {
  font-family: var(--blog-font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blog-text-bright);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Links */
.blog-content a {
  color: var(--blog-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--blog-transition);
}

.blog-content a:hover {
  color: var(--blog-gold-light);
  text-decoration-color: var(--blog-gold-light);
}

/* Lists */
.blog-content ul,
.blog-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.625rem;
  line-height: 1.75;
}

.blog-content ul li::marker {
  color: var(--blog-gold);
}

.blog-content ol li::marker {
  color: var(--blog-gold);
  font-weight: 600;
  font-family: var(--blog-font-heading);
}

/* Inline Code */
.blog-content code:not(pre code) {
  font-family: var(--blog-font-mono);
  font-size: 0.9em;
  background: rgba(199, 167, 106, 0.1);
  color: #f7e3bf;
  border: 1px solid rgba(199, 167, 106, 0.22);
  padding: 3px 7px;
  border-radius: 5px;
  vertical-align: baseline;
}

/* Code Blocks & Wrappers */
.blog-code-block {
  background: #08090d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--blog-radius-md);
  margin: 2rem 0;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.blog-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--blog-font-mono);
  font-size: 0.75rem;
  color: var(--blog-text-subtle);
}

.blog-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--blog-font-sans);
  font-size: 0.75rem;
  color: var(--blog-text-muted);
  cursor: pointer;
  transition: var(--blog-transition);
}

.blog-copy-btn:hover {
  background: rgba(199, 167, 106, 0.15);
  color: var(--blog-gold-light);
  border-color: var(--blog-gold);
}

.blog-code-block pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--blog-font-mono);
  font-size: 0.925rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* Tables & Horizontal Scroll Container */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2.25rem 0;
  border-radius: var(--blog-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--blog-shadow-card);
  background: rgba(10, 11, 16, 0.6);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.article-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--blog-text-bright);
  font-family: var(--blog-font-heading);
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 2px solid rgba(199, 167, 106, 0.35);
  white-space: nowrap;
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--blog-text-muted);
  line-height: 1.6;
}

.article-table tbody tr:last-child td {
  border-bottom: none;
}

.article-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Pro Callouts */
.pro-callout {
  background: linear-gradient(135deg, rgba(199, 167, 106, 0.08) 0%, rgba(14, 16, 24, 0.9) 100%);
  border-left: 4px solid var(--blog-gold);
  border-top: 1px solid rgba(199, 167, 106, 0.2);
  border-right: 1px solid rgba(199, 167, 106, 0.2);
  border-bottom: 1px solid rgba(199, 167, 106, 0.2);
  border-radius: 0 var(--blog-radius-md) var(--blog-radius-md) 0;
  padding: 22px 26px;
  margin: 2.5rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pro-callout h4 {
  color: var(--blog-gold-light);
  font-family: var(--blog-font-heading);
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pro-callout p {
  margin-bottom: 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   11. ACCORDION FAQS
   ══════════════════════════════════════════════════════════════ */
.vp-faq-wrapper {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vp-faq-item {
  background: var(--blog-surface);
  border: 1px solid var(--blog-card-border);
  border-radius: var(--blog-radius-md);
  overflow: hidden;
  transition: var(--blog-transition);
}

.vp-faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.vp-faq-header {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--blog-text-bright);
  font-family: var(--blog-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--blog-transition);
}

.vp-faq-header:hover {
  color: var(--blog-gold-light);
}

.vp-faq-icon {
  width: 20px;
  height: 20px;
  color: var(--blog-gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.vp-faq-item.active .vp-faq-icon {
  transform: rotate(180deg);
}

.vp-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vp-faq-item.active .vp-faq-content {
  max-height: 400px;
}

.vp-faq-inner {
  padding: 0 22px 22px 22px;
  color: var(--blog-text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.vp-faq-inner p {
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════
   12. STICKY DESKTOP TABLE OF CONTENTS (RIGHT RAIL)
   ══════════════════════════════════════════════════════════════ */
.blog-toc-desktop {
  position: sticky;
  top: 100px;
  background: var(--blog-surface);
  border: 1px solid var(--blog-card-border);
  border-radius: var(--blog-radius-lg);
  padding: 24px;
  box-shadow: var(--blog-shadow-card);
}

.blog-toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--blog-font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blog-text-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-toc-header svg {
  width: 16px;
  height: 16px;
  color: var(--blog-gold);
}

.blog-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-toc-link {
  display: block;
  font-size: 0.875rem;
  color: var(--blog-text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--blog-radius-sm);
  border-left: 2px solid transparent;
  transition: var(--blog-transition);
  line-height: 1.4;
}

.blog-toc-link:hover {
  color: var(--blog-text-bright);
  background: rgba(255, 255, 255, 0.04);
}

.blog-toc-link.active {
  color: var(--blog-gold-light);
  background: rgba(199, 167, 106, 0.1);
  border-left-color: var(--blog-gold);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   13. SHARE BAR & TOAST
   ══════════════════════════════════════════════════════════════ */
.blog-share-bar {
  margin-top: 48px;
  padding: 24px;
  background: var(--blog-surface);
  border: 1px solid var(--blog-card-border);
  border-radius: var(--blog-radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-share-label {
  font-family: var(--blog-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blog-text-bright);
}

.blog-share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--blog-radius-sm);
  color: var(--blog-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--blog-transition);
}

.blog-share-btn:hover {
  background: rgba(199, 167, 106, 0.15);
  color: var(--blog-gold-light);
  border-color: var(--blog-gold);
}

.blog-share-btn svg {
  width: 15px;
  height: 15px;
}

/* Toast Notification */
.blog-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #11131c;
  border: 1px solid var(--blog-gold);
  color: var(--blog-text-bright);
  padding: 12px 20px;
  border-radius: var(--blog-radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(199, 167, 106, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.blog-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   14. PREVIOUS / NEXT ARTICLE NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.blog-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.blog-nav-card {
  padding: 22px;
  background: var(--blog-surface);
  border: 1px solid var(--blog-card-border);
  border-radius: var(--blog-radius-md);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--blog-transition);
}

.blog-nav-card:hover {
  border-color: var(--blog-gold);
  transform: translateY(-2px);
  background: var(--blog-surface-elevated);
}

.blog-nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blog-text-subtle);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-nav-title {
  font-family: var(--blog-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blog-text-bright);
  line-height: 1.4;
}

.blog-nav-card.next {
  text-align: right;
  align-items: flex-end;
}

/* ══════════════════════════════════════════════════════════════
   15. RELATED ARTICLES SECTION
   ══════════════════════════════════════════════════════════════ */
.blog-related-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-related-header {
  margin-bottom: 28px;
}

.blog-related-title {
  font-family: var(--blog-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blog-text-bright);
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ══════════════════════════════════════════════════════════════
   16. RESPONSIVE MEDIA QUERIES
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .blog-featured-grid,
  .blog-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .blog-article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .blog-toc-desktop {
    display: none;
  }
  
  .blog-mobile-toc {
    display: block;
  }
  
  .blog-featured-hero-inner {
    grid-template-columns: 1fr;
  }
  
  .blog-featured-visual {
    min-height: 260px;
  }
  
  .blog-featured-content {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .blog-container,
  .blog-container-narrow {
    padding: 0 16px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-featured-grid,
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-prev-next {
    grid-template-columns: 1fr;
  }
  
  .blog-nav-card.next {
    text-align: left;
    align-items: flex-start;
  }
  
  .blog-hero-stats {
    gap: 16px;
  }
  
  .blog-stat-divider {
    display: none;
  }
  
  .blog-share-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .blog-share-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* ══════════════════════════════════════════════════════════════
   17. REDUCED MOTION PREFERENCE
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .blog-card:hover,
  .blog-featured-hero:hover {
    transform: none !important;
  }
  
  .blog-card:hover .blog-card-thumb,
  .blog-featured-hero:hover .blog-featured-visual img {
    transform: none !important;
  }
}

/* ══ Universal Screen Reader Only Accessibility Utility ══ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

