/* ClearHearingLab — shared site styles (nav, comparison table, cards, buttons) */
:root {
  --navy: #0f2942;
  --navy-light: #1e3a5f;
  --accent: #0284c7;
  --cta: #d97706;
  --cta-hover: #b45309;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #475569;
  --border: #cbd5e1;
  --success-bg: #ecfdf5;
  --success-text: #065f46;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* 顶部站点标识与导航 */
.top-nav {
  background: #091b2c;
  color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  text-decoration: none;
}
.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  margin-left: 18px;
}
.nav-links a:hover { color: #ffffff; }

.disclosure-bar {
  background: #e2e8f0;
  color: #334155;
  font-size: 13px;
  padding: 8px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.disclosure-bar a { color: var(--navy); text-decoration: underline; }

/* 首屏 Hero（内页可复用为浅色文章头） */
header.hero {
  background: var(--navy);
  color: #ffffff;
  padding: 38px 0 48px;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.badge.highlight { background: #059669; border-color: #10b981; }
header.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 14px;
  font-weight: 800;
}
header.hero p.subtitle {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 780px;
  margin-bottom: 18px;
}
.methodology-note {
  background: rgba(15, 23, 42, 0.45);
  border-left: 4px solid #38bdf8;
  padding: 12px 16px;
  font-size: 14px;
  color: #e2e8f0;
  max-width: 820px;
}

/* 3步交互选型器 */
.finder-box {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: -24px auto 32px;
  box-shadow: 0 10px 25px -5px rgba(15, 41, 66, 0.08);
}
.finder-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.finder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: end;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}
.field select {
  width: 100%;
  padding: 11px 12px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.finder-btn {
  width: 100%;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.finder-btn:hover { background: var(--navy-light); }
.finder-result {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  display: none;
  font-size: 16px;
  font-weight: 600;
}

/* 对比矩阵单图容器 */
.product-img-box {
  width: 100%;
  height: 150px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin: 10px 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}
.product-img-box img {
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.img-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* 单品卡片左右双图展示框（设备+充电盒 vs 实际佩戴图） */
.dual-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 14px;
}
.media-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.media-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fafc;
}
.media-thumb.product-shot {
  background: #ffffff;
  padding: 8px;
}
.media-thumb.product-shot img {
  max-width: 100%;
  max-height: 132px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.media-thumb.wear-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media-caption {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: #f1f5f9;
  text-align: center;
  padding: 5px 6px;
  border-top: 1px solid #e2e8f0;
}

/* 横向对比矩阵 */
.section-heading {
  font-size: 26px;
  color: var(--navy);
  margin: 36px 0 16px;
  font-weight: 800;
}
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  text-align: left;
}
table.compare-table th, table.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.compare-table thead th {
  background: #f1f5f9;
  color: var(--navy);
  font-size: 16px;
}
.col-highlight { background: #fefce8; }
.pick-tag {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.pick-tag.gold { background: var(--cta); }
.brand-name { font-size: 20px; font-weight: 800; color: var(--navy); display: block; }
.brand-sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.row-label { font-weight: 700; color: var(--navy); width: 210px; background: #f8fafc; }

.cta-btn {
  display: inline-block;
  background: var(--cta);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  transition: background 0.15s ease;
}
.cta-btn:hover { background: var(--cta-hover); }
.sub-cta { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; text-align: center; }

/* 单品深度评估卡片 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 22px;
  margin-top: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.review-card.recommended {
  border: 3px solid var(--cta);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.15);
}
.review-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.best-for {
  background: #eff6ff;
  color: #1e40af;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}
.pros-cons { list-style: none; margin-bottom: 18px; font-size: 15px; }
.pros-cons li { margin-bottom: 8px; padding-left: 22px; position: relative; }
.pros-cons li.pro::before { content: "✓"; color: #059669; font-weight: 800; position: absolute; left: 0; }
.pros-cons li.con::before { content: "!"; color: #dc2626; font-weight: 800; position: absolute; left: 4px; }
.fine-print {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-bottom: 16px;
}

/* FAQ 区块 */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }

/* ===== 内页复用组件（评测目录 / 对比页 / 指南页） ===== */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0 0;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.prose { max-width: 860px; margin: 24px auto; }
.prose h2 { font-size: 24px; color: var(--navy); margin: 32px 0 12px; }
.prose h3 { font-size: 18px; color: var(--navy); margin: 20px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 18px;
}
.article-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.article-card h3 a { color: var(--navy); text-decoration: none; }
.article-card h3 a:hover { color: var(--accent); }
.article-card .card-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.article-card p { font-size: 15px; color: var(--muted); }

.verdict-box {
  background: var(--success-bg);
  border: 1px solid #a7f3d0;
  color: var(--success-text);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 24px 0;
}
.verdict-box h3 { color: var(--success-text); margin-bottom: 6px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}
.two-col .article-card { margin-bottom: 0; }
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

footer {
  margin-top: 56px;
  padding: 32px 20px;
  background: #0f172a;
  color: #94a3b8;
  font-size: 14px;
}
footer a { color: #e2e8f0; margin-right: 16px; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.article-container {
      max-width: 860px;
      margin: 0 auto;
      padding: 0 24px;
    }
    header.hero.article-hero {
      padding: 36px 0 56px;
    }
    .breadcrumb {
      font-size: 14px;
      color: #cbd5e1;
      margin-bottom: 14px;
    }
    .breadcrumb a {
      color: #7dd3fc;
      text-decoration: none;
      font-weight: 600;
    }
    .breadcrumb a:hover {
      text-decoration: underline;
    }

    /* 首屏浮层结论卡片 */
    .verdict-box {
      background: #ffffff;
      border: 1px solid #cbd5e1;
      border-top: 5px solid #0f2942;
      border-radius: 12px;
      padding: 28px;
      margin: -32px auto 36px;
      box-shadow: 0 12px 28px -6px rgba(15, 41, 66, 0.12);
    }
    .verdict-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      border-bottom: 1px solid #e2e8f0;
      padding-bottom: 14px;
      margin-bottom: 16px;
    }
    .verdict-title {
      font-size: 21px;
      font-weight: 800;
      color: #0f2942;
    }
    .score-pill {
      background: #fef3c7;
      border: 1px solid #f59e0b;
      color: #92400e;
      font-weight: 800;
      font-size: 14px;
      padding: 5px 14px;
      border-radius: 999px;
    }
    .verdict-summary {
      font-size: 16.5px;
      line-height: 1.7;
      color: #1e293b;
      margin-bottom: 18px;
    }

    /* 核心参数 4 格速览条 */
    .specs-strip {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 12px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 14px 16px;
      margin-bottom: 20px;
    }
    .spec-cell span {
      display: block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      color: #64748b;
    }
    .spec-cell strong {
      font-size: 16px;
      color: #0f2942;
    }

    /* 嵌入式替代方案推荐框 */
    .alt-callout {
      background: #ecfdf5;
      border: 1px solid #6ee7b7;
      border-left: 5px solid #059669;
      border-radius: 8px;
      padding: 20px;
    }
    .alt-callout p {
      color: #065f46;
      font-size: 16px;
      line-height: 1.6;
      margin-bottom: 14px;
    }
    .alt-callout .cta-btn {
      max-width: 440px;
      display: block;
      margin: 0 auto;
    }

    /* 正文章节排版 */
    .article-body h2 {
      font-size: 24px;
      color: #0f2942;
      margin: 40px 0 16px;
      padding-bottom: 8px;
      border-bottom: 2px solid #e2e8f0;
      font-weight: 800;
    }
    .article-body p {
      margin-bottom: 16px;
      line-height: 1.75;
      color: #1e293b;
    }
    .article-body > ul {
      margin: 0 0 22px 22px;
      line-height: 1.75;
    }
    .article-body > ul li {
      margin-bottom: 10px;
    }

    /* 左右双栏优缺点卡片 */
    .pros-cons-split {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin: 20px 0 32px;
    }
    .pc-card {
      background: #ffffff;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      padding: 22px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    }
    .pc-card.pros-card {
      border-top: 4px solid #059669;
    }
    .pc-card.cons-card {
      border-top: 4px solid #dc2626;
    }
    .pc-card h3 {
      font-size: 18px;
      margin-bottom: 14px;
      color: #0f2942;
      font-weight: 800;
    }
    .pc-card .pros-cons {
      margin-bottom: 0;
    }

    /* 适配 860px 宽度的横向对比表 */
    .article-body .table-wrap {
      margin: 20px 0 32px;
    }
    .article-body table.compare-table {
      min-width: 680px;
    }
    .article-body .row-label {
      width: 170px;
    }
    .cta-btn.secondary {
      background: #0f2942;
    }
    .cta-btn.secondary:hover {
      background: #1e3a5f;
    }

    /* 底部返回主页引导框 */
    .back-hub-box {
      background: #f1f5f9;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      padding: 20px 24px;
      margin: 32px 0 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
    }
    .back-hub-box a {
      background: #0f2942;
      color: #ffffff;
      text-decoration: none;
      font-weight: 700;
      font-size: 15px;
      padding: 10px 18px;
      border-radius: 8px;
    }
    .back-hub-box a:hover {
      background: #1e3a5f;
    }