/* ==========================================================================
   好白酒 - 全站基础样式 (site.css)
   所有页面共享的 reset + 公共组件 + 全站通用 UI
   WP 化后改入主题 style.css
   ========================================================================== */

/* ========== Reset ========== */
* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: clip;
}
body {
  font-family: "Noto Sans SC", system-ui, sans-serif;
  color: #1c1917;
  background: #fafaf9;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

/* ========== 容器后备（兼容搜狐/夸克等浏览器 CDN 执行异常时铺满的问题）
   用 body 提高特异性，确保覆盖 Tailwind CDN 可能遗漏的规则
   同时统一各浏览器宽度计算差异 ========== */
body .container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-sizing: border-box !important;
}
@media (min-width: 640px) {
  body .container { max-width: 640px !important; }
}
@media (min-width: 768px) {
  body .container { max-width: 768px !important; }
}
@media (min-width: 1024px) {
  body .container { max-width: 1024px !important; padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
}
@media (min-width: 1280px) {
  body .container { max-width: 1280px !important; padding-left: 2rem !important; padding-right: 2rem !important; }
}

/* 夸克浏览器兼容：overflow-x clip 不支持时降级 hidden */
@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

/* ========== 字体工具类 ========== */
.font-serif-cn { font-family: "Noto Serif SC", serif; }
.font-display  { font-family: "DM Serif Display", "Noto Serif SC", serif; }
.font-xiaowei  { font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif; }

/* ========== 顶部细线（toolbar） ==========
   brand-a/cases/enterprise/legal 四个分支页会用更朴素的纯色覆盖 */
.toolbar {
  background: linear-gradient(135deg, #0c0a09 0%, #1c1917 100%);
  color: #e7e5e4;
  font-size: 12px;
}

/* ========== 主导航（毛玻璃） ========== */
.site-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ========== 印章式 Logo ========== */
.stamp-logo {
  width: 44px; height: 44px;
  background: #b91c1c;
  border: 2px solid #b91c1c;
  border-radius: 4px;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 22px; font-weight: 700;
  position: relative;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.12);
}
.stamp-logo::after {
  content: ""; position: absolute; inset: -4px;
  border: 1px solid rgba(185, 28, 28, 0.4);
  border-radius: 6px;
  pointer-events: none;
}

/* ========== 印章 chip（实心红章） ========== */
.seal {
  display: inline-block;
  padding: 2px 8px;
  background: #b91c1c;
  color: white;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 11px;
  border-radius: 2px;
  position: relative;
  letter-spacing: 1px;
}
.seal::before, .seal::after {
  content: ""; position: absolute;
  top: 50%; width: 4px; height: 4px;
  background: #b91c1c;
  border-radius: 50%;
  transform: translateY(-50%);
}
.seal::before { left: -2px; }
.seal::after  { right: -2px; }

/* ========== 滚动入场 ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ========== FAQ 折叠 ========== */
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s; }

/* ========== 评论卡 ========== */
.comment-card {
  background: white;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 20px;
}

/* ========== 浮动 AI 助手 ========== */
.ai-fab { position: fixed; bottom: 100px; right: 24px; z-index: 60; }
@media (min-width: 768px) { .ai-fab { bottom: 32px; right: 32px; } }

.ai-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #b91c1c 0%, #450a0a 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.ai-btn:hover {
  transform: scale(1.08) rotate(8deg);
  box-shadow: 0 12px 32px rgba(185, 28, 28, 0.5);
}
.ai-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: #b91c1c;
  animation: ai-pulse 2s ease-out infinite;
  opacity: 0;
}
@keyframes ai-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.ai-panel {
  position: fixed; bottom: 100px; right: 24px;
  width: calc(100% - 48px);
  max-width: 380px; max-height: 520px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid #e7e5e4;
  z-index: 70;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ai-panel { bottom: 110px; right: 32px; width: 380px; }
}
.ai-panel.open {
  display: flex;
  animation: ai-slide-up 0.3s ease-out;
}
@keyframes ai-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== 通知弹窗 ========== */
.notify-pop {
  position: fixed; bottom: 100px; left: 24px; z-index: 55;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 12px 16px;
  border-left: 3px solid #059669;
  max-width: 320px;
  display: none;
}
@media (min-width: 768px) {
  .notify-pop { bottom: 32px; left: 32px; }
}
.notify-pop.show {
  display: block;
  animation: notify-in 0.4s ease-out;
}
@keyframes notify-in {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ========== 移动端底栏 ========== */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid #e7e5e4;
  z-index: 50;
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  display: none;
}
@media (max-width: 767px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
}

