/* ==========================================================================
   美创门业官方博客 & 门业百科样式表
   Meichuang Door Official Blog & Knowledge Base CSS
   极简现代 · 建筑级质感 · 纯净呼吸感
   ========================================================================== */

:root {
  /* 品牌核心主色与辅助色 — 曜石黑 + 暖金琥珀 (高端建筑工业美学，告别沉闷土褐) */
  --brand-primary: #0F172A;        /* 深曜石黑 Slate-900 (沉稳、权威、现代) */
  --brand-primary-light: #1E293B;  /* 石墨灰 Slate-800 */
  --brand-primary-dark: #020617;   /* 极夜黑 Slate-950 */
  --brand-accent: #D97706;         /* 暖金琥珀色 Amber-600 (温润奢华木石感，明亮清透) */
  --brand-accent-hover: #B45309;   /* 深琥珀 Amber-700 */
  --brand-accent-bg: #FFFBEB;      /* 极浅琥珀背景 Amber-50 */
  --brand-accent-border: #FDE68A;  /* 琥珀细边框 Amber-200 */

  /* 中性背景层级 — 纯净透亮 Slate 系统 (告别泛黄泛脏感) */
  --bg-page: #F8FAFC;              /* 纯净清爽 Slate-50 底色 */
  --bg-card: #FFFFFF;              /* 纯白卡片 */
  --bg-subtle: #F1F5F9;            /* 浅阶底色 Slate-100 */
  
  /* 文字排版体系 — 高清晰度、高对比、优异可读性 */
  --text-title: #0F172A;           /* 标题纯正深黑 (Slate 900) */
  --text-body: #334155;            /* 正文阅读灰 (Slate 700) 柔和不刺眼 */
  --text-secondary: #64748B;       /* 次要说明 (Slate 500) */
  --text-light: #94A3B8;           /* 弱化注释 (Slate 400) */
  
  /* 边框体系 — 纤细精密发丝线 */
  --border-light: #F1F5F9;         /* 极淡分割线 (Slate 100) */
  --border-card: #E2E8F0;          /* 精致卡片边框 (Slate 200) */
  --border-hover: #CBD5E1;         /* 悬浮聚焦边框 (Slate 300) */

  /* 阴影体系 — 柔和弥散，具有现代空间景深 */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.1), 0 6px 12px -2px rgba(15, 23, 42, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

/* 全局重置与基础设定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 阅读进度条 */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent) 0%, #F59E0B 100%);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* 顶部导航 Header — 纯净透亮白底与高精玻璃拟态，与官网首页高度统一 */
header.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-title);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 25px;
  width: auto;
  display: block;
}

.brand-text-fallback {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 10px;
  color: var(--brand-accent);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
}

/* 导航链接 */
nav.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav.site-nav a {
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding: 6px 0;
}

nav.site-nav a:hover,
nav.site-nav a.active {
  color: var(--text-title);
}

nav.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
}

.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-primary);
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 7px 18px !important;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease !important;
}

.nav-phone-btn:hover {
  background: var(--brand-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

/* 博客首页 Hero 区域 — 曜石石墨深邃背景 + 琥珀微光，高级极简 */
.blog-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  color: #FFFFFF;
  padding: 60px 24px 68px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #1E293B;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, rgba(15, 23, 42, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #F8FAFC;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 15px;
  color: #94A3B8;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* 搜索框与即时过滤 */
.hero-search-box {
  max-width: 580px;
  margin: 0 auto 24px;
  position: relative;
}

.hero-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-search-input::placeholder {
  color: #94A3B8;
}

.hero-search-input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25);
}

.hero-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 16px;
  pointer-events: none;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94A3B8;
  margin-top: 10px;
}

.hero-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-stat-item strong {
  color: #FCD34D;
  font-size: 15px;
}

/* 分类标签导航 Filter Pills */
.category-nav-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 57px;
  z-index: 900;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.category-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.category-nav-container::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background: #F1F5F9;
  border: 1px solid transparent;
  color: #475569;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.filter-btn:hover {
  background: #E2E8F0;
  color: var(--text-title);
}

.filter-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

/* 主容器布局 */
.main-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

/* 精选头条模块 */
.featured-section {
  margin-bottom: 36px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--brand-accent);
  border-radius: 2px;
}

.featured-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.featured-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.featured-card-tag {
  display: inline-block;
  background: var(--brand-accent-bg);
  color: var(--brand-accent-hover);
  border: 1px solid var(--brand-accent-border);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.featured-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.5;
  margin-bottom: 10px;
}

.featured-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: auto;
}

