/* ═══════════════════════════════════════════════════════════
   乐齿口腔网 · 版式升级样式（redesign）
   目标：更强的专业感与内容可信度（E-E-A-T），更清晰的语义层级；
   原则：只改视觉与排版，不删除/改写 DOM 中的 h1/链接/JSON-LD/静态正文。
   引入顺序：main.css → geo-pages.css → redesign.css（本文件最后覆盖）
   ═══════════════════════════════════════════════════════════ */

/* ─────────── 全局视觉令牌微调 ─────────── */
:root {
  --ink-900: #0b1b33;
  --ink-700: #24364f;
  --blue-ink: #123b8f;
  --soft-border: #e6edf6;
  --soft-bg: #f4f8fe;
  --gold: #c8871b;
  --gold-soft: #fff8ea;
}

/* ─────────── 顶部导航：更克制、更专业 ─────────── */
.header {
  box-shadow: 0 1px 0 rgba(11, 27, 51, 0.05), 0 6px 24px rgba(15, 40, 90, 0.04);
}
.header-content { padding: 13px 0; }
.logo { font-size: 20px; color: var(--blue-ink); }
.nav-link { font-size: 13.5px; letter-spacing: .2px; }
.nav-link.active { color: var(--blue-ink); }

/* ─────────── 首页 Hero：重排为「内容优先」 ─────────── */
.hero {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(56, 189, 248, .28), transparent 62%),
    linear-gradient(118deg, #0a2358 0%, #123d95 48%, #1d62d8 100%);
  padding: 74px 0 78px;
}
.hero-badge {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .26);
}
.hero-title { font-size: 44px; letter-spacing: -1px; }
.hero-desc { font-size: 15px; color: rgba(233, 240, 255, .9); }
.hero-split { gap: 48px; }

/* Hero 统计卡：改为细边框数据条，避免「卡片套卡片」的观感 */
.hero-panel {
  background: rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 14px;
  gap: 10px;
}
.stat-card {
  background: rgba(255, 255, 255, .96);
  border-radius: 13px;
  padding: 20px 12px;
  box-shadow: 0 10px 26px rgba(2, 16, 54, .16);
}
.stat-number { font-size: 32px; }
.stat-label { font-size: 12px; letter-spacing: .6px; }

/* ─────────── 热门项目入口 ─────────── */
.quick-section { padding: 24px 0 28px; }
.quick-heading { font-size: 13px; color: var(--ink-700); letter-spacing: .5px; }
.quick-item {
  font-size: 14px;
  padding: 14px 16px;
  border-color: var(--soft-border);
}
.quick-icon { width: 40px; height: 40px; font-size: 18px; }

/* ─────────── 内容区块：更轻的外框，去掉嵌套卡片感 ─────────── */
.main-content { padding: 32px 0 72px; }
.content-block {
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 2px 14px rgba(15, 40, 90, .045);
}
.block-header { margin-bottom: 18px; padding-bottom: 13px; }
.block-header h2 { font-size: 18px; }
.block-header::after { width: 40px; }

/* ─────────── 资讯头条：主次更分明 ─────────── */
.featured-card { border-radius: 14px; }
.featured-image { height: 216px; }
.featured-title { font-size: 18px; }
.news-item { padding: 11px; }
.news-title { font-size: 14.5px; }