/* ========== 链接 / 键盘聚焦 ========== */
a { transition: color 0.2s; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible, textarea:focus-visible {
  outline: 2px solid #b91c1c;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ========== 品牌详情页专属样式 ========== */

/* 品牌详情 Hero — 暗色 + 红 + 金 三色光晕 */
.brand-hero {
  background:
    radial-gradient(ellipse 60% 60% at 20% 30%, rgba(220, 38, 38, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 70%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #0c0a09 0%, #450a0a 100%);
  position: relative; overflow: hidden;
}
.brand-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='%23ffffff' fill-opacity='0.035'><circle cx='10' cy='10' r='1.5'/><circle cx='50' cy='30' r='1'/><circle cx='90' cy='20' r='1.2'/><circle cx='30' cy='60' r='1.4'/><circle cx='70' cy='80' r='1'/><circle cx='110' cy='100' r='1.5'/><circle cx='20' cy='100' r='1'/><circle cx='100' cy='50' r='1.3'/></g></svg>");
  pointer-events: none;
}
.brand-hero::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, transparent 0%, #fafaf9 100%); pointer-events: none;
}

/* 印章式 Logo（品牌详情扩展） */
.stamp-brand {
  width: 96px; height: 96px; background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  border: 3px solid #d4af37; border-radius: 6px; color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif; font-size: 38px; font-weight: 700;
  position: relative; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  letter-spacing: 2px;
}
.stamp-brand::before, .stamp-brand::after {
  content: ""; position: absolute; width: 8px; height: 8px;
  background: #d4af37; border-radius: 50%; top: 50%; transform: translateY(-50%);
}
.stamp-brand::before { left: -5px; }
.stamp-brand::after { right: -5px; }

/* 酒瓶 SVG */
.bottle-svg { width: 100%; height: 100%; display: block; }
.bottle-hero {
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bottle-hero-wrap:hover .bottle-hero { transform: rotate(-4deg) translateY(-10px) scale(1.04); }
.bottle-hero-wrap { transition: transform 0.6s; }

/* 时间轴 */
.timeline-rail {
  position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: repeating-linear-gradient(90deg, #d4af37 0, #d4af37 8px, transparent 8px, transparent 16px);
  transform: translateY(-50%);
}
.timeline-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: white; border: 3px solid #b91c1c;
  display: flex; align-items: center; justify-content: center;
  font-family: "Noto Serif SC", serif; font-weight: 700;
  color: #b91c1c; font-size: 18px; z-index: 2; position: relative;
  transition: all 0.3s;
}
.timeline-step:hover .timeline-dot { background: #b91c1c; color: white; transform: scale(1.08); }

/* 金色印章 chip */
.seal-gold { background: #d4af37; }
.seal-gold::before, .seal-gold::after { background: #d4af37; }

/* 产品卡 */
.product-card { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(0,0,0,0.18); }
.product-card:hover .bottle-wrap { transform: rotate(-4deg) scale(1.06); }
.bottle-wrap { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }

/* 数字字体 */
.stat-num {
  font-family: "DM Serif Display", "Noto Serif SC", serif;
  font-variant-numeric: tabular-nums;
}

/* 故事图框 */
.story-frame {
  position: relative;
  background: linear-gradient(135deg, #fef7f7 0%, #fff 100%);
  border: 1px solid #e7e5e4;
  border-radius: 16px;
  overflow: hidden;
}

/* ==========================================================================
   文章详情页 (single.php) — 对照 article.html
   ========================================================================== */

/* Hero（详情页 — 暗色三色光晕） */
.article-hero {
  background:
    radial-gradient(ellipse 70% 90% at 20% 20%, rgba(220, 38, 38, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 80%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 60% 40%, rgba(127, 29, 29, 0.20) 0%, transparent 70%),
    linear-gradient(135deg, #0c0a09 0%, #1c1917 50%, #450a0a 100%);
  position: relative; overflow: hidden;
}
.article-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='%23ffffff' fill-opacity='0.035'><circle cx='10' cy='10' r='1.5'/><circle cx='50' cy='30' r='1'/><circle cx='90' cy='20' r='1.2'/><circle cx='30' cy='60' r='1.4'/><circle cx='70' cy='80' r='1'/><circle cx='110' cy='100' r='1.5'/><circle cx='20' cy='100' r='1'/><circle cx='100' cy='50' r='1.3'/></g></svg>");
  pointer-events: none;
}
.article-hero::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: linear-gradient(180deg, transparent 0%, #fafaf9 100%); pointer-events: none;
}

/* 详情页正文排版 */
.article-content { font-size: 16px; line-height: 1.85; color: #292524; }
.article-content h2 {
  font-family: "Noto Serif SC", serif; font-size: 24px; font-weight: 700;
  color: #0c0a09; margin: 48px 0 20px; padding-top: 8px;
  border-left: 4px solid #b91c1c; padding-left: 14px;
}
.article-content h3 {
  font-family: "Noto Serif SC", serif; font-size: 19px; font-weight: 700;
  color: #1c1917; margin: 36px 0 14px;
}
.article-content p { margin: 0 0 18px; }
.article-content strong { color: #0c0a09; font-weight: 700; }
.article-content ul, .article-content ol { margin: 0 0 18px; padding-left: 24px; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 4px solid #d4af37; padding: 16px 20px; margin: 24px 0;
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border-radius: 0 8px 8px 0; font-family: "Noto Serif SC", serif; color: #44403c;
}
.article-content table {
  width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px;
  background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.article-content th {
  background: #1c1917; color: white; padding: 12px 16px; text-align: left;
  font-weight: 600; font-size: 13px;
}
.article-content td {
  padding: 12px 16px; border-bottom: 1px solid #f5f5f4;
}
.article-content tr:last-child td { border-bottom: none; }
.article-content tr:nth-child(even) { background: #fafaf9; }

/* 目录侧边栏链接 */
.toc-link {
  display: block; padding: 8px 12px; border-radius: 6px;
  font-size: 13px; color: #57534e; transition: all 0.2s;
  border-left: 2px solid transparent;
}
.toc-link:hover { background: #fef2f2; color: #b91c1c; border-left-color: #b91c1c; }
.toc-link.active { background: #fef2f2; color: #b91c1c; border-left-color: #b91c1c; font-weight: 500; }

/* 悬浮标签 */
.float-tag {
  position: absolute; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 999px;
  padding: 6px 14px; font-size: 12px; color: #7c2d12; font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 摘要卡 */
.summary-card {
  background: linear-gradient(135deg, #fef7f7 0%, white 50%, #fefce8 100%);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px; padding: 24px;
}

/* 产品卡（详情页版） */
.article-content .product-card,
.product-card {
  background: white; border: 1px solid #e7e5e4; border-radius: 12px;
  padding: 16px; transition: all 0.3s;
}
.article-content .product-card:hover {
  transform: translateY(-3px); box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1); border-color: #fca5a5;
}

/* 文章卡（相关推荐） */
.article-card {
  background: white; border: 1px solid #e7e5e4; transition: all 0.3s;
}
.article-card:hover {
  transform: translateY(-3px); box-shadow: 0 12px 24px -8px rgba(0,0,0,0.08); border-color: #fca5a5;
}

/* WordPress 评论表单样式覆盖 */
.comment-form .submit-wrap { display: flex; }
.comment-form textarea { width: 100%; font-size: 0.875rem; resize: none; outline: none; border: none; }
.comment-form textarea::placeholder { color: #a8a29e; }
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url { margin-bottom: 0.75rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%; padding: 0.5rem 0.75rem; background: #fafaf9;
  border: 1px solid #e7e5e4; border-radius: 0.5rem; font-size: 0.875rem;
  outline: none;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
  border-color: #b91c1c; box-shadow: 0 0 0 2px rgba(185,28,28,0.1);
}

/* ==========================================================================
   案例页（archive-case / single-case）专属样式
   对照 cases.html 静态页
   ========================================================================== */

/* —— 案例页 seal 覆盖：描边红章 —— */
.post-type-archive-case .seal,
.single-case .seal {
  padding: 4px 10px;
  border: 1px solid #7f1d1d;
  color: #7f1d1d;
  font-size: 12px;
  letter-spacing: 4px;
  background: #fdf4f4;
  border-radius: 0;
}
.post-type-archive-case .seal::before,
.post-type-archive-case .seal::after,
.single-case .seal::before,
.single-case .seal::after {
  display: none;
}

/* —— 案例页 toolbar 覆盖 —— */
.post-type-archive-case .toolbar,
.single-case .toolbar {
  background: #0c0a09;
  color: #a8a29e;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* —— Hero 暗调 —— */
.hero-dark {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(127,29,29,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(127,29,29,0.12) 0%, transparent 50%),
    linear-gradient(180deg, #0c0a09 0%, #1c1917 100%);
  color: #fafaf9;
  position: relative;
  overflow: hidden;
}
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,197,197,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,197,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-dark { padding: 60px 0; }
}

/* —— 案例卡片 —— */
.case-card {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 24px;
  transition: all .3s ease;
  position: relative;
}
.case-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.case-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: #f5c5c5;
  line-height: 1;
  opacity: .5;
}

/* —— 头像首字 —— */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Noto Serif SC', serif;
}

/* —— 案例页 stat-num 增强 —— */
.post-type-archive-case .stat-num,
.single-case .stat-num {
  color: #7f1d1d;
  font-size: 20px;
  font-weight: 400;
  margin-left: 4px;
}

/* —— 引言区 —— */
.quote-block {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid #d6d3d1;
}
.quote-block::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 24px;
  background: #7f1d1d;
}

/* —— 案例页时间线（小圆点 + 竖线） —— */
.post-type-archive-case .timeline-line,
.single-case .timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e7e5e4;
}
.post-type-archive-case .timeline-dot,
.single-case .timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7f1d1d;
  border: 3px solid #fafaf9;
  box-shadow: 0 0 0 1px #d6d3d1;
}

/* —— 墨按钮（描边） —— */
.ink-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid #0c0a09;
  color: #0c0a09;
  background: transparent;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all .3s ease;
  cursor: pointer;
}
.ink-btn:hover {
  background: #0c0a09;
  color: #fafaf9;
}

/* —— 墨按钮（实心） —— */
.ink-btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #7f1d1d;
  color: #fafaf9;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all .3s ease;
  cursor: pointer;
  border: none;
}
.ink-btn-fill:hover {
  background: #5b1414;
}

/* —— 留言输入线 —— */
.ink-line {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #d6d3d1;
  padding: 12px 0;
  font-size: 15px;
  color: #1c1917;
  transition: border-color .2s;
}
.ink-line:focus {
  outline: none;
  border-bottom-color: #7f1d1d;
}
.ink-line::placeholder {
  color: #a8a29e;
}

/* —— 案例正文排版 —— */
.case-content p {
  margin-bottom: 1em;
}
.case-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   品牌列表页（archive-brand）— 对照 brands.html 静态页
   ========================================================================== */

/* Slim Hero（品牌列表 / 展会列表专用） */
.hero-slim {
  background:
    radial-gradient(ellipse 60% 80% at 15% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(220, 38, 38, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, #0c0a09 0%, #1c1917 50%, #450a0a 100%);
  position: relative; overflow: hidden;
}
.hero-slim::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='%23ffffff' fill-opacity='0.035'><circle cx='10' cy='10' r='1.5'/><circle cx='50' cy='30' r='1'/><circle cx='90' cy='20' r='1.2'/><circle cx='30' cy='60' r='1.4'/><circle cx='70' cy='80' r='1'/><circle cx='110' cy='100' r='1.5'/><circle cx='20' cy='100' r='1'/><circle cx='100' cy='50' r='1.3'/></g></svg>");
  pointer-events: none;
}
.hero-slim::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, transparent 0%, #fafaf9 100%); pointer-events: none;
}

/* 品牌卡片 hover 动效 */
.brand-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
}
.brand-card:hover .bottle-wrap { transform: rotate(-3deg) scale(1.05); }

/* 严选 / 认证 / 热门 徽章 */
.badge-pick { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; }
.badge-cert { background: linear-gradient(135deg, #059669 0%, #047857 100%); color: white; }
.badge-hot  { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); color: white; }

/* 筛选 pill */
.filter-pill {
  padding: 6px 14px; background: white; border: 1px solid #e7e5e4;
  border-radius: 999px; font-size: 13px; color: #44403c;
  transition: all 0.2s; cursor: pointer; white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
}
.filter-pill:hover { border-color: #b91c1c; color: #b91c1c; }
.filter-pill.active { background: #b91c1c; color: white; border-color: #b91c1c; }

/* ==========================================================================
   展会列表页（archive-event）— 对照 events.html 静态页
   ========================================================================== */

/* 展会卡片 */
.event-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.12);
  border-color: #fca5a5;
}
.event-card:hover .event-date-col { background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%); }
.event-card:hover .event-date-col .day,
.event-card:hover .event-date-col .month,
.event-card:hover .event-date-col .year { color: white; }
.event-date-col { transition: background 0.4s; }

/* 展会状态徽章 */
.badge-upcoming { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); color: white; }
.badge-open     { background: linear-gradient(135deg, #059669 0%, #047857 100%); color: white; }
.badge-forecast { background: linear-gradient(135deg, #57534e 0%, #292524 100%); color: white; }
.badge-archive  { background: linear-gradient(135deg, #a8a29e 0%, #57534e 100%); color: white; }

/* 行截断 */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   展会详情页（single-event）— 对照 event.html 静态页
   ========================================================================== */

/* 关键信息卡 */
.info-card {
  background: linear-gradient(135deg, #fefce8 0%, white 60%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px; padding: 28px;
}
.info-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 14px 0; border-bottom: 1px dashed #e7e5e4; font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
@media (max-width: 500px) { .info-row { grid-template-columns: 1fr; gap: 6px; } }
.info-k {
  color: #78716c; letter-spacing: .1em; font-size: 12px;
  display: flex; align-items: center; gap: 8px; padding-top: 2px;
}
.info-k i { color: #b91c1c; font-size: 13px; width: 14px; }
.info-v { color: #0c0a09; font-weight: 500; line-height: 1.7; }
.info-v small {
  display: block; font-size: 12px; color: #78716c;
  font-weight: 300; margin-top: 3px; letter-spacing: .05em;
}

/* 数据卡 */
.data-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid #e7e5e4; margin: 24px 0; border-radius: 12px; overflow: hidden;
}
@media (max-width: 600px) { .data-row { grid-template-columns: repeat(2, 1fr); } }
.data-cell {
  padding: 24px 18px; text-align: center;
  border-right: 1px solid #e7e5e4; background: #fafaf9;
}
.data-cell:last-child { border-right: none; }
@media (max-width: 600px) {
  .data-cell:nth-child(2n) { border-right: none; }
  .data-cell:nth-child(-n+2) { border-bottom: 1px solid #e7e5e4; }
}
.data-num {
  font-family: "DM Serif Display", "Noto Serif SC", serif;
  font-size: 28px; font-weight: 700; color: #b91c1c;
  line-height: 1; letter-spacing: -.02em;
}
.data-num small { font-size: 14px; color: #78716c; margin-left: 2px; font-weight: 400; }
.data-lbl { font-size: 11px; letter-spacing: .2em; color: #78716c; margin-top: 8px; text-transform: uppercase; }

/* 来源引用 */
.sources {
  background: #fafaf9; border: 1px solid #e7e5e4;
  padding: 24px 28px; border-radius: 12px; margin: 24px 0;
}
.sources ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sources li {
  font-size: 13px; color: #57534e;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.7;
}
.sources li i { color: #b91c1c; margin-top: 4px; font-size: 11px; flex-shrink: 0; }
.sources li a {
  color: #44403c; text-decoration: underline;
  text-decoration-color: #e7e5e4; text-underline-offset: 3px; transition: all 0.2s;
}
.sources li a:hover { color: #b91c1c; text-decoration-color: #b91c1c; }

/* 上下届切换 */
.pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4;
  border-radius: 12px; overflow: hidden; margin: 48px 0 0;
}
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } }
.pager a {
  padding: 24px; display: block; transition: all 0.3s;
  border-right: 1px solid #e7e5e4;
  background: white;
}
.pager a:last-child { border-right: none; text-align: right; }
@media (max-width: 600px) {
  .pager a { border-right: none; border-bottom: 1px solid #e7e5e4; }
  .pager a:last-child { border-bottom: none; }
}
.pager a:hover { background: #fafaf9; }
.pager-label {
  font-size: 11px; letter-spacing: .4em; color: #78716c;
  text-transform: uppercase; margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.pager a:last-child .pager-label { justify-content: flex-end; }
.pager-name {
  font-family: "Noto Serif SC", serif; font-size: 16px; color: #0c0a09;
  font-weight: 500; letter-spacing: .05em;
}
.pager a:hover .pager-name { color: #b91c1c; }

/* ==========================================================================
   企业入驻页（page-enterprise）— 对照 enterprise.html 静态页
   ========================================================================== */

/* —— 企业页 toolbar 覆盖 —— */
.page-template-enterprise .toolbar {
  background: #0c0a09;
  color: #a8a29e;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.page-template-enterprise .toolbar a { color: #a8a29e; transition: color .2s; }
.page-template-enterprise .toolbar a:hover { color: #f5c5c5; }

/* —— 企业页 seal 覆盖：描边红章 —— */
.page-template-enterprise .seal {
  padding: 4px 10px;
  border: 1px solid #7f1d1d;
  color: #7f1d1d;
  font-size: 12px;
  letter-spacing: 4px;
  background: #fdf4f4;
  border-radius: 0;
}
.page-template-enterprise .seal::before,
.page-template-enterprise .seal::after {
  display: none;
}

/* —— 暗调印章（Hero 内用） —— */
.seal--dark {
  border-color: #f5c5c5;
  color: #f5c5c5;
  background: transparent;
}

/* —— 主导航链接 —— */
.page-template-enterprise .nav-link {
  color: #44403c;
  font-size: 14px;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.page-template-enterprise .nav-link:hover,
.page-template-enterprise .nav-link.active { color: #7f1d1d; }
.page-template-enterprise .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: #7f1d1d;
}

/* —— 入驻须知卡 —— */
.rule-card {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.rule-card:hover {
  border-color: #f5c5c5;
  box-shadow: 0 8px 24px rgba(127,29,29,0.05);
}
.rule-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: #7f1d1d;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s ease;
}
.rule-card:hover::before { transform: scaleY(1); }

/* —— 身份项 —— */
.identity-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e7e5e4;
}
.identity-item:last-child { border-bottom: none; }
.identity-num {
  font-family: 'DM Serif Display', 'Noto Serif SC', serif;
  color: #7f1d1d;
  font-size: 28px;
  line-height: 1;
  min-width: 36px;
}

/* —— 下拉选择框 —— */
.ink-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #d6d3d1;
  padding: 12px 0;
  font-size: 15px;
  color: #1c1917;
  transition: border-color .2s;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8a29e' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.ink-select:focus {
  outline: none;
  border-bottom-color: #7f1d1d;
}

/* —— 流程线 —— */
.flow-line { position: relative; }
.flow-line::before {
  content: '';
  position: absolute;
  left: 19px; top: 40px; bottom: 0;
  width: 1px;
  background: #e7e5e4;
}
.flow-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fdf4f4;
  border: 1px solid #7f1d1d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', 'Noto Serif SC', serif;
  color: #7f1d1d;
  font-size: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   关于我们页（page-about）— 对照 about.html 静态页
   ========================================================================== */

/* 抽象化视觉 — ink-canvas */
.ink-canvas{
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(220,38,38,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 75%, rgba(212,175,55,0.14) 0%, transparent 60%),
    linear-gradient(180deg, #0c0a09 0%, #1c1411 60%, #0c0a09 100%);
  position:relative; overflow:hidden;
}
.ink-canvas::before{
  content:""; position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.06) 0, transparent 1px),
    radial-gradient(circle at 78% 65%, rgba(255,255,255,0.05) 0, transparent 1px),
    radial-gradient(circle at 45% 85%, rgba(255,255,255,0.04) 0, transparent 1px);
  background-size: 200px 200px, 300px 300px, 250px 250px;
  pointer-events:none;
}

/* 墨痕 SVG 笔触 */
.ink-stroke{
  position:absolute; inset:0; pointer-events:none; opacity:0.5;
}
.ink-stroke svg{ width:100%; height:100%; }

/* 巨型汉字（背景装饰） */
.bg-character{
  position:absolute; pointer-events:none;
  font-family:'"ZCOOL XiaoWei"', '"Noto Serif SC"', serif;
  color: rgba(255,255,255,0.04);
  line-height: 1; user-select:none;
}

/* 章节编号 */
.chapter-num{
  font-family:'"DM Serif Display"', serif;
  font-size: 11px; letter-spacing: 0.3em;
  color: #b91c1c;
}

/* 五字真言卡片 */
.glyph-card{
  position:relative; aspect-ratio: 3/4;
  background: white; border:1px solid #e7e5e4;
  transition: all .4s cubic-bezier(0.16,1,0.3,1);
  overflow:hidden;
}
.glyph-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 48px -16px rgba(12,10,9,0.15); border-color:#b91c1c; }
.glyph-card .glyph{
  font-family:'"ZCOOL XiaoWei"', '"Noto Serif SC"', serif;
  font-size: clamp(80px, 14vw, 180px);
  line-height:1; color:#1c1917;
  transition: color .4s;
}
.glyph-card:hover .glyph{ color:#b91c1c; }
.glyph-card::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  transform: scaleX(0); transform-origin:center;
  transition: transform .5s;
}
.glyph-card:hover::after{ transform: scaleX(1); }

/* 印章浮水印 */
.stamp-mark{
  display:inline-block;
  font-family:'"ZCOOL XiaoWei"', '"Noto Serif SC"', serif;
  color:#b91c1c; opacity:0.7;
  transform: rotate(-8deg);
}

/* 三敬卡片 */
.respect-card{
  position:relative; padding: 2.5rem 2rem;
  background: white; border:1px solid #e7e5e4;
  transition: all .4s;
}
.respect-card:hover{ background:#fafaf9; }
.respect-card .respect-char{
  font-family:'"ZCOOL XiaoWei"', '"Noto Serif SC"', serif;
  font-size: 64px; line-height:1; color:#0c0a09;
  display:inline-block; margin-bottom: 1rem;
}

/* 横向滚动条 */
.horizon{
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.horizon::-webkit-scrollbar{ display:none; }
.horizon > *{ scroll-snap-align: start; }

/* 柔和链接 */
.quiet-link{ color:#78716c; transition: color .2s; }
.quiet-link:hover{ color:#b91c1c; }

/* 关于页 — 提交成功弹窗 */
.letter-thanks-overlay{
  position: fixed; inset: 0; z-index: 80;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  padding: 1rem;
}
.letter-thanks-overlay.show{
  display: flex;
}

/* ==========================================================================
   搜索结果页（search）— 对照 search.html 静态页
   ========================================================================== */

/* 品牌卡片（紧凑型，给搜索结果用） */
.result-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: white; border: 1px solid #e7e5e4; border-radius: 12px;
  overflow: hidden;
}
.result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.12);
  border-color: #fca5a5;
}
.result-card:hover .bottle-wrap { transform: rotate(-3deg) scale(1.05); }

/* Tab 切换 */
.tab-btn {
  padding: 10px 16px; font-size: 14px; color: #57534e;
  border-bottom: 2px solid transparent; transition: all .2s;
  cursor: pointer; background: transparent; border-top: none; border-left: none; border-right: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.tab-btn:hover { color: #7f1d1d; }
.tab-btn.active { color: #7f1d1d; border-bottom-color: #7f1d1d; font-weight: 600; }
.tab-count {
  background: #f5f5f4; color: #57534e; font-size: 11px;
  padding: 1px 6px; border-radius: 999px; font-weight: 500;
}
.tab-btn.active .tab-count { background: #fee2e2; color: #7f1d1d; }

/* 筛选侧边栏 */
.filter-group { padding: 16px 0; border-bottom: 1px solid #f5f5f4; }
.filter-group:last-child { border-bottom: none; }
.filter-group-title {
  font-size: 13px; font-weight: 600; color: #0c0a09; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
}

/* 价格区间 checkbox 自定义 */
.price-option {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px; cursor: pointer;
  font-size: 13px; color: #44403c; transition: all .2s;
}
.price-option:hover { background: #fafaf9; color: #7f1d1d; }
.price-option input[type="radio"] { accent-color: #b91c1c; cursor: pointer; }
.price-option .price-num { font-weight: 600; color: #0c0a09; }
.price-option .price-count { margin-left: auto; font-size: 11px; color: #a8a29e; }

/* 入选筛选项 chips */
.applied-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; background: #fee2e2; color: #7f1d1d;
  border-radius: 999px; font-size: 12px;
}
.applied-chip button { background: transparent; border: none; cursor: pointer; color: #7f1d1d; padding: 0; display: flex; }

/* 排序 */
.sort-select {
  appearance: none; -webkit-appearance: none;
  background: white url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2344403c' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center;
  border: 1px solid #e7e5e4; border-radius: 8px;
  padding: 8px 36px 8px 12px; font-size: 13px; color: #44403c;
  cursor: pointer; outline: none;
}
.sort-select:focus { border-color: #b91c1c; }

/* 分页 */
.page-btn {
  min-width: 36px; height: 36px; padding: 0 12px;
  background: white; border: 1px solid #e7e5e4; border-radius: 6px;
  font-size: 13px; color: #44403c; cursor: pointer; transition: all .2s;
  display: inline-flex; align-items: center; justify-content: center;
}
.page-btn:hover { border-color: #b91c1c; color: #b91c1c; }
.page-btn.active { background: #b91c1c; color: white; border-color: #b91c1c; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* 空状态 */
.empty-state {
  text-align: center; padding: 64px 24px;
}

/* 热门关键词 */
.hot-keyword {
  display: inline-block; padding: 4px 10px;
  background: white; border: 1px solid #e7e5e4; border-radius: 999px;
  font-size: 12px; color: #57534e; transition: all .2s; cursor: pointer;
}
.hot-keyword:hover { border-color: #b91c1c; color: #b91c1c; }
.hot-keyword.hot { color: #7f1d1d; border-color: #fca5a5; background: #fef7f7; }

/* line-clamp-3 兼容 */
.line-clamp-3 {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  line-clamp: 3; overflow: hidden;
}

/* 搜索结果页响应式 */
@media (max-width: 768px) {
  .hero-slim { padding: 40px 0 60px; }
}

/* ==========================================================================
   广告招商页（page-advertise）— 对照 advertise.html 静态页
   ========================================================================== */

/* Hero 背景渐变 + 纹理 */
.hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(212, 175, 55, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(220, 38, 38, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #0c0a09 0%, #292524 50%, #450a0a 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='%23ffffff' fill-opacity='0.04'><circle cx='10' cy='10' r='1.5'/><circle cx='50' cy='30' r='1'/><circle cx='90' cy='20' r='1.2'/><circle cx='30' cy='60' r='1.4'/><circle cx='70' cy='80' r='1'/><circle cx='110' cy='100' r='1.5'/><circle cx='20' cy='100' r='1'/><circle cx='100' cy='50' r='1.3'/></g></svg>");
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: linear-gradient(180deg, transparent 0%, #fafaf9 100%);
  pointer-events: none;
}

/* 统计数字字体 */
.stat-num {
  font-family: "DM Serif Display", "Noto Serif SC", serif;
  font-variant-numeric: tabular-nums;
}

/* 广告位模拟条纹 */
.slot-mock {
  background: repeating-linear-gradient(45deg, #f5f5f4 0, #f5f5f4 10px, #e7e5e4 10px, #e7e5e4 20px);
  position: relative;
}
.slot-mock::before {
  content: attr(data-size);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #78716c; font-size: 11px; font-family: monospace;
}

/* ==========================================================================
   资讯百科页 (home.php) — 对照 news-list.html 静态页
   ========================================================================== */

/* 文章扁平行（核心 UI：3 列布局 + hover 偏移） */
.article-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #e7e5e4;
  transition: padding-left .2s, background .2s, border-color .2s;
}
.article-row:hover {
  padding-left: 8px;
  background: linear-gradient(90deg, #fef7f7 0%, transparent 60%);
  border-bottom-color: #fca5a5;
}
.article-row:last-child { border-bottom: 0; }

/* 分类色 token（与静态页 .cat-* 完全对齐） */
.cat-jiang    { background:#fef2f2; color:#b91c1c; }
.cat-nong     { background:#fff7ed; color:#c2410c; }
.cat-qing     { background:#f0fdf4; color:#15803d; }
.cat-feng     { background:#fefce8; color:#a16207; }
.cat-jian     { background:#faf5ff; color:#7e22ce; }
.cat-mi       { background:#fffbeb; color:#b45309; }
.cat-lao      { background:#f5f5f4; color:#44403c; }
.cat-jian-b   { background:#ecfdf5; color:#047857; }
.cat-tou      { background:#eff6ff; color:#1d4ed8; }
.cat-li       { background:#fdf2f8; color:#be185d; }
.cat-can      { background:#fff7ed; color:#c2410c; }
.cat-hang     { background:#f1f5f9; color:#334155; }

/* 筛选 select 自定义箭头 */
.filter-select {
  padding: 7px 32px 7px 12px;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  font-size: 13px;
  color: #44403c;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.filter-select:hover { border-color: #b91c1c; }
.filter-select:focus { border-color: #b91c1c; outline: none; }

/* 头条 / 编辑推荐 */
.featured-headline {
  background: linear-gradient(135deg, #1c1917 0%, #450a0a 100%);
  color: white;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
@media (max-width: 768px) {
  .featured-headline { grid-template-columns: 1fr; }
}

/* ==========================================================================
   标签聚合页 (tag.php / taxonomy.php) — 对照 tag.html 静态页
   ========================================================================== */

/* 暗调 Hero（标签聚合页专用） */
.tag-hero {
  background:
    radial-gradient(ellipse 60% 80% at 10% 20%, rgba(220,38,38,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(212,175,55,.10) 0%, transparent 60%),
    linear-gradient(135deg, #1c1917 0%, #292524 60%, #450a0a 100%);
  position: relative;
  overflow: hidden;
}
.tag-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='%23ffffff' fill-opacity='0.03'><circle cx='10' cy='10' r='1.5'/><circle cx='50' cy='30' r='1'/><circle cx='90' cy='20' r='1.2'/><circle cx='30' cy='60' r='1.4'/><circle cx='70' cy='80' r='1'/><circle cx='110' cy='100' r='1.5'/><circle cx='20' cy='100' r='1'/><circle cx='100' cy='50' r='1.3'/></g></svg>");
  pointer-events: none;
}
.tag-hero::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, transparent 0%, #fafaf9 100%); pointer-events: none;
}

/* 标签气泡（4 个一组 hover 高亮） */
.tag-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #fff; border: 1px solid #e7e5e4;
  color: #44403c;
  font-size: 13px;
  transition: all .15s;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}
.tag-chip:hover {
  border-color: #fca5a5; color: #b91c1c;
  background: #fef7f7; transform: translateY(-1px);
}
.tag-chip.active {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(185,28,28,.25);
}
.tag-chip .num {
  font-size: 11px;
  opacity: .7;
  font-weight: 400;
}
.tag-chip.active .num { opacity: .85; }

/* 标签分组标题 + 计数 */
.tag-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #292524;
  margin: 24px 0 12px;
}
.tag-section-title::before {
  content: ""; width: 3px; height: 14px;
  background: linear-gradient(180deg, #b91c1c 0%, #7f1d1d 100%);
  border-radius: 2px;
}
.tag-section-title .count {
  margin-left: auto;
  font-size: 11px;
  color: #a8a29e;
  font-weight: 400;
}

/* 标签分组卡 */
.tag-group-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e7e5e4;
  padding: 20px;
  margin-bottom: 16px;
  transition: border-color .2s;
}
.tag-group-card:hover { border-color: #fca5a5; }

/* 当前激活标签大徽章 */
.active-tag-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #fef7f7 100%);
  border: 1px solid #fecaca;
  margin-bottom: 20px;
}
.active-tag-banner .label { font-size: 12px; color: #a8a29e; }
.active-tag-banner .name {
  font-family: '"Noto Serif SC"', serif;
  font-size: 24px; font-weight: 700;
  color: #1c1917; line-height: 1;
}
.active-tag-banner .desc {
  font-size: 13px; color: #57534e;
  margin-top: 6px; line-height: 1.6;
}

/* 订阅卡 */
.subscribe-card {
  background: linear-gradient(135deg, #1c1917 0%, #450a0a 100%);
  border-radius: 12px;
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.subscribe-card::before {
  content: "";
  position: absolute; top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   内容聚合卡 (item-card / item-thumb / item-type) — 标签聚合页 4 类内容
   ========================================================================== */

.item-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e7e5e4;
  margin-bottom: 10px;
  transition: all .2s;
  cursor: pointer;
  align-items: center;
}
.item-card:hover {
  border-color: #fca5a5;
  box-shadow: 0 6px 20px rgba(185,28,28,.06);
  transform: translateY(-1px);
}
.item-thumb {
  width: 64px; height: 64px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: '"ZCOOL XiaoWei"', '"Noto Serif SC"', serif;
  font-size: 24px; font-weight: 700;
  color: #fff;
}
.item-thumb.brand   { background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%); }
.item-thumb.article { background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%); }
.item-thumb.event   { background: linear-gradient(135deg, #1c1917 0%, #44403c 100%); }
.item-thumb.case    { background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%); }

.item-title {
  font-size: 15px;
  font-weight: 600;
  color: #1c1917;
  line-height: 1.4;
  margin-bottom: 4px;
}
.item-title:hover { color: #b91c1c; }
.item-meta {
  font-size: 12px; color: #78716c;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.item-meta .sep { color: #d6d3d1; }

.item-type {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.item-type.brand   { background: #fee2e2; color: #991b1b; }
.item-type.article { background: #fef3c7; color: #92400e; }
.item-type.event   { background: #e7e5e4; color: #44403c; }
.item-type.case    { background: #fecaca; color: #7f1d1d; }

/* ==========================================================================
   首页行业资讯文字行（front-page.php）— 对照静态页 index.html
   ========================================================================== */
.news-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 14px;
  color: #292524;
  transition: color .15s;
}
.news-row:hover .news-title { color: #b91c1c; }
.news-row .badge-cat {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  font-size: 11px;
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 3px;
  padding: 2px 0;
}
.news-row .news-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.news-row .news-meta {
  flex-shrink: 0;
  font-size: 11px;
  color: #a8a29e;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   全站公告条
   ========================================================================== */
.site-announcement {
  position: relative;
  z-index: 50;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}
.site-announcement .ann-text {
  display: inline-block;
}
.site-announcement a.ann-text { text-decoration: none; }
.site-announcement a.ann-text:hover { text-decoration: underline; }

.site-announcement--gold {
  background: linear-gradient(90deg, #fde68a 0%, #fbbf24 50%, #fde68a 100%);
  color: #7c2d12;
  border-bottom: 1px solid #d97706;
}
.site-announcement--red {
  background: linear-gradient(90deg, #fecaca 0%, #dc2626 50%, #fecaca 100%);
  color: white;
  border-bottom: 1px solid #991b1b;
}
.site-announcement--blue {
  background: linear-gradient(90deg, #bfdbfe 0%, #2563eb 50%, #bfdbfe 100%);
  color: white;
  border-bottom: 1px solid #1d4ed8;
}
.site-announcement--dark {
  background: #1c1917;
  color: #fef3c7;
  border-bottom: 1px solid #44403c;
}
.site-announcement .ann-close { color: inherit; }

@media (max-width: 600px) {
  .site-announcement { font-size: 12px; }
  .site-announcement .container { padding-left: 36px; padding-right: 36px; }
}

/* ==========================================================================
   baijiu-form shortcode 样式（供 [baijiu_form id="..."] 渲染的表单）
   ========================================================================== */
.baijiu-form { display: block; }
.baijiu-form .baijiu-form-field { margin-bottom: 14px; }
.baijiu-form .baijiu-form-field label {
  display: block; font-size: 12px; color: #57534e; margin-bottom: 6px; font-weight: 500;
}
.baijiu-form .baijiu-form-field label .required { color: #b91c1c; margin-left: 2px; }
.baijiu-form .baijiu-form-field input[type="text"],
.baijiu-form .baijiu-form-field input[type="tel"],
.baijiu-form .baijiu-form-field input[type="email"],
.baijiu-form .baijiu-form-field input[type="number"],
.baijiu-form .baijiu-form-field input[type="url"],
.baijiu-form .baijiu-form-field select,
.baijiu-form .baijiu-form-field textarea {
  width: 100%; padding: 10px 12px; background: #fafaf9;
  border: 1px solid #e7e5e4; border-radius: 8px; font-size: 14px; color: #1c1917;
  outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
  font-family: inherit;
}
.baijiu-form .baijiu-form-field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8a29e' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; }
.baijiu-form .baijiu-form-field textarea { resize: vertical; min-height: 88px; line-height: 1.6; }
.baijiu-form .baijiu-form-field input:focus,
.baijiu-form .baijiu-form-field select:focus,
.baijiu-form .baijiu-form-field textarea:focus {
  border-color: #b91c1c; background: #fff;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.08);
}
.baijiu-form .baijiu-form-field input:disabled,
.baijiu-form .baijiu-form-field select:disabled,
.baijiu-form .baijiu-form-field textarea:disabled { opacity: 0.6; cursor: not-allowed; }

.baijiu-form .baijiu-form-submit { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.baijiu-form .baijiu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .2s; border: 1px solid transparent;
  font-family: inherit; line-height: 1.2;
}
.baijiu-form .baijiu-btn.btn-primary {
  background: #b91c1c; color: #fff; border-color: #b91c1c;
}
.baijiu-form .baijiu-btn.btn-primary:hover { background: #991b1b; border-color: #991b1b; }
.baijiu-form .baijiu-btn.btn-primary:disabled { background: #a8a29e; border-color: #a8a29e; cursor: not-allowed; }
.baijiu-form .baijiu-btn.btn-secondary {
  background: #fff; color: #1c1917; border-color: #d6d3d1;
}
.baijiu-form .baijiu-btn.btn-secondary:hover { background: #fafaf9; border-color: #b91c1c; color: #b91c1c; }

.baijiu-form .baijiu-form-msg {
  font-size: 13px; color: #57534e; min-height: 18px;
}
.baijiu-form .baijiu-form-msg.success { color: #059669; }
.baijiu-form .baijiu-form-msg.error { color: #b91c1c; }

.baijiu-form-error {
  padding: 12px 16px; background: #fef2f2; border: 1px solid #fecaca;
  color: #991b1b; border-radius: 8px; font-size: 14px;
}

@media (max-width: 600px) {
  .baijiu-form .baijiu-form-field input,
  .baijiu-form .baijiu-form-field select,
  .baijiu-form .baijiu-form-field textarea { font-size: 16px; /* 防 iOS 缩放 */ }
}

/* ==========================================================================
   白酒学院文章详情页 (knowledge-article)
   3 栏布局：左目录 / 中正文 / 右咨询表单 (sticky)
   ========================================================================== */
.knowledge-hero {
  background: radial-gradient(ellipse 70% 90% at 20% 20%, rgba(220, 38, 38, 0.18) 0%, transparent 60%),
              radial-gradient(ellipse 50% 70% at 80% 80%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse 40% 60% at 60% 40%, rgba(127, 29, 29, 0.20) 0%, transparent 70%),
              linear-gradient(135deg, #0c0a09 0%, #1c1917 50%, #450a0a 100%);
  color: #fafaf9; position: relative; overflow: hidden;
}
.knowledge-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,197,197,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,197,197,0.04) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.knowledge-hero::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: linear-gradient(180deg, transparent 0%, #fafaf9 100%); pointer-events: none;
}
.knowledge-hero .container { padding-top: 56px; padding-bottom: 80px; position: relative; z-index: 1; }
@media (min-width: 768px) { .knowledge-hero .container { padding-top: 80px; padding-bottom: 100px; } }

/* 覆盖 body .container !important 规则，保证知识详情容器宽度正确 */
.knowledge-hero .container,
.knowledge-body .container,
.knowledge-related .container {
  max-width: 1200px !important;
}
@media (min-width: 1280px) {
  .knowledge-hero .container,
  .knowledge-body .container,
  .knowledge-related .container { max-width: 1200px !important; }
}

.knowledge-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #d6d3d1; margin-bottom: 24px; flex-wrap: wrap; }
.knowledge-breadcrumb a { color: #d6d3d1; }
.knowledge-breadcrumb a:hover { color: #fff; }
.knowledge-breadcrumb .sep { color: #57534e; }
.knowledge-breadcrumb .current { color: #fff; }

.knowledge-tag-row { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.knowledge-tag-pill { padding: 4px 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; font-size: 12px; color: #fff; backdrop-filter: blur(4px); }

.knowledge-hero h1 { font-size: 32px; line-height: 1.25; margin-bottom: 20px; color: #fff; font-weight: 700; }
@media (min-width: 768px) { .knowledge-hero h1 { font-size: 44px; } }
@media (min-width: 1024px) { .knowledge-hero h1 { font-size: 52px; } }

.knowledge-hero .knowledge-excerpt { font-size: 16px; color: #d6d3d1; line-height: 1.8; max-width: 760px; margin-bottom: 28px; font-weight: 300; }

.knowledge-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: #a8a29e; }
.knowledge-meta .author { display: flex; align-items: center; gap: 8px; }
.knowledge-meta .avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(212, 175, 55, 0.2); border: 1px solid rgba(212, 175, 55, 0.4); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.knowledge-meta .author-name { font-size: 13px; color: #fff; font-weight: 500; }
.knowledge-meta .author-desc { font-size: 10px; color: #a8a29e; }
.knowledge-meta .divider { color: #44403c; }
.knowledge-meta .item { display: inline-flex; align-items: center; gap: 4px; }

/* 主体 3 栏 */
.knowledge-body { padding: 48px 0; }
@media (min-width: 768px) { .knowledge-body { padding: 64px 0; } }
.knowledge-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) {
  .knowledge-grid { grid-template-columns: 240px 1fr 280px; gap: 40px; align-items: start; }
  .knowledge-grid > * { align-self: start; }
}
/* 左：目录 */
.knowledge-toc { display: none; }
@media (min-width: 1024px) { .knowledge-toc { display: block; position: sticky; top: 96px; align-self: start; } }
.knowledge-toc-box { background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.knowledge-toc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.knowledge-toc-head .icon { color: #b91c1c; }
.knowledge-toc-title { font-size: 13px; font-weight: 700; color: #0c0a09; }
.knowledge-toc-nav { display: flex; flex-direction: column; gap: 2px; }
.knowledge-toc-link { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12px; color: #57534e; border-radius: 6px; border-left: 2px solid transparent; transition: all .2s; }
.knowledge-toc-link:hover { background: #fef2f2; color: #b91c1c; border-left-color: #b91c1c; }
.knowledge-toc-link.active { background: #fef2f2; color: #b91c1c; border-left-color: #b91c1c; font-weight: 500; }
.knowledge-toc-link .num { color: #a8a29e; font-variant-numeric: tabular-nums; }

/* 右：咨询表单 */
.knowledge-sidebar { display: none; }
@media (min-width: 1024px) { .knowledge-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; align-self: start; } }
.knowledge-card { background: #fff; border: 1px solid #e7e5e4; border-radius: 12px; padding: 20px; }
.knowledge-card.primary { background: linear-gradient(135deg, #fef7f7 0%, #fefce8 100%); border-color: #fca5a5; }
.knowledge-card .head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: #b91c1c; }
.knowledge-card .head .icon { color: #d4af37; }
.knowledge-card .desc { font-size: 13px; color: #57534e; line-height: 1.6; margin-bottom: 12px; }
.knowledge-card .btn { display: block; width: 100%; padding: 10px 0; background: #b91c1c; color: #fff; text-align: center; font-size: 13px; font-weight: 500; border-radius: 8px; text-decoration: none; }
.knowledge-card .btn:hover { background: #991b1b; }
.knowledge-card .back { display: block; padding: 10px 0; background: #f5f5f4; color: #44403c; text-align: center; font-size: 13px; border-radius: 8px; text-decoration: none; }
.knowledge-card .back:hover { background: #e7e5e4; }
.knowledge-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.knowledge-form input { padding: 12px; border: 1px solid #d6d3d1; border-radius: 8px; font-size: 14px; background: #fff; color: #1c1917; font-family: inherit; outline: none; }
.knowledge-form input:focus { border-color: #b91c1c; box-shadow: 0 0 0 3px rgba(185,28,28,0.08); }
.knowledge-form .btn { margin-top: 4px; padding: 12px; font-size: 14px; border: none; cursor: pointer; font-family: inherit; text-decoration: none; }
.knowledge-form .secure { font-size: 11px; color: #a8a29e; display: flex; align-items: center; gap: 4px; justify-content: center; }

/* 中：正文 */
.knowledge-content { font-size: 16px; line-height: 1.85; color: #292524; max-width: 720px; }
.knowledge-content h2 { font-size: 24px; font-weight: 700; color: #0c0a09; margin: 48px 0 20px; padding-top: 8px; border-left: 4px solid #b91c1c; padding-left: 14px; line-height: 1.3; }
.knowledge-content h3 { font-size: 19px; font-weight: 700; color: #1c1917; margin: 36px 0 14px; }
.knowledge-content p { margin: 0 0 18px; }
.knowledge-content strong { color: #0c0a09; font-weight: 700; }
.knowledge-content ul, .knowledge-content ol { margin: 0 0 18px; padding-left: 24px; }
.knowledge-content ul li { list-style: disc; margin-bottom: 6px; }
.knowledge-content ol li { list-style: decimal; margin-bottom: 6px; }
.knowledge-content blockquote { border-left: 4px solid #d4af37; padding: 16px 20px; margin: 24px 0; background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%); border-radius: 0 8px 8px 0; font-style: normal; color: #44403c; }
.knowledge-content blockquote p { margin: 0; }
.knowledge-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.knowledge-content table th, .knowledge-content table td { padding: 10px 14px; border: 1px solid #e7e5e4; text-align: left; }
.knowledge-content table th { background: #fafaf9; font-weight: 600; color: #0c0a09; }
.knowledge-content table tr:nth-child(even) { background: #fafaf9; }
.knowledge-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 24px 0; }
.knowledge-content pre { background: #1c1917; color: #e7e5e4; padding: 16px 20px; border-radius: 8px; overflow-x: auto; font-size: 13px; margin: 24px 0; }
.knowledge-content code { font-family: "SF Mono", "Fira Code", "Consolas", monospace; font-size: 13px; }

/* 信息卡 */
.knowledge-info-card { background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 12px; padding: 0; margin: 0 0 32px; overflow: hidden; }
.knowledge-info-card .info-head { display: flex; align-items: center; gap: 8px; padding: 16px 20px 0; margin-bottom: 4px; }
.knowledge-info-card .info-head .seal { display: inline-block; padding: 2px 10px; background: #b91c1c; color: #fff; font-size: 12px; border-radius: 2px; letter-spacing: 1px; }
.knowledge-info-card .info-head .time { font-size: 12px; color: #78716c; }
.knowledge-info-card .info-row { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 20px; border-bottom: 1px dashed #e7e5e4; }
.knowledge-info-card .info-row:last-child { border-bottom: none; }
.knowledge-info-card .info-k { display: flex; align-items: center; gap: 4px; color: #78716c; font-size: 12px; letter-spacing: .1em; padding-top: 2px; }
.knowledge-info-card .info-k .icon { color: #b91c1c; }
.knowledge-info-card .info-v { color: #0c0a09; font-weight: 500; line-height: 1.6; }
.knowledge-info-card .info-v small { display: block; font-size: 12px; color: #78716c; font-weight: 300; margin-top: 3px; }

/* 数据行 */
.knowledge-data-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid #e7e5e4; margin: 24px 0; border-radius: 12px; overflow: hidden; }
@media (max-width: 600px) { .knowledge-data-row { grid-template-columns: repeat(2, 1fr); } }
.knowledge-data-cell { padding: 24px 18px; text-align: center; border-right: 1px solid #e7e5e4; background: #fafaf9; }
.knowledge-data-cell:last-child { border-right: none; }
@media (max-width: 600px) { .knowledge-data-cell:nth-child(2n) { border-right: none; } .knowledge-data-cell:nth-child(-n+2) { border-bottom: 1px solid #e7e5e4; } }
.knowledge-data-num { font-size: 28px; font-weight: 700; color: #b91c1c; line-height: 1; letter-spacing: -.02em; }
.knowledge-data-num small { font-size: 14px; color: #78716c; margin-left: 2px; font-weight: 400; }
.knowledge-data-lbl { font-size: 11px; letter-spacing: .2em; color: #78716c; margin-top: 8px; }

/* 来源 */
.knowledge-sources { background: #fafaf9; border: 1px solid #e7e5e4; padding: 24px 28px; border-radius: 12px; margin: 24px 0; }
.knowledge-sources h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: #1c1917; }
.knowledge-sources ul { display: flex; flex-direction: column; gap: 8px; }
.knowledge-sources li { font-size: 13px; color: #57534e; display: flex; align-items: flex-start; gap: 8px; line-height: 1.7; list-style: none; }

/* 分享 */
.knowledge-share { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid #e7e5e4; margin-top: 32px; }
.knowledge-share .label { font-size: 13px; color: #57534e; font-weight: 500; }

/* 上下篇 */
.knowledge-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4; border-radius: 12px; overflow: hidden; margin: 48px 0 0; }
@media (max-width: 600px) { .knowledge-pager { grid-template-columns: 1fr; } }
.knowledge-pager a { padding: 20px 24px; display: block; transition: all .3s; border-right: 1px solid #e7e5e4; text-decoration: none; }
.knowledge-pager a:last-child { border-right: none; text-align: right; }
.knowledge-pager a:hover { background: #fafaf9; }
.knowledge-pager-label { font-size: 11px; letter-spacing: .4em; color: #78716c; text-transform: uppercase; margin-bottom: 6px; }
.knowledge-pager-name { font-size: 15px; color: #0c0a09; font-weight: 500; }

/* 相关文章 */
.knowledge-related { padding: 48px 0; background: #fff; border-top: 1px solid #e7e5e4; }
@media (min-width: 768px) { .knowledge-related { padding: 64px 0; } }
.knowledge-related h2 { font-size: 24px; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; font-weight: 700; color: #0c0a09; }
.knowledge-related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .knowledge-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .knowledge-related-grid { grid-template-columns: repeat(4, 1fr); } }
.knowledge-related-card { background: #fff; border: 1px solid #e7e5e4; border-radius: 8px; overflow: hidden; display: block; text-decoration: none; }
.knowledge-related-card:hover { border-color: #fca5a5; box-shadow: 0 8px 16px -4px rgba(0,0,0,0.08); }
.knowledge-related-card .img { height: 170px; background: linear-gradient(135deg, #fef7f7 0%, #fef3c7 100%); display: flex; align-items: center; justify-content: center; color: #d4af37; font-size: 32px; overflow: hidden; background-position: center; background-repeat: no-repeat; background-size: cover; }
.knowledge-related-card .body { padding: 16px; }
.knowledge-related-card h3 { font-size: 14px; line-height: 1.4; color: #0c0a09; margin-bottom: 8px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.knowledge-related-card .meta { font-size: 11px; color: #a8a29e; }
