/* =============================================
   ARTICLE PAGE SHARED STYLES
   ============================================= */
.prose-hero {
  background: var(--bg-dark);
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border-dark);
}
.prose-hero .breadcrumb { margin-bottom: 2rem; }
.prose-hero .article-meta { margin-bottom: 1.5rem; }
.prose-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin-bottom: 1.25rem;
}
.prose-hero .lead {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 2rem;
}
.prose-byline { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.prose-byline-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3367ff, #69feff);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.prose-byline-info { line-height: 1.4; }
.prose-byline-name { font-size: 0.9rem; font-weight: 600; color: var(--text-white); }
.prose-byline-meta { font-size: 0.78rem; color: var(--text-muted); }
.prose-divider { width: 2px; height: 28px; background: var(--border-dark); }

/* Article body */
.prose-body {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-light);
}
.prose-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: flex-start;
}
.prose-content { min-width: 0; }
.prose-content h2 {
  font-size: 1.4rem; font-weight: 700;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}
.prose-content h2:first-child { margin-top: 0; }
.prose-content h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-dark);
  margin: 2rem 0 0.75rem;
}
.prose-content p {
  font-size: 1rem; line-height: 1.8;
  color: var(--text-dark-sec);
  margin-bottom: 1.375rem;
}
.prose-content ul, .prose-content ol { padding-left: 1.5rem; margin-bottom: 1.375rem; }
.prose-content li {
  font-size: 1rem; line-height: 1.75;
  color: var(--text-dark-sec);
  margin-bottom: 0.5rem;
}
.prose-pullquote {
  border-left: 3px solid var(--blue);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--blue-10);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.prose-pullquote p {
  font-size: 1.05rem; font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6; margin: 0;
}
.prose-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 2rem 0;
}
.prose-stat {
  background: var(--card-light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: 1.25rem; text-align: center;
}
.prose-stat-num {
  font-size: 1.75rem; font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.04em; display: block;
}
.prose-stat-label { font-size: 0.75rem; color: var(--text-dark-mut); line-height: 1.4; }

/* Sidebar */
.prose-toc { position: sticky; top: 90px; }
.prose-toc-inner {
  background: var(--card-light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.5rem;
}
.prose-toc-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dark-mut); margin-bottom: 1rem;
}
.prose-toc ol { padding-left: 1.125rem; margin: 0; }
.prose-toc li {
  font-size: 0.84rem; line-height: 1.5;
  color: var(--text-dark-sec); margin-bottom: 0.625rem;
}
.prose-toc a { color: var(--text-dark-sec); text-decoration: none; }
.prose-toc a:hover { color: var(--blue); }
.prose-toc-divider { border: none; border-top: 1px solid var(--border-light); margin: 1.25rem 0; }
.prose-related-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dark-mut); margin-bottom: 0.875rem;
}
.prose-related-item {
  display: block; font-size: 0.84rem; font-weight: 600;
  color: var(--blue); line-height: 1.4; margin-bottom: 0.75rem; text-decoration: none;
}
.prose-related-item:hover { text-decoration: underline; }

/* CTA bar */
.prose-cta-bar {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: clamp(3rem, 5vw, 4rem) 0;
}
.prose-cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.prose-cta-inner h2 {
  font-size: 1.75rem; font-weight: 800;
  color: var(--text-white); margin-bottom: 0.875rem;
}
.prose-cta-inner p { color: var(--text-body); margin-bottom: 2rem; }
.prose-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .prose-layout { grid-template-columns: 1fr; }
  .prose-toc { position: static; }
}
@media (max-width: 640px) {
  .prose-stat-row { grid-template-columns: 1fr 1fr; }
}
