/* =========================================================
 * 主题色配置文件 / Theme Color Config
 * ---------------------------------------------------------
 * 浅色官方风格（政务蓝）/ Light official theme (gov blue)
 * 所有颜色集中在此维护，更换整套配色只需修改本文件。
 * All colors are maintained here. To re-skin the whole site,
 * only this file needs to be changed.
 * ========================================================= */

:root {
  /* ---------- 主色（蓝紫撞色 / Blue × Purple clash) ---------- */
  --c-primary:        #2563eb;   /* 主蓝 Blue primary           */
  --c-primary-bright: #3b82f6;   /* 亮蓝 Bright blue            */
  --c-primary-deep:   #1d4ed8;   /* 深蓝 Deep blue              */
  --c-primary-dark:   #1e3a8a;   /* 极深蓝 Darkest blue         */

  /* ---------- 强调色（撞色紫）/ Accent (clash purple) ---------- */
  --c-accent:         #7c3aed;   /* 撞色紫 Clash purple         */
  --c-accent-deep:    #1a43b1;   /* 深紫 Deep purple            */
  --c-accent-soft:    rgba(124, 58, 237, 0.08);
  --c-gold:           #d97706;   /* 薪资橙金 Salary amber       */

  /* ---------- 背景 / Backgrounds ---------- */
  --c-bg:             #f3f5f9;   /* 页面底色 Page background   */
  --c-bg-soft:        #e9edf5;   /* 柔和面板 Soft panel        */
  --c-bg-header:      rgba(255, 255, 255, 0.92);
  --c-card:           #ffffff;   /* 卡片 Card bg               */
  --c-card-hover:     #fbfdff;   /* 卡片悬浮 Card hover        */
  --c-panel:          #f8fafc;   /* 详情面板 Panel bg          */

  /* ---------- 描边 / Borders ---------- */
  --c-border:         #e2e8f0;
  --c-border-strong:  #c7d2e0;

  /* ---------- 文字 / Text ---------- */
  --c-text:           #1f2937;   /* 主文字 Main text           */
  --c-text-dim:       #4b5563;   /* 次要文字 Secondary text    */
  --c-text-faint:     #8a94a6;   /* 弱文字 Faint text          */

  /* ---------- 功能色 / Functional ---------- */
  --c-success:        #16a34a;
  --c-danger:         #dc2626;

  /* ---------- 渐变 / Gradients ---------- */
  --grad-header: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  --grad-primary: linear-gradient(135deg, var(--c-primary-deep), var(--c-primary-bright));
  --grad-text: linear-gradient(90deg, #2563eb, #8b5cf6);
  --grad-btn: linear-gradient(135deg, #2563eb, #7c3aed);
  --grad-glow: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, transparent 70%);

  /* ---------- 阴影 / Shadows ---------- */
  --shadow-card:      0 2px 12px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 10px 28px rgba(15, 23, 42, 0.12);
  --shadow-glow:      0 4px 14px rgba(37, 99, 235, 0.3);

  /* ---------- 圆角 / Radius ---------- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
}
/* =========================================================
 * 主样式 / Main Stylesheet（颜色一律引用 theme.css 变量）
 * ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  overflow-x: hidden;
  scrollbar-width: none; /* 隐藏滚动条，避免右侧预留滚动条空间 */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.mono {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  letter-spacing: 0.04em;
}

/* ================= Header ================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
/* 下滑后渐变白 / Fades to white after scrolling */
.site-header.scrolled {
  background: var(--c-bg-header);
  border-bottom: 1px solid var(--c-border-strong);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  width: 100%;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }

.brand-logo {
  width: 36px; height: 36px; flex: none;
  filter: drop-shadow(0 2px 5px rgba(124, 58, 237, 0.3));
}

.brand-title {
  font-size: 18px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.2;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sub {
  font-size: 9.5px; letter-spacing: 1.2px; color: var(--c-text-dim);
  text-transform: uppercase; margin-top: 1px;
}

/* ================= Hero ================= */
.hero {
  position: relative;
  padding: 150px 24px 72px;
  text-align: center;
  background:
    radial-gradient(rgba(37, 99, 235, 0.24) 1.2px, transparent 1.9px),
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(37, 99, 235, 0.22), transparent),
    radial-gradient(ellipse 50% 45% at 85% 10%, rgba(124, 58, 237, 0.18), transparent),
    var(--c-bg);
  background-size: 26px 26px, auto, auto, auto;
  overflow: hidden;
}
/* 科技感节点连线 / Tech constellation network */
.hero-net {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.net-lines line { stroke: rgba(37, 99, 235, 0.16); stroke-width: 1; }
.net-nodes .n-blue { fill: rgba(37, 99, 235, 0.5); }
.net-nodes .n-purple { fill: rgba(124, 58, 237, 0.5); }
.net-nodes .pulse-a { animation: nodePulse 3.2s ease-in-out infinite; }
.net-nodes .pulse-b { animation: nodePulse 3.2s ease-in-out infinite 1.6s; }
@keyframes nodePulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
/* 星团缓慢漂移 / Slow drifting clusters */
.net-g1 { animation: netDrift 13s ease-in-out infinite; }
.net-g2 { animation: netDrift 16s ease-in-out infinite reverse; }
.net-g3 { animation: netDrift 11s ease-in-out infinite 2s; }
@keyframes netDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -30px); }
}
/* 漂浮光斑 / Floating glow orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.55; pointer-events: none;
}
.orb-1 {
  width: 460px; height: 460px; top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent 70%);
  animation: orbFloat 9s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px; top: -40px; right: -60px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.32), transparent 70%);
  animation: orbFloat 11s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(34px, 26px, 0); }
}
/* 底部分隔线 / Bottom hairline with traveling glow */
.hero::after {
  content: "";
  position: absolute; left: 8%; right: 8%; bottom: 0; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.3), transparent);
  overflow: hidden;
}
.hero-glowline {
  position: absolute; left: 8%; right: 8%; bottom: 0; height: 2px;
  border-radius: 2px; overflow: hidden; pointer-events: none;
}
.hero-glowline::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -30%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.9), rgba(139, 92, 246, 0.9), transparent);
  filter: blur(1px);
  animation: glowSlide 3s ease-in-out infinite;
}
@keyframes glowSlide {
  0% { left: -30%; }
  60%, 100% { left: 100%; }
}
/* 网格底纹 */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 90%);
  pointer-events: none;
}
.hero h2 {
  position: relative;
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 800; letter-spacing: 6px;
}
.hero h2 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .hero-en {
  position: relative;
  margin-top: 16px;
  font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--c-text-dim);
}
.hero-desc {
  position: relative;
  margin: 24px auto 0; max-width: 760px;
  color: var(--c-text-faint); font-size: 14.5px; line-height: 1.9;
}
/* Hero 内搜索框 / Hero search */
.hero-search {
  position: relative;
  width: min(640px, 100%);
  margin: 32px auto 0;
}
.search-box { position: relative; }
.search-box input {
  width: 100%;
  height: 48px;
  padding: 0 18px 0 46px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  background: var(--c-card);
  color: var(--c-text);
  font-size: 14px; outline: none;
  transition: border 0.25s, box-shadow 0.25s;
}
.search-box input::placeholder { color: var(--c-text-faint); }
.search-box input:focus {
  border-color: var(--c-primary-bright);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), 0 8px 24px rgba(37, 99, 235, 0.1);
}
.search-box svg {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: var(--c-text-faint);
  pointer-events: none;
}

