/* ============================================================
   1. 设计变量
   ============================================================ */
:root{
  --red:        #FF4D2E;
  --red-dark:   #D93A1A;
  --red-deep:   #B32A0F;
  --red-light:  #FFF2EE;
  --red-line:   #FFD9CF;
  --text:       #222;
  --text-sub:   #777;
  --text-mute:  #999;
  --line:       #EDEDED;
  --bg:         #F7F7F8;
  --radius:     10px;
  --shadow:     0 2px 10px rgba(0,0,0,.06);
  --shadow-hover: 0 6px 20px rgba(255,77,46,.16);
  --container:  1200px;
}

/* ============================================================
   2. 基础重置
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size:15px;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
}
h1,h2,h3,h4,p{ margin:0; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
ol{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
img{ max-width:100%; display:block; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}

/* ============================================================
   3. 顶部合规提示条
   ============================================================ */
.topbar{
  background:var(--red-deep);
  color:#fff;
  font-size:12.5px;
  line-height:1.5;
}
.topbar__inner{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 16px;
  max-width:var(--container);
  margin:0 auto;
}
.topbar__icon{ flex:0 0 auto; font-size:14px; }
.topbar__text{ opacity:.95; }
.topbar__text strong{ font-weight:700; }

/* ============================================================
   4. 头部导航
   ============================================================ */
.header{
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:100;
}
.header__inner{
  display:flex;
  align-items:center;
  gap:22px;
  height:64px;
  position:relative;
}
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.logo__mark{
  width:34px; height:34px;
  border-radius:8px;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  color:#fff;
  font-weight:800;
  font-size:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  letter-spacing:-1px;
}
.logo__text{
  font-size:18px;
  font-weight:800;
  letter-spacing:.5px;
}
.logo__text em{
  font-style:normal;
  color:var(--red);
}

/* 主导航 */
.nav{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:15px;
  color:var(--text-sub);
}
.nav a{ padding:6px 0; border-bottom:2px solid transparent; }
.nav a:hover{ color:var(--red); }
.nav a.is-active{
  color:var(--red);
  font-weight:700;
  border-bottom-color:var(--red);
}

.header__actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid transparent;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  padding:9px 18px;
  transition:.18s ease;
  white-space:nowrap;
}
.btn--primary{
  background:var(--red);
  color:#fff;
  box-shadow:0 2px 8px rgba(255,77,46,.3);
}
.btn--primary:hover{ background:var(--red-dark); }
.btn--ghost{
  background:#fff;
  color:var(--red);
  border-color:var(--red);
}
.btn--ghost:hover{ background:var(--red-light); }
.btn--lg{ padding:12px 26px; font-size:15px; border-radius:10px; }
.btn--sm{ padding:7px 14px; font-size:13px; border-radius:7px; }
.btn--block{ width:100%; }

/* ============================================================
   4.1 纯 CSS 移动端菜单
   ============================================================ */
.nav-toggle-input{
  position:absolute;
  opacity:0;
  pointer-events:none;
  width:0; height:0;
}
.nav-toggle{
  display:none;
  width:38px; height:38px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:8px;
  font-size:18px;
  color:var(--text);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
}
.nav-toggle::before{ content:"☰"; }
.nav-toggle-input:checked ~ .header__actions .nav-toggle::before{ content:"✕"; }

/* ============================================================
   5. 面包屑条
   ============================================================ */
.crumb-bar{
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:12px 0;
}
.breadcrumb{
  font-size:12.5px;
  color:var(--text-mute);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
}
.breadcrumb a:hover{ color:var(--red); }
.breadcrumb span{ color:var(--text-sub); }

/* ============================================================
   6. 主内容两栏布局
   ============================================================ */
.main{ padding:22px 0 10px; }
.layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 336px;
  gap:22px;
  align-items:start;
}

/* ============================================================
   7. 岗位详情主卡
   ============================================================ */
.job-hero{
  background:#fff;
  border:1px solid #F0F0F0;
  border-radius:var(--radius);
  padding:24px 24px 20px;
  box-shadow:var(--shadow);
  margin-bottom:16px;
}
.job-hero__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.job-hero__title{
  font-size:24px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:.3px;
}
.job-hero__salary{
  color:var(--red);
  font-size:26px;
  font-weight:800;
  letter-spacing:-.5px;
  line-height:1.2;
  white-space:nowrap;
}
.job-hero__salary small{
  font-size:13px;
  font-weight:600;
  color:var(--text-mute);
  margin-left:4px;
  letter-spacing:0;
}

