/* ============================================================
   zhengshu-chaxun.css —— 证书查询页专属布局
   ============================================================ */

/* ---------- 首屏 ---------- */
.cx-hero{
  position:relative; min-height:560px; display:flex; align-items:center;
  color:#fff; overflow:hidden;
}
.cx-hero .ph-bg{ position:absolute; inset:0; z-index:0; }
.cx-hero .ph-bg img{ width:100%; height:100%; object-fit:cover; display:block; }
.cx-hero::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(95deg, rgba(21,50,56,.84) 0%, rgba(21,50,56,.5) 50%, rgba(21,50,56,.25) 100%);
}
.cx-hero .container{ position:relative; z-index:3; }
.cx-hero .crumbs{ color:rgba(255,255,255,.82); margin-bottom:18px; }
.cx-hero .crumbs a{ color:#D7EEE2; }
.cx-hero h1{ font-size:clamp(28px,5vw,48px); line-height:1.18; margin:6px 0 16px; max-width:20ch; }
.cx-hero .ph-desc{ color:rgba(255,255,255,.92); font-size:17px; line-height:1.9; max-width:640px; }
.cx-hero .ph-actions{ margin-top:26px; display:flex; gap:14px; flex-wrap:wrap; }
.cx-hero .hero-lineart{ position:absolute; left:0; right:0; bottom:0; z-index:2; width:100%; height:46%; }

/* ---------- 折线分割 ---------- */
.split{ line-height:0; }
.split svg{ display:block; width:100%; height:52px; }
.split.flip svg{ transform:scaleY(-1); }

/* ---------- 查询渠道卡 ---------- */
.ch-card{ padding:26px 24px; margin-top:20px; }
.ch-card h3{ margin:14px 0 10px; font-size:19px; color:var(--ink-900); }
.ch-card p{ color:var(--ink-700); line-height:1.9; font-size:15px; }

/* ---------- 真伪辨别 ---------- */
.cx-verify{ display:grid; gap:30px; align-items:center; }
@media (min-width:769px){ .cx-verify{ grid-template-columns:1fr 1.1fr; } }
.cx-img img{ width:100%; height:300px; object-fit:cover; border-radius:12px; display:block; }
.cx-text h2{ margin:8px 0 14px; color:var(--ink-900); font-size:26px; }
.cx-text p{ color:var(--ink-700); line-height:1.9; }
.cx-list{ margin:14px 0; padding-left:0; list-style:none; }
.cx-list li{
  position:relative; padding:10px 0 10px 26px; color:var(--ink-700); line-height:1.8;
  border-bottom:1px dashed #D7EEE2;
}
.cx-list li::before{
  content:""; position:absolute; left:0; top:18px; width:10px; height:10px;
  background:#41B383; border-radius:2px;
}
.body-note{ color:var(--ink-500); }

/* ---------- 折叠问答 ---------- */
.acc{
  border:1px solid #D7EEE2; border-radius:10px; padding:0 20px;
  margin-bottom:12px; background:#fff;
}
.acc summary{
  cursor:pointer; list-style:none; display:flex; justify-content:space-between;
  align-items:center; padding:18px 0; font-weight:600; color:var(--ink-900);
}
.acc summary::-webkit-details-marker{ display:none; }
.acc .acc-ico{
  width:10px; height:10px; border-right:2px solid #41B383; border-bottom:2px solid #41B383;
  transform:rotate(45deg); transition:transform .2s ease; margin-left:12px;
}
.acc[open] .acc-ico{ transform:rotate(-135deg); }
.acc-body{ padding:0 0 18px; color:var(--ink-700); line-height:1.9; }

/* ---------- 底部信息区 ---------- */
.cx-bottom{ display:grid; gap:30px; align-items:start; }
@media (min-width:769px){ .cx-bottom{ grid-template-columns:1.1fr 1fr; } }
.cx-bottom-text h2{ margin:8px 0 14px; color:var(--ink-900); font-size:24px; }
.cx-bottom-text p{ color:var(--ink-700); line-height:1.9; }
.cx-bottom-imgs{ display:grid; gap:16px; }
.cx-bottom-imgs img{ width:100%; height:180px; object-fit:cover; border-radius:12px; display:block; }

/* ---------- 链接卡 ---------- */
.link-grid{ margin-top:30px; }
.link-card{ display:block; padding:22px 24px; transition:transform .2s ease; }
.link-card:hover{ transform:translateY(-4px); }
.link-card h3{ margin:0 0 8px; font-size:18px; color:var(--ink-900); }
.link-card p{ margin:0; color:var(--ink-500); font-size:14px; line-height:1.7; }

/* ---------- CTA ---------- */
.cx-cta{ background:linear-gradient(120deg,#EAF3FA 0%,#EAF6EF 100%); }
.center-box{ text-align:center; max-width:760px; margin:0 auto; }
.center-box h2{ font-size:clamp(24px,3.4vw,34px); color:var(--ink-900); margin-bottom:14px; }
.center-box p{ color:var(--ink-700); line-height:1.9; }
.center-box .ph-actions{ margin-top:24px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- 平板 / 手机 ---------- */
@media (max-width:768px){
  .cx-hero{ min-height:480px; }
  .cx-img img{ height:220px; }
}
@media (max-width:375px){
  .cx-hero{ min-height:440px; }
  .split svg{ height:38px; }
  .center-box .ph-actions .btn{ width:100%; }
}

/* 首屏大标题强制白色，压在实景照片上可读 */
.cx-hero .hero-title, .cx-hero .hero-title .line, .cx-hero .hero-title .line > span{
  color:#fff !important;
  text-shadow:0 2px 16px rgba(0,0,0,.5);
}

/* 首屏标题：覆盖渐变文字，强制纯白不透明 */
.cx-hero .hero-title, .cx-hero .hero-title .line, .cx-hero .hero-title .line > span{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  background:none !important;
  opacity:1 !important;
  transform:none !important;
  text-shadow:0 2px 18px rgba(0,0,0,.55);
}

@media (max-width:375px){
  .cx-hero .ph-actions{ flex-direction:column; align-items:stretch; }
  .cx-hero .ph-actions .btn{ width:100%; }
}

@media (max-width:640px){
  .cx-hero .ph-actions{ flex-direction:column !important; align-items:stretch !important; }
  .cx-hero .ph-actions .btn{ width:100% !important; }
}
