/* ==========================================================================
   北京人力资源网 (www.bjhr6.cn) - Editorial & Civic-Tech Design System
   100% Local CSS, Zero External CDN, Mobile-First Safe (375px+ Zero Overflow)
   ========================================================================== */

:root {
  --navy-950: #091b2e;
  --navy-900: #0f2942;
  --navy-800: #163a5f;
  --blue-600: #1e5aa8;
  --blue-500: #296ec7;
  --blue-50:  #eef4fc;
  --red-600:  #c83e2b;
  --red-50:   #fdf1ef;
  --amber-50: #fff8eb;
  --amber-700:#9a5b08;

  --bg-page:  #f6f8fb;
  --bg-card:  #ffffff;
  --bg-tint:  #eef2f7;

  --text-main:   #172334;
  --text-body:   #374557;
  --text-muted:  #64748b;
  --border-soft: #e2e8f0;
  --border-mid:  #cbd5e1;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 41, 66, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 41, 66, 0.08);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-page);
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

a:hover {
  color: var(--navy-900);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-item {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--blue-600);
  background: var(--blue-50);
}

.nav-item-accent {
  color: var(--red-600);
  font-weight: 600;
}

.nav-item-accent:hover,
.nav-item-accent.is-active {
  color: var(--red-600);
  background: var(--red-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 2px 4px 2px 12px;
  width: 190px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.header-search:focus-within {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 90, 168, 0.1);
}

.header-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--text-main);
  width: 100%;
  min-width: 0;
  font-family: inherit;
}

.header-search button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.header-search button:hover {
  color: var(--blue-600);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
}

/* ==========================================================================
   Mandatory Homepage Top Announcement Banner (directly below nav)
   ========================================================================== */
.site-announce {
  background: linear-gradient(90deg, #fff6f4 0%, #fef9ee 100%);
  border-bottom: 1px solid #f2dcd6;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.announce-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red-600);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.hero-main,
.hero-kpi-panel,
.calc-inputs,
.calc-results,
.channel-card,
.job-card,
.detail-card,
.calc-card,
.table-wrap {
  min-width: 0;
  max-width: 100%;
}

.announce-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-900);
  flex: 1;
  min-width: 0;
}

.announce-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red-600);
  white-space: nowrap;
}

.announce-link:hover {
  color: var(--navy-900);
  text-decoration: underline;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.btn-primary {
  background: var(--navy-900);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-600);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--navy-900);
  border-color: var(--border-mid);
}

.btn-outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-50);
}

.btn-outline-sm {
  padding: 7px 13px;
  font-size: 13px;
  background: #fff;
  color: var(--blue-600);
  border: 1px solid #c5d7f2;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-outline-sm:hover {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Band (Homepage)
   ========================================================================== */
.hero-band {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 56%, var(--navy-800) 100%);
  color: #fff;
  padding: 46px 0 50px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffd3c9;
  background: rgba(200, 62, 43, 0.28);
  border: 1px solid rgba(255, 168, 152, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: normal;
  color: #93c5fd;
}

.hero-subtitle {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
  max-width: 620px;
}

.hero-search-form {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  max-width: 610px;
}

.hero-search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--text-main);
  font-family: inherit;
}

.hero-search-form .btn-primary {
  background: var(--red-600);
  padding: 10px 22px;
}

.hero-search-form .btn-primary:hover {
  background: #ab3120;
}

.hero-hot-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
}

.hot-label {
  color: rgba(255, 255, 255, 0.68);
}

.hero-hot-tags a {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.11);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-hot-tags a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero-kpi-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.kpi-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.kpi-panel-head a {
  color: #93c5fd;
  font-size: 13px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kpi-card {
  display: block;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  padding: 14px;
  border-radius: var(--radius-md);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  color: var(--text-main);
}

.kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
}

.kpi-val small {
  font-size: 12px;
  font-weight: 600;
  color: var(--red-600);
  margin-left: 3px;
}

.kpi-label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.kpi-note {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */
.section-block {
  padding: 46px 0;
}

.section-tinted {
  background: var(--bg-tint);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
}

.section-desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.section-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  white-space: nowrap;
}

/* ==========================================================================
   Filter Tabs & Job Cards
   ========================================================================== */
.filter-tabs,
.channel-nav-strip,
.tool-anchor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tab-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}

.tab-pill:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.tab-pill.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #bfd4ef;
}