/* ================= 筛选工具栏 ================= */
.toolbar {
  position: relative;
  max-width: 1280px; margin: 0 auto; padding: 30px 24px 0;
}
.dir-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-text-dim);
  border-radius: var(--r-pill);
  height: 38px; padding: 0 16px;
  font-size: 13px; cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}
.chip .chip-text { white-space: nowrap; }
.chip .chip-count { font-size: 11px; color: var(--c-text-faint); }
.chip:hover { border-color: var(--c-border-strong); color: var(--c-text); }
.chip.active {
  background: var(--grad-btn);
  border-color: transparent; color: #fff;
  box-shadow: var(--shadow-glow);
}
.chip.active .chip-count { color: rgba(255, 255, 255, 0.8); }

/* 筛选 + 结果统计同行 / Filters & result line on one row */
.toolbar-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin: 16px 0 8px;
}

/* 筛选下拉行 / Filter dropdown row */
.filter-row {
  display: flex; flex-wrap: wrap;
  gap: 10px;
}

/* 自定义下拉 / Custom dropdown */
.fdropdown { position: relative; }
.fdrop-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px;
  border: 1px solid var(--c-border); border-radius: var(--r-pill);
  background: var(--c-card); color: var(--c-text-dim);
  font-size: 13px; font-family: inherit; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.fdrop-btn:hover { border-color: var(--c-accent); }
