/* ============================================================
   机械员页 gangwei-jixieyuan 专属样式
   骨架：全幅压图首屏 + 竖向巡检时间线 + 设备类型横卡 + 场景图文
   ============================================================ */

/* ---------- 首屏：全幅实景 + 暗色压图 ---------- */
.gh-hero{position:relative;overflow:hidden;}
.gh-jx{padding:150px 0 130px;}
.gh-jx .ph-bg{position:absolute;inset:0;width:100%;}
.gh-jx .ph-bg img{width:100%;height:100%;object-fit:cover;display:block;}
.gh-jx::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(21,50,56,.88) 0%,rgba(21,50,56,.7) 45%,rgba(21,50,56,.35) 100%);}
.gh-jx .ph-main{position:relative;z-index:2;max-width:660px;}
/* N.2 压图标题强制白色 */
.gh-jx .hero-title,.gh-jx .hero-title .hl,.gh-jx .hero-title .hl-b{color:#fff !important;background:none;-webkit-background-clip:initial;-webkit-text-fill-color:#fff;}
.gh-jx .hero-title{font-size:44px;line-height:1.25;margin-bottom:18px;}
.gh-jx .crumbs-on-dark a,.gh-jx .crumbs-on-dark{color:#cfe8dc;}
.gh-jx .crumbs-on-dark em{color:#fff;font-style:normal;}
.gh-jx .kicker-on-dark{color:var(--yellow-200);}
.gh-jx .ph-desc{margin:16px 0 28px;font-size:17px;line-height:1.9;color:#eaf6ef;}
.gh-jx .crumbs{display:inline-block;padding:4px 14px;border-radius:999px;background:rgba(21,50,56,.5);}
.gh-jx .hero-actions .btn-ghost{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.7);color:#fff;}
.gh-jx .hero-actions .btn-ghost:hover{background:rgba(255,255,255,.26);}

/* ---------- 折线分割：本页强制渲染 ---------- */
.split{display:block;width:100%;height:80px;overflow:hidden;line-height:0;position:relative;background:transparent;}
.split svg{display:block;width:100%;height:100%;}
.split svg polygon,.split svg polyline{stroke:none;}
.split.flip{transform:scaleY(-1);}
.jx-edge-tight{height:48px;}

/* ---------- 岗位介绍 ---------- */
.jx-intro{margin-top:24px;max-width:960px;}
.jx-intro p{font-size:16px;line-height:2;color:var(--ink-700);margin-bottom:16px;}

/* ---------- 巡检时间线 ---------- */
.jx-timeline{margin:30px auto 0;max-width:820px;}
.jx-timeline .tl-item{position:relative;padding-left:34px;margin-bottom:26px;}
.jx-timeline .tl-dot{position:absolute;left:0;top:6px;width:16px;height:16px;border-radius:50%;background:var(--blue-500);box-shadow:0 0 0 5px var(--blue-100);}
.jx-timeline .tl-item::before{content:"";position:absolute;left:7px;top:24px;bottom:-22px;width:2px;background:var(--blue-100);}
.jx-timeline .tl-item:last-child::before{display:none;}
.jx-timeline h3{font-size:17px;color:var(--ink-900);margin-bottom:6px;}
.jx-timeline .tl-body p{font-size:14.5px;line-height:1.85;color:var(--ink-500);}

/* ---------- 设备类型卡片 ---------- */
.jx-cards{margin-top:28px;}
.jx-card{position:relative;background:#fff;border-radius:16px;padding:26px 26px 24px 90px;border:1px solid var(--paper-2);overflow:hidden;}
.jx-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:64px;}
.jc-blue::before{background:var(--blue-500);}
.jc-green::before{background:var(--green-500);}
.jc-yellow::before{background:var(--yellow-400);}
.jx-card-tag{position:absolute;left:14px;top:26px;writing-mode:vertical-rl;color:#fff;font-size:13px;letter-spacing:2px;}
.jx-card h3{font-size:18px;color:var(--ink-900);margin-bottom:10px;}
.jx-card p{font-size:14.5px;line-height:1.85;color:var(--ink-500);}

/* ---------- 场景图文 ---------- */
.jx-scene{align-items:center;gap:44px;}
.jx-scene-text h2{font-size:24px;margin-bottom:18px;color:var(--ink-900);}
.jx-scene-text p{font-size:15.5px;line-height:2;color:var(--ink-700);margin-bottom:14px;}
.jx-scene-img{margin:0;border-radius:18px;overflow:hidden;box-shadow:0 16px 40px rgba(21,50,56,.12);}
.jx-scene-img img{width:100%;height:auto;display:block;}
.jx-scene-img figcaption{padding:12px 16px;background:var(--ink-900);color:#d8eaf5;font-size:13px;}

/* ---------- 安全帽横条 ---------- */
.jx-strip{position:relative;height:200px;overflow:hidden;}
.jx-strip img{width:100%;height:100%;object-fit:cover;display:block;}
.jx-strip p{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);background:rgba(21,50,56,.78);color:#fff;padding:8px 20px;border-radius:999px;font-size:14px;white-space:nowrap;}

/* ---------- 报考与考试 ---------- */
.jx-exam{margin-top:26px;gap:30px;}
.jx-exam-box{background:#fff;border-radius:16px;padding:28px 26px;border:1px solid var(--paper-2);}
.jx-exam-box h3{margin-bottom:14px;}
.jx-exam-box p{font-size:15px;line-height:1.95;color:var(--ink-700);margin-bottom:12px;}
.jx-exam-box a{color:var(--blue-500);text-decoration:underline;text-underline-offset:3px;}

/* ---------- FAQ ---------- */
.jx-faq{margin-top:24px;max-width:860px;}
.jx-faq .acc{margin-bottom:12px;}

/* ---------- 延伸阅读 ---------- */
.jx-relate{margin-top:30px;}
.jx-relate-card{display:block;padding:22px 20px;border-radius:14px;background:#fff;border:1px solid var(--blue-100);transition:transform .2s,box-shadow .2s;}
.jx-relate-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(68,147,196,.16);}
.jx-relate-card h3{font-size:17px;color:var(--blue-500);margin-bottom:8px;}
.jx-relate-card p{font-size:13.5px;color:var(--ink-500);line-height:1.7;}

/* ---------- CTA ---------- */
.jx-cta{position:relative;overflow:hidden;color:#fff;}
.jx-cta-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.jx-cta::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(21,50,56,.85) 0%,rgba(21,50,56,.55) 60%,rgba(21,50,56,.3) 100%);}
.jx-cta-inner{position:relative;z-index:2;padding:90px 0;max-width:660px;}
.jx-cta-inner h2{font-size:32px;line-height:1.35;margin-bottom:16px;color:#fff;}
.jx-cta-inner p{font-size:16px;line-height:1.9;color:#eaf3fa;margin-bottom:26px;}

/* ---------- 响应式 ---------- */
@media (max-width:980px){
  .gh-jx .hero-title{font-size:34px;}
  .jx-card{padding:22px 20px 20px 76px;}
  .jx-card::before{width:52px;}
  .jx-card-tag{left:11px;}
}
@media (max-width:640px){
  .gh-jx{padding:120px 0 70px;}
  .gh-jx .hero-title{font-size:27px;}
  .hero-actions{flex-direction:column;align-items:stretch;}
  .hero-actions .btn{width:100%;}
  .jx-cards{grid-template-columns:1fr;}
  .jx-scene{grid-template-columns:1fr;gap:24px;}
  .jx-strip{height:150px;}
  .jx-strip p{white-space:normal;text-align:center;transform:translateX(-50%);width:90%;}
  .jx-cta-inner{padding:60px 0;}
  .jx-cta-inner h2{font-size:25px;}
}
