/* ============================================================
   zhiye-guihua.css —— 建筑职业规划页专属布局
   ============================================================ */

/* ---------- 首屏 ---------- */
.gh-hero{
  position:relative; min-height:560px; display:flex; align-items:center;
  color:#fff; overflow:hidden;
}
.gh-hero .ph-bg{ position:absolute; inset:0; z-index:0; }
.gh-hero .ph-bg img{ width:100%; height:100%; object-fit:cover; display:block; }
.gh-hero::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(90deg, rgba(21,50,56,.85) 0%, rgba(21,50,56,.55) 50%, rgba(21,50,56,.3) 100%);
}
.gh-hero .container{ position:relative; z-index:3; }
.gh-hero .crumbs{ color:rgba(255,255,255,.82); margin-bottom:18px; }
.gh-hero .crumbs a{ color:#D7EEE2; }
.gh-hero h1{ font-size:clamp(26px,4.6vw,46px); line-height:1.2; margin:6px 0 16px; max-width:22ch; }
.gh-hero .ph-desc{ color:rgba(255,255,255,.92); font-size:17px; line-height:1.9; max-width:660px; }
.gh-hero .ph-actions{ margin-top:26px; display:flex; gap:14px; flex-wrap:wrap; }
.gh-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); }

/* ---------- 晋升路径图 ---------- */
.path-flow{ margin-top:30px; max-width:760px; }
.path-node{
  background:#fff; border-radius:12px; padding:22px 26px;
  border-top:5px solid #41B383; box-shadow:0 6px 20px rgba(21,50,56,.06);
}
.path-node.p-blue{ border-top-color:#4493C4; }
.path-node.p-yellow{ border-top-color:#FFCE33; }
.path-step{
  display:inline-block; font-size:12px; letter-spacing:1px; color:#fff;
  background:#41B383; padding:3px 10px; border-radius:99px; margin-bottom:10px;
}
.p-blue .path-step{ background:#4493C4; }
.p-yellow .path-step{ background:#E0A800; }
.path-node h3{ margin:0 0 8px; color:var(--ink-900); font-size:20px; }
.path-node p{ margin:0; color:var(--ink-700); line-height:1.9; font-size:15px; }
.path-arrow{
  text-align:center; color:#8AA3AA; font-size:26px; line-height:1;
  margin:6px 0;
}

/* ---------- 岗位对照表 ---------- */
.table-wrap{ margin-top:24px; overflow-x:auto; }
.table-wrap table{ width:100%; border-collapse:collapse; background:#fff; }
.table-wrap th, .table-wrap td{
  text-align:left; padding:14px 16px; border-bottom:1px solid #E4EDE7;
  font-size:15px; color:var(--ink-700);
}
.table-wrap th{ background:#EAF6EF; color:var(--ink-900); font-weight:600; }
.table-wrap tbody tr:hover{ background:#F6FAF7; }

/* ---------- 考序建议卡 ---------- */
.gh-card{ overflow:hidden; padding:0; margin-top:20px; }
.gh-card img{ width:100%; height:190px; object-fit:cover; display:block; }
.gh-body{ padding:20px 22px 24px; }
.gh-body h3{ margin:0 0 10px; font-size:18px; color:var(--ink-900); }
.gh-body p{ margin:0; color:var(--ink-700); line-height:1.85; font-size:15px; }

/* ---------- 继续教育段 ---------- */
.gh-learn .learn-text{ max-width:860px; }
.gh-learn h2{ margin:8px 0 14px; color:var(--ink-900); font-size:26px; }
.gh-learn p{ color:var(--ink-700); line-height:1.95; margin-bottom:14px; }

/* ---------- 链接卡 ---------- */
.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 ---------- */
.gh-cta{ background:linear-gradient(120deg,#EAF3FA 0%,#FFF7DC 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){
  .gh-hero{ min-height:480px; }
  .gh-card img{ height:160px; }
  .table-wrap th, .table-wrap td{ padding:10px 12px; font-size:14px; }
}
@media (max-width:375px){
  .gh-hero{ min-height:440px; }
  .split svg{ height:38px; }
  .center-box .ph-actions .btn{ width:100%; }
}

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

/* 首屏标题：覆盖渐变文字，强制纯白不透明 */
.gh-hero .hero-title, .gh-hero .hero-title .line, .gh-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){
  .gh-hero .ph-actions{ flex-direction:column; align-items:stretch; }
  .gh-hero .ph-actions .btn{ width:100%; }
}

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