/* 关键信息条 */
.job-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:14px;
  font-size:13.5px;
  color:var(--text-sub);
}
.job-hero__meta li{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.job-hero__meta li i{
  font-style:normal;
  color:var(--red);
  font-size:12px;
}

/* 标签行 */
.job-hero__tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:14px;
}
.tag{
  font-size:12.5px;
  color:#666;
  background:#F5F5F6;
  border-radius:4px;
  padding:3px 10px;
}
.tag--red{
  color:var(--red-dark);
  background:var(--red-light);
  font-weight:600;
}

/* 核验横幅 */
.verify-banner{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:18px;
  padding:12px 14px;
  border-radius:8px;
  background:#F6FBF8;
  border:1px solid #D8EFE2;
  font-size:13px;
  color:#1E6B49;
  line-height:1.65;
}
.verify-banner__icon{
  flex:0 0 auto;
  width:20px; height:20px;
  border-radius:50%;
  background:#1E9E62;
  color:#fff;
  font-size:12px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:1px;
}
.verify-banner b{ color:#158351; font-weight:700; }

/* 操作按钮组 */
.job-hero__actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px dashed var(--line);
  flex-wrap:wrap;
}
.job-hero__actions .btn{ padding:11px 24px; font-size:14.5px; }
.job-hero__hint{
  font-size:12.5px;
  color:var(--text-mute);
  margin-left:auto;
}

/* ============================================================
   8. 详情内容卡
   ============================================================ */
.detail-card{
  background:#fff;
  border:1px solid #F0F0F0;
  border-radius:var(--radius);
  padding:22px 24px;
  box-shadow:var(--shadow);
  margin-bottom:16px;
}
.detail-card__title{
  font-size:17px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}
.detail-card__title::before{
  content:"";
  width:4px; height:16px;
  border-radius:2px;
  background:var(--red);
}