/* ─────────── 权威科普板块（E-E-A-T 核心） ─────────── */
.authority-section {
  margin: 6px 0 32px;
  padding: 34px 34px 28px;
  border-radius: 20px;
  background:
    radial-gradient(680px 280px at 100% 0%, rgba(37, 99, 235, .09), transparent 60%),
    #fff;
  border: 1px solid var(--soft-border);
  box-shadow: 0 6px 26px rgba(15, 40, 90, .05);
}
.authority-head { max-width: 860px; margin-bottom: 26px; }
.authority-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--blue-ink);
  background: var(--primary-soft);
  padding: 6px 13px; border-radius: 20px;
  margin-bottom: 12px;
}
.authority-head h2 {
  font-size: 26px; font-weight: 800; color: var(--ink-900);
  letter-spacing: -.5px; line-height: 1.35; margin-bottom: 9px;
}
.authority-head p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* 权威数据条：四列等分，成为可被 AI/搜索引擎直接摘取的结构化事实 */
.authority-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 26px;
}
.authority-stat {
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--soft-bg);
  border: 1px solid var(--soft-border);
  border-top: 3px solid var(--primary-color);
}
.authority-stat-value {
  font-size: 30px; font-weight: 800; line-height: 1.15;
  color: var(--blue-ink); letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.authority-stat-label { font-size: 13px; font-weight: 700; color: var(--ink-700); margin: 7px 0 5px; }
.authority-stat-source { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* 权威要点：两列，图标 + 标题 + 正文 + 来源 */
.authority-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.authority-fact {
  display: flex; gap: 14px;
  padding: 18px 18px 16px;
  border: 1px solid var(--soft-border);
  border-radius: 14px;
  background: #fff;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.authority-fact:hover { border-color: var(--primary-lighter); box-shadow: var(--shadow-sm); }
.authority-fact-icon {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--blue-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.authority-fact-body { min-width: 0; }
.authority-fact h3 { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; line-height: 1.5; }
.authority-fact p { font-size: 13px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 8px; }
.authority-fact-source { font-size: 11px; color: var(--gold); font-weight: 600; }

/* 爱牙日主题条 */
.authority-theme {
  margin: 22px 0 0;
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(100deg, var(--gold-soft), #fffdf8);
  border: 1px solid #f4e3c1;
}
.authority-theme-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--gold);
  margin-bottom: 8px;
}
.authority-theme-main { font-size: 21px; font-weight: 800; color: #8a5a0b; line-height: 1.4; }
.authority-theme-sub { font-size: 15px; font-weight: 700; color: #a16b12; margin: 3px 0 7px; }
.authority-theme p { font-size: 12.5px; color: #8b7040; line-height: 1.7; }

/* 来源清单：明确出处是 E-E-A-T 的直接信号 */
.authority-sources {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px dashed var(--border-color);
}
.authority-sources h3 { font-size: 14px; font-weight: 700; color: var(--ink-700); margin-bottom: 10px; }
.authority-sources ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 20px; }
.authority-sources li { font-size: 12px; }
.authority-sources a {
  color: var(--primary-dark);
  transition: color .2s ease;
}
.authority-sources a:hover { color: var(--accent-color); }
.authority-sources a i { font-size: 10px; margin-left: 3px; }
.authority-disclaimer { margin-top: 12px; font-size: 11px; color: var(--text-muted); line-height: 1.7; }

/* ─────────── 列表页：标题区与内容更聚焦 ─────────── */
.list-header, .article-header, .service-header {
  background: linear-gradient(105deg, #102f74, #1e56c4 62%, #0e7fb8);
}
.list-header-title, .article-header-title, .service-header-title { font-size: 17px; }
.list-heading { font-size: 15px; color: var(--ink-700); margin-bottom: 12px; }

/* 列表项：去掉分隔线依赖，改为留白 + 悬停底色 */
.news-list-full > .news-item {
  border-bottom: 1px solid var(--border-light);
  padding: 15px 6px;
}
.news-list-full > .news-item:hover {
  box-shadow: inset 3px 0 0 var(--primary-color);
}
.news-image { width: 96px; height: 96px; }

/* ─────────── 详情页：正文宽度与行距优化，提升可读性 ─────────── */
.article-block, .service-block {
  padding: 32px 38px;
  border-radius: 18px;
}
.article-title, .service-title { font-size: 28px; letter-spacing: -.6px; }
.article-body, .service-body { font-size: 15.5px; line-height: 2; color: #2c3e56; }
.article-body p, .service-body p { margin-bottom: 18px; }
.detail-right .content-block { padding: 20px; }

/* ─────────── GEO 实体页：数据卡更立体但不过度 ─────────── */
.geo-hero h1 { letter-spacing: -.5px; }
.geo-entity-block { border-radius: 16px; box-shadow: 0 2px 14px rgba(15, 40, 90, .04); }
.geo-doctor-card, .geo-hospital-card, .geo-city-card { border-color: var(--soft-border); }
.geo-side-card { border-color: var(--soft-border); }

/* ─────────── 页脚：增加「内容依据」一行，强化可信度 ─────────── */
.footer {
  background: linear-gradient(120deg, #0d2352 0%, #122c60 55%, #0b1b33 100%);
}
.footer-bottom { line-height: 1.9; }

/* ─────────── 响应式：保持主布局稳定，窄屏仅降列 ─────────── */
@media (max-width: 1100px) {
  .authority-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .authority-section { padding: 24px 20px; }
  .authority-facts, .authority-sources ul { grid-template-columns: 1fr; }
  .authority-head h2 { font-size: 22px; }
  .article-block, .service-block { padding: 22px 20px; }
  .article-title, .service-title { font-size: 22px; }
}
@media (max-width: 520px) {
  .authority-stats { grid-template-columns: repeat(2, 1fr); }
  .authority-stat-value { font-size: 25px; }
}
