/* BoostNet Playground - Article Reading Layout */
.article-reading-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .article-reading-layout {
    grid-template-columns: 1fr;
  }
}

.article-main-content {
  background: var(--play-surface);
  border: var(--play-border-width) solid var(--play-border);
  border-radius: var(--play-radius-xl);
  box-shadow: var(--play-shadow-md);
  padding: clamp(24px, 5vw, 56px);
  max-width: var(--play-article);
  margin: 0 auto;
}

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: var(--play-coral);
  width: 0%;
  z-index: 99999;
  transition: width 0.1s ease;
}

/* Article Hero & Meta */
.article-header {
  margin-bottom: 2.5rem;
  border-bottom: var(--play-border-width) solid var(--play-border);
  padding-bottom: 2rem;
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--play-muted);
  margin-top: 1rem;
}

.article-cover-wrap {
  margin-bottom: 2rem;
  border: var(--play-border-width) solid var(--play-border);
  border-radius: var(--play-radius-lg);
  overflow: hidden;
  box-shadow: var(--play-shadow-sm);
}

/* Article Typography */
.article-body h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px dashed #ddd;
}

.article-body h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-callout {
  background: var(--play-yellow-soft);
  border-left: 5px solid var(--play-coral);
  border-top: var(--play-border-width) solid var(--play-border);
  border-right: var(--play-border-width) solid var(--play-border);
  border-bottom: var(--play-border-width) solid var(--play-border);
  border-radius: var(--play-radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.article-callout-title {
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Sticky Sidebar TOC */
.article-sidebar {
  position: sticky;
  top: 100px;
  background: var(--play-surface);
  border: var(--play-border-width) solid var(--play-border);
  border-radius: var(--play-radius-lg);
  box-shadow: var(--play-shadow-sm);
  padding: 1.5rem;
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--play-border);
  padding-bottom: 0.5rem;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toc-link {
  font-size: 0.9rem;
  color: var(--play-muted);
  font-weight: 700;
  transition: all 0.15s ease;
  line-height: 1.4;
}

.toc-link:hover, .toc-link.active {
  color: var(--play-coral);
  transform: translateX(4px);
  font-weight: 800;
}

.article-quick-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed #ddd;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
