/* ============================================================
   HKTV - 職位搜尋頁
   设计系统：--red #a6192e / --red2 #c5283d / --gold #bd9a58
   ============================================================ */

/* ---------- Hero ---------- */
.jb-hero {
  background: linear-gradient(110deg, #761124, var(--red) 58%, #c23242);
  border-radius: 15px;
  padding: 31px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 185px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 13px 30px rgba(128, 21, 41, .20);
}
.jb-hero:before, .jb-hero:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  width: 300px; height: 300px; right: 14%; top: -170px;
  box-shadow: 0 0 0 25px rgba(255, 255, 255, .05), 0 0 0 50px rgba(255, 255, 255, .03);
}
.jb-hero:after { width: 400px; height: 400px; right: 3%; top: -220px; }
.jb-hero-copy { position: relative; z-index: 1; }
.jb-hero h1 { font-size: 29px; margin: 10px 0 7px; }
.jb-hero p { font-size: 12px; color: #ffe8e9; margin: 0; line-height: 1.8; }
.jb-hero-side {
  position: relative; z-index: 1; max-width: 265px; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 10px; padding: 14px 16px;
  font-size: 10px; line-height: 1.75; color: #ffeaeb;
}
.jb-hero-side b { display: block; color: #fff; font-size: 12px; margin-bottom: 4px; }

/* ---------- 搜索面板 ---------- */
.jb-search-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 17px; margin-top: 17px; box-shadow: 0 5px 20px rgba(37, 39, 44, .04); }
.jb-panel-title { font-size: 13.5px; font-weight: 800; margin: 0 0 11px; }
.jb-search-row { display: flex; gap: 9px; }
.jb-search-field { flex: 1; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 0 11px; color: #9a9da3; }
.jb-search-field input { height: 42px; width: 100%; border: 0; outline: 0; padding-left: 8px; font-size: 11.5px; color: var(--ink); }
.jb-search-btn { border: 0; border-radius: 8px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 800; padding: 0 20px; cursor: pointer; }
.jb-search-btn:hover { background: var(--red2); }
.jb-search-hint { font-size: 9.5px; color: #92969c; margin-top: 9px; }

/* ---------- 区块 ---------- */
.jb-section { margin-top: 23px; }
.jb-section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 12px; }
.jb-section-head h2 { font-size: 17px; margin: 0; }
.jb-section-head p { font-size: 10.5px; color: var(--muted); margin: 5px 0 0; }

/* ---------- 分类卡片 ---------- */
.jb-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jb-category {
  background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 16px;
  display: flex; align-items: center; gap: 12px; transition: .18s;
}
.jb-category:hover { transform: translateY(-2px); border-color: #d7a1a8; box-shadow: 0 8px 24px rgba(53, 18, 25, .06); }
.jb-cat-icon {
  width: 42px; height: 42px; border-radius: 11px; background: #fbf0f1; color: var(--red);
  display: grid; place-items: center; font-size: 20px; flex: none;
}
.jb-category b { font-size: 12.5px; display: block; }
.jb-category small { display: block; color: var(--muted); font-size: 9.5px; margin-top: 5px; }
.jb-arrow { margin-left: auto; color: #b6b8bd; font-size: 16px; }

/* ---------- 专题职位 ---------- */
.jb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.jb-feature { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 17px; position: relative; overflow: hidden; }
.jb-feature:after {
  content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%;
  border: 1px solid rgba(166, 25, 46, .10); right: -32px; top: -38px;
  box-shadow: 0 0 0 15px rgba(166, 25, 46, .04);
}
.jb-feature-title { display: flex; gap: 10px; align-items: center; position: relative; z-index: 1; }
.jb-feature-icon { width: 37px; height: 37px; border-radius: 9px; background: #faf1f2; color: var(--red); display: grid; place-items: center; font-size: 17px; }
.jb-feature h3 { font-size: 13.5px; margin: 0; }
.jb-feature p { font-size: 10.5px; line-height: 1.75; color: var(--muted); margin: 11px 0 13px; position: relative; z-index: 1; }
.jb-outline-btn {
  display: inline-flex; align-items: center; gap: 8px; color: var(--red); border: 1px solid #e4c5c9;
  background: #fff; border-radius: 6px; padding: 8px 10px; font-size: 9.5px; font-weight: 800; position: relative; z-index: 1;
}
.jb-outline-btn:hover { background: #fff8f8; border-color: var(--red); }

/* ---------- 求职指南 ---------- */
.jb-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.jb-guide { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 15px; }
.jb-guide .jb-num { font-size: 9.5px; color: var(--red); font-weight: 900; letter-spacing: .12em; }
.jb-guide b { display: block; font-size: 11.5px; margin: 8px 0 5px; }
.jb-guide p { font-size: 9.5px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---------- 来源说明 ---------- */
.jb-source-note { margin-top: 20px; border: 1px solid #eadde0; background: #fffafa; border-radius: 9px; padding: 12px 14px; font-size: 9.5px; line-height: 1.75; color: #777d86; }
.jb-source-note b { color: var(--red); }
.jb-source-note a { color: var(--red); font-weight: 750; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .jb-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .jb-hero { min-height: 185px; padding: 23px 19px; align-items: flex-start; border-radius: 14px; }
  .jb-hero h1 { font-size: 24px; }
  .jb-hero p { font-size: 10.5px; max-width: 290px; }
  .jb-hero-side { display: none; }
  .jb-search-panel { padding: 13px; margin-top: 12px; }
  .jb-search-row { gap: 7px; }
  .jb-search-field input { height: 40px; }
  .jb-search-btn { padding: 0 13px; }
  .jb-section { margin-top: 20px; }
  .jb-section-head h2 { font-size: 15px; }
  .jb-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .jb-category { padding: 11px 9px; gap: 8px; }
  .jb-cat-icon { width: 35px; height: 35px; border-radius: 9px; font-size: 17px; }
  .jb-category b { font-size: 10.5px; }
  .jb-category small { font-size: 8px; }
  .jb-arrow { font-size: 13px; }
  .jb-split { grid-template-columns: 1fr; gap: 9px; }
  .jb-feature { padding: 14px; }
  .jb-feature p { font-size: 9.5px; }
  .jb-guide-grid { grid-template-columns: 1fr; gap: 8px; }
  .jb-guide { padding: 13px; }
}
