/* ===== walle-yiwa — 页面(pages)=====
页面专属样式:搜索、首页副区块、归档、作者、详情(正文/目录/分享/互动/相关)、
认证、设置、我的评论、管理后台、通知、关于、合作。移动端媒体查询随选择器归属。===== */

/* ===== 搜索页 ===== */
.search-form { display: flex; gap: 10px; max-width: 520px; margin-bottom: 28px; }
.search-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-input:focus {
  outline: none;
  border-color: var(--walle-yellow);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.18);
}
.search-summary { color: var(--text-sub); font-size: 13px; margin-bottom: 16px; }

/* 首页副区块:分类浏览 + 热门文章 */
.home-section { margin-top: 36px; margin-bottom: 36px; }
.home-section:first-of-type { margin-top: 0; }
.home-section-title { font-size: 17px; margin-bottom: 14px; }
.hot-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hot-item { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hot-rank {
  flex-shrink: 0;
  width: 20px;
  color: var(--text-faint);
  font-size: 12.5px;
}
.hot-link {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.hot-link:hover { color: var(--walle-yellow-deep); }
.hot-views {
  flex-shrink: 0;
  color: var(--text-faint);
  font-size: 12.5px;
  white-space: nowrap;
}

/* ===== 归档页 ===== */
.archive-list { display: flex; flex-direction: column; gap: 28px; }
.archive-month-title { font-family: var(--font-serif); font-size: 20px; margin-bottom: 12px; }
.archive-items { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.archive-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.archive-link { color: var(--text-main); text-decoration: none; font-size: 15.5px; line-height: 1.6; }
.archive-link:hover { color: var(--walle-yellow-deep); }
.archive-date { color: var(--text-faint); font-size: 12.5px; white-space: nowrap; flex-shrink: 0; }

/* ===== 作者页 ===== */
.author-list { display: flex; flex-direction: column; gap: 16px; }
.author-card { display: flex; flex-direction: column; gap: 12px; }
.author-card-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.author-name { font-size: 22px; }
.author-card-head .badge { font-size: 13px; padding: 3px 10px; }
.author-intro { color: var(--text-sub); font-size: 15px; line-height: 1.7; margin: 0; }
.author-card-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.author-count { color: var(--text-faint); font-size: 13px; }

/* ===== 详情页 ===== */
.back-link { color: var(--yiwa-blue); text-decoration: none; font-size: 14px; display: inline-block; margin-bottom: 16px; }
.back-link:hover { color: var(--yiwa-blue-deep); }
.post-title { font-size: 30px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 12px; }
.post-meta { color: var(--text-faint); font-size: 13px; margin-bottom: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.post-body { max-width: 72ch; margin-bottom: 48px; line-height: 1.85; }
.post-body h2, .post-body h3, .post-body h4 {
  font-family: var(--font-serif);
  margin: 1.5em 0 0.6em;
  line-height: 1.4;
}
.post-body h2 { font-size: 24px; border-left: 4px solid var(--walle-yellow); padding-left: 12px; border-radius: 2px; }
.post-body h3 { font-size: 20px; }
.post-body h4 { font-size: 17px; }
.post-body h2, .post-body h3 { scroll-margin-top: 88px; }
.post-body > *:first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.4em; }
.post-body p:not(:first-of-type) { text-indent: 2em; }
.post-body ul, .post-body ol { margin: 0 0 1.4em 1.4em; }
.post-body li { margin-bottom: 0.3em; }
.post-body ul li::marker { color: var(--walle-yellow); }
.post-body a { color: var(--yiwa-blue); }
.post-body a:hover { color: var(--yiwa-blue-deep); }
.post-body blockquote {
  border-left: 3px solid var(--walle-yellow);
  background: var(--blockquote-bg);
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 1.4em;
  color: var(--text-sub);
}
.post-body code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: var(--code-inline-bg);
  padding: 2px 6px;
  border-radius: 5px;
}
.post-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  overflow-x: auto;
  margin: 0 0 1.4em;
  line-height: 1.55;
}
.post-body pre code { background: none; padding: 0; font-size: 13.5px; }
.post-body hr { border: none; border-top: 1px solid var(--border); margin: 1.6em 0; }
.post-body img { max-width: 100%; border-radius: 8px; }
.post-body table { border-collapse: collapse; width: 100%; margin-bottom: 1.4em; font-size: 14.5px; }
.post-body th, .post-body td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.post-body th { background: var(--table-head-bg); }

/* ===== 文章目录(详情页长文:正文 h2/h3 ≥3 时由模板输出) ===== */
.post-layout { display: block; }
.post-layout-wide { max-width: 1120px; }
.toc { margin-bottom: 28px; }
.toc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}
.toc-arrow { color: var(--text-faint); font-size: 13px; transition: transform 0.2s ease; }
.toc-open .toc-arrow { transform: rotate(180deg); }
.toc-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.toc-open .toc-list { display: flex; }
.toc-item { line-height: 1.5; }
.toc-link {
  display: block;
  padding: 2px 0;
  color: var(--text-sub);
  font-size: 14px;
  text-decoration: none;
}
.toc-link:hover { color: var(--yiwa-blue); }
.toc-item-h3 { padding-left: 18px; }