.featured-read-link {
  color: var(--brand-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 文章列表卡片网格 */
.articles-stream {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.article-item-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  transition: all 0.25s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.article-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.category-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 标签色彩体系 — 现代微饱和莫兰迪清透质感，清晰高级 */
.badge-climate { background: #F0F9FF; color: #0284C7; border: 1px solid #BAE6FD; }
.badge-compare { background: #EEF2FF; color: #4F46E5; border: 1px solid #C7D2FE; }
.badge-b2b     { background: #F8FAFC; color: #334155; border: 1px solid #CBD5E1; }
.badge-price   { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.badge-brand   { background: #FFF1F2; color: #E11D48; border: 1px solid #FECDD3; }
.badge-custom  { background: #FAF5FF; color: #7C3AED; border: 1px solid #DDD6FE; }
.badge-default { background: #F1F5F9; color: #475569; border: 1px solid #E2E8F0; }

.article-card-date {
  font-size: 12px;
  color: var(--text-light);
}

.article-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.5;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.article-item-card:hover .article-card-title {
  color: var(--brand-accent);
}

.article-card-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
}

.article-author-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748B;
}

.read-more-text {
  color: var(--brand-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.article-item-card:hover .read-more-text {
  gap: 8px;
  color: var(--brand-accent);
}

/* 侧边栏 Widget */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 工厂直供卡片 — 曜石石墨色系，精致现代 */
.factory-card-widget {
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.factory-badge-top {
  display: inline-block;
  background: var(--brand-accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.factory-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.factory-desc {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 18px;
}

.factory-points {
  list-style: none;
  margin-bottom: 20px;
}

.factory-points li {
  font-size: 12px;
  color: #E2E8F0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.factory-points li::before {
  content: '✓';
  color: #FCD34D;
  font-weight: bold;
}

.factory-hotline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-accent);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  transition: all 0.2s ease;
}

.factory-hotline-btn:hover {
  background: var(--brand-accent-hover);
  transform: translateY(-1px);
}

.factory-qr-box {
  margin-top: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.factory-qr-img {
  width: 60px;
  height: 60px;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 4px;
}

.factory-qr-text {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.5;
}

.factory-qr-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 12px;
  margin-bottom: 2px;
}

/* 热门标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud-item {
  background: #F1F5F9;
  color: #475569;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid var(--border-card);
  transition: all 0.2s ease;
}

.tag-cloud-item:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

/* 博客详情页 Article Detail Styles */
.article-detail-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.article-breadcrumb {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.article-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
  color: var(--text-title);
  text-decoration: underline;
}

.article-main-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  padding: 48px 56px;
}

.article-header-meta {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.article-top-tag {
  display: inline-block;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid var(--border-card);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.article-main-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.article-info-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-secondary);
}

.article-info-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 核心观点 / 结论先行卡片 — 清爽 Slate 浅底搭配琥珀强调线，专业且极易阅读 */
.takeaway-box {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--brand-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 28px 0 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.takeaway-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.takeaway-content {
  font-size: 15px;
  color: #1E293B;
  line-height: 1.8;
  font-weight: 500;
}

/* 正文排版 */
.article-body {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.article-body h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-title);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--brand-accent);
  line-height: 1.4;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-title);
  margin: 28px 0 12px;
}

.article-body strong {
  color: var(--text-title);
  font-weight: 700;
}

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

.article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 36px 0;
}

.article-body blockquote {
  background: #F8FAFC;
  border-left: 4px solid var(--brand-primary);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: normal;
  color: #475569;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-body th,
.article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border-card);
  text-align: left;
}

.article-body th {
  background: #F1F5F9;
  font-weight: 700;
  color: var(--text-title);
}

/* 问答 Q&A 模块卡片美化 — 纯白微投影卡片 + 曜石问字徽章 */
.qa-item {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 24px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qa-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.qa-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.qa-q-badge {
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

.qa-answer {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  padding-left: 28px;
}

/* 底部工厂服务保障条 */
.factory-trust-bar {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 40px 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-title);
}

.trust-text p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 !important;
}

/* 上下一篇导航 */
.post-navigation {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.post-nav-card {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text-body);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.post-nav-card:hover {
  background: #FFFFFF;
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.post-nav-direction {
  font-size: 11px;
  color: var(--brand-accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.post-nav-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-title);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-nav-card:hover .post-nav-title {
  color: var(--brand-accent);
}

/* CTA 预约横幅 — 曜石石墨色系 + 琥珀按钮 */
.cta-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 38px 40px;
  border-radius: var(--radius-lg);
  margin-top: 48px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h3 {
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-banner p {
  color: #94A3B8;
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-accent);
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: all 0.2s ease;
}

.cta-primary-btn:hover {
  background: var(--brand-accent-hover);
  transform: translateY(-2px);
}

.cta-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s ease;
}

.cta-secondary-btn:hover {
  background: rgba(255,255,255,0.18);
}

/* 页脚 Footer — 极暗曜石色系，与官网首页保持一致 */
footer.site-footer {
  background: #0B0F17;
  color: #94A3B8;
  padding: 48px 24px 32px;
  margin-top: 60px;
  border-top: 1px solid #1E293B;
  font-size: 13px;
  line-height: 1.8;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-info-row {
  margin-bottom: 12px;
  color: #CBD5E1;
}

.footer-info-row a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-info-row a:hover {
  color: #FFFFFF;
}

.footer-copyright {
  font-size: 12px;
  color: #64748B;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #1E293B;
}

.footer-icp-link {
  color: #64748B !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-icp-link:hover {
  color: #94A3B8 !important;
}

/* 移动端悬浮咨询条 */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.mobile-bar-inner {
  display: flex;
  gap: 12px;
}

.mobile-phone-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--brand-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  border-radius: 9999px;
  text-decoration: none;
}

.mobile-home-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #F1F5F9;
  color: #334155;
  font-weight: 600;
  font-size: 14px;
  padding: 10px;
  border-radius: 9999px;
  text-decoration: none;
}

/* 返回顶部按钮 */
.back-to-top-btn {
  position: fixed;
  right: 24px;
  bottom: 32px;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 800;
  color: var(--brand-primary);
  font-size: 18px;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--brand-accent);
  color: #FFFFFF;
  border-color: var(--brand-accent);
}

/* 响应式调整 */
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    margin-top: 36px;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 12px 16px;
  }
  nav.site-nav a:not(.nav-phone-btn) {
    display: none;
  }
  .blog-hero {
    padding: 40px 16px 48px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .article-main-card {
    padding: 28px 20px;
  }
  .article-main-title {
    font-size: 22px;
  }
  .takeaway-box {
    padding: 16px 18px;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-bar {
    display: block;
  }
  .article-detail-wrap {
    padding-bottom: 90px;
  }
  .main-layout {
    padding-bottom: 90px;
  }
}
