:root {
  --pink: #ef2d36;
  --pink-deep: #d31f27;
  --pink-soft: #fdeff0;
  --pink-line: #f9dadc;
  --ink: #1f2329;
  --ink-2: #4e5969;
  --ink-3: #86909c;
  --line: #f0e8eb;
  --bg: #fdf7f8;
  --card: #fff;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(31, 35, 41, .04);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(760px 380px at 8% -8%, #fdeeee 0, rgba(253, 238, 238, 0) 62%),
    radial-gradient(680px 360px at 100% 4%, #fff0f4 0, rgba(255, 240, 244, 0) 60%);
  background-repeat: no-repeat;
  color: var(--ink);
  font: 14px/1.7 -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
input, select, button, textarea { font-family: inherit; font-size: 14px; }

/* ---------- header ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #f7edf0;
}
.hd-in {
  max-width: 1480px;
  margin: 0 auto;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: .3px; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, #f7565e, #ef2d36);
  color: #fff; font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.hd-nav { display: flex; gap: 22px; font-size: 14px; margin-left: 14px; }
.hd-nav a { color: var(--ink-2); }
.hd-nav a:hover { color: var(--pink); text-decoration: none; }
.hd-nav a.on { color: var(--pink); font-weight: 600; }

.search-box {
  margin-left: auto;
  display: flex; align-items: center;
  width: 300px; height: 36px;
  padding: 0 6px 0 14px;
  border: 1px solid #f2dfe4;
  border-radius: 20px;
  background: #fffafb;
}
.search-box input {
  flex: 1 1 auto; border: 0; outline: none; background: transparent;
  font-size: 14px; color: var(--ink);
}
.search-box input::placeholder { color: #b9aab0; }
.search-box button {
  flex: 0 0 auto; height: 26px; padding: 0 12px; border: 0; border-radius: 14px;
  background: var(--pink); color: #fff; font-size: 14px; cursor: pointer;
}

.hd-right { display: flex; align-items: center; gap: 12px; }
.hd-user { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; }
.hd-user:hover { text-decoration: none; color: var(--pink); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fdeeee url("/uploads/avatar/default.png") center/cover no-repeat;
  border: 1px solid #f5dde3;
  flex: 0 0 auto;
}
.btn-login {
  border: 1px solid #ffd0da; border-radius: 18px; padding: 6px 18px;
  color: var(--pink); background: #fff5f7; cursor: pointer; font-size: 14px;
}
.btn-login:hover { background: #fdeaea; }

/* ---------- layout ---------- */
.wrap {
  max-width: 1480px;
  width: 100%;
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 20px 20px 44px;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr) 208px;
  gap: 18px;
  align-items: start;
}
/* 去掉左侧导航的页面（如行测申论备考）：主内容 + 右栏两列 */
.wrap.no-side { grid-template-columns: minmax(0, 1fr) 208px; }

/* left menu */
.side-nav {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  display: block;
  position: sticky;
  top: 68px;
  max-height: calc(100vh - 84px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.side-nav::-webkit-scrollbar { width: 5px; }
.side-nav::-webkit-scrollbar-thumb { background: #e6e0e2; border-radius: 3px; }
.sn-home {
  display: flex; align-items: center; gap: 9px;
  height: 36px; padding: 0 10px;
  border-radius: 10px;
  color: var(--ink-2); font-size: 14px;
}
.sn-home .side-ico { font-size: 14px; width: 18px; text-align: center; }
.sn-home:hover { background: #fdf4f6; color: var(--pink); text-decoration: none; }
.sn-home.on { background: var(--pink-soft); color: var(--pink); font-weight: 600; }

.sn-group { padding: 8px 0 6px; border-top: 1px dashed #f6eef0; }
.sn-group:first-of-type { border-top: 0; padding-top: 4px; }
.sn-type {
  display: block;
  padding: 4px 6px;
  font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.6;
  border-radius: 8px;
}
.sn-type:hover { color: var(--pink); text-decoration: none; }
.sn-type.on { color: var(--pink); }
.sn-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 2px;
  padding: 2px 0 0;
}
.sn-item {
  display: block;
  font-size: 12px; color: var(--ink-2); line-height: 1.6;
  padding: 5px 6px;
  border-radius: 6px;
  word-break: break-word;
}
.sn-item:hover { background: #fdf4f6; color: var(--pink); text-decoration: none; }
.sn-item.on { background: var(--pink-soft); color: var(--pink); font-weight: 600; }
/* 过长的类别名整行显示，避免两列换行 */
.sn-item.wide { grid-column: 1 / -1; white-space: nowrap; }

.card-head .ch-cur {
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 10px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* center column */
.center { display: grid; gap: 16px; min-width: 0; align-self: stretch; align-content: start; }

/* banner */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 22px 26px;
  color: #fff;
  background: linear-gradient(102deg, #f7565e 0%, #ef2d36 42%, #f4696f 100%);
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 8px 22px rgba(254, 44, 85, .18);
}
.banner::after,
.banner::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  pointer-events: none;
}
.banner::before { width: 220px; height: 220px; right: -60px; top: -90px; }
.banner::after { width: 140px; height: 140px; right: 90px; bottom: -90px; background: rgba(255, 255, 255, .1); }
.banner img.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-text { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; }
.banner-text strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: .5px; }
.banner-text span { display: block; font-size: 14px; opacity: .92; margin-top: 6px; }

/* stat strip */
.stat-card {
  background: #fff; border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow);
  padding: 16px 18px 12px;
}
.stat-note {
  display: flex; align-items: center; gap: 10px;
  background: #fff5f5; border: 1px solid #f9dadc;
  border-radius: 10px; padding: 9px 12px;
  font-size: 14px; color: #7a5d64;
  margin-bottom: 14px;
}
.stat-note b { color: var(--pink); font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stat-item { padding: 2px 0 6px; }
.stat-item .label { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; }
.stat-item .label i { font-style: normal; color: var(--pink); font-size: 14px; }
.stat-item .value { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-top: 4px; }
.stat-item .value small { font-size: 14px; font-weight: 400; color: var(--ink-3); margin-left: 3px; }
.stat-item .sub { font-size: 14px; color: var(--ink-3); }

/* filters：位于职位列表标题行右侧，不再作为独立卡片 */
.filters {
  padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-left: auto;
}
.filters::after { content: none; }
.filters .area-btn, .filters .kw-input, .filters button {
  height: 36px;
  border: 1px solid #f0e4e8;
  border-radius: 18px;
  background: #fff;
  color: var(--ink-2);
  outline: none;
  padding: 0 12px;
  min-width: 0;
  flex: 1 1 0;
  max-width: none;
}
/* 自定义下拉组件 */
.cs { position: relative; }
.filters .cs { flex: 1 1 0; min-width: 108px; }
.cs-trigger {
  width: 100%; height: 36px; border: 1px solid #f0e4e8; border-radius: 18px;
  background: #fff; color: var(--ink-2); outline: none; padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer;
}
.field .cs-trigger, .prof-selects .cs-trigger { height: 40px; border-radius: 8px; }
.prof-selects .cs { width: 100%; }
.dg-selects .cs { flex: 1 1 0; min-width: 140px; }
.filter-row .cs { flex: 0 0 auto; min-width: 150px; }
.cs-label { font-size: 14px; }
.cs-arrow { flex: 0 0 auto; transition: transform .2s; }
.cs.open .cs-arrow { transform: rotate(180deg); }
.cs-panel {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%;
  background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(31, 35, 41, .12);
  padding: 6px; max-height: 240px; overflow-y: auto; z-index: 50;
}
.cs.open .cs-panel { display: block; }
.cs-opt {
  padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2);
  cursor: pointer; white-space: nowrap;
}
.cs-opt:hover { background: var(--pink-soft); }
.cs-opt.cs-sel { color: var(--pink-deep); font-weight: 600; }
.filters .kw-input { color: var(--ink); }
.filters .kw-input::placeholder { color: #b9aab0; }
.filters .area-btn {
  min-width: 124px; text-align: left; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.filters .area-btn.empty { color: var(--ink-3); }
.filters button.go {
  background: var(--pink); border-color: var(--pink); color: #fff;
  cursor: pointer; flex: 0 0 auto; min-width: 78px; font-weight: 600;
}
.filters .reset { font-size: 14px; color: var(--ink-3); flex: 0 0 auto; white-space: nowrap; }
.filters .reset:hover { color: var(--pink); text-decoration: none; }

/* job list card */
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 16px 20px 10px;
}
.card-head h3 {
  position: relative;
  flex: 0 0 auto; white-space: nowrap;
  font-size: 17px; font-weight: 700; color: var(--ink);
  padding-left: 10px;
}
.card-head h3::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 16px; border-radius: 2px; background: var(--pink);
}
.card-head span { font-size: 14px; color: var(--ink-3); }
.card-head .more { margin-left: auto; font-size: 14px; color: var(--ink-3); }

.job-rows { padding: 0 20px 6px; }
.job-row {
  padding: 16px 12px 13px;
  border-bottom: 1px dashed #f4eaee;
  border-radius: 8px;
  transition: background .15s ease;
}
.job-row:hover { background: #fffafb; }
.job-row:last-child { border-bottom: 0; }
.jr-top { display: flex; align-items: baseline; gap: 14px; }
.jr-name {
  font-size: 16px; font-weight: 600; color: var(--ink);
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.jr-name a { color: var(--ink); }
.jr-name a:hover { color: var(--pink); text-decoration: none; }
.jr-unit { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: #6b4a52; max-width: 42%; text-align: right; }
.jr-meta { color: var(--ink-2); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.jr-meta span { display: inline-flex; align-items: center; gap: 4px; }
.jr-meta em, .jr-prof em { font-style: normal; color: var(--ink-3); }
.jr-prof {
  margin-top: 6px; color: var(--ink-2); font-size: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* area quick matrix */
.area-matrix {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}
.am-item {
  border: 1px solid #f0e4e8;
  border-radius: 10px;
  padding: 10px 10px;
  text-align: center;
  color: var(--ink);
  transition: all .15s ease;
}
.am-item:hover { border-color: var(--pink); text-decoration: none; }
.am-item.on { border-color: var(--pink); background: #fff5f7; }
@media (max-width: 1100px) { .area-matrix { grid-template-columns: repeat(6, 1fr); } }
.am-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.am-num { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; word-break: keep-all; }
.am-item.on .am-name { color: var(--pink); }

/* job table */
.table-wrap {
  overflow-x: auto;
  margin: 0 20px 14px;
  border: 1px solid #e6cdd4;
  border-radius: 12px;
  background: #fff;
}
.job-table { width: 100%; min-width: 680px; border-collapse: collapse; table-layout: fixed; }
.job-table th:nth-child(1) { width: 18%; }
.job-table th:nth-child(2) { width: 18%; }
.job-table th:nth-child(3) { width: 13%; }
.job-table th:nth-child(4) { width: 12%; }
.job-table th:nth-child(5) { width: 21%; }
.job-table th:nth-child(6) { width: 10%; }
.job-table th:nth-child(7) { width: 8%; }
.job-table th, .job-table td {
  padding: 11px 10px;
  border-bottom: 1px dashed #f4eaee;
  border-right: 1px solid #f4eaee;
  font-size: 14px;
  text-align: left;
  color: var(--ink-2);
  vertical-align: middle;
}
.job-table tbody td { overflow: hidden; text-overflow: ellipsis; }
.job-table th:last-child, .job-table td:last-child { border-right: 0; }
/* 最后一行保留虚线底边，作为表格与翻页区之间的分隔线 */
.job-table tbody tr:last-child td { border-bottom: 1px dashed #f4eaee; }
/* 前 6 列（职位名称/招聘单位/报名截止/工作地点/学历/人数）居中，专业要求与操作保持左对齐 */
.job-table th:nth-child(-n+6), .job-table td:nth-child(-n+6) { text-align: center; }
.job-table th {
  background: #faf7f8;
  color: var(--ink-3);
  font-weight: 600;
  white-space: nowrap;
}
.job-table .jt-name, .job-table .jt-unit, .job-table .jt-end,
.job-table .jt-area, .job-table .jt-edu, .job-table .jt-num, .job-table .jt-op { white-space: nowrap; }
.job-table .jt-prof { white-space: normal; }
.job-table .jt-name a { color: var(--ink); font-weight: 600; }
.job-table .jt-name a:hover { color: var(--pink); text-decoration: none; }
.job-table .jt-unit { font-weight: 600; color: #6b4a52; max-width: 10em; overflow: hidden; text-overflow: ellipsis; }
.job-table .jt-op a { color: var(--pink); }
.job-table .jt-empty { text-align: center; color: var(--ink-3); padding: 44px 0; }
.job-table tbody tr:hover td { background: var(--pink-soft); }

/* pager：并入表格容器底部，不作为独立卡片模块 */
.pager-bar {
  margin: 0;
  padding: 16px 0 20px;
  display: flex; justify-content: center; align-items: center; gap: 8px;
}
.pager-bar a, .pager-bar span {
  display: inline-block; min-width: 36px; height: 32px; line-height: 30px;
  text-align: center; padding: 0 12px;
  border: 1px solid #f4e8ec; border-radius: 16px;
  color: var(--ink-2); font-size: 14px; background: #fff;
}
.pager-bar a:hover { border-color: var(--pink); color: var(--pink); text-decoration: none; }
.pager-bar .on { background: var(--pink); border-color: var(--pink); color: #fff; }
.pager-bar .wide { min-width: 200px; color: var(--ink-3); border-style: dashed; }

/* right column：整栏撑满内容高度，只有职位推荐卡片吸顶，用户信息卡随页面滚动 */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}
.right-col > .side-card {
  position: -webkit-sticky;
  position: sticky;
  top: 68px;
}
.user-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.ub-head {
  background: #fff;
  padding: 16px 14px;
  display: flex; align-items: center; gap: 10px;
}
.ub-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fdf6ec url("/uploads/avatar/default.png") center/cover no-repeat;
  flex: 0 0 auto;
}
.ub-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.ub-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ub-hint { font-size: 12px; color: var(--ink-3); }
.ub-guide { margin: 0 14px 14px; padding: 12px 12px 14px; border-radius: 12px; background: linear-gradient(135deg, #FFF3F1 0%, #FFEFF4 100%); border: 1px solid #FBDDE3; }
.ub-guide-t { font-size: 13px; font-weight: 700; color: #E23A54; }
.ub-guide-btn { display: block; margin-top: 10px; height: 32px; line-height: 32px; text-align: center; border-radius: 16px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #FE5A7A, #FE2C55); box-shadow: 0 4px 12px rgba(254, 44, 85, .24); transition: transform .15s ease, box-shadow .15s ease; }
.ub-guide-btn:hover { text-decoration: none; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(254, 44, 85, .3); }
.ub-set { margin-left: auto; font-size: 13px; color: var(--ink-3); flex: none; }
.ub-set:hover { color: var(--pink); }
.ub-body { padding: 2px 14px 16px; }
.ub-tags { display: flex; gap: 16px; font-size: 14px; color: var(--ink-2); padding: 8px 0; border-bottom: 1px dashed #f4eaee; flex-wrap: wrap; }
.ub-tags span b { font-weight: 600; color: var(--ink); margin-left: 4px; }
.ub-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-2); padding-top: 10px; }
.ub-meta b { font-weight: 600; color: var(--ink); margin-left: 4px; }
.ub-login { text-align: center; padding: 18px 16px 20px; }
.ub-login p { color: var(--ink-3); font-size: 14px; margin-bottom: 12px; }
.ub-login a {
  display: inline-block; padding: 7px 22px; border-radius: 18px;
  background: var(--pink); color: #fff; font-size: 14px; font-weight: 600;
}
.ub-login a:hover { text-decoration: none; background: var(--pink-deep); }
.ub-login a.ghost { background: #fff; color: var(--pink); border: 1px solid #ffd0da; margin-left: 8px; }
.ub-login a.solo { min-width: 148px; padding: 9px 28px; }

.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.side-card h3 { font-size: 14px; color: var(--ink); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.side-card h3 i { font-style: normal; color: var(--pink); }
.side-item { padding: 11px 0; border-bottom: 1px dashed #f4eaee; }
.side-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.side-item a { font-size: 14px; font-weight: 600; color: var(--ink); display: block; line-height: 1.5; }
.side-item a:hover { color: var(--pink); text-decoration: none; }
.side-item p { font-size: 12px; color: var(--ink-3); margin-top: 4px; display: flex; gap: 6px; }
.side-item p em { font-style: normal; color: #b7a5ab; flex: 0 0 auto; }
.side-item .side-meta { gap: 12px; flex-wrap: wrap; }
.side-item .side-meta:empty { display: none; }
.side-item .side-meta .sm-city { color: var(--ink-3); }
.side-item .side-meta .sm-num { color: var(--pink-deep); }

/* ---------- detail pages ---------- */
.summary {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 24px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px;
  font-size: 14px; color: var(--ink);
}
.sm-item { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sm-item em { font-style: normal; font-size: 14px; color: var(--ink-3); }
.sm-item b { font-weight: 600; color: var(--ink); line-height: 1.5; word-break: break-word; }
.sm-item b a { color: var(--pink); font-weight: 600; }
.sm-item b .muted { color: var(--ink-3); font-weight: 400; }
.sm-wide { grid-column: span 2; }
@media (max-width: 1100px) { .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .summary { grid-template-columns: 1fr; gap: 14px; } .sm-wide { grid-column: auto; } }

.article-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 28px 30px;
}
.ac-title { font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.ac-cat { font-size: 14px; color: var(--ink-3); margin-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ac-cat span:first-child {
  color: var(--pink); background: var(--pink-soft);
  border-radius: 10px; padding: 0 10px; line-height: 22px; font-size: 14px;
}
.ac-unit { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.ac-body { font-size: 15px; line-height: 1.95; color: #2b3038; margin-top: 18px; padding-top: 18px; border-top: 1px solid #f7edf0; }
.ac-body h2, .ac-body h3 { font-size: 16px; margin: 18px 0 8px; }
.ac-body p { margin: 0 0 12px; }
.ac-body img { max-width: 100%; }
.ac-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.ac-body td, .ac-body th { border: 1px solid #f0e6ea; padding: 6px 9px; }

/* 上一篇 / 下一篇 */
.ac-pn {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 26px; padding-top: 18px; border-top: 1px dashed #f4eaee;
}
.pn-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 11px 14px; border-radius: 10px;
  background: #fbfbfc; border: 1px solid #f2eef0;
  font-size: 14px; line-height: 1.6; color: var(--ink-2);
  min-height: 46px; transition: background .15s, border-color .15s;
}
.pn-item em {
  font-style: normal; flex: 0 0 auto; color: var(--pink-deep);
  font-weight: 600;
}
.pn-item span { color: var(--ink); word-break: break-all; }
.pn-item:hover { background: var(--pink-soft); border-color: var(--pink-line); text-decoration: none; }
.pn-item:hover span { color: var(--pink-deep); }
.pn-item.is-empty { color: var(--ink-3); background: #fff; }
.pn-item.is-empty span { color: var(--ink-3); }
.pn-item:nth-child(1) { justify-content: flex-start; }
.pn-item:nth-child(2) { justify-content: flex-end; text-align: right; }


.kv-rows { display: grid; gap: 0; }
.kv-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed #f4eaee; font-size: 14px; }
.kv-row:last-child { border-bottom: 0; }
.kv-row th { flex: 0 0 92px; text-align: left; color: var(--ink-3); font-weight: 400; }
.kv-row td { flex: 1 1 auto; color: var(--ink); word-break: break-all; }

/* channel list */
.art-item { padding: 16px 0; border-bottom: 1px dashed #f4eaee; }
.art-item:last-child { border-bottom: 0; }
.art-item h2 { font-size: 16px; font-weight: 600; line-height: 1.55; }
.art-item h2 a { color: var(--ink); }
.art-item h2 a:hover { color: var(--pink); text-decoration: none; }
.art-item p { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.art-item .meta { margin-top: 8px; font-size: 14px; color: var(--ink-2); display: flex; gap: 20px; flex-wrap: wrap; }
.art-item .meta em { font-style: normal; color: var(--ink-3); }

/* ---------- account forms ---------- */
.form-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 28px; max-width: 460px;
}
.form-card h1 { font-size: 20px; margin-bottom: 6px; }
.form-card p.hint { color: var(--ink-3); font-size: 14px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; height: 40px; padding: 0 12px; border: 1px solid #f0e4e8; border-radius: 8px; outline: none; background: #fff;
}
.field textarea { height: 90px; padding: 10px 12px; }
.field input:focus { border-color: #f3a6ab; box-shadow: 0 0 0 3px #fdeff0; }
.form-actions { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.btn-dark {
  height: 42px; padding: 0 28px; border: 0; border-radius: 21px;
  background: var(--pink); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn-dark:hover { background: var(--pink-deep); }
.form-tip { font-size: 14px; color: #c0392b; min-height: 20px; }
.form-link { font-size: 14px; color: var(--ink-3); }

/* profile */
.profile-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; }
.profile-card h1 { font-size: 19px; margin-bottom: 4px; }
.profile-card .hint { color: var(--ink-3); font-size: 14px; margin-bottom: 18px; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.pf-grid .full { grid-column: 1 / -1; }

/* 头像设置 */
.pf-avatar {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 0 20px; margin-bottom: 6px;
  border-bottom: 1px dashed #f4eaee;
}
.pf-avatar-img {
  width: 88px; height: 88px; border-radius: 50%; flex: 0 0 auto;
  background: #fff center/cover no-repeat;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(254, 44, 85, .14);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pf-avatar-letter {
  display: none;
  width: 100%; height: 100%; align-items: center; justify-content: center;
  background: var(--pink-soft); color: var(--pink-deep);
  font-size: 32px; font-weight: 700;
}
.pf-avatar-img.is-letter .pf-avatar-letter { display: flex; }
.pf-avatar-act { display: flex; flex-direction: column; gap: 8px; }
.pf-avatar-act .btn-ghost {
  align-self: flex-start; padding: 8px 18px; border-radius: 18px;
  background: var(--pink-soft); color: var(--pink-deep); border: 1px solid var(--pink-line);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.pf-avatar-act .btn-ghost:hover { background: #fde3e6; }
.pf-avatar-act .link-btn {
  align-self: flex-start; background: none; border: 0; padding: 0;
  color: var(--ink-3); font-size: 14px; cursor: pointer;
}
.pf-avatar-act .link-btn:hover { color: var(--pink); }
.pf-avatar-tip { font-size: 14px; color: var(--ink-3); line-height: 1.5; margin: 0; }

.city-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.city-tag { background: var(--pink-soft); border: 1px solid var(--pink-line); border-radius: 14px; padding: 3px 12px; font-size: 14px; color: #a04a5c; }

/* ---------- modal ---------- */
.mask { position: fixed; inset: 0; background: rgba(31, 35, 41, .45); display: none; z-index: 60; }
.mask.show { display: block; }
.dialog {
  position: absolute; left: 50%; top: 6%;
  transform: translateX(-50%);
  width: min(880px, 94vw);
  max-height: 86vh;
  background: #fff; border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(31, 35, 41, .2);
}
.dg-head { padding: 16px 20px; border-bottom: 1px solid #f7edf0; display: flex; align-items: center; gap: 14px; }
.dg-head strong { font-size: 16px; }
.dg-head .dg-close { margin-left: auto; color: var(--ink-3); cursor: pointer; font-size: 18px; }
.dg-body { padding: 14px 20px 20px; overflow: auto; }
.dg-selects { display: flex; gap: 12px; margin-bottom: 16px; }
.dg-label { font-size: 14px; color: var(--ink); font-weight: 600; margin: 6px 0 10px; }
.letter-group { display: flex; border-top: 1px solid #f7edf0; padding: 12px 0; }
.letter { flex: 0 0 48px; font-size: 20px; color: #f7bcc8; font-weight: 700; }
.province-lines { flex: 1 1 auto; display: grid; gap: 8px; }
.province-line { display: flex; gap: 10px; align-items: baseline; }
.province-name { flex: 0 0 78px; font-size: 14px; font-weight: 600; color: var(--ink); }
.province-cities { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.city-link { font-size: 14px; color: var(--ink-2); cursor: pointer; padding: 1px 8px; border-radius: 10px; }
.city-link:hover { background: #fff4f6; text-decoration: none; color: var(--pink); }
.city-link.on { background: var(--pink); color: #fff; }
.dg-foot { padding: 12px 20px; border-top: 1px solid #f7edf0; display: flex; align-items: center; gap: 12px; }
.dg-chosen { font-size: 14px; color: var(--ink-3); flex: 1 1 auto; max-height: 40px; overflow: auto; }
.dg-foot button { height: 34px; padding: 0 18px; border-radius: 17px; border: 1px solid #f0e4e8; background: #fff; color: var(--ink-2); cursor: pointer; }
.dg-foot button.primary { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 600; }

/* footer */

.ft {
  border-top: 1px solid #f7edf0; background: #fff;
  padding: 24px 0 34px; color: var(--ink-3); font-size: 14px;
}
.ft-in { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.ft-official { text-align: center; }
.ft-official .ft-links { justify-content: center; gap: 4px 6px; }
.ft-official .ft-links span.sep { color: #b9bfc8; padding: 0 6px; }
.ft-official .ft-desc { margin: 8px 0 0; color: var(--ink-3); line-height: 1.7; }
.ft-official .ft-copy { margin: 10px 0 0; color: var(--ink-3); }
.ft-official .ft-icp { margin: 4px 0 0; color: var(--ink-3); }
.ft-official .ft-icp a { color: var(--ink-3); }
.ft-official .ft-icp a:hover { color: var(--pink); text-decoration: none; }

/* ---------- auth modal ---------- */
.auth-dialog { width: min(420px, 92vw); }
.auth-tabs { display: flex; gap: 18px; font-size: 17px; }
.auth-tabs a { color: var(--ink-3); font-weight: 600; }
.auth-tabs a.on { color: var(--ink); border-bottom: 2px solid var(--pink); padding-bottom: 3px; }
.auth-tabs a:hover { text-decoration: none; color: var(--pink); }
.auth-dialog .dg-body { padding: 18px 22px 22px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1 1 auto; }
.code-btn {
  flex: 0 0 116px; height: 40px; border: 1px solid #f0e4e8; border-radius: 20px;
  background: #fff; color: var(--pink); cursor: pointer; font-size: 14px;
}
.code-btn:disabled { color: var(--ink-3); cursor: default; }
.code-hint { font-size: 14px; color: var(--ink-3); margin-top: 6px; min-height: 16px; }

@media (max-width: 1100px) {
  .wrap { grid-template-columns: 196px minmax(0, 1fr); }
  .wrap.no-side { grid-template-columns: 1fr; }
  .right-col { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-self: auto; }
  .right-col > .side-card { position: static; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .search-box { width: 220px; }
}
@media (max-width: 820px) {
  .hd-nav { display: none; }
  .search-box { width: 150px; }
  .wrap { grid-template-columns: 1fr; }
  .wrap.no-side { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .right-col { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pf-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .area-matrix { grid-template-columns: repeat(4, 1fr); }
  .banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .banner-text strong { font-size: 18px; }
}

/* header responsiveness fix */
.hd-in { gap: 16px; }
.logo, .hd-nav, .hd-right { flex: 0 0 auto; }
.search-box { flex: 0 1 300px; min-width: 0; }
.search-box input { min-width: 0; }
.stat-note b { flex: 0 0 auto; white-space: nowrap; }
.side-nav a.on .side-ico, .side-nav a:hover .side-ico { opacity: 1; }
@media (max-width: 860px) {
  .search-box { flex: 1 1 120px; }
  .hd-nav { display: none; }
}
@media (max-width: 640px) {
  .hd-in { flex-wrap: wrap; height: auto; padding: 10px 14px; gap: 10px; }
  .logo { font-size: 18px; }
  .hd-right { margin-left: auto; }
  .hd-right .btn-login { padding: 6px 12px; font-size: 13px; }
  .search-box { order: 3; flex: 1 1 100%; width: 100%; }
  .wrap { padding: 12px 14px 0; }
  .ft-official .ft-desc, .ft-official .ft-copy, .ft-official .ft-icp { font-size: 13px; }
}

/* 专业三级联动 */
.prof-selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 860px) { .prof-selects { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ac-pn { grid-template-columns: 1fr; gap: 8px; }
  .pn-item:nth-child(2) { justify-content: flex-start; text-align: left; }
}


/* 用户卡信息行（期望城市 / 学校 / 学历 / 专业，仅展示值不带字段名） */
.ub-line { font-size: 14px; color: var(--ink-2); line-height: 1.6; padding: 6px 0; border-bottom: 1px dashed #f4eaee; }
.ub-line:last-child { border-bottom: 0; padding-bottom: 0; }
.ub-line:first-child { padding-top: 2px; }
.ub-line b { font-weight: 600; color: var(--ink); margin-left: 2px; }
.ub-one { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ub-one b { margin-left: 0; }
.ub-gap { margin-left: 14px; }


/* ===== 文章页契约区（面包屑 / 署名 / 导读 / 相关 / 信任） ===== */
.ac-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; color: var(--ink-3); margin:-2px 0 10px; }
.ac-crumb a { color: var(--ink-3); }
.ac-crumb a:hover { color: var(--pink); text-decoration: none; }
.ac-crumb-sep { color: #c9cdd4; }
.ac-crumb span:last-child { color: var(--ink-2); }
.ac-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.ac-meta a { color: var(--ink-2); }
.ac-meta a:hover { color: var(--pink); text-decoration: none; }
.ac-meta .ac-author { color: var(--ink-2); }
.ac-meta .ac-author a { color: var(--pink); font-weight: 500; }
.ac-meta .ac-unit { font-size: 14px; color: var(--ink-3); margin: 0; }
.ac-meta time { color: var(--ink-3); }
.ac-figure { margin: 16px 0 4px; }
.ac-figure img { width: 100%; height: auto; border-radius: 10px; display: block; background: #f7f8fa; }
.ac-figure figcaption { font-size: 14px; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }
.ac-figure figcaption .ac-credit { margin-left: 8px; color: var(--ink-3); }
.ac-lead { font-size: 14px; line-height: 1.85; color: var(--ink-2); background: var(--pink-soft); border-left: 3px solid var(--pink-line); border-radius: 0 8px 8px 0; padding: 10px 14px; margin: 14px 0 0; }
.ac-archive { font-size: 14px; color: var(--ink-2); background: #f7f8fa; border-radius: 8px; padding: 8px 12px; margin-top: 12px; }
.ac-archive a { margin-left: 6px; }
.ac-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ac-tag { display: inline-block; font-size: 14px; color: var(--pink); background: var(--pink-soft); border: 1px solid var(--pink-line); border-radius: 999px; padding: 3px 10px; }
.ac-tag:hover { text-decoration: none; background: #fde2e4; }
.ac-tag.is-topic { color: #6b4fbb; background: #f4f0ff; border-color: #e3d9ff; }
.ac-related { margin-top: 22px; border-top: 1px solid #f5eef1; padding-top: 16px; }
.ac-related h2 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.ac-related ul { list-style: none; margin: 0; padding: 0; }
.ac-related li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #f5ecef; font-size: 14px; }
.ac-related li:last-child { border-bottom: 0; }
.ac-related li a { color: var(--ink-2); }
.ac-related li a:hover { color: var(--pink); text-decoration: none; }
.ac-rel-meta { font-size: 14px; color: var(--ink-3); }
.ac-correction { margin-top: 18px; font-size: 14px; color: var(--ink-3); display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; }
.ac-report-btn { display: inline; padding: 0; margin: 0; border: 0; background: none; color: var(--pink); font-size: 14px; line-height: inherit; cursor: pointer; }
.ac-report-btn:hover { text-decoration: underline; }
.ac-report-btn:disabled { opacity: .55; cursor: default; text-decoration: none; }
.ac-report-tip { font-size: 14px; color: var(--ink-3); }
.trust-body h2 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.trust-body h2:first-child { margin-top: 4px; }
.trust-body p { font-size: 14px; line-height: 1.95; color: #2b3038; margin: 0 0 10px; }
.ac-trust-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 22px; padding-top: 14px; border-top: 1px solid #f5eef1; font-size: 14px; color: var(--ink-3); }
.ac-trust-foot a { color: var(--ink-2); }
.ac-trust-foot a:hover { color: var(--pink); }

/* ===== 作者页 ===== */
.author-head { display: flex; gap: 14px; align-items: flex-start; padding: 4px 0 18px; border-bottom: 1px solid #f5eef1; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; background: var(--pink-soft); }
.author-avatar-text { display: flex; align-items: center; justify-content: center; color: var(--pink); font-size: 20px; font-weight: 700; border: 1px solid var(--pink-line); }
.author-main { flex: 1; min-width: 0; }
.author-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.author-verified { font-size: 14px; font-weight: 400; color: var(--pink); background: var(--pink-soft); border: 1px solid var(--pink-line); border-radius: 4px; padding: 1px 5px; }
.author-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.author-bio { font-size: 14px; line-height: 1.85; color: var(--ink-2); margin: 10px 0 0; }
.author-credentials { font-size: 14px; color: var(--ink-3); margin: 6px 0 0; }
.author-list-title { font-size: 15px; font-weight: 600; color: var(--ink); margin: 22px 0 10px; }
.author-list { list-style: none; margin: 0; padding: 0; }
.author-list li { padding: 10px 0; border-bottom: 1px dashed #f5ecef; }
.author-list li:last-child { border-bottom: 0; }
.author-item-title { font-size: 15px; color: var(--ink); }
.author-item-title:hover { color: var(--pink); text-decoration: none; }
.author-item-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.author-item-sum { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-top: 6px; }
.author-more { font-size: 14px; color: var(--ink-3); margin-top: 10px; }

/* ===== 页脚信任链接 ===== */
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 14px; }
.ft-links a { color: #6b7280; }
.ft-links a:hover { color: var(--pink); text-decoration: none; }
.ft-links span.sep { color: #e5e7eb; }

@media (max-width: 720px) {
  .ac-crumb { font-size: 14px; }
  .ac-meta { font-size: 14px; gap: 4px 10px; }
  .ac-lead { font-size: 14px; }
  .author-head { gap: 10px; }
  .author-avatar { width: 44px; height: 44px; flex-basis: 44px; }
}

/* ---------- 列表项统一交互：整条可点击 + 移入/按下反馈 ---------- */
.job-row,
.art-item,
.job-card,
.author-list > li,
.side-item,
.ac-related li {
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}

.job-row:hover,
.art-item:hover,
.job-card:hover,
.author-list > li:hover,
.side-item:hover,
.ac-related li:hover {
  background: #fffafb;
}

.job-row:active,
.art-item:active,
.job-card:active,
.author-list > li:active,
.side-item:active,
.ac-related li:active {
  background: #fff1f4;
}

/* hover 底色区域向内收，避免贴住卡片边缘 */
.author-list > li,
.ac-related li,
.side-item {
  margin-left: -10px;
  margin-right: -10px;
  padding-left: 10px;
  padding-right: 10px;
}

/* ---------- 岗位详情信息表 ---------- */
.summary { padding: 16px 18px; display: block; }
.kv-table { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 14px; }
.kv-table th,
.kv-table td {
  border: 1px solid #e8dfe3;
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
  line-height: 1.6;
}
.kv-table th {
  width: 1%;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink-3);
  background: #fbf8f9;
}
.kv-table td { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .kv-table th, .kv-table td { padding: 9px 8px; font-size: 13px; }
}

/* ---------- 岗位详情标题下方信息行 ---------- */
.jm-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; }
.jm-unit { color: var(--ink-2); }
.jm-date { color: var(--ink-3); margin-left: auto; }

/* ---------- 文章底部附件下载 ---------- */
.ac-files { margin-top: 20px; border-top: 1px solid #f7edf0; padding-top: 16px; }
.ac-files h2 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.ac-files ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ac-files li { font-size: 14px; line-height: 1.6; }
.ac-files a { color: var(--pink); word-break: break-all; }
.ac-files a:hover { text-decoration: underline; }
/* ---------- 行测申论备考 类别筛选 ---------- */
.bk-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.bk-tab {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 16px;
  background: #fff; color: var(--ink-2); font-size: 14px;
  transition: all .15s ease;
}
.bk-tab:hover { border-color: var(--pink-line); color: var(--pink); text-decoration: none; }
.bk-tab.on { background: var(--pink-soft); border-color: var(--pink-line); color: var(--pink); font-weight: 600; }
.bk-tab em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.bk-tab.on em { color: var(--pink); }
.bk-tabs-sub { margin-top: -4px; }
.bk-tabs-sub .bk-tab { height: 28px; font-size: 13px; border-radius: 14px; color: var(--ink-3); }
@media (max-width: 860px) {
  .bk-tabs { padding: 0 14px 12px; }
}
