/* ============================================================
   gangwei-duibi.css —— 八大员岗位对比页
   设计：对称弧底 hero + table-layout:fixed 大对比表 + 键帽色块 + 深色选配带
   ============================================================ */

/* ---------- Hero：对称弧底 ---------- */
.hero{
  margin-top:var(--nav-h);
  background:
    linear-gradient(120deg, rgba(28,26,23,.8), rgba(74,55,40,.6)),
    url("../images/banner-gangwei.jpg") center/cover no-repeat,
    var(--ink);
  color:var(--cream);
  padding:96px 0 130px;
  clip-path:polygon(0 0,100% 0,100% 84%,50% 98%,0 84%);
}
.hero-inner{ position:relative; }
.crumb{ color:rgba(242,232,213,.72); margin-bottom:26px; }
.crumb a{ color:rgba(242,232,213,.72); }
.crumb a:hover{ color:var(--tan); }
.hero-key{ margin-bottom:18px; }
.hero-title{ font-size:clamp(34px,5vw,58px); color:var(--cream); max-width:780px; line-height:1.18; }
.hero-sub{ margin-top:20px; max-width:680px; font-size:16.5px; color:rgba(242,232,213,.86); }
.hero-cta{ margin-top:34px; display:flex; flex-wrap:wrap; gap:14px; }
.btn-ghost.light{ color:var(--cream); border-color:rgba(242,232,213,.5); }
.btn-ghost.light:hover{ color:var(--paper); border-color:var(--cream); }

/* ---------- 通用 ---------- */
.sec{ padding:78px 0; }
.sec-tag{ font-family:var(--font-mono); font-size:13px; letter-spacing:3px; color:var(--brown-3); margin-bottom:12px; }
.sec-tag.center{ text-align:center; }
.sec h2{ font-size:clamp(24px,3vw,34px); color:var(--ink); margin-bottom:16px; }
h2.center{ text-align:center; }
.lead{ max-width:820px; margin:0 auto; color:var(--ink-3); }
.lead.center{ text-align:center; }
.sec p{ margin-bottom:14px; }
.sec p b{ color:var(--brown-2); }

/* ---------- 板块 2：大对比表 ---------- */
.sec-bigtable{ background:var(--paper-2); }
.table-wrap{ margin-top:30px; overflow-x:auto; border-radius:var(--r-m); box-shadow:var(--shadow-sm); }
.big-table{
  table-layout:fixed; width:100%; min-width:880px; background:var(--paper);
}
.big-table th{
  background:var(--ink); color:var(--cream); border-color:var(--ink-3);
  font-size:14px;
}
.big-table td{ font-size:14px; vertical-align:middle; }
.big-table tbody tr:nth-child(even){ background:var(--paper-2); }
/* 岗位名键帽 */
.cell-key{
  display:block; text-align:center; font-family:var(--font-mono); font-weight:700;
  padding:8px 4px; border-radius:8px; box-shadow:0 3px 0 var(--line-2);
}
.cell-key.high{ background:var(--brown); color:var(--cream); box-shadow:0 3px 0 #2A1E13; }
.cell-key.mid{ background:var(--tan); color:var(--ink); }
.cell-key.low{ background:var(--paper-3); color:var(--brown-2); }
/* 配置权重色块 */
.chip{
  display:inline-block; padding:3px 12px; border-radius:20px; font-size:12.5px; font-family:var(--font-mono);
}
.chip-h{ background:var(--brown); color:var(--cream); }
.chip-m{ background:var(--tan); color:var(--ink); }
.chip-l{ background:var(--paper-3); color:var(--brown-2); border:1px solid var(--line); }

/* ---------- 板块 3：报考对照表 ---------- */
.diff-table{ table-layout:fixed; width:100%; background:var(--paper); }
.diff-table th{ background:var(--brown); color:var(--cream); border-color:var(--brown-2); }
.diff-table tbody tr:nth-child(even){ background:var(--paper-2); }
.diff-table td{ font-size:14px; }
.policy-note{
  margin-top:26px; font-size:13.5px; color:var(--brown-3);
  border-left:3px solid var(--tan); padding:10px 16px; background:var(--paper-2);
}
.policy-note b{ color:var(--brown-2); }
.policy-note a{ color:var(--brown-2); text-decoration:underline; text-underline-offset:3px; }

/* ---------- 板块 4：配图场景 ---------- */
.sec-scene{ background:var(--paper); }
.scene-flex{ display:grid; grid-template-columns:1.1fr 1fr; gap:44px; align-items:center; }
.scene-flex img{ border-radius:var(--r-m); box-shadow:var(--shadow); clip-path:polygon(0 0,100% 3%,97% 96%,3% 100%); }

/* ---------- 板块 5：墨黑选配带 ---------- */
.sec-dark{
  background:var(--ink); color:rgba(242,232,213,.86);
  padding:90px 0; clip-path:polygon(0 5%,100% 0,100% 95%,0 100%);
}
.sec-dark h2{ color:var(--cream); }
.sec-tag.light{ color:var(--tan); }
.dark-cols{ margin-top:26px; display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.dc h3{ color:var(--tan); font-size:17px; margin-bottom:10px; }
.dc p{ font-size:14px; color:rgba(242,232,213,.8); margin:0; }
.dark-note{ margin-top:22px; font-size:13.5px; color:rgba(242,232,213,.66); }
.dark-note a{ color:var(--tan); text-decoration:underline; text-underline-offset:3px; }

/* ---------- 板块 6：咨询场景 ---------- */
.huiyi-flex{ display:grid; grid-template-columns:1fr 1.1fr; gap:44px; align-items:center; }
.huiyi-flex img{ border-radius:var(--r-m); box-shadow:var(--shadow); clip-path:polygon(3% 0,100% 4%,96% 100%,0 96%); }

/* ---------- 板块 7：FAQ ---------- */
.sec-faq{ background:var(--paper-2); }
.faq-wrap{ max-width:820px; }
.faq-item{
  background:var(--paper); border:1px solid var(--line); border-radius:12px;
  margin-bottom:14px; overflow:hidden;
}
.faq-item summary{
  cursor:pointer; padding:16px 20px; font-weight:700; color:var(--ink);
  list-style:none; position:relative; padding-right:44px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; position:absolute; right:18px; top:50%; transform:translateY(-50%);
  font-family:var(--font-mono); font-size:20px; color:var(--brown-3);
}
.faq-item[open] summary::after{ transform:translateY(-50%) rotate(45deg); }
.faq-item p{ padding:0 20px 18px; font-size:14.5px; color:var(--ink-3); margin:0; }
.faq-item a{ color:var(--brown-2); text-decoration:underline; text-underline-offset:3px; }

/* ---------- 板块 8：CTA ---------- */
.cta-box{
  background:var(--brown); color:var(--cream); text-align:center;
  border-radius:var(--r-l); padding:56px 30px;
  clip-path:polygon(0 4%,100% 0,100% 96%,50% 100%,0 96%);
}
.cta-box h2{ color:var(--cream); font-size:clamp(22px,3vw,32px); }
.cta-box p{ color:rgba(242,232,213,.85); max-width:620px; margin:12px auto 0; }
.cta-tel{ font-family:var(--font-mono); font-size:16px; }
.cta-tel a{ color:var(--cream); text-decoration:underline; text-underline-offset:3px; }
.cta-box .hero-cta{ justify-content:center; }
.cta-box .btn-ghost{ color:var(--cream); border-color:rgba(242,232,213,.5); }
.cta-box .btn-ghost:hover{ color:var(--paper); border-color:var(--cream); }

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .scene-flex,.huiyi-flex{ grid-template-columns:1fr; gap:30px; }
  .dark-cols{ grid-template-columns:1fr; gap:18px; }
}
@media (max-width:640px){
  .hero{ padding:70px 0 100px; }
  .sec{ padding:56px 0; }
  .sec-dark{ clip-path:none; }
}

/* ---------- table-layout fixed 列宽（由 colgroup 迁移） ---------- */
.big-table{ table-layout:fixed; }
.big-table col:nth-child(1){ width:11%; }
.big-table col:nth-child(2){ width:21%; }
.big-table col:nth-child(3){ width:27%; }
.big-table col:nth-child(4){ width:12%; }
.big-table col:nth-child(5){ width:13%; }
.big-table col:nth-child(6){ width:16%; }
.diff-table{ table-layout:fixed; }
.diff-table col:nth-child(1){ width:14%; }
.diff-table col:nth-child(2){ width:18%; }
.diff-table col:nth-child(3){ width:34%; }
.diff-table col:nth-child(4){ width:34%; }

/* ---------- 自检修复补丁（防拉伸 / 移动端间距） ---------- */
main img{ width:100%; height:auto; }
@media (max-width:640px){ .hero{ padding-top:100px; } }

/* ===== 迭代新增板块（EXTRA 要点卡） ===== */
.sec-extra{ position:relative; clip-path:polygon(0 3%,100% 0,96% 100%,0 100%); background:#EAE0CB; padding:64px 0; }
.extra-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:28px; }
.extra-4{ grid-template-columns:repeat(4,1fr); }
.extra-card{ background:var(--paper); border:1px solid var(--line); border-radius:6px;
  padding:18px; box-shadow:var(--shadow-sm); }
.extra-card b{ display:block; color:var(--brown); margin-bottom:8px; font-family:var(--font-head); }
.extra-card p{ margin:0; font-size:14px; line-height:1.8; }
@media (max-width:640px){ .extra-grid,.extra-4{ grid-template-columns:1fr; } }
