/* ===========================================================
   弥特科技 · 设备介绍栏目 —— 桌面端样式
   通过 <link media="(min-width:1024px)"> 启用；?pc=1 时强制全量加载
   =========================================================== */

:root {
  --maxw: 1240px;
}

.eq-scope { font-size: 15.5px; }

.wrap { padding: 0 20px; }

/* ---------- 面包屑 ---------- */
.crumb {
  max-width: var(--maxw);
  padding: 12px 20px;
  font-size: 12.5px;
  background: transparent;
  border-bottom: 0;
  color: #97a0af;
}

/* ---------- 头图 ---------- */
.banner { min-height: 260px; }
.banner-txt {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.banner-txt h1 { font-size: 34px; letter-spacing: 2px; margin-bottom: 10px; }
.banner-txt p { font-size: 15px; }
.banner::after { width: 340px; height: 340px; right: -60px; top: -80px; border-width: 34px; }

/* ---------- 栏目导语 ---------- */
.lead {
  max-width: 880px;
  margin: 26px auto 0;
  font-size: 15px;
  text-align: center;
  line-height: 1.9;
}

/* ---------- 设备列表：两列大卡 ---------- */
.eq-list {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 30px 0 40px;
}
.eq-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(14, 66, 149, .07);
}
.eq-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(14, 66, 149, .14); }
.eq-card .thumb {
  width: 100%;
  height: 340px;
  border-radius: 0;
  padding: 24px 30px;
  background: #fff;
  border-bottom: 1px solid #eef1f7;
}
.eq-card .thumb img { object-fit: contain; }
.eq-card .body { padding: 22px 26px 26px; }
.eq-card h2 { font-size: 21px; margin-bottom: 10px; font-weight: 700; }
.eq-card p { font-size: 14px; line-height: 1.75; margin-bottom: 14px; }
.eq-card .go {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 22px;
  font-size: 14px;
  border-radius: 3px;
  background: var(--brand);
  color: #fff;
  font-weight: 500;
  transition: background .2s;
}
.eq-card:hover .go { background: var(--brand-d); }
.eq-card .go::after { content: " ›"; }

/* ---------- 详情页 ---------- */
.page-head { padding: 0; }
.page-head .kicker { font-size: 12.5px; padding: 4px 14px; }
.page-head h1 { font-size: 30px; line-height: 1.3; margin-bottom: 14px; }
.chip { font-size: 12.5px; padding: 5px 13px; }

