/* =============================================
   BLOG-NEW.CSS
   Blog-specific styles extracted from the new
   Blog Index and Blog Article design files.

   Loaded ONLY on blog pages (blog index + articles).
   Does NOT include header/nav/footer/mobile-menu
   styles (those remain in styles.css).
   ============================================= */

/* =============================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ============================================= */
:root {
  /* Brand Colors */
  --color-primary: #2B9E8B;
  --color-primary-light: #3dd4b0;
  --color-primary-dark: #1e7a6b;
  --color-accent: #d4a843;
  --color-accent-light: #f0d78c;
  --color-accent-dark: #b8922f;

  /* Dark Theme Base */
  --color-bg: #0a0e0d;
  --color-bg-alt: #111816;
  --color-bg-card: rgba(255, 255, 255, 0.03);
  --color-bg-card-hover: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);

  /* Text Colors */
  --color-text: #f0f0f0;
  --color-text-secondary: #8a9e96;
  --color-text-muted: #5a6e66;
  --color-text-inverse: #0a0e0d;

  /* Semantic Colors */
  --color-success: #3dd4b0;
  --color-warning: #f0d78c;
  --color-error: #e74c3c;
  --color-info: #6a9bcc;

  /* Typography */
  --font-heading: 'Geist', 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 4rem;
  --space-24: 5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(43, 158, 139, 0.15);
  --shadow-glow-accent: 0 0 40px rgba(212, 168, 67, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Layout */
  --max-width: 1440px;
  --header-height: 64px;
}


/* =============================================
   2. BLOG INDEX STYLES
   ============================================= */

/* --- Featured Hero --- */
.bh-blog-hero {
  position: relative;
  padding-top: calc(64px + 3rem);
  padding-bottom: 3rem;
  background: var(--color-bg);
  overflow: hidden;
}
.bh-blog-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(43,158,139,0.04), transparent);
  pointer-events: none;
}
.bh-blog-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}
.bh-blog-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.5rem 2rem 3rem;
  animation: hero-fade-in 0.6s ease both;
  transition: border-color var(--transition-base), padding-left var(--transition-base);
  border-left: 3px solid transparent;
}
.bh-blog-hero:hover .bh-blog-hero-text {
  border-left: 3px solid var(--color-primary);
  padding-left: calc(3rem - 3px);
}
.bh-blog-hero-title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.bh-blog-hero-excerpt {
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: 1.25rem;
}
.bh-blog-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.bh-blog-meta-item {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.bh-blog-meta-divider {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  opacity: 0.5;
}
.bh-blog-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary-light);
  text-decoration: none;
  transition: gap var(--transition-base), color var(--transition-fast);
  align-self: flex-start;
}
.bh-blog-hero-cta svg {
  transition: transform var(--transition-base);
}
.bh-blog-hero-cta:hover {
  color: var(--color-text);
  gap: 0.75rem;
}
.bh-blog-hero-cta:hover svg {
  transform: translateX(3px);
}

/* --- Hero Visual --- */
.bh-blog-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem 3rem 2rem 0;
  animation: hero-fade-in 0.6s ease 0.15s both;
}
.bh-blog-hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}
.bh-blog-hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: rgba(43,158,139,0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* --- Category Tags --- */
.bh-blog-cat-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(43,158,139,0.1);
  color: var(--color-primary-light);
  white-space: nowrap;
}
.bh-blog-cat-featured {
  font-size: 0.75rem;
  padding: 0.3125rem 0.875rem;
  border-radius: var(--radius-md);
}

/* --- Category Bar --- */
.bh-blog-category-bar {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 64px;
  z-index: 50;
}
.bh-blog-category-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bh-blog-category-pills {
  display: flex;
  flex-nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.bh-blog-category-pills::-webkit-scrollbar { display: none; }
.bh-cat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.375rem 0.875rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.bh-cat-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}
.bh-cat-pill-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.bh-cat-pill-active:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: #fff;
}

/* --- Filters --- */
.bh-blog-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.bh-blog-filter-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.375rem 1.75rem 0.375rem 0.625rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6e66' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  background-size: 12px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.bh-blog-filter-select:hover {
  border-color: var(--color-primary);
}