.fdropdown.open .fdrop-btn { border-color: var(--c-accent); color: var(--c-accent); background: rgba(124, 58, 237, 0.08); }
.fdrop-arrow { transition: transform 0.2s; color: var(--c-text-faint); }
.fdropdown.open .fdrop-arrow { transform: rotate(180deg); }
.fdrop-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
  min-width: 150px; max-height: 264px; overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--c-border); border-radius: 10px;
  background: var(--c-card);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  list-style: none;
}
.fdrop-item {
  padding: 7px 12px; border-radius: 6px;
  font-size: 13px; color: var(--c-text-dim);
  cursor: pointer; white-space: nowrap;
}
.fdrop-item:hover { background: rgba(37, 99, 235, 0.07); color: var(--c-text); }
.fdrop-item.active { color: var(--c-accent); background: rgba(124, 58, 237, 0.1); font-weight: 600; }
.fdrop-enter-active, .fdrop-leave-active { transition: opacity 0.15s, transform 0.15s; }
.fdrop-enter-from, .fdrop-leave-to { opacity: 0; transform: translateY(-6px); }
.fdrop-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .hero { padding: 108px 16px 56px; }
  .hero-search { margin-top: 24px; }
  /* 专业筛选：恢复自然宽度，超出屏幕宽度时省略号 / Major chips: natural width, ellipsis when overflowing */
  .chip { min-width: 0; }
  .chip .chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  /* 学历/经验/薪资一行三个，超出省略号 / Three dropdowns per row, ellipsis */
  .filter-row { display: flex; gap: 8px; }
  .filter-row .fdropdown { flex: 1 1 0; min-width: 0; }
  .fdrop-btn { width: 100%; justify-content: space-between; gap: 4px; padding: 0 10px; }
  .fdrop-arrow { flex: none; }
}

.result-line {
  text-align: center; font-size: 12px; color: var(--c-text-faint);
  margin: 8px 0 18px; letter-spacing: 1px;
}

/* ================= 职位卡片 ================= */
.job-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 24px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.job-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-card);
  padding: 20px 20px 16px;
  color: inherit; text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  overflow: hidden;
}
.job-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-primary);
  opacity: 0; transition: opacity 0.28s;
}
.job-card:hover {
  transform: translateY(-6px);
  background: var(--c-card-hover);
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-card-hover);
}
.job-card:hover::before { opacity: 1; }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-width: 0; }
.card-title {
  min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 17px; font-weight: 700; line-height: 1.4;
}
.dir-tag {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  color: var(--c-primary-bright);
  white-space: nowrap;
}
/* 招聘内容摘要（两行截断）/ Job description snippet (2-line clamp) */
.job-desc {
  margin-top: 12px;
  font-size: 12.5px; color: var(--c-text-dim); line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}
.job-desc-en { margin-top: 5px; color: var(--c-text-faint); }
.salary {
  flex: none;
  font-size: 17px; font-weight: 700; color: var(--c-gold);
  white-space: nowrap;
}

.job-title-en { margin-top: 4px; font-size: 12.5px; color: var(--c-text-dim); line-height: 1.4; }

.job-comp {
  margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--c-text-dim);
  display: flex; align-items: center; gap: 10px; min-width: 0;
}
.comp-text { display: flex; flex-direction: column; min-width: 0; }
.comp-name-zh {
  font-size: 12px; font-weight: 700; color: #475569;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.comp-name-en {
  font-size: 12px; color: var(--c-text-faint); margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 公司头像 / Company avatar（方形圆角，参照设计稿） */
.comp-avatar {
  width: 28px; height: 28px; flex: none;
  border-radius: 6px;
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
}
.comp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comp-avatar-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #eef0f4;
  color: #c8ccd9;
}
.comp-avatar-fallback svg { width: 62%; height: 62%; }
.comp-avatar-lg {
  width: 48px; height: 48px;
  border-radius: 10px;
}
.comp-avatar-lg .comp-avatar-fallback svg { width: 55%; height: 55%; }

/* Element 线性图标通用尺寸 */
.ic { width: 1em; height: 1em; vertical-align: -0.125em; }

.card-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
  align-content: flex-start;
}
.meta-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--c-panel);
  color: var(--c-text-dim);
  border: 1px solid var(--c-border);
  display: inline-flex; align-items: center; gap: 5px;
}
/* 标签配色：经验蓝 / 学历灰 / Pill colors */
.meta-pill:nth-child(1) { /* 经验 Experience */
  background: rgba(37, 99, 235, 0.08); color: #2563eb; border-color: rgba(37, 99, 235, 0.22);
}
.meta-pill:nth-child(2) { /* 学历 Education */
  background: rgba(100, 116, 139, 0.09); color: #64748b; border-color: rgba(100, 116, 139, 0.25);
}
.meta-pill .ic { font-size: 13px; }

/* 查看详情指引提示 */
.detail-hint {
  padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px dashed var(--c-border);
  margin-top: 16px;
}
.hint-text {
  font-size: 12.5px; color: var(--c-accent-deep);
  display: flex; align-items: center; gap: 6px;
}
.hint-text .hint-en { color: var(--c-text-faint); }
.hint-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--c-accent-deep);
  transition: transform 0.25s;
}
.job-card:hover .hint-arrow { transform: translateX(5px); }

/* ================= 分页 ================= */
.pagination {
  max-width: 1280px; margin: 0 auto; padding: 0 24px 60px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
}
.page-jump {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 10px; font-size: 13px; color: var(--c-text-dim);
}
.jump-input {
  width: 64px; height: 34px; padding: 0 10px;
  border: 1px solid var(--c-border); border-radius: var(--r-sm);
  background: var(--c-card); color: var(--c-text);
  font-size: 13px; font-family: inherit; text-align: center;
  -moz-appearance: textfield;
}
.jump-input::-webkit-outer-spin-button,
.jump-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.jump-input:focus { outline: none; border-color: var(--c-accent); }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 14px;
  border: 1px solid var(--c-border); border-radius: var(--r-pill);
  background: var(--c-card); color: var(--c-text-dim);
  font-size: 13px; font-family: inherit; cursor: pointer;
  transition: all 0.25s ease;
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--c-border-strong); color: var(--c-text); transform: translateY(-2px);
}
.page-btn.active {
  background: var(--grad-btn);
  border-color: transparent; color: #fff;
  box-shadow: var(--shadow-glow);
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-ellipsis { color: var(--c-text-faint); padding: 0 4px; }

/* ================= 详情页 ================= */
.detail-wrap { max-width: 1180px; margin: 0 auto; padding: 80px 24px 60px; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-text-dim); text-decoration: none; font-size: 13.5px;
  padding: 8px 16px;
  border: 1px solid var(--c-border); border-radius: var(--r-pill);
  background: var(--c-card);
  transition: all 0.25s;
}
.back-link:hover { color: var(--c-text); border-color: var(--c-border-strong); box-shadow: var(--shadow-glow); }

