/* ==========================================================================
   bada-yuan-jieshao.html 八大员对比选岗页专属样式
   骨架：城市压字头图 + 对比大表 + 四类班子分组卡 + 成长时间轴 + 属地需求
   ========================================================================== */

/* ---------- 1. 头图（沿用） ---------- */
.bd-hero { position: relative; padding-top: 76px; }
.bd-hero-bg { width: 100%; height: clamp(420px, 56vw, 560px); object-fit: cover; display: block; }
.bd-hero-mask {
  position: absolute; inset: 76px 0 0 0;
  background: linear-gradient(100deg, rgba(52,49,41,.9) 0%, rgba(52,49,41,.72) 50%, rgba(52,49,41,.3) 100%);
  display: flex; align-items: center;
}
.bd-hero-mask .container { padding: clamp(40px, 6vw, 70px) 0; }
.bd-hero .crumbs a { color: var(--khaki-200); }
.bd-hero .crumbs { color: rgba(246,242,231,.65); margin-bottom: 20px; }
.eyebrow-light { color: var(--khaki-200) !important; }
.eyebrow-light::before { background: var(--khaki-300) !important; }
.bd-hero h1 { color: #fff; margin: 4px 0 16px; }
.bd-lead { color: rgba(246,242,231,.88); font-size: 16px; max-width: 620px; line-height: 1.9; }

/* ---------- 2. 对比大表 ---------- */
.cmp-section { background: var(--paper); padding: clamp(64px, 8vw, 100px) 0; }
.table-card {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden;
}
.cmp-table {
  width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px;
}
.cmp-table thead th {
  background: var(--khaki-600); color: #fff; font-weight: 600; text-align: left;
  padding: 14px 18px; font-size: 13.5px; letter-spacing: .02em;
}
.cmp-table tbody td {
  padding: 14px 18px; border-bottom: 1px solid var(--line); line-height: 1.7;
  vertical-align: top; color: var(--ink-soft);
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:nth-child(even) { background: rgba(195,176,137,.06); }
.cmp-table tbody td:first-child {
  font-weight: 700; color: var(--ink);
}
.cmp-table tbody td:first-child a {
  color: var(--stamp); border-bottom: 1px dashed var(--stamp);
}
.table-note {
  font-size: 12.5px; color: var(--ink-faint); margin: 0; padding: 14px 18px;
  border-top: 1px solid var(--line); background: var(--paper);
}
.table-note a { color: var(--khaki-600); border-bottom: 1px dashed var(--khaki-400); }

/* ---------- 3. 四类班子分组卡 ---------- */
.cluster-section { background: var(--sand); padding: clamp(64px, 8vw, 100px) 0; }
.cluster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cluster-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; transition: all .35s var(--ease);
}
.cluster-card:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.cluster-img { margin: 0; height: 220px; overflow: hidden; }
.cluster-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cluster-body { padding: 24px 24px 22px; }
.cluster-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .15em;
  color: var(--stamp); background: rgba(178,90,51,.1); padding: 4px 10px; border-radius: 4px;
  margin-bottom: 12px;
}
.cluster-body h3 { font-size: 18px; margin-bottom: 8px; }
.cluster-body p { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.8; }
.cluster-roles { display: flex; flex-wrap: wrap; gap: 14px; }
.cluster-roles a {
  font-size: 13px; color: var(--khaki-600); font-weight: 600;
  border-bottom: 1px solid var(--khaki-300); padding-bottom: 2px;
}
.cluster-roles a:hover { color: var(--stamp); border-bottom-color: var(--stamp); }

/* ---------- 4. 持证成长轴 ---------- */
.growtl-section { background: var(--paper); padding: clamp(64px, 8vw, 100px) 0; }
.gr-tl { max-width: 820px; margin-inline: auto; }
.gr-tl .tl-row { --tw: 90px; --aw: 46px; padding: 22px 0; }
.gr-tl .tl-time { text-align: right; padding-right: 14px; padding-top: 4px; }
.gr-tl .tl-time em {
  font-style: normal; font-family: var(--font-serif); font-size: 15px; font-weight: 700;
  color: var(--stamp);
}
.gr-tl .tl-body h3 { font-size: 17px; margin-bottom: 4px; }
.gr-tl .tl-body p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
/* 圆形描边节点（与原菱形区分） */
.gr-tl .tl-node {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--khaki-500); color: var(--khaki-600);
}
.gr-tl .tl-node svg { width: 17px; height: 17px; }
.gr-tl .tl-row:nth-child(even) .tl-node { border-color: var(--stamp); color: var(--stamp); }

/* ---------- 5. 商丘属地需求分布 ---------- */
.demand-section { background: var(--mist); padding: clamp(64px, 8vw, 100px) 0; }
.demand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 20px; }
.demand-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 22px 22px 20px; border-left: 4px solid var(--khaki-500);
}
.demand-card:nth-child(2) { border-left-color: var(--stamp); }
.demand-card:nth-child(3) { border-left-color: var(--khaki-600); }
.demand-card:nth-child(4) { border-left-color: var(--khaki-700); }
.demand-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.demand-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.8; }
.demand-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.demand-tags span {
  font-size: 12px; font-weight: 600; color: var(--khaki-700);
  background: var(--khaki-100); padding: 4px 10px; border-radius: 20px;
}
.demand-note { font-size: 12.5px; color: var(--ink-faint); margin: 0; }
.demand-note a { color: var(--khaki-600); border-bottom: 1px dashed var(--khaki-400); }

/* ---------- 6. FAQ ---------- */
.faq-section { background: var(--paper); }
.container-narrow { max-width: 860px; }
.faq-list .faq-item { box-shadow: var(--shadow-s); background: var(--mist); }
.faq-list .faq-a { display: none; }
.faq-list .faq-item.open .faq-a { display: block; }
.faq-list .faq-a-inner a { color: var(--stamp); border-bottom: 1px dashed var(--stamp); }

/* ---------- 7. 相关推荐 ---------- */
.rel-band { background: var(--mist); padding: clamp(48px, 6vw, 76px) 0; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 26px 24px; transition: all .3s var(--ease); display: block;
}
.rel-card:hover { background: var(--khaki-100); transform: translateY(-4px); box-shadow: var(--shadow-s); }
.rel-eyebrow { font-size: 11.5px; letter-spacing: .2em; color: var(--stamp); font-weight: 700; }
.rel-card h3 { font-size: 17.5px; margin: 10px 0 8px; }
.rel-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- 8. CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--khaki-600), var(--khaki-800)); padding: clamp(48px, 6vw, 80px) 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #d9d2bf; font-size: 15px; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cluster-grid { grid-template-columns: 1fr; }
  .demand-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .cmp-table { font-size: 13px; }
  .cmp-table thead th, .cmp-table tbody td { padding: 10px 12px; }
}

@media (max-width: 768px) {
  .gr-tl .tl-row { --tw: 72px; --aw: 38px; padding: 14px 0; }
  .gr-tl .tl-node { width: 30px; height: 30px; }
  .gr-tl .tl-node svg { width: 14px; height: 14px; }
  .gr-tl .tl-time { padding-right: 8px; }
  .gr-tl .tl-time em { font-size: 13px; }
  .rel-grid { grid-template-columns: 1fr; }
  .cluster-img { height: 180px; }
  /* 表格横向滚动 */
  .table-card { overflow-x: auto; }
  .cmp-table { min-width: 560px; }
}