/* 桌面端(≥1024px):右侧 sticky 目录;阅读列保持 760px 以内 */
@media (min-width: 1024px) {
  .post-layout.has-toc { display: flex; align-items: flex-start; gap: 48px; }
  .post-layout.has-toc .post { flex: 1; min-width: 0; max-width: 760px; }
  .toc {
    order: 2;
    flex-shrink: 0;
    width: 230px;
    margin-bottom: 0;
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }
  .toc-toggle { cursor: default; font-size: 15px; }
  .toc-arrow { display: none; }
  .toc-list { display: flex; }
}
/* 目录页其余区块(上下篇/分享/评论区)保持在 760px 阅读列宽 */
.post-layout-wide .post-nav,
.post-layout-wide .interact-section,
.post-layout-wide .share-section,
.post-layout-wide .related,
.post-layout-wide .comments { max-width: 760px; }

/* 上一篇 / 下一篇(详情页,分享区前) */
.post-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-bottom: 28px;
}
.post-nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.post-nav-link:hover { color: var(--yiwa-blue); }
.post-nav-next { margin-left: auto; }

/* 回到顶部(详情页右下角小圆钮,scroll-top.js 控制显隐) */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-main);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.15s ease, border-color 0.15s ease;
  z-index: 20;
}
.scroll-top-visible { opacity: 0.65; visibility: visible; pointer-events: auto; }
.scroll-top-visible:hover { opacity: 1; background: var(--soft-hover-bg); border-color: var(--walle-yellow); }

/* 免责声明(详情页正文底部) */
.disclaimer {
  margin: 0 0 28px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ===== 分享区(详情页) ===== */
.share-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.share-label { color: var(--text-faint); font-size: 13px; }
.share-actions { display: flex; gap: 10px; }
.share-tip {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
  min-height: 1.4em;
}

/* ===== 互动区(详情页,分享区旁):点赞 / 收藏 ===== */
.interact-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.interact-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.interact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  color: var(--text-sub);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.interact-btn:hover { color: var(--text-main); border-color: var(--text-faint); background: var(--soft-hover-bg); }
.interact-btn:active { transform: scale(0.97); }
.interact-btn:disabled { opacity: 0.6; cursor: wait; }
.interact-icon { display: block; width: 17px; height: 17px; flex-shrink: 0; }
.interact-label { white-space: nowrap; }
.interact-count { font-size: 13px; white-space: nowrap; }
/* 激活态:点赞=品牌红/爱心实心;收藏=品牌黄/书签实心 */
.interact-like.active { color: var(--error); border-color: var(--error); background: var(--notice-error-bg); }
.interact-like.active .interact-icon { fill: currentColor; }
.interact-bookmark.active { color: var(--walle-yellow-deep); border-color: var(--walle-yellow); background: var(--walle-badge-bg); }
.interact-bookmark.active .interact-icon { fill: currentColor; }
.interact-tip {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
  min-height: 1.4em;
}

/* ===== 相关阅读(详情页,评论区上方) ===== */
.related {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 28px;
}
.related-title { font-size: 17px; margin-bottom: 14px; }
.related-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.related-item { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 14.5px; }
.related-link { color: var(--yiwa-blue); text-decoration: none; }
.related-link:hover { color: var(--yiwa-blue-deep); text-decoration: underline; }
.related-date { color: var(--text-faint); font-size: 12.5px; white-space: nowrap; }

/* ===== 认证页 ===== */
.auth-card {
  max-width: 400px;
  margin: 0 auto;
  padding: 28px;
  border-color: var(--card-border-subtle); /* 与 article-card 一致的减淡边框 */
  box-shadow: var(--shadow-sm);
}
.auth-title { font-size: 26px; margin-bottom: 20px; text-align: center; }
.auth-form { display: flex; flex-direction: column; }

/* ===== 设置页 ===== */
.settings-list { list-style: none; display: flex; flex-direction: column; }
.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--card-border-subtle);
  transition: background 0.15s ease;
}
.settings-item:last-child { border-bottom: none; }
.settings-item:hover { background: var(--settings-hover-bg); }
.settings-row-main { display: flex; flex-direction: column; min-width: 0; }
.settings-state { color: var(--text-sub); font-size: 12px; }
.settings-state.on { color: var(--walle-yellow-deep); font-weight: 600; }
.settings-arrow { color: var(--text-faint); font-size: 14px; flex-shrink: 0; }
.settings-link { color: var(--text-main); font-size: 16px; font-weight: 600; text-decoration: none; }
.settings-link:hover { color: var(--walle-yellow-deep); }
.settings-link.danger-link { color: var(--error); }
.settings-link.danger-link:hover { color: var(--error); opacity: 0.85; }
.settings-logout-form { margin: 0; }
.settings-link-btn {
  background: none; border: none; padding: 0; font-family: inherit;
  color: var(--text-sub); font-size: 16px; font-weight: 600; cursor: pointer;
}
.settings-link-btn:hover { color: var(--error); }

/* ===== 我的评论 ===== */
.my-comments-card { max-width: 640px; margin: 0 auto; }
.my-comment-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.my-comment-item {
  border: 1px solid var(--card-border-subtle); /* 与认证卡片一致的减淡边框 */
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.my-comment-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.my-comment-title { color: var(--text-main); font-size: 16px; font-weight: 600; text-decoration: none; }
.my-comment-title:hover { color: var(--walle-yellow-deep); }
.my-comment-date { color: var(--text-faint); font-size: 12.5px; margin-left: auto; white-space: nowrap; }
.my-comment-body {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 6px;
  overflow-wrap: break-word;
}
.my-comment-body.deleted { color: var(--text-faint); font-style: italic; }
.my-comment-replies {
  margin-top: 10px;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.my-comment-reply {
  background: var(--reply-bg);
  border-radius: 8px;
  padding: 8px 12px;
}
.my-comment-reply-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.my-comment-reply-author { font-size: 13.5px; font-weight: 600; color: var(--text-main); }
.my-comment-reply-date { color: var(--text-faint); font-size: 12px; margin-left: auto; white-space: nowrap; }
.my-comment-reply-body { font-size: 14px; color: var(--text-sub); line-height: 1.6; overflow-wrap: break-word; }
.my-comment-more { font-size: 13px; }
.auth-desc { color: var(--text-faint); font-size: 12.5px; text-align: center; margin-bottom: 20px; }
.auth-switch { text-align: center; font-size: 14px; color: var(--text-sub); margin-top: 18px; }

/* ===== 管理后台(P3-2) ===== */
.admin-card { max-width: 100%; }
.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-title { text-align: left; margin-bottom: 6px; font-size: 26px; }
.admin-head .auth-desc { margin-bottom: 0; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--text-sub);
  background: var(--table-head-bg);
  padding: 10px 12px;
  white-space: nowrap;
}
.admin-table td { padding: 12px; border-top: 1px solid var(--border); vertical-align: middle; }
.admin-table tbody tr:hover { background: var(--settings-hover-bg); }
.admin-slug {
  color: var(--text-faint);
  font-size: 13px;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-slug-block { display: block; color: var(--text-faint); font-size: 12px; margin-top: 2px; }
.admin-link { color: var(--yiwa-blue); text-decoration: none; }
.admin-link:hover { color: var(--yiwa-blue-deep); }
.admin-muted { color: var(--text-faint); }
.admin-comment-body { max-width: 340px; color: var(--text-sub); line-height: 1.55; }
.admin-inline-form { display: inline; }
.status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 10px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.status-draft { background: var(--disabled-bg); color: var(--text-faint); }
.status-scheduled { background: var(--badge-yiwa-bg); color: var(--yiwa-blue-deep); }
.status-published { background: var(--notice-success-bg); color: var(--success); }
.status-deleted { background: var(--notice-error-bg); color: var(--error); }
.admin-filter {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-filter .field { margin-bottom: 0; min-width: 170px; flex: 1; }
.admin-filter-small { flex: 0 0 auto; min-width: 120px; }
.admin-filter-field label { font-size: 13px; }
.admin-select {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text-main);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  height: 40px;
  padding: 0 10px;
}
.admin-filter-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ===== 通知中心 ===== */
.notifications-card { max-width: 640px; margin: 0 auto; }
.notification-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.notification-item {
  border: 1px solid var(--card-border-subtle); /* 与认证卡片一致的减淡边框 */
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  background: var(--surface);
}
.notification-item.unread {
  background: var(--walle-badge-bg); /* 未读:浅色高亮 */
  border-color: rgba(232, 163, 61, 0.45);
}
.notification-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.notification-actor { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.notification-author { font-size: 14.5px; font-weight: 600; color: var(--text-main); }
.notification-action { font-size: 13px; color: var(--text-faint); white-space: nowrap; }
.notification-date { color: var(--text-faint); font-size: 12px; margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.notification-body {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 6px;
  overflow-wrap: break-word;
}
.notification-more { font-size: 13px; }

.verify-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 16px;
}
.verify-ok { background: var(--verify-ok-bg); color: var(--success); }
.verify-fail { background: var(--verify-fail-bg); color: var(--error); }

/* ===== 关于页 ===== */
.about-head { margin-bottom: 40px; }
.about-title { font-size: 30px; text-align: center; margin-bottom: 20px; }
.about-desc { color: var(--text-sub); font-size: 16.5px; text-align: center; max-width: 620px; margin: 0 auto 36px; }
/* 以下为关于页专属优化;服务页共用 about-title/about-desc,仍走上方基础规则 */
.about .about-title { margin-bottom: 14px; position: relative; padding-bottom: 18px; }
.about .about-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--walle-yellow-deep);
}
.about .about-desc { line-height: 1.8; margin-bottom: 0; }
.team-grid { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.team-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
  border-color: var(--card-border-subtle);
  box-shadow: var(--card-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.team-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
}
.team-bar { height: 4px; }
.team-xiaowei .team-bar { background: var(--xiaowei-green); }
.team-walle .team-bar { background: var(--walle-yellow); }
.team-yiwa .team-bar { background: var(--yiwa-blue); }
.team-layout {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 24px 26px 26px;
}
.team-figure {
  width: 130px;
  height: auto;
  flex-shrink: 0;
  border-radius: 18px;
  border: 3px solid var(--team-avatar-border);
  box-shadow: 0 4px 12px var(--shadow);
  display: block;
}
.team-body { flex: 1; min-width: 0; }
.team-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.team-name { font-family: var(--font-serif); font-size: 22px; margin: 0; }
.team-role { margin: 0; }
.team-xiaowei .team-role { background: var(--role-xiaowei-bg); color: var(--role-xiaowei-text); }
.team-walle .team-role { background: var(--walle-badge-bg); color: var(--walle-badge-text); }
.team-yiwa .team-role { background: var(--badge-yiwa-bg); color: var(--yiwa-blue-deep); }
.team-desc { color: var(--text-sub); font-size: 14.5px; line-height: 1.8; margin-bottom: 10px; }
.team-point { font-size: 14px; line-height: 1.8; color: var(--text-main); margin-bottom: 6px; }
.team-skills { font-size: 13.5px; line-height: 1.8; color: var(--text-sub); margin-bottom: 14px; }
.team-point strong, .team-skills strong { color: var(--text-main); font-weight: 700; }
.team-link { display: inline-block; font-size: 14px; font-weight: 500; }

.section-title { font-size: 22px; text-align: center; margin-bottom: 20px; }
.business { margin-bottom: 36px; }
.business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.business-card { text-align: left; }
.business-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px var(--shadow); }
.business-icon { display: inline-flex; line-height: 1; }
.business-icon svg { width: 24px; height: 24px; }
.business-card:nth-child(1) .business-icon { color: var(--walle-yellow); }
.business-card:nth-child(2) .business-icon { color: var(--xiaowei-green); }
.business-card:nth-child(3) .business-icon { color: var(--yiwa-blue); }
.business-card:nth-child(4) .business-icon { color: var(--yiwa-blue-deep); }
.business-title { font-size: 17px; margin: 10px 0 6px; }
.business-desc { color: var(--text-sub); font-size: 14px; line-height: 1.6; }

/* ===== 关于页:网站功能(名词解释式) ===== */
.about-features { margin-top: 2.5rem; }
.about-features-title { font-size: 1.35rem; margin-bottom: 0.35rem; }
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
}
.glossary-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.glossary-item:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-md);
}
.glossary-term {
  align-self: flex-start;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--tag-chip-bg);
  color: var(--tag-chip-text);
  border: 1px solid var(--tag-chip-border);
  border-radius: 999px;
  padding: 3px 11px;
}
.glossary-desc { color: var(--text-sub); font-size: 0.85rem; line-height: 1.7; margin: 0; }

