/* ===== 内容页通用布局（替代 Tailwind CDN） ===== */

/* --- 内容容器 --- */
.content-wrapper {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 1rem;
}

/* --- 页面标题 --- */
.content-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  line-height: 1.3;
}

/* --- 正文内容 --- */
.content-body {
  max-width: none;
  color: #374151;
  line-height: 1.75;
  font-size: 1.0625rem;
}
.content-body h1, .content-body h2, .content-body h3,
.content-body h4, .content-body h5, .content-body h6 {
  color: #1f2937;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}
.content-body p { margin-bottom: 1em; }
.content-body img { max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1rem 0; }
.content-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
}
.content-body code {
  background: #f1f5f9;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.9em;
}
.content-body pre code {
  background: none;
  padding: 0;
}
.content-body blockquote {
  border-left: 4px solid #f472b6;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  color: #64748b;
  background: #f8fafc;
}
.content-body a { color: #f472b6; text-decoration: underline; }
.content-body a:hover { color: #fbcfe8; }
.content-body ul, .content-body ol { padding-left: 1.5rem; margin-bottom: 1em; }
.content-body li { margin-bottom: 0.25em; }

/* --- 文章元信息 --- */
.content-meta {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ===== 归档页 ===== */
.archives-year-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.archives-month-link {
  color: #f472b6;
  text-decoration: none;
}
.archives-month-link:hover { text-decoration: underline; }

/* ===== 标签页 ===== */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tag-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 9999px;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.tag-badge:hover {
  background: #dbeafe;
  color: #1e40af;
}

/* ===== 文章列表 --- */
.post-list-item { margin-bottom: 0.75rem; }
.post-list-link {
  color: #f472b6;
  text-decoration: none;
  font-size: 1.125rem;
}
.post-list-link:hover { text-decoration: underline; }
