/* ============================================================
   Shanzhi Dental — 详情页样式
   与 css/style.css 共用同一套设计令牌，仅用于内容详情页
   （解决方案详情、资讯详情）
   ============================================================ */

/* ------------------------------------------------------------
   页面 Hero：深色大图 + 遮罩，与首页首屏形成家族感
   ------------------------------------------------------------ */
.page-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 58vh; padding: 170px 0 68px;
  background: #06111c;
}
.page-hero-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 50%;
}
.page-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 17, 28, 0.76) 0%, rgba(6, 17, 28, 0.42) 38%, rgba(6, 17, 28, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 17, 28, 0.86) 0%, rgba(6, 17, 28, 0.40) 68%, rgba(6, 17, 28, 0.22) 100%);
}
.page-hero-inner { position: relative; z-index: 2; width: 100%; }
.page-hero .eyebrow { color: #5eead4; margin-bottom: 18px; }
.page-hero .eyebrow::before { background: #5eead4; }
.page-hero h1 {
  font-size: clamp(34px, 5vw, 56px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.08; color: #ffffff;
  max-width: 900px;
}
.page-lead {
  margin-top: 22px; max-width: 660px;
  color: rgba(255, 255, 255, 0.84); font-size: 18px; line-height: 1.7;
}

/* 面包屑 */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.66);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.66); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: #5eead4; }
.breadcrumb .crumb-sep { color: rgba(255, 255, 255, 0.34); }
.breadcrumb .crumb-current {
  color: #ffffff;
  max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 资讯页 hero 的日期 */
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 26px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.article-meta .meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #5eead4; }

/* ------------------------------------------------------------
   通用内容区
   ------------------------------------------------------------ */
.detail-section { padding: 88px 0; }
.detail-section.is-alt { background: var(--bg-2); }
.detail-section.is-tight { padding: 64px 0; }

.detail-head { max-width: 720px; margin-bottom: 48px; }
.detail-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.detail-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin-top: 14px; }
.detail-head p { color: var(--text-2); font-size: 17px; line-height: 1.72; margin-top: 16px; }

/* 正文排版 */
.prose { max-width: 780px; }
.prose p { color: var(--text-2); font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose h3 { font-size: 21px; margin: 40px 0 16px; }
.prose a { color: var(--accent); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* 两栏：正文 + 侧栏卡片 */
.split-layout { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 64px; align-items: start; }
.aside-card {
  padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: 17px; margin-bottom: 18px; }
.aside-card > p { color: var(--muted); font-size: 14.5px; line-height: 1.72; margin-bottom: 22px; }
.aside-card .aside-list { display: grid; gap: 14px; }
.aside-card .aside-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--muted); font-size: 14.5px; line-height: 1.6;
}
.aside-card .aside-list li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px;
  border-radius: 50%; background: var(--accent-2);
}
.aside-card .btn { margin-top: 24px; }
.aside-card.is-sticky { position: sticky; top: 104px; }

/* ------------------------------------------------------------
   特性网格
   ------------------------------------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-grid.is-three { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  padding: 32px 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.feature-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 18px;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
}
.feature-card h3 { font-size: 18px; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 14.5px; line-height: 1.68; }

/* ------------------------------------------------------------
   要点清单
   ------------------------------------------------------------ */
.spec-list { display: grid; gap: 14px; margin-top: 36px; }
.spec-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 24px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-2); font-size: 15.5px; line-height: 1.62;
}
.spec-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}
.spec-list strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq-list { display: grid; gap: 14px; max-width: 840px; }
.faq-item {
  padding: 26px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.faq-item h3 { font-size: 17px; margin-bottom: 12px; }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.72; }

/* ------------------------------------------------------------
   资讯文章正文
   ------------------------------------------------------------ */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.article-body { max-width: 760px; }
.article-body > p { color: var(--text-2); font-size: 17.5px; line-height: 1.85; margin-bottom: 24px; }
.article-body > p:first-of-type { font-size: 19px; color: var(--text); }
.article-body h2 { font-size: clamp(23px, 3vw, 29px); margin: 44px 0 18px; }
.article-body blockquote {
  margin: 38px 0; padding: 4px 0 4px 26px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
  line-height: 1.6; color: var(--text); letter-spacing: -0.01em;
}
.article-body ul { display: grid; gap: 12px; margin: 24px 0 28px; }
.article-body ul li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--text-2); font-size: 16.5px; line-height: 1.7;
}
.article-body ul li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 11px;
  border-radius: 50%; background: var(--accent-2);
}
.article-body a { color: var(--accent); font-weight: 600; }
.article-body a:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   相关推荐
   ------------------------------------------------------------ */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.related-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.related-label {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.related-card h3 { font-size: 18px; }
.related-card p { color: var(--muted); font-size: 14.5px; line-height: 1.62; }
.related-card .related-more { margin-top: auto; padding-top: 6px; }

/* ------------------------------------------------------------
   CTA 收尾（复用首页 cta-band 的卡片，仅调整间距）
   ------------------------------------------------------------ */
.detail-cta { padding: 20px 0 100px; }

/* ------------------------------------------------------------
   响应式
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .split-layout { grid-template-columns: 1fr; gap: 44px; }
  .aside-card.is-sticky { position: static; }
  .article-wrap { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid.is-three { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { min-height: 52vh; padding: 150px 0 60px; }
}

@media (max-width: 820px) {
  .breadcrumb .crumb-current { max-width: none; white-space: normal; overflow: visible; }
  .page-hero { min-height: 46vh; padding: 138px 0 52px; }
  .page-lead { font-size: 16.5px; }
  .detail-section { padding: 68px 0; }
  .feature-grid, .feature-grid.is-three { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .prose, .article-body { max-width: none; }
}

@media (max-width: 560px) {
  .page-hero { min-height: auto; padding: 122px 0 46px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero-img { object-position: 62% 50%; }
  .detail-section { padding: 56px 0; }
  .feature-card { padding: 26px 24px; }
  .faq-item { padding: 22px 22px; }
  .article-body > p { font-size: 16.5px; }
  .article-body blockquote { font-size: 18px; padding-left: 20px; }
}