.flow {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 40px;
}
.flow-item {
  flex: 1;
  max-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.flow-item:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
}
.flow-text { display: flex; flex-direction: column; gap: 3px; }
.flow-name { font-size: 15.5px; font-weight: 600; color: var(--text-main); }
.flow-role { font-size: 13px; color: var(--text-sub); }
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex-shrink: 0;
  color: transparent;
  font-size: 0;
}
.flow-arrow::before {
  content: '';
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--walle-yellow-deep), transparent);
}
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: 0 2px 6px var(--shadow); }
.dot-walle { background: var(--walle-yellow); }
.dot-yiwa { background: var(--yiwa-blue); }
.dot-xiaowei { background: var(--xiaowei-green); }

.about-cta {
  text-align: center;
  padding: 32px 24px 30px;
  margin-bottom: 0;
  background: var(--soft-hover-bg);
  border-color: var(--card-border-subtle);
  box-shadow: var(--card-shadow-sm);
}
.about-cta-text { color: var(--text-main); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.about-cta-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }

/* ===== 服务页(合作页相关区块) ===== */
.business-detail { color: var(--text-sub); font-size: 14.5px; line-height: 1.7; margin-top: 8px; }
.business-deliver { font-size: 14px; color: var(--text-main); margin-top: 12px; }
.business-deliver-label { font-weight: 600; }
.business-more { display: inline-block; margin-top: 12px; font-size: 14px; }
.business-card[id] { scroll-margin-top: 88px; }

/* 合作流程四步卡 */
.step-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
.step-card { text-align: left; }
.step-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px var(--shadow); }
.step-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--walle-yellow);
  margin-bottom: 12px;
}
.step-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step-desc { color: var(--text-sub); font-size: 14px; line-height: 1.6; }

/* 我们的作品(案例区) */
.case-card { max-width: 640px; margin: 0 auto; text-align: left; }
.case-title { font-size: 19px; margin-bottom: 10px; }
.case-desc { color: var(--text-sub); font-size: 14.5px; line-height: 1.7; }
.case-list {
  list-style: none;
  margin: 16px 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
}
.case-list li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.6; }
.case-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--walle-yellow-deep);
  font-weight: 700;
}
.case-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ 折叠卡片 */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 0 auto; }
.faq-item { padding: 18px 22px; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding-right: 28px;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--walle-yellow-deep); }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  color: var(--walle-yellow-deep);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-item[open] .faq-body { grid-template-rows: 1fr; }
.faq-answer {
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.7;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding-top: 0;
  transition: padding-top 0.25s ease;
}
.faq-item[open] .faq-answer { padding-top: 10px; }

/* CTA 区 */
.cta-section {
  text-align: center;
  padding: 40px 24px;
  margin-bottom: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cta-title { font-size: 26px; margin-bottom: 10px; }
.cta-desc { color: var(--text-sub); font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
.cta-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; }
.cta-actions .btn { min-width: 150px; }

/* ===== 响应式:页面相关 ===== */
@media (max-width: 768px) {
  .post-title { font-size: 24px; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow-item { max-width: none; width: 100%; }
  .flow-arrow { width: 100%; height: 34px; }
  .flow-arrow::before { width: 2px; height: 100%; background: linear-gradient(180deg, var(--walle-yellow-deep), transparent); }
  .business-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .case-list { grid-template-columns: 1fr; }
  .post-body { font-size: 16px; overflow-wrap: break-word; }
  .post-body table { display: block; overflow-x: auto; }
  .scroll-top { right: 16px; bottom: 16px; }
  .share-actions { flex-wrap: wrap; }
}

/* 手机(≤640px):团队卡上图下文纵排、功能词条单列 */
@media (max-width: 640px) {
  .team-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 18px 24px;
  }
  .team-figure { width: 118px; }
  .team-head { justify-content: center; }
  .glossary-grid { grid-template-columns: 1fr; }
}

/* 手机(≤480px):标签/分享/归档微调 */
@media (max-width: 480px) {
  .article-summary, .article-preview { font-size: 14.5px; }
  .share-section { gap: 8px; }
  .share-actions { gap: 8px; }
  .auth-card { padding: 24px; }
  .archive-item { flex-direction: column; align-items: flex-start; gap: 2px; }
  .hot-link { font-size: 14.5px; }
  .hot-views { font-size: 12px; }
}
