/* ============================================
   文章系统 · 列表页 + 详情页样式
   复用 service.css 的 .header-simple / .breadcrumb / .block / .bottom-nav-spacer
   ============================================ */

.page-h1 { font-size: 22px; font-weight: 700; color: #1f2937; margin-top: 14px; }
.page-sub { font-size: 13px; color: var(--text-sub); margin: 4px 0 6px; }

/* 分类 tab */
.article-tabs {
  display: flex; gap: 10px; overflow-x: auto; padding: 6px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.article-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0; padding: 8px 16px; border-radius: 20px;
  background: #fff; border: 1px solid var(--border);
  font-size: 14px; color: var(--text-sub); white-space: nowrap;
}
.cat-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* 文章列表 */
.article-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.article-card {
  background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
  padding: 16px 18px; display: block; border-left: 4px solid var(--brand);
  transition: transform 0.15s;
}
.article-card:active { transform: scale(0.99); }
.article-cat {
  display: inline-block; font-size: 12px; color: var(--brand);
  background: var(--brand-soft); padding: 2px 10px; border-radius: 12px; margin-bottom: 8px;
}
.article-title { font-size: 16px; font-weight: 700; color: #1f2937; line-height: 1.4; }
.article-summary { font-size: 13px; color: var(--text-sub); margin: 6px 0 10px; line-height: 1.6; }
.article-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-muted); }
.empty { text-align: center; color: var(--text-muted); padding: 40px 0; font-size: 14px; }

/* 详情页 */
.article-detail {
  background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
  padding: 22px; margin-top: 6px;
}
.article-detail-cat {
  display: inline-block; font-size: 12px; color: var(--brand);
  background: var(--brand-soft); padding: 3px 12px; border-radius: 12px;
}
.article-detail-title { font-size: 22px; font-weight: 700; color: #1f2937; line-height: 1.4; margin: 10px 0 8px; }
.article-detail-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.article-detail-body p { font-size: 15px; color: #374151; line-height: 1.9; margin-bottom: 14px; }
.article-cta { margin-top: 18px; text-align: center; }
.article-cta .service-hero-cta { padding: 12px 28px; border-radius: 24px; }

/* 相关阅读 */
.related-articles { display: flex; flex-direction: column; gap: 10px; }
.rel-item {
  display: flex; align-items: center; gap: 10px; font-size: 14px;
  color: #1f2937; padding: 10px 0; border-bottom: 1px dashed var(--border);
}
.rel-item:last-child { border-bottom: none; }
.rel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-accent); flex-shrink: 0; }
.rel-item:active { color: var(--brand); }
