/**
 * 官方专栏深度文章专有样式表 (Article Schema & Pillar Post Layout)
 */

/* 顶部阅读进度指示条 */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--sakura-gradient);
  z-index: 999;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* 面包屑导航 */
.breadcrumb-nav {
  padding: 24px 0 12px 0;
  font-size: 13px;
  color: var(--color-text-subtle);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-separator {
  color: rgba(255, 117, 140, 0.4);
}

.breadcrumb-item a:hover {
  color: var(--color-sakura-primary);
}

.breadcrumb-item.active {
  color: var(--color-text-muted);
}

/* 文章头部 */
.article-header {
  padding: 30px 0 40px 0;
  border-bottom: 1px solid rgba(255, 117, 140, 0.15);
  margin-bottom: 48px;
}

.article-title-h1 {
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin: 16px 0 20px 0;
  letter-spacing: -0.01em;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--color-text-subtle);
  flex-wrap: wrap;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 文章双栏排版布局 (Content + Sticky Sidebar) */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

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

/* 文章正文富文本排版 */
.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(241, 245, 249, 0.9);
}

.article-body h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: #ffffff;
  margin: 48px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 117, 140, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--sakura-gradient);
}

.article-body h3 {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  color: #fce7f3;
  margin: 32px 0 16px 0;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body strong {
  color: #ffffff;
  font-weight: 700;
}

.article-body ul, 
.article-body ol {
  margin: 0 0 24px 20px;
}

.article-body ul li {
  list-style-type: disc;
  margin-bottom: 10px;
}

.article-body ol li {
  list-style-type: decimal;
  margin-bottom: 10px;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background: rgba(255, 117, 140, 0.06);
  border-left: 4px solid var(--color-sakura-primary);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  color: #f1f5f9;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}

.article-body th,
.article-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body th {
  background: rgba(255, 117, 140, 0.1);
  color: #ffffff;
  font-weight: 600;
}

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

/* 文中专属行动号召盒 */
.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 117, 140, 0.15) 0%, rgba(121, 40, 202, 0.15) 100%);
  border: 1px solid rgba(255, 117, 140, 0.4);
  border-radius: 16px;
  padding: 28px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.article-cta-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.article-cta-text p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

/* 侧边目录 (Sticky TOC) */
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.toc-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(17, 24, 38, 0.65);
  border: 1px solid var(--color-sakura-border);
}

.toc-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.toc-list a {
  color: var(--color-text-muted);
  line-height: 1.5;
  display: block;
}

.toc-list a:hover {
  color: var(--color-sakura-primary);
  transform: translateX(4px);
}

/* 作者 E-E-A-T 介绍卡片 */
.author-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(17, 24, 38, 0.65);
  border: 1px solid var(--color-sakura-border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-sakura-primary);
  background: var(--sakura-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.author-info h5 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.author-info p {
  font-size: 12px;
  color: var(--color-text-subtle);
  margin-top: 4px;
}