/* --- Article List --- */
.bh-blog-content-section {
  padding: 2rem 0 4rem;
  background: var(--color-bg);
}
.bh-blog-content-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.bh-blog-articles {
  display: flex;
  flex-direction: column;
}
.bh-blog-article-row {
  display: block;
  padding: 1.25rem 0.75rem;
  text-decoration: none;
  transition: background var(--transition-fast);
  border-left: 3px solid transparent;
  margin: 0 -0.75rem;
}
.bh-blog-article-row:hover {
  background: rgba(255,255,255,0.02);
  border-left-color: var(--color-primary);
}
.bh-blog-article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.bh-blog-article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.bh-blog-article-meta span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.bh-blog-article-title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 0.375rem;
  transition: color var(--transition-fast);
  text-wrap: balance;
}
.bh-blog-article-row:hover .bh-blog-article-title {
  color: var(--color-primary-light);
}
.bh-blog-article-excerpt {
  font-family: 'Geist', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 600px;
  line-clamp: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.bh-blog-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0;
}

/* --- Load More --- */
.bh-blog-load-more {
  display: flex;
  justify-content: center;
  padding-top: 2.5rem;
}
.bh-blog-load-more-btn {
  font-family: 'Geist', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary-light);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.bh-blog-load-more-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-primary-light);
  transition: width var(--transition-base);
}
.bh-blog-load-more-btn:hover {
  color: var(--color-text);
}
.bh-blog-load-more-btn:hover::after {
  width: 0;
  background: var(--color-text);
}

/* --- Sidebar --- */
.bh-sidebar-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bh-sidebar-block:last-child {
  border-bottom: none;
}
.bh-sidebar-heading {
  font-family: 'Geist', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.bh-sidebar-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Newsletter Form */
.bh-sidebar-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bh-sidebar-email-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.03);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}
.bh-sidebar-email-input::placeholder {
  color: var(--color-text-muted);
}
.bh-sidebar-email-input:hover {
  border-color: var(--color-border-hover);
}
.bh-sidebar-subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}
.bh-sidebar-subscribe-btn:hover {
  background: var(--color-primary-light);
}

/* Popular Articles */
.bh-sidebar-popular {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bh-sidebar-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.bh-sidebar-popular-item:hover {
  color: var(--color-primary-light);
}
.bh-sidebar-popular-num {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 0.875rem;
  color: var(--color-primary);
  flex-shrink: 0;
  min-width: 1.5rem;
  padding-top: 0.125rem;
}
.bh-sidebar-popular-title {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bh-sidebar-popular-item:hover .bh-sidebar-popular-title {
  color: var(--color-primary-light);
}

/* Topic Tags */
.bh-sidebar-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bh-sidebar-topic-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.625rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.bh-sidebar-topic-tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

/* --- Blog Index Responsive --- */
@media (max-width: 1023px) {
  .bh-blog-hero-inner {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }
  .bh-blog-hero-text {
    padding: 1rem 0;
  }
  .bh-blog-hero:hover .bh-blog-hero-text {
    padding-left: 0;
    border-left-color: transparent;
  }
  .bh-blog-hero-visual {
    display: none;
  }
  .bh-blog-content-layout {
    grid-template-columns: 1fr;
  }
  .bh-blog-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    margin-top: 1rem;
  }
  .bh-sidebar-block {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .bh-blog-category-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .bh-blog-filters {
    justify-content: flex-end;
  }
  .bh-blog-hero-title {
    font-size: 1.5rem;
  }
  .bh-blog-article-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .bh-blog-article-meta {
    gap: 0.375rem;
  }
  .bh-blog-article-title {
    font-size: 1.25rem;
  }
  .bh-blog-sidebar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* --- Blog Index Keyframes --- */
@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}


/* =============================================
   3. ARTICLE PAGE STYLES
   ============================================= */

/* --- Reading Progress Bar --- */
.bh-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  z-index: 1001;
  transition: width 50ms linear;
}

/* --- Breadcrumb (article-specific overrides) --- */
.bh-breadcrumb {
  padding: 5.5rem 1.5rem 0;
  max-width: 1440px;
  margin: 0 auto;
}
.bh-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
}
.bh-breadcrumb li {
  color: var(--color-text-muted);
}
.bh-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.bh-breadcrumb a:hover {
  color: var(--color-text-secondary);
}
.bh-breadcrumb .bh-breadcrumb-current {
  color: var(--color-text-secondary);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Article Header (Magazine Style) --- */
.bh-article-header-section {
  background: var(--color-bg);
  padding: 3rem 1.5rem 0;
  max-width: 1440px;
  margin: 0 auto;
}
.bh-article-header-inner {
  max-width: 800px;
}
.bh-category-pill {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-light);
  background: rgba(43,158,139,0.1);
  border: 1px solid rgba(43,158,139,0.2);
  border-radius: var(--radius-full);
}
.bh-article-h1 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin: 1.25rem 0 0;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.bh-article-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 680px;
  margin-top: 1rem;
  line-height: 1.6;
}
.bh-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
.bh-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.bh-author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.bh-author-name {
  color: var(--color-text-secondary);
  font-weight: 500;
}
.bh-author-separator {
  color: var(--color-border);
}
.bh-article-header-divider {
  height: 1px;
  background: var(--color-border);
  margin-top: 2rem;
}

/* --- Table of Contents (TOC) --- */
.bh-toc {
  position: sticky;
  top: 100px;
  width: 180px;
}
.bh-toc-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.bh-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.bh-toc-link {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.15s ease;
  padding: 0.125rem 0;
}
.bh-toc-link:hover {
  color: var(--color-text-secondary);
}
.bh-toc-link-active {
  color: var(--color-primary) !important;
}

/* --- Article Layout --- */
.bh-article-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: start;
}

/* --- Article Content --- */
.bh-article-content {
  max-width: 720px;
}

/* Lead paragraph */
.bh-article-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

/* TL;DR callout */
.bh-tldr {
  border-left: 3px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  background: rgba(43,158,139,0.04);
  border-radius: 0 0.75rem 0.75rem 0;
  margin-bottom: 2.5rem;
}
.bh-tldr p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.bh-tldr strong {
  color: var(--color-text);
}

/* Headings */
.bh-article-content h2 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: #f0f0f0;
  line-height: 1.25;
}

/* Paragraphs */
.bh-article-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

/* Inline code */
.bh-article-content code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255,255,255,0.05);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--color-primary-light);
}

/* Blockquote */
.bh-article-content blockquote {
  border-left: 3px solid var(--color-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--color-text-secondary);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Custom bullet list */
.bh-article-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bh-article-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
}
.bh-article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Article links */
.bh-article-content a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color 0.15s ease;
}
.bh-article-content a:hover {
  text-decoration: underline;
}

/* --- Related Articles --- */
.bh-related-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  gap: 1rem;
}
.bh-related-item h3 {
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 0.375rem;
  transition: color 0.15s ease;
}
.bh-related-item:hover h3 {
  color: var(--color-primary-light) !important;
}
.bh-related-item:hover svg {
  stroke: var(--color-primary) !important;
}
.bh-related-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- CTA Section --- */
.bh-article-cta {
  max-width: 720px;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(43,158,139,0.08) 0%, rgba(43,158,139,0.02) 100%);
  border: 1px solid rgba(43,158,139,0.15);
  border-radius: 1rem;
  text-align: center;
}
.bh-article-cta h2 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.bh-article-cta p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin: 0 0 1.5rem;
}

/* --- Article Page Responsive --- */
@media (max-width: 1023px) {
  .bh-toc {
    display: none !important;
  }
  .bh-article-layout {
    grid-template-columns: 1fr !important;
  }
  .bh-article-content {
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  .bh-article-header-section {
    padding: 2rem 1.5rem 0 !important;
  }
}


/* =============================================
   4. UTILITY
   ============================================= */

/* Hide scrollbar utility (used by category bar) */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}