.job-card.is-hidden {
  display: none;
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.job-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.job-title a {
  color: var(--navy-900);
}

.job-title a:hover {
  color: var(--blue-600);
}

.job-salary {
  font-size: 15px;
  font-weight: 800;
  color: var(--red-600);
  white-space: nowrap;
  flex-shrink: 0;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.job-summary {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag-chip {
  display: inline-block;
  font-size: 12px;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 2px 8px;
  border-radius: 4px;
}

.tag-chip-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.job-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px;
}

.job-company {
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.job-detail-link {
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   Tools Showcase Band
   ========================================================================== */
.tool-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tool-showcase-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.tool-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
}

.tool-icon-navy { background: var(--navy-900); }
.tool-icon-red  { background: var(--red-600); font-size: 14px; }
.tool-icon-blue { background: var(--blue-600); }

.tool-showcase-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
}

.tool-showcase-card p {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
}

.tool-cta {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-600);
}

/* ==========================================================================
   6-Channel Editorial Matrix
   ========================================================================== */
.channel-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.channel-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.channel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-900);
  margin-bottom: 10px;
}

.channel-card-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.channel-card-head h3 a {
  color: var(--navy-900);
}

.channel-more {
  font-size: 13px;
  font-weight: 600;
}

.channel-card-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.channel-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.channel-article-list li {
  border-top: 1px dashed var(--border-soft);
}

.channel-article-list li:first-child {
  border-top: none;
}

.channel-article-list li a {
  display: block;
  padding: 10px 0;
  color: var(--text-main);
}

.channel-article-list li a:hover .art-title {
  color: var(--blue-600);
}

.channel-article-list li.is-lead a {
  background: var(--bg-page);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.art-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-900);
}

.art-excerpt {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
}

.art-date {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Beijing Districts Talent Map
   ========================================================================== */
.district-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.district-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.district-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue-500);
  color: var(--text-main);
}

.district-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.district-top h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-900);
}

.district-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--red-50);
  color: var(--red-600);
  white-space: nowrap;
}

.district-focus,
.district-perk {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
}

.district-salary {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-muted);
}

.district-salary strong {
  color: var(--red-600);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.faq-item summary {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--blue-600);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.75;
}

/* ==========================================================================
   Inner Page Banners & Two-Column Layout
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: 34px 0 38px;
}

.page-banner-compact {
  padding: 28px 0 32px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-banner h1 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.32;
  font-weight: 800;
}

.page-banner p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.84);
  max-width: 780px;
}

.layout-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.col-main,
.col-sidebar {
  min-width: 0;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-900);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.sidebar-note {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-body);
}

.sidebar-btn-stack {
  display: grid;
  gap: 10px;
}

.sidebar-rank-list,
.sidebar-simple-list,
.sidebar-job-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-rank-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.sidebar-rank-list li:last-child,
.sidebar-simple-list li:last-child,
.sidebar-job-list li:last-child {
  border-bottom: none;
}

.rank-num {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--bg-tint);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sidebar-rank-list li:nth-child(-n+3) .rank-num {
  background: var(--red-600);
  color: #fff;
}

.sidebar-rank-list a,
.sidebar-simple-list a {
  color: var(--text-main);
}

.sidebar-rank-list a:hover,
.sidebar-simple-list a:hover {
  color: var(--blue-600);
}

.sidebar-simple-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--border-soft);
}

.sidebar-simple-list li a {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.sidebar-simple-list li span {
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-job-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
}

.sidebar-job-list li a {
  display: block;
  color: var(--navy-900);
}

.sidebar-job-list li strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.rj-meta {
  font-size: 12.5px;
  color: var(--text-muted);
}

.rj-meta em {
  font-style: normal;
  color: var(--red-600);
  font-weight: 700;
}

/* ==========================================================================
   Filter Bar, Job List & Article List
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.filter-group-grow {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.filter-group select,
.filter-group input,
.form-row input,
.form-row select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background: #fff;
}

.filter-actions {
  display: flex;
  gap: 8px;
}

.result-summary {
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.result-summary strong {
  color: var(--navy-900);
}

.job-list-stack,
.article-list-stack {
  display: grid;
  gap: 16px;
}

.job-row-card,
.article-row-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.job-row-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.job-row-main {
  flex: 1;
  min-width: 0;
}

.job-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.job-row-head h2,
.job-row-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.job-row-head a {
  color: var(--navy-900);
}

.job-row-head a:hover {
  color: var(--blue-600);
}

.job-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
  text-align: right;
}

.job-date {
  font-size: 12px;
  color: var(--text-muted);
}

.article-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.badge-cat {
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-cat-light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 2px 9px;
  border-radius: 4px;
  font-weight: 600;
}

.article-row-card h2,
.article-row-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
}

.article-row-card h2 a,
.article-row-card h3 a {
  color: var(--navy-900);
}

.article-row-card h2 a:hover,
.article-row-card h3 a:hover {
  color: var(--blue-600);
}

.article-row-summary {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

.article-row-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.article-row-foot .job-tags {
  margin-bottom: 0;
}

.read-more-link {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   Detail Cards (Article, Job Detail, About)
   ========================================================================== */
