/* ==========================================================================
 *  熊猫人才服务平台 · 专区页样式
 *  主题色通过 --zt / --zts 变量注入，每个专区一个色
 * ========================================================================== */

.zone-body { --zt: #1f4e79; --zts: #eaf1f8; }

.loading { padding: 80px 0; text-align: center; color: #7c8899; font-size: 14px; }
.loading.err { color: #a63a3a; }

/* ───────────────────────── 专区头 ───────────────────────── */
.zhead {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px;
  align-items: center; padding: 40px 0 36px;
  border-bottom: 1px solid #e6ebf2;
  margin-bottom: 34px;
  position: relative;
}
.zhead::before {
  content: ''; position: absolute; left: -24px; top: 34px;
  width: 5px; height: 62px; border-radius: 3px; background: var(--zt);
}
.zcrumb { font-size: 13px; color: #7c8899; margin-bottom: 12px; }
.zcrumb a { color: var(--zt); font-weight: 600; }

.zhead h1 {
  display: flex; align-items: center; gap: 13px;
  font-size: 32px; font-weight: 800; letter-spacing: -.4px;
}
.zico {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; background: var(--zts);
}
.ztag-line { margin-top: 10px; font-size: 15px; color: var(--zt); font-weight: 700; }
.zdesc { margin-top: 12px; font-size: 14.5px; color: #45536a; line-height: 1.85; max-width: 620px; }
.zmeta { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.zchip {
  font-size: 12.5px; color: #45536a; background: var(--zts);
  padding: 6px 13px; border-radius: 8px; font-weight: 600;
}
.zchip.building { background: #fff6e5; color: #8a5a10; }

/* 建设中模块：功能卡片不可点 */
.zfeat.dis a { cursor: default; opacity: .72; }
.zfeat.dis a:hover { border-color: #e6ebf2; transform: none; }
.zfeat.dis a:hover::before { opacity: 0; }
.zf-go.soon { color: #a9b4c2; }

/* ───────────────────────── 分享二维码 ───────────────────────── */
.zshare {
  background: #fff; border: 1px solid #e6ebf2; border-radius: 16px;
  padding: 20px; display: flex; gap: 18px; align-items: center;
  box-shadow: 0 2px 4px rgba(27,36,48,.04), 0 12px 32px -14px rgba(27,36,48,.16);
}
.zqr {
  width: 132px; height: 132px; flex: none;
  border: 1px solid #e6ebf2; border-radius: 12px; padding: 7px; background: #fff;
}
.zqr img { width: 100%; height: 100%; display: block; }
.zqr.big { width: 210px; height: 210px; padding: 10px; }
.zqr-t { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.zqr-t b { font-size: 15px; font-weight: 800; }
.zqr-t span { font-size: 12.5px; color: #7c8899; line-height: 1.6; }
.zqr-t code {
  font-size: 11.5px; color: #45536a; background: #f4f7fb;
  padding: 5px 9px; border-radius: 7px; word-break: break-all; line-height: 1.5;
}
.zqr-act { display: flex; gap: 8px; margin-top: 3px; }

/* ───────────────────────── 功能区 ───────────────────────── */
.zsec { margin-bottom: 34px; }
.zsec-h {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 16px; padding-bottom: 11px; border-bottom: 2px solid var(--zts);
}
.zsec-h h2 { font-size: 17px; font-weight: 800; }
.zsec-h span { font-size: 12.5px; color: #7c8899; }

.zfeats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.zfeat a {
  display: block; background: #fff; border: 1px solid #e6ebf2; border-radius: 14px;
  padding: 17px 19px; transition: .16s; position: relative; overflow: hidden;
}
.zfeat a::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--zt); opacity: 0; transition: .16s;
}
.zfeat a:hover { border-color: var(--zt); transform: translateY(-2px); }
.zfeat a:hover::before { opacity: 1; }
.zf-top { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.zf-top b { font-size: 15px; font-weight: 800; }
.ztag {
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 5px;
  background: var(--zts); color: var(--zt);
}
.zfeat p { font-size: 13px; color: #7c8899; line-height: 1.7; }
.zf-go {
  display: inline-block; margin-top: 10px; font-size: 12.5px;
  color: var(--zt); font-weight: 700;
}

/* ───────────────────────── 分享区 ───────────────────────── */
.zsharebox {
  background: #fff; border: 1px solid #e6ebf2; border-radius: 16px;
  padding: 26px; display: grid; grid-template-columns: auto 1fr; gap: 30px;
  align-items: center; box-shadow: 0 2px 4px rgba(27,36,48,.04), 0 12px 32px -14px rgba(27,36,48,.16);
}
.zsb-r h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.zsb-r p { font-size: 13.5px; color: #45536a; line-height: 1.85; margin-bottom: 14px; }
.zsb-url {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.zsb-url code {
  flex: 1; font-size: 12.5px; color: #45536a; background: #f4f7fb;
  padding: 9px 13px; border-radius: 8px; word-break: break-all;
}
.zsb-act { display: flex; gap: 10px; flex-wrap: wrap; }

.zback { padding: 8px 0 40px; }
.zback a { font-size: 13.5px; color: #7c8899; font-weight: 600; }
.zback a:hover { color: var(--zt); }

@media (max-width: 980px) {
  .zhead { grid-template-columns: 1fr; gap: 26px; }
  .zshare { flex-direction: column; text-align: center; }
  .zfeats { grid-template-columns: 1fr; }
  .zsharebox { grid-template-columns: 1fr; text-align: center; }
  .zsb-url { flex-direction: column; }
  .zsb-act { justify-content: center; }
}
