/* ============================================================
   V2Ray for Windows — 博客文章页专属样式
   面包屑 / 文章头部 / 正文排版
   ============================================================ */

.article-wrap {
  padding-top: 24px; /* blog.css 面包屑自带 24px 上距,合计 48px(2026-09-04) */
  padding-bottom: 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-faint);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--text-faint);
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 0;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.article-header h1 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
}

.article-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-faint);
}

.article-date::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
  margin-right: 12px;
  vertical-align: middle;
}

.article-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

.article-body h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 24px;
  color: var(--text);
  scroll-margin-top: 88px;
}

.article-body h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 19px;
  color: var(--text);
  scroll-margin-top: 88px;
}

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

.article-body ul,
.article-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body .code-block {
  margin: 20px 0;
}

.article-footer {
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 768px) {
  .article-wrap {
    padding-top: 32px;
  }

  .article-body h2 {
    margin-top: 32px;
    font-size: 21px;
  }
}