.detail-head {
  margin-top: 18px;
  position: relative;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  background: var(--grad-header);
  padding: 28px 30px;
  overflow: hidden;
}
.detail-head .dir-tag {
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border-strong);
  background: rgba(37, 99, 235, 0.08);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.detail-title-zh { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: 1px; }
.detail-title-en { margin-top: 8px; font-size: clamp(14px, 1.6vw, 17px); color: var(--c-text-dim); letter-spacing: 0.5px; }
.detail-head-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px;
}
.detail-salary {
  font-size: 24px; font-weight: 800; color: var(--c-gold);
  display: inline-flex; align-items: center; gap: 6px;
}
.detail-salary .ic { font-size: 20px; }
.detail-head-bottom .detail-salary { margin-left: auto; }
.detail-company { font-size: 15px; color: var(--c-text); display: flex; align-items: center; gap: 5px; }
.detail-company-en { font-size: 12px; color: var(--c-text-faint); margin-top: 2px; }

.detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px; margin-top: 18px;
}
.meta-item {
  border: 1px solid var(--c-border);
  background: var(--c-card);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.meta-item .k { font-size: 11px; color: var(--c-text-faint); letter-spacing: 1px; }
.meta-item .v { font-size: 14.5px; margin-top: 4px; }
.meta-item .v-en { font-size: 11.5px; color: var(--c-text-dim); margin-top: 2px; }

.lang-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 22px;
}
@media (max-width: 880px) { .lang-columns { grid-template-columns: 1fr; } }

.lang-panel {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-panel);
  padding: 22px 24px;
}
.lang-panel.panel-en { background: var(--c-panel); border-color: var(--c-border); }
.lang-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.3px; line-height: 1.5;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--grad-btn); color: #fff; font-weight: 600;
}
.lang-glyph {
  width: 18px; height: 18px; border-radius: 4px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0;
  background: rgba(255, 255, 255, 0.22); color: #fff;
}
.panel-en .lang-glyph { background: rgba(255, 255, 255, 0.25); color: #fff; }
.panel-en .lang-badge { background: linear-gradient(135deg, #6d28d9, #8b5cf6); color: #fff; }

.field-list { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
@media (max-width: 560px) { .field-list { grid-template-columns: 1fr; } }
.field { border-left: 2px solid var(--c-primary-deep); padding-left: 10px; }
.panel-en .field { border-left-color: rgba(124, 58, 237, 0.7); }
.field .fk { font-size: 11px; color: var(--c-text-faint); }
.field .fv { font-size: 13.5px; margin-top: 2px; word-break: break-word; }

.desc-block { margin-top: 20px; }
.desc-block h4 {
  font-size: 14px; letter-spacing: 1px; color: var(--c-primary-bright);
  padding-bottom: 8px; border-bottom: 1px solid var(--c-border); margin-bottom: 12px;
}
.panel-en .desc-block h4 { color: var(--c-accent); }
.desc-text {
  font-size: 14px; line-height: 1.9; color: var(--c-text-dim);
  white-space: pre-line; word-break: break-word;
}

/* ================= Footer ================= */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding: 26px 24px 34px;
  text-align: center;
  color: var(--c-text-faint);
  font-size: 12px; line-height: 2;
  background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.05));
}

.empty-tip {
  grid-column: 1 / -1;
  text-align: center; padding: 60px 0;
  color: var(--c-text-faint); font-size: 14px;
}

/* 返回顶部悬浮按钮 / Back-to-top floating button (detail page) */
.back-top {
  position: fixed;
  right: 28px; bottom: 34px;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-card);
  color: var(--c-accent-deep);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.back-top svg { width: 19px; height: 19px; }
.back-top:hover { color: #fff; background: var(--c-accent-deep); border-color: var(--c-accent-deep); }
.back-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}

@media (max-width: 1100px) {
  .job-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .job-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .job-grid { grid-template-columns: 1fr; }
}