.job-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.job-hero-meta,
.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
}

.job-hero-salary {
  text-align: right;
}

.salary-big {
  font-size: 26px;
  font-weight: 800;
  color: #ffd166;
}

.salary-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

.job-tags-hero {
  margin-top: 14px;
  margin-bottom: 0;
}

.detail-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

.callout-box {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-600);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  color: var(--navy-900);
  margin-bottom: 24px;
  line-height: 1.7;
}

.detail-card h2,
.rich-content h2 {
  margin: 26px 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.rich-content h3 {
  margin: 20px 0 10px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy-800);
}

.rich-content p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-body);
}

.rich-content ul,
.rich-content ol,
.about-card ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-body);
  line-height: 1.85;
}

.rich-content li,
.about-card li {
  margin-bottom: 6px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--bg-tint);
  color: var(--navy-900);
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) {
  background: #fafbfd;
}

.apply-guidance-box,
.article-disclaimer {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--amber-50);
  border: 1px solid #f5deb3;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: #5c3b09;
  line-height: 1.7;
}

.apply-guidance-box h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  color: var(--navy-900);
}

.apply-guidance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.article-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.tags-label {
  font-size: 13px;
  color: var(--text-muted);
}

.prev-next-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.pn-item {
  background: var(--bg-page);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.pn-next {
  text-align: right;
}

.pn-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pn-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
}

.pn-empty {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Calculators (Tools Page)
   ========================================================================== */
.calc-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.calc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}

.calc-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
}

.calc-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 999px;
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

.calc-inputs {
  display: grid;
  gap: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
}

.res-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.res-big-box {
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
}

.res-big-box span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.res-big-box strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-900);
}

.res-big-blue strong { color: var(--blue-600); }
.res-big-red strong  { color: var(--red-600); }

.sev-breakdown {
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--navy-900);
  line-height: 1.7;
}

.calc-footnote {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Search, Pagination & Empty States
   ========================================================================== */
.search-page-form {
  margin-top: 16px;
}

.sub-section-title {
  margin: 24px 0 14px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  justify-content: center;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid);
  background: #fff;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
}

.page-btn:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.page-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.empty-box {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
}

.empty-box h3,
.empty-box h1 {
  margin: 0 0 10px;
  color: var(--navy-900);
}

.empty-box p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.error-code {
  font-size: 56px;
  font-weight: 900;
  color: var(--red-600);
  line-height: 1;
  margin-bottom: 12px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 46px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 34px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.footer-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.footer-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-meta-tags span {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.footer-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

.beian-row a {
  color: rgba(255, 255, 255, 0.85);
}

.beian-row a:hover {
  color: #fff;
  text-decoration: underline;
}

.beian-row .sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Responsive Breakpoints (1024px, 768px, 375px safe)
   ========================================================================== */
@media (max-width: 1024px) {
  .header-search {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .job-grid,
  .tool-showcase-grid,
  .district-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .layout-two-col {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  .header-inner {
    min-height: 60px;
  }
  .brand-logo {
    height: 38px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 15px 16px;
    gap: 4px;
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-item {
    padding: 10px 12px;
  }
  .hero-band {
    padding: 28px 0 34px;
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-search-form {
    flex-direction: column;
  }
  .hero-search-form .btn-primary {
    width: 100%;
  }
  .section-block {
    padding: 32px 0;
  }
  .section-title {
    font-size: 20px;
  }
  .job-grid,
  .tool-showcase-grid,
  .channel-matrix,
  .district-grid,
  .footer-grid,
  .prev-next-nav,
  .res-highlight-grid {
    grid-template-columns: 1fr;
  }
  .job-row-card {
    flex-direction: column;
    align-items: stretch;
  }
  .job-row-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding-top: 10px;
    border-top: 1px solid var(--border-soft);
  }
  .detail-card,
  .calc-card {
    padding: 18px 14px;
  }
  .filter-group,
  .filter-group-grow {
    width: 100%;
    min-width: 0;
  }
  .filter-actions {
    width: 100%;
  }
  .filter-actions .btn {
    flex: 1;
  }
  .page-banner h1 {
    font-size: 22px;
  }
  .job-hero-salary {
    text-align: left;
  }
  .kpi-val {
    font-size: 19px;
  }
  .data-table {
    font-size: 12.5px;
    min-width: 440px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    height: 34px;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .announce-inner {
    gap: 6px;
  }
  .announce-text {
    font-size: 13px;
    min-width: 0;
  }
  .tab-pill {
    font-size: 12.5px;
    padding: 6px 11px;
  }
}