.dtop {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 40px;
  align-items: stretch;   /* 两栏等高；图贴顶、指标贴底、按钮贴底，底边自然齐平 */
  margin: 22px 0 40px;
}
.dtop-left {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}
.dtop-left .facts { margin: 0; }
.dtop .hero {
  flex: 1 1 auto;          /* 图卡吸收左栏余量，避免图与参数卡之间露出底色空档 */
  display: flex;
  flex-direction: column;
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
  margin: 0;
  padding: 0;
  border: 1px solid #eef1f7;
  border-radius: 6px;
  box-shadow: none;
  background: #fff;
  overflow: hidden;
}
.dtop .hero .ph {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  border-radius: 0;
  background: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dtop .hero img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(16, 42, 80, .10));
}
.dtop .hero figcaption {
  border-top: 1px solid #eef1f7;
  padding: 12px;
  font-size: 12.5px;
}
.dtop-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;   /* 标题贴顶、按钮贴底，与左栏参数卡底边对齐 */
}
.dtop-main { display: flex; flex-direction: column; justify-content: space-between; }
.dtop-main .page-head { padding: 0; }
.dtop-main .facts { margin: 20px 0 0; }
.dtop-cta {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  margin-bottom: 0;
  padding-top: 0;
}
.dtop-cta .btn {
  flex: 1;
  height: 46px;
  padding: 0;
  border-radius: 3px;
  font-size: 14.5px;
  border: 0;
}
.dtop-cta .btn-primary { background: var(--brand); color: #fff; }
.dtop-cta .btn-primary:hover { background: var(--brand-d); }
.dtop-cta .btn-ghost {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(14, 66, 149, .35);
}
.dtop-cta .btn-ghost:hover { background: var(--brand-l); }

/* 区块 */
.block { padding: 26px 28px; margin-bottom: 22px; border-radius: 6px; box-shadow: 0 1px 10px rgba(14, 66, 149, .06); }
.block h2 { font-size: 19px; margin-bottom: 16px; padding-left: 14px; }
.block h2::before { width: 4px; top: 3px; bottom: 3px; }
.block p { font-size: 15px; line-height: 1.9; }

.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.cols2 .block { margin-bottom: 0; }

.adv li { padding: 11px 0 11px 34px; font-size: 15px; line-height: 1.8; }
.adv li::before { top: 12px; width: 21px; height: 21px; line-height: 21px; font-size: 12.5px; }

.shots { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot figcaption { font-size: 13px; padding-top: 9px; }
.shot .ph {
  height: 220px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shot img { width: 100%; height: 100%; object-fit: contain; }

.params { font-size: 14.5px; }
.params th { width: 26%; padding: 13px 16px; background: #fafbfe; }
.params td { padding: 13px 16px; }
.params th,
.params td { border-bottom: 1px solid #eef1f7; }

.layout img { border-radius: 4px; }

/* CTA 横条 */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 30px 0 50px;
  padding: 30px 34px;
  border-radius: 6px;
  background: linear-gradient(120deg, #0e4295, #1f63c4);
}
.cta h3 { font-size: 21px; margin-bottom: 8px; }
.cta p { font-size: 14px; margin: 0; }
.cta .row { flex: 0 0 auto; }
.cta .btn { height: 46px; padding: 0 26px; border-radius: 3px; font-size: 14.5px; }

/* ===========================================================
   动态数据版 · 桌面端补充
   =========================================================== */

/* 12 台设备：三列网格 */
.eq-list { grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 22px 0 10px; }
.eq-card .thumb { height: 250px; padding: 18px 22px; }
.eq-card .body { padding: 18px 20px 22px; }
.eq-card h3 { font-size: 18px; margin-bottom: 8px; }
.eq-card p { font-size: 13.5px; line-height: 1.7; margin-bottom: 14px; }

.grp { margin-top: 34px; }
.grp:first-child { margin-top: 10px; }
.grp-t { font-size: 21px; padding-left: 14px; border-left-width: 4px; margin-bottom: 0; }
.grp-t em { font-size: 13px; }

/* 详情正文 */
.dev-content > .blk {
  padding: 28px 30px;
  margin-bottom: 22px;
  border-radius: 6px;
  box-shadow: 0 1px 10px rgba(14, 66, 149, .06);
}
.dev-content > .blk h2 { font-size: 19px; margin-bottom: 16px; padding-left: 14px; }
.dev-content > .blk h2::before { top: 3px; bottom: 3px; }
.dev-content > .blk p { font-size: 15px; line-height: 1.9; }
.dev-content .adv li { padding: 11px 0 11px 34px; font-size: 15px; }
.dev-content .adv li::before { top: 12px; width: 21px; height: 21px; line-height: 21px; font-size: 12.5px; }

.dev-content .spec { font-size: 14.5px; }
.dev-content .spec th, .dev-content .spec td { padding: 12px 16px; }
.dev-content .spec td:first-child, .dev-content .spec th:first-child { width: 26%; }

.dev-sub { font-size: 15px; margin-bottom: 16px; }
.dtop .chips { margin-top: 16px; }

/* 应用案例在右栏的桌面样式：全部案例图统一缩小排进右栏，不再往下拆区块 */
.dtop-main .cases { margin-top: 20px; }
.dtop-main .cases h2 { font-size: 15.5px; margin-bottom: 12px; }
.dtop-main .case-strip img { border-radius: 6px; }
.dtop-main .case-list li { font-size: 14px; line-height: 1.95; }

/* 右栏案例网格：列数由 --cols 控制（3 条 3 列 / 4 条 2×2 / 5-6 条 3 列） */
.dtop-main .case-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
}
/* 5 张及以上时整体收一点，避免右栏图片过大 */
.dtop-main .case-grid.cg-many { max-width: 392px; margin: 0 auto; }
.dtop-main .case-cell {
  flex: 0 0 calc((100% - (var(--cols, 3) - 1) * 8px) / var(--cols, 3));
  margin: 0;
  min-width: 0;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 6px;
  overflow: hidden;
}
.dtop-main .case-cell .shot {
  aspect-ratio: 3 / 2;
  padding: 0;
  background: #fff;
  position: relative;     /* 图绝对定位，避免方图把格子撑高 */
  overflow: hidden;
}
.dtop-main .case-cell .shot img {
  position: absolute;
  left: 4px;
  top: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;   /* 等比完整显示，绝不裁切 */
}
.dtop-main .case-cell figcaption {
  padding: 5px 3px 6px;
  border-top: 1px solid #eef2f7;
  font-size: 11px;
  line-height: 1.35;
  color: #46566a;
  text-align: center;
}
.dtop-main .case-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: #6b7a90;
  text-align: left;
}
/* 「检测原理」等非案例区块的导语 */
.dtop-main .case-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.85;
  color: #55637a;
}
.dtop-main .case-wide { margin: 0; }
.dtop-main .case-wide a { display: block; line-height: 0; }
.dtop-main .case-wide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e8edf4;
  border-radius: 6px;
  background: #fff;
}
.dtop-main .case-wide figcaption {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #6b7a90;
}
.dtop-main .case-wide + .case-wide { margin-top: 10px; }

/* 没有实拍图的应用案例：改为文字版「应用场景」，不硬凑图片 */
.dtop-main .cases-text .case-lead {
  font-size: 14px;
  line-height: 1.9;
  color: #55637a;
  margin: 10px 0 4px;
}
.dtop-main .cases-text .case-list { margin: 10px 0 0; }
.dtop-main .cases-text .case-list li { font-size: 14px; line-height: 1.85; padding-left: 22px; }

/* 防止右栏子元素被 flex 压缩（案例图曾被压扁裁切） */
.dtop-main > * { flex: 0 0 auto; }
.dtop-main .dtop-cta { margin-top: 22px; }

/* 案例图不得撑破右栏（min-width:auto 导致原图 1150px 溢出） */
.dtop-main { min-width: 0; }
.dtop-main .cases { min-width: 0; }
.dtop-main .case-grid, .dtop-main .case-row, .dtop-main .case-wide { min-width: 0; }
.dtop-main .case-grid img, .dtop-main .case-row img, .dtop-main .case-wide img { max-width: 100%; }

/* 验证三步骤（点数机等） */
.steps-blk .steps-lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.8; color: #46566a; }
.steps-blk .steps-lead strong { color: #0e4295; }
.steps-blk .steps { list-style: none; margin: 0; padding: 0; }
.steps-blk .steps li {
  position: relative;
  margin: 0 0 10px;
  padding: 10px 16px;
  background: #f7f9fd;
  border-left: 3px solid #0e4295;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.75;
  color: #33415a;
}
.steps-blk .steps li b {
  display: inline-block;
  min-width: 48px;
  font-size: 14px;
  font-weight: 600;
  color: #0e4295;
}
.steps-blk .step-fig { margin: 18px auto 0; max-width: 600px; }
.steps-blk .step-fig img { display: block; width: 100%; height: auto; border: 1px solid #e8edf4; border-radius: 6px; }
.steps-blk .step-fig figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.7; color: #6b7a90; text-align: center; }

/* 参数卡整行四列（两栏下方）：左栏只留图卡，两栏高度天然一致，右栏不再被拉伸留白 */
.facts-strip { margin: -22px 0 26px; }
.facts-strip .facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.facts-strip .fact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;   /* 标签换行时数值仍贴底对齐，四张卡视觉一致 */
  min-height: 66px;
  padding: 11px 14px;
}
.facts-strip .fact dt { margin: 0 0 6px; line-height: 1.45; }
.facts-strip .fact dd { line-height: 1.35; }
/* 常见笔记本宽度（861~1200）保持一行四列，只压缩内边距与字号 */
@media (max-width: 1200px) {
  .facts-strip .facts { gap: 10px; }
  .facts-strip .fact { min-height: 62px; padding: 9px 11px; }
  .facts-strip .fact dt { font-size: 11.5px; }
  .facts-strip .fact dd { font-size: 14px; }
  .facts-strip .fact dd small { font-size: 11.5px; }
}
/* 平板及以下才回落两列 */
@media (max-width: 860px) {
  .facts-strip .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip .fact { min-height: 0; }
}

/* 站头导航：窗口窄于 1240 时收缩间距/字号，避免撑出横向滚动条 */
@media (max-width: 1239px) {
  .main-nav > a, .nav-item > a { padding: 0 10px; font-size: 15px; }
}

/* 图卡内的流程示意条（UDI 等）：填满设备图与右栏等高后剩下的空白 */
.dtop .hero .hero-flow {
  margin: 0;
  padding: 6px 12px 10px;
  border-top: 1px dashed #e6edf6;
  background: #fff;
}
.dtop .hero .hero-flow img { display: block; width: 100%; height: auto; }
.dtop .hero .hero-flow figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #6b7a90;
  text-align: center;
}

/* 视觉隐藏但保留可读性（h1 等） */
.eq-scope .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