/* 岗位职责列表 */
.duty-list p{
  position:relative;
  padding-left:20px;
  font-size:14px;
  color:#3d3d3d;
  line-height:1.85;
  margin-bottom:8px;
}
.duty-list li:last-child{ margin-bottom:0; }
.duty-list li::before{
  content:"";
  position:absolute;
  left:4px;
  top:11px;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--red);
}
.duty-list h3 {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

/* 要求表格 */
.req-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.req-table tr + tr{ border-top:1px dashed var(--line); }
.req-table th,
.req-table td{
  text-align:left;
  padding:11px 0;
  vertical-align:top;
}
.req-table th{
  width:104px;
  flex:0 0 auto;
  font-weight:600;
  color:var(--text-mute);
  font-size:13.5px;
}
.req-table td{ color:#3d3d3d; }

/* 工作安排网格 */
.shift-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
  gap:12px;
}
.shift-item{
  background:#FAFAFB;
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px 14px;
}
.shift-item__label{
  font-size:12px;
  color:var(--text-mute);
  margin-bottom:4px;
}
.shift-item__value{
  font-size:14.5px;
  font-weight:700;
  color:var(--text);
  line-height:1.5;
}
.shift-item__value em{
  font-style:normal;
  color:var(--red);
}

/* 应聘流程 */
.flow-list{ counter-reset:flow; }
.flow-list li{
  display:flex;
  gap:12px;
  padding:11px 0;
  border-bottom:1px dashed var(--line);
  font-size:14px;
  color:#3d3d3d;
  line-height:1.7;
}
.flow-list li:last-child{ border-bottom:none; padding-bottom:0; }
.flow-list li::before{
  counter-increment:flow;
  content:counter(flow);
  flex:0 0 auto;
  width:24px; height:24px;
  border-radius:50%;
  background:var(--red-light);
  color:var(--red-dark);
  border:1px solid var(--red-line);
  font-size:12.5px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:1px;
}
.flow-list b{ color:var(--text); font-weight:700; }

/* 风险提示 */
.notice{
  background:var(--red-light);
  border:1px solid var(--red-line);
  border-radius:8px;
  padding:14px 16px;
  font-size:13.5px;
  color:#7a3b2e;
  line-height:1.8;
}
.notice b{ color:var(--red-dark); font-weight:700; }
.notice ul{ margin-top:8px; }
.notice li{
  position:relative;
  padding-left:18px;
  margin-bottom:5px;
}
.notice li:last-child{ margin-bottom:0; }
.notice li::before{
  content:"!";
  position:absolute;
  left:0; top:2px;
  width:14px; height:14px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  font-size:10px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ============================================================
   9. 右侧栏
   ============================================================ */
.side-card{
  background:#fff;
  border-radius:var(--radius);
  padding:16px 18px;
  box-shadow:var(--shadow);
  margin-bottom:16px;
}
.side-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.side-card__title{
  font-size:15.5px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:6px;
}
.side-card__title::before{
  content:"";
  width:3px; height:15px;
  border-radius:2px;
  background:var(--red);
}
.side-card__more{
  font-size:12.5px;
  color:var(--text-mute);
}
.side-card__more:hover{ color:var(--red); }

/* 场所信息卡 */
.venue-box{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding-bottom:12px;
  border-bottom:1px dashed var(--line);
}
.venue-box__logo{
  flex:0 0 auto;
  width:50px; height:50px;
  border-radius:10px;
  background:var(--red-light);
  color:var(--red-dark);
  border:1px solid var(--red-line);
  font-weight:800;
  font-size:19px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.venue-box__info{ min-width:0; flex:1 1 auto; }
.venue-box__name{
  font-size:15px;
  font-weight:800;
  line-height:1.45;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.venue-box__meta{
  margin-top:3px;
  font-size:12.5px;
  color:var(--text-sub);
}
.venue-box__badge{
  display:inline-flex;
  align-items:center;
  gap:3px;
  margin-top:7px;
  font-size:11.5px;
  color:#1E9E62;
  background:#E8F7EF;
  border-radius:4px;
  padding:2px 7px;
  font-weight:600;
}

/* 资质清单 */
.quals{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:12px 0;
}
.qual{
  display:inline-flex;
  align-items:center;
  gap:3px;
  font-size:11.5px;
  color:#1E9E62;
  background:#E8F7EF;
  border-radius:4px;
  padding:2px 7px;
  font-weight:600;
}
.qual i{ font-style:normal; font-size:11px; }

.venue-box__link{
  display:inline-block;
  font-size:13px;
  color:var(--red);
  font-weight:600;
}
.venue-box__link:hover{ text-decoration:underline; }

/* 相关岗位 */
.related-list li{
  border-bottom:1px dashed var(--line);
}
.related-list li:last-child{ border-bottom:none; }
.related-list a{
  display:block;
  padding:10px 0;
}
.related-list a:hover .related-list__title{ color:var(--red); }
.related-list__title{
  font-size:13.5px;
  font-weight:600;
  line-height:1.5;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  transition:.15s;
}
.related-list__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:4px;
  font-size:12px;
  color:var(--text-mute);
}
.related-list__salary{
  color:var(--red);
  font-weight:700;
  font-size:12.5px;
  flex:0 0 auto;
}

/* 避坑指南 */
.guide-list li{ padding:9px 0; border-bottom:1px dashed var(--line); }
.guide-list li:last-child{ border-bottom:none; }
.guide-list a{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13.5px;
  color:#444;
}
.guide-list a:hover{ color:var(--red); }
.guide-list a span{
  flex:0 0 auto;
  font-size:11px;
  color:var(--red);
  background:var(--red-light);
  border-radius:4px;
  padding:1px 6px;
  font-weight:600;
}

/* 举报入口 */
.report-card{
  background:#F6FBF8;
  border:1px solid #D8EFE2;
}
.report-card .side-card__title::before{ background:#1E9E62; }
.report-card p{
  font-size:12.5px;
  color:#4c6456;
  line-height:1.75;
}
.report-card .btn{
  width:100%;
  margin-top:12px;
  background:#1E9E62;
  color:#fff;
  border:none;
  box-shadow:0 2px 8px rgba(30,158,98,.25);
}
.report-card .btn:hover{ background:#188554; }

/* 红卡片 CTA */
.side-card--red{
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  color:#fff;
  box-shadow:0 6px 18px rgba(255,77,46,.28);
}
.side-card--red .side-card__title{ color:#fff; }
.side-card--red .side-card__title::before{ background:#fff; }
.side-card--red p{
  font-size:13px;
  line-height:1.7;
  opacity:.94;
}
.side-card--red .btn{
  width:100%;
  margin-top:14px;
  background:#fff;
  color:var(--red-dark);
  font-weight:700;
}

/* ============================================================
   10. 底部区块
   ============================================================ */
.section{ padding:34px 0; }
.section--white{ background:#fff; }
.section__head{ text-align:center; margin-bottom:26px; }
.section__title{ font-size:21px; font-weight:800; }
.section__desc{ margin-top:8px; font-size:13.5px; color:var(--text-mute); }

.safe-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:16px;
}
.safe-item{
  background:var(--red-light);
  border:1px solid var(--red-line);
  border-radius:var(--radius);
  padding:20px 18px;
}
.safe-item__icon{
  width:40px; height:40px;
  border-radius:10px;
  background:#fff;
  color:var(--red);
  font-size:19px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
  font-weight:800;
}
.safe-item__title{ font-size:15px; font-weight:800; margin-bottom:6px; }
.safe-item__text{ font-size:13.5px; color:#6b5a55; line-height:1.7; }

.cta{
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  border-radius:14px;
  color:#fff;
  padding:30px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  flex-wrap:wrap;
}
.cta__title{ font-size:20px; font-weight:800; margin-bottom:6px; }
.cta__text{ font-size:13.5px; opacity:.92; max-width:640px; line-height:1.7; }
.cta__actions{ display:flex; gap:10px; flex-wrap:wrap; }
.cta .btn--ghost{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.7);
}
.cta .btn--ghost:hover{ background:rgba(255,255,255,.14); }

/* ============================================================
   11. 页脚
   ============================================================ */
.footer{
  background:#2A2A2E;
  color:#B9B9BE;
  font-size:13px;
  padding:36px 0 0;
  margin-top:20px;
}
.footer__top{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:26px;
  padding-bottom:28px;
}
.footer__brand .logo__text{ color:#fff; }
.footer__brand p{
  margin-top:12px;
  line-height:1.8;
  color:#9C9CA3;
  max-width:360px;
}
.footer__col h4{
  color:#fff;
  font-size:14px;
  font-weight:700;
  margin-bottom:12px;
}
.footer__col li{ margin-bottom:9px; }
.footer__col a:hover{ color:var(--red); }
.footer__bottom{
  border-top:1px solid #3A3A40;
  padding:16px 0 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  font-size:12.5px;
  color:#8A8A91;
}
.footer__warn{ color:#D8A79C; line-height:1.7; }

/* ============================================================
   12. 响应式断点
   ============================================================ */

/* 平板：侧栏降到下方 */
@media (max-width:1024px){
  .layout{ grid-template-columns:minmax(0,1fr); }
  .sidebar{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
    gap:16px;
  }
  .side-card{ margin-bottom:0; }
  .footer__top{ grid-template-columns:1fr 1fr; gap:22px; }
}

/* 小屏平板 / 大手机：导航折叠 */
@media (max-width:860px){
  .nav-toggle{ display:flex; }

  .nav{
    position:absolute;
    top:64px;
    left:0;
    right:0;
    background:#fff;
    border-bottom:1px solid var(--line);
    box-shadow:0 10px 22px rgba(0,0,0,.08);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:6px 16px 14px;
    margin-left:0;
    display:none;
  }
  .nav a{
    padding:12px 2px;
    border-bottom:1px solid var(--line);
    font-size:15px;
  }
  .nav a.is-active{ border-bottom-color:var(--line); }
  .nav-toggle-input:checked ~ .nav{ display:flex; }

  .header__actions .btn--ghost{ display:none; }

  .job-hero__title{ font-size:21px; }
  .job-hero__salary{ font-size:23px; }
}

/* 手机 */
@media (max-width:600px){
  .topbar__inner{ padding:7px 12px; font-size:12px; }
  .header__inner{ height:58px; gap:12px; }
  .nav{ top:58px; }
  .logo__text{ font-size:16px; }
  .header__actions .btn{ padding:8px 12px; font-size:13px; }

  .crumb-bar{ padding:10px 0; }

  .job-hero{ padding:18px 16px 16px; }
  .job-hero__top{ gap:10px; }
  .job-hero__title{ font-size:19px; }
  .job-hero__salary{ font-size:21px; }
  .job-hero__meta{ font-size:12.5px; gap:8px 16px; }

  .job-hero__actions{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .job-hero__actions .btn{ width:100%; }
  .job-hero__hint{ margin-left:0; text-align:center; }

  .detail-card{ padding:18px 16px; }
  .detail-card__title{ font-size:16px; }

  .req-table th{ width:88px; font-size:13px; }
  .req-table th,
  .req-table td{ padding:9px 0; font-size:13.5px; }

  .shift-grid{ grid-template-columns:1fr 1fr; gap:8px; }
  .shift-item{ padding:10px 11px; }
  .shift-item__value{ font-size:13.5px; }

  .safe-grid{ grid-template-columns:1fr; }
  .cta{ padding:22px 18px; border-radius:12px; }
  .cta__title{ font-size:17px; }
  .cta__actions{ width:100%; }
  .cta__actions .btn{ flex:1 1 100%; }

  .footer__top{ grid-template-columns:1fr; gap:20px; }
  .footer__bottom{ flex-direction:column; align-items:flex-start; }
}

/* 超小屏：工作安排单列 */
@media (max-width:400px){
  .shift-grid{ grid-template-columns:1fr; }
}