/* ============================================================
   laowuyuan.css —— 劳务员岗位页
   设计：顶部撕边 hero + 叠图对 + 棕褐键帽片 + 墨黑红线带 + 右轴时间轴 + 右竖排标题 + fixed 列宽表
   ============================================================ */

/* ---------- Hero：顶部撕边锯齿裁切 ---------- */
.hero{
  margin-top:var(--nav-h);
  background:
    linear-gradient(150deg, rgba(74,55,40,.65), rgba(28,26,23,.85)),
    url("../images/banner-gangwei.jpg") center/cover no-repeat,
    var(--ink);
  color:var(--cream);
  padding:110px 0 96px;
  clip-path:polygon(0 7%,10% 2%,20% 8%,30% 3%,40% 9%,50% 4%,60% 10%,70% 5%,80% 11%,90% 6%,100% 9%,100% 100%,0 100%);
}
.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,56px); color:var(--cream); max-width:740px; line-height:1.18; }
.hero-sub{ margin-top:20px; max-width:660px; 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:780px; 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：叠图对 ---------- */
.scene-pair{ position:relative; padding:10px 0 30px; }
.pair-a{ width:74%; }
.pair-a img{ border-radius:var(--r-l); box-shadow:var(--shadow); clip-path:polygon(0 0,100% 0,100% 95%,0 100%); }
.pair-b{ width:52%; margin:-80px 0 0 auto; border:6px solid var(--paper); border-radius:var(--r-m); box-shadow:var(--shadow); }
.pair-b img{ border-radius:8px; }
.scene-text{ margin-top:26px; }

/* ---------- 板块 3：棕褐键帽片 ---------- */
.sec-chips{ background:var(--paper-2); }
.tan-row{ margin-top:34px; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.tan{
  background:var(--paper); border:1px solid var(--line); border-top:4px solid var(--tan);
  border-radius:12px; padding:20px 16px; box-shadow:var(--shadow-sm);
}
.tan span{
  display:block; font-family:var(--font-mono); font-weight:700; color:var(--brown-2);
  margin-bottom:10px; letter-spacing:1px;
}
.tan p{ font-size:13.5px; margin:0; }

/* ---------- 板块 4：职责表 ---------- */
.table-wrap{ margin-top:30px; overflow-x:auto; }
.lw-table{ background:var(--paper); }
.lw-table th{ background:var(--brown); color:var(--cream); border-color:var(--brown-2); }
.lw-table tbody tr:nth-child(even){ background:var(--paper-2); }
.lw-table td{ font-size:14.5px; }

/* ---------- 板块 5：墨黑红线带 ---------- */
.sec-dark{
  background:var(--ink); color:rgba(242,232,213,.86);
  padding:90px 0; clip-path:polygon(0 4%,100% 0,100% 96%,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; }
.light-note{
  margin-top:24px; font-size:13.5px; color:rgba(242,232,213,.7);
  border-left:3px solid var(--tan); padding:10px 16px;
}
.light-note b{ color:var(--tan); }
.light-note a{ color:var(--tan); text-decoration:underline; text-underline-offset:3px; }

/* ---------- 板块 6：右轴时间轴 ---------- */
.sec-timeline{ background:var(--paper-2); }
.r-timeline{
  margin:36px auto 0; max-width:760px;
  display:grid; grid-template-columns:1fr 22px; gap:0 14px; list-style:none;
}
.rtl{ display:contents; }
.rtl-body{
  background:var(--paper); border:1px solid var(--line); border-radius:12px;
  padding:14px 18px; margin-bottom:22px; box-shadow:var(--shadow-sm);
}
.rtl-body h3{ font-size:16px; color:var(--brown-2); margin-bottom:4px; }
.rtl-body p{ font-size:13.5px; margin:0; }
.r-dot{
  width:14px; height:14px; border-radius:50%; background:var(--brown);
  border:3px solid var(--paper-2); box-shadow:0 0 0 2px var(--brown-3);
  justify-self:center; align-self:start; margin-top:8px; position:relative; z-index:1;
}
.rtl:not(:last-child) .r-dot::after{ display:none; }
.r-timeline{ position:relative; }
.r-timeline::before{ content:""; position:absolute; top:10px; bottom:30px;
  left:calc(100% - 12px); width:2px; background:var(--line-2); }

/* ---------- 板块 7：右竖排标题 ---------- */
.career-wrap{ position:relative; display:grid; grid-template-columns:1fr 80px; gap:30px; }
.v-title{
  writing-mode:vertical-rl; font-family:var(--font-mono); font-size:12px;
  letter-spacing:4px; color:var(--line-2); border-right:2px solid var(--tan);
  padding-right:12px; justify-self:end; height:100%;
}
.c-list{ display:grid; gap:16px; }
.c-item{
  background:var(--paper-2); border-left:4px solid var(--brown); border-radius:0 12px 12px 0;
  padding:18px 22px;
}
.c-item h3{ font-size:17px; color:var(--brown-2); margin-bottom:4px; }
.c-item p{ font-size:14px; margin:0; }

/* ---------- 板块 8：配置表 ---------- */
.sec-tip{ background:var(--paper-2); }
.cfg-table{ background:var(--paper); }
.cfg-table th{ background:var(--ink); color:var(--cream); border-color:var(--ink-3); }
.cfg-table td{ font-size:14.5px; }
.cfg-table td:first-child{ font-weight:700; color:var(--brown-2); }
.cfg-table a{ color:var(--brown-2); text-decoration:underline; text-underline-offset:3px; }

/* ---------- 板块 9：FAQ ---------- */
.sec-faq{ padding-top:60px; }
.faq-wrap{ max-width:820px; }
h2.more-q{ margin-top:44px; }
.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; }

/* ---------- 板块 10：CTA ---------- */
.cta-box{
  background:var(--brown); color:var(--cream); text-align:center;
  border-radius:var(--r-l); padding:56px 30px;
  clip-path:polygon(2% 0,98% 4%,100% 96%,0 100%);
}
.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){
  .tan-row{ grid-template-columns:repeat(2,1fr); }
  .dark-cols{ grid-template-columns:1fr; gap:18px; }
  .career-wrap{ grid-template-columns:1fr; }
  .v-title{ justify-self:start; writing-mode:horizontal-tb; border-right:0; border-bottom:2px solid var(--tan); padding:0 0 8px; }
}
@media (max-width:640px){
  .hero{ padding:80px 0 70px; }
  .sec{ padding:56px 0; }
  .pair-b{ width:80%; margin-top:-40px; }
  .tan-row{ grid-template-columns:1fr; }
  .r-timeline{ grid-template-columns:1fr; }
  .r-dot{ display:none; }
  .sec-dark{ clip-path:none; }
}

/* ---------- table-layout fixed 列宽（由 colgroup 迁移） ---------- */
.lw-table{ table-layout:fixed; }
.lw-table col:nth-child(1){ width:22%; }
.lw-table col:nth-child(2){ width:50%; }
.lw-table col:nth-child(3){ width:28%; }
.cfg-table{ table-layout:fixed; }
.cfg-table col:nth-child(1){ width:32%; }
.cfg-table col:nth-child(2){ width:68%; }

/* ---------- 自检修复补丁（防拉伸 / 移动端间距） ---------- */
main img{ width:100%; height:auto; }
@media (max-width:640px){ .hero{ padding-top:100px; } }

/* ===== 迭代新增板块（EXTRA 要点卡） ===== */
.sec-extra{ position:relative; clip-path:polygon(2% 0,100% 0,100% 100%,0 94%); 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; } }
