/* ==========================================
   BLOG DETAIL PAGE
   ========================================== */
.blog-detail-hero {
  text-align: center;
}

.blog-detail-hero .page-hero-content {
  padding-bottom: 0;
}

.blog-detail-hero .page-hero-desc {
  max-width: 760px;
}

.bd-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-8) auto var(--space-4);
  padding: var(--space-2) var(--space-4);
  border: var(--border-width-thin) solid var(--color-gold-hex);
  border-radius: var(--radius-full);
  color: var(--color-gold-hex);
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-kicker);
  text-transform: uppercase;
}

.bd-meta-section {
  padding: var(--space-8) 0;
  background: var(--color-bg-dark);
}

.bd-meta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding-bottom: var(--space-8);
  border-bottom: var(--border-width-thin) solid var(--glass-border);
}

.bd-meta-strip span {
  color: var(--color-text-secondary-dark);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
}

.bd-cover-section {
  background: var(--color-bg-dark);
}

.bd-cover {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-width-thin) solid var(--glass-border);
  aspect-ratio: 16 / 7;
}

.bd-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bd-content-section {
  background: var(--color-bg-dark);
}

.bd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-16);
  align-items: start;
}

.bd-content-main {
  max-width: 820px;
}

.bd-lead {
  font-size: var(--text-md);
  line-height: var(--lh-body);
  color: var(--color-text-primary-dark);
  margin-bottom: var(--space-10);
}

.bd-block {
  margin-bottom: var(--space-10);
}

.bd-block h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary-dark);
  margin-bottom: var(--space-4);
}

.bd-block p {
  color: var(--color-text-secondary-dark);
  line-height: var(--lh-body);
  margin-bottom: var(--space-4);
}

.bd-list {
  display: grid;
  gap: var(--space-3);
  padding-left: var(--space-5);
  color: var(--color-text-secondary-dark);
  line-height: var(--lh-body);
}

.bd-list li::marker {
  color: var(--color-gold-hex);
}

.bd-callout {
  padding: var(--space-6);
  border-left: 3px solid var(--color-gold-hex);
  background: rgba(var(--color-white-rgb), 0.02);
}

.bd-callout h2 {
  font-size: var(--text-xl);
}

.bd-article-footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: var(--border-width-thin) solid var(--glass-border);
}

.bd-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: var(--space-4);
}

.bd-sidebar-box {
  padding: var(--space-5) 0;
  border-bottom: var(--border-width-thin) solid var(--glass-border);
}

.bd-sidebar-label {
  display: block;
  color: var(--color-gold-hex);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-kicker);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.bd-sidebar-box strong,
.bd-sidebar-box a {
  color: var(--color-text-primary-dark);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.bd-sidebar-box a:hover {
  color: var(--color-gold-hex);
}

.bd-related-section {
  background: var(--color-bg-dark);
  border-top: var(--border-width-thin) solid var(--glass-border);
}

.bd-related-section .section-header {
  text-align: center;
  max-width: none;
}

.bd-related-grid {
  grid-template-columns: repeat(3, 1fr);
}

.bd-related-card .blog-card-excerpt {
  min-height: 72px;
}

/* ==========================================
   BLOCK CONTENT (bc-*) — Rendered JSON blocks
   ========================================== */
.bc-paragraph {
  color: var(--color-text-secondary-dark);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  margin-bottom: var(--space-5);
}

.bc-heading {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary-dark);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.bc-list {
  display: grid;
  gap: var(--space-3);
  padding-left: var(--space-5);
  color: var(--color-text-secondary-dark);
  line-height: var(--lh-body);
  margin-bottom: var(--space-6);
  list-style: disc;
}

.bc-list li::marker {
  color: var(--color-gold-hex);
}

.bc-callout-warning {
  border-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.07) !important;
}

.bc-callout-success {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.07) !important;
}


@media (max-width:420px) {

  .bd-content-section {
    padding: var(--space-3) 0;
  }

  .bd-layout {
    gap: var(--space-6);
  }
  .bd-sidebar {
    order: 1;
  }
  .bd-content-main {
    order: 2;
  }

  .bd-sidebar-box {
    padding: var(--space-3) 0;
  }
}