/* ═══════════════════════════════════════════════════════════════════
   NaijaJobPortal — njp-unified.css - Unified Design System
   Palette: White · Black · Green  (strictly #FFFFFF · #111111 · #008751)
   All sections share one token set — no duplicate variables anywhere.
   ═══════════════════════════════════════════════════════════════════ */

/* ── 0. DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Core palette */
  --g:   #008751;   /* Nigerian green */
  --gd:  #006b40;   /* green dark (hover) */
  --gl:  #00a562;   /* green light (accent) */
  --gp:  #e8f5ee;   /* green pale (tint bg) */
  --gm:  #c5e5d4;   /* green mid (border) */

  --bk:  #111111;   /* near-black */
  --wh:  #ffffff;   /* white */

  /* Neutrals (derived — never add colours outside green/black/white) */
  --sl:  #f4f7fa;   /* surface light */
  --mu:  #5a6a7a;   /* muted text */
  --bd:  #dde4ec;   /* border default */
  --sd:  rgba(0,0,0,.06);   /* shadow diffuse */

  /* Typography */
  --fn: 'Plus Jakarta Sans', 'Sora', -apple-system, sans-serif;

  /* Geometry */
  --r:  8px;
  --rl: 12px;
  --rx: 20px;

  /* Motion */
  --ez: cubic-bezier(.25,.1,.25,1);
  --dur: .22s;
}

/* ── 1. RESET BASICS ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ── 2. SHARED UTILITIES ───────────────────────────────────────── */
.njp-sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* Section wrapper rhythm */
.njp-section {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.njp-section + .njp-section {
  border-top: 1px solid var(--bd);
}

/* Container */
.njp-container,
.jb-location-container,
.jb-categories-container,
.jb-industry-container,
.jb-hiw-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section header block */
.njp-section-badge,
.jb-location-badge,
.jb-categories-badge,
.jb-industry-badge,
.jb-hiw-badge {
  display: inline-block;
  background: var(--gp);
  color: var(--gd);
  border: 1px solid var(--gm);
  border-radius: var(--rx);
  padding: 4px 14px;
  font-family: var(--fn);
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.njp-section-title,
.jb-location-title,
.jb-categories-title,
.jb-industry-title,
.jb-hiw-title {
  font-family: var(--fn);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--bk);
  letter-spacing: -.022em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.njp-section-subtitle,
.jb-location-subtitle,
.jb-categories-subtitle,
.jb-industry-subtitle,
.jb-hiw-subtitle {
  font-family: var(--fn);
  font-size: .93rem;
  color: var(--mu);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

.jb-location-header,
.jb-categories-header,
.jb-industry-header,
.jb-hiw-header {
  text-align: center;
  margin-bottom: 44px;
}

/* Shared tag/pill links (footer SEO links across all sections) */
.jb-location-tag,
.jb-category-tag,
.jb-industry-tag,
.jb-hiw-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border: 1.5px solid var(--bd);
  border-radius: var(--rx);
  font-family: var(--fn);
  font-size: .73rem;
  font-weight: 600;
  color: var(--mu) !important;
  text-decoration: none !important;
  transition: background var(--dur) var(--ez),
              border-color var(--dur) var(--ez),
              color var(--dur) var(--ez),
              transform var(--dur) var(--ez);
}
.jb-location-tag:hover,
.jb-category-tag:hover,
.jb-industry-tag:hover,
.jb-hiw-quick-link:hover {
  background: var(--g);
  border-color: var(--g);
  color: var(--wh) !important;
  transform: translateY(-2px);
}

/* Shared section footer link-grid headings */
.jb-location-links-heading,
.jb-category-links-heading,
.jb-industry-links-heading,
.jb-hiw-quick-link-item h4 {
  font-family: var(--fn);
  font-size: .72rem;
  font-weight: 700;
  color: var(--mu);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.jb-heading-icon { color: var(--g); }

/* Shared tag wraps */
.jb-location-links-wrap,
.jb-category-tags-wrap,
.jb-industry-links-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Shared footer grids */
.jb-location-footer,
.jb-categories-footer,
.jb-industry-seo-footer {
  margin-top: 52px;
  border-top: 1px solid var(--bd);
  padding-top: 36px;
}

.jb-location-footer-grid,
.jb-categories-footer-grid,
.jb-industry-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── 3. HERO SECTION ───────────────────────────────────────────── */
.njp-hero {
  position: relative;
  overflow: hidden;
  background: var(--wh);
  font-family: var(--fn);
  padding-top: clamp(56px, 10vw, 80px);
  padding-bottom: 0;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 200px;
}

/* Background decoration */
.njp-hero__bg          { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.njp-hero__bg-dots     { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,135,81,.07) 1px, transparent 1px); background-size: 26px 26px; }
.njp-hero__bg-blob     { position: absolute; border-radius: 50%; filter: blur(90px); }
.njp-hero__bg-blob--a  { width: 600px; height: 450px; top: -160px; right: -120px; background: rgba(0,135,81,.07); }
.njp-hero__bg-blob--b  { width: 400px; height: 300px; bottom: 0; left: -80px; background: rgba(0,135,81,.05); }

.njp-hero__body {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 36px;
}

/* Badge */
.njp-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gp);
  color: var(--gd);
  border: 1px solid var(--gm);
  border-radius: var(--rx);
  padding: 4px 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: njp-up .45s var(--ez) both;
}
.njp-badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--g);
  flex-shrink: 0;
  animation: njp-pulse 2.2s infinite;
}
.njp-badge__sep { opacity: .5; }

/* Headings */
.njp-h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--bk);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 14px;
  animation: njp-up .45s var(--ez) .07s both;
}
.njp-h1__accent {
  color: var(--g);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cpath d='M2 7 Q50 1 100 6 Q150 11 198 5' fill='none' stroke='%23008751' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 10px;
  padding-bottom: 7px;
}

.njp-lead {
  font-size: clamp(.9rem, 1.8vw, 1rem);
  color: var(--mu);
  line-height: 1.68;
  max-width: 560px;
  margin: 0 auto 26px;
  animation: njp-up .45s var(--ez) .13s both;
}

/* Mode toggle */
.njp-mode {
  display: inline-flex;
  background: var(--sl);
  border: 1.5px solid var(--bd);
  border-radius: var(--r);
  padding: 4px;
  margin-bottom: 22px;
  animation: njp-up .45s var(--ez) .19s both;
}
.njp-mode__btn {
  font-family: var(--fn);
  font-weight: 600;
  font-size: .86rem;
  padding: 8px 22px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--mu);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background var(--dur) var(--ez), color var(--dur), box-shadow var(--dur);
}
.njp-mode__btn--on          { background: var(--bk); color: var(--wh); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.njp-mode__btn:not(.njp-mode__btn--on):hover { color: var(--bk); background: rgba(0,0,0,.05); }

/* Search form */
.njp-sf { max-width: 860px; margin: 0 auto; animation: njp-up .45s var(--ez) .25s both; }

.njp-sf__bar {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr auto;
  background: var(--wh);
  border: 2px solid var(--bk);
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--bk);
}
.njp-sf__cell {
  position: relative;
  display: flex;
  align-items: center;
  border-right: 1px solid #e4e9ee;
}
.njp-sf__cell:last-child { border-right: none; }
.njp-sf__ico             { position: absolute; left: 15px; color: #9aabb8; font-size: .8rem; pointer-events: none; z-index: 1; }

.njp-sf__input {
  width: 100%; border: none; outline: none; background: transparent;
  padding: 16px 14px 16px 42px;
  font-family: var(--fn); font-size: .9rem; color: var(--bk);
}
.njp-sf__input::placeholder { color: #a8bac6; }
.njp-sf__input:focus         { background: #fafffe; }

.njp-sf__sel {
  width: 100%; border: none; outline: none; background: transparent;
  padding: 16px 34px 16px 42px;
  font-family: var(--fn); font-size: .855rem; color: var(--bk);
  cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%239aabb8' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 10px;
}
.njp-sf__sel:focus { background-color: #fafffe; }

.njp-sf__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 28px;
  background: var(--g); color: var(--wh);
  font-family: var(--fn); font-weight: 700; font-size: .9rem;
  border: none; cursor: pointer; white-space: nowrap;
  height: 100%; align-self: stretch;
  transition: background var(--dur) var(--ez);
}
.njp-sf__btn:hover  { background: var(--gd); }
.njp-sf__btn:active { transform: scale(.98); }

/* Pills row */
.njp-sf__row2 {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 10px; flex-wrap: wrap;
}
.njp-pills    { display: flex; gap: 6px; flex-wrap: wrap; }
.njp-pill-lbl { margin: 0; cursor: pointer; }
.njp-pill-cb  { display: none; }
.njp-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 13px;
  border: 1.5px solid var(--bd); border-radius: var(--rx);
  font-family: var(--fn); font-size: .73rem; font-weight: 600;
  color: var(--mu); cursor: pointer; user-select: none;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.njp-pill i              { font-size: .68rem; }
.njp-pill-cb:checked + .njp-pill { background: var(--g); border-color: var(--g); color: var(--wh); }
.njp-pill:hover          { border-color: var(--bk); color: var(--bk); }

/* Advanced toggle */
.njp-sf__adv-tog {
  background: none; border: none; color: var(--mu);
  font-family: var(--fn); font-size: .77rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 8px; border-radius: var(--r);
  transition: color var(--dur), background var(--dur); flex-shrink: 0;
}
.njp-sf__adv-tog:hover          { color: var(--bk); background: var(--sl); }
.njp-sf__adv-chev               { transition: transform .22s var(--ez); }
.njp-sf__adv-tog[aria-expanded="true"] .njp-sf__adv-chev { transform: rotate(180deg); }

/* Advanced panel */
.njp-adv {
  background: var(--sl); border: 1.5px solid var(--bd);
  border-radius: var(--rl); padding: 18px 20px; margin-top: 8px; text-align: left;
}
.njp-adv__lbl {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--fn); font-size: .73rem; font-weight: 700;
  color: var(--mu); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px;
}
.njp-adv__lbl i { color: var(--g); }
.njp-adv__sel {
  width: 100%; background: var(--wh);
  border: 1.5px solid var(--bd); border-radius: var(--r);
  padding: 9px 32px 9px 11px;
  font-family: var(--fn); font-size: .845rem; color: var(--bk);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%239aabb8' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 10px;
  transition: border-color var(--dur);
}
.njp-adv__sel:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 3px rgba(0,135,81,.10); }
.njp-adv__reset {
  width: 100%; background: transparent;
  border: 1.5px solid var(--bd); border-radius: var(--r);
  padding: 9px 12px; font-family: var(--fn); font-size: .78rem; font-weight: 600;
  color: var(--mu); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.njp-adv__reset:hover { border-color: var(--bk); color: var(--bk); }

/* Trending pills under search */
.njp-ptags {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 7px; margin-top: 20px;
  animation: njp-up .45s var(--ez) .33s both;
}
.njp-ptags__lbl { font-size: .68rem; font-weight: 700; color: #aab; text-transform: uppercase; letter-spacing: .07em; flex-shrink: 0; }
.njp-ptag {
  display: inline-block; padding: 5px 14px;
  border: 1.5px solid var(--bd); border-radius: var(--rx);
  font-family: var(--fn); font-size: .77rem; font-weight: 500;
  color: var(--mu) !important; text-decoration: none !important;
  transition: background var(--dur), border-color var(--dur), color var(--dur), transform .13s;
}
.njp-ptag:hover { background: var(--g); border-color: var(--g); color: var(--wh) !important; transform: translateY(-2px); }

/* Stats bar */
.njp-stats { background: var(--g); }
.njp-stats__row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; padding: 18px 0; gap: 0;
}
.njp-stats__item { display: flex; flex-direction: column; align-items: center; padding: 0 28px; gap: 2px; }
.njp-stats__item strong { font-family: var(--fn); font-size: 1.5rem; font-weight: 800; color: var(--wh); line-height: 1; }
.njp-stats__item span   { font-size: .67rem; font-weight: 600; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.njp-stats__sep         { display: block; width: 1px; height: 30px; background: rgba(255,255,255,.22); flex-shrink: 0; }

/* SEO strip below hero */
.njp-hero__strip { background: var(--sl); border-top: 1px solid var(--bd); padding: 14px 0 16px; }
.njp-hero__notice {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px; border-bottom: 1px solid var(--bd); margin-bottom: 12px;
}
.njp-hero__notice-copy { font-family: var(--fn); font-size: .84rem; color: var(--mu); display: flex; align-items: center; gap: 8px; }
.njp-hero__notice-copy i      { color: var(--g); font-size: .88rem; flex-shrink: 0; }
.njp-hero__notice-copy strong { color: var(--bk); }
.njp-hero__notice-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 2px solid var(--g); border-radius: var(--r);
  padding: 6px 16px; font-family: var(--fn); font-size: .79rem; font-weight: 600;
  color: var(--g) !important; text-decoration: none !important; white-space: nowrap; flex-shrink: 0;
  transition: background var(--dur), color var(--dur);
}
.njp-hero__notice-btn:hover { background: var(--g); color: var(--wh) !important; }

.njp-hero__seo { display: flex; flex-wrap: wrap; align-items: center; }
.njp-hero__seo a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 12px; font-family: var(--fn); font-size: .72rem; font-weight: 500;
  color: #8a9aaa !important; text-decoration: none !important;
  border-right: 1px solid var(--bd); white-space: nowrap;
  transition: color var(--dur);
}
.njp-hero__seo a:last-child { border-right: none; }
.njp-hero__seo a i          { color: var(--g); font-size: .65rem; }
.njp-hero__seo a:hover      { color: var(--bk) !important; }

/* ── 4. LOCATION SECTION ───────────────────────────────────────── */
.jb-location-section {
  padding: 72px 0;
  background: var(--wh);
  border-top: 1px solid var(--bd);
}

.jb-location-sr-only,
.jb-categories-sr-only,
.jb-industry-sr-only { /* reuse njp-sr-only styles */
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* Location card grid */
.jb-location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.jb-location-grid-item { display: contents; }

.jb-location-card {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 18px;
  background: var(--wh);
  border: 1.5px solid var(--bd);
  border-radius: var(--rl);
  text-decoration: none !important;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
  position: relative; overflow: hidden;
}
.jb-location-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--g);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--dur) var(--ez);
}
.jb-location-card:hover {
  border-color: var(--g);
  box-shadow: 0 6px 24px var(--sd);
  transform: translateY(-3px);
}
.jb-location-card:hover::before { transform: scaleY(1); }

.jb-location-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--gp);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.jb-location-icon i { color: var(--g); font-size: 1.1rem; }
.jb-location-card:hover .jb-location-icon { background: var(--g); }
.jb-location-card:hover .jb-location-icon i { color: var(--wh); }

.jb-location-info { flex: 1; min-width: 0; }
.jb-location-name {
  font-family: var(--fn); font-size: .93rem; font-weight: 700;
  color: var(--bk); margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jb-location-state {
  font-family: var(--fn); font-size: .72rem; color: var(--mu);
  margin: 0 0 6px;
}
.jb-location-jobs { display: flex; align-items: baseline; gap: 4px; }
.jb-job-count   { font-family: var(--fn); font-size: .88rem; font-weight: 800; color: var(--g); }
.jb-job-label   { font-family: var(--fn); font-size: .67rem; color: var(--mu); text-transform: uppercase; letter-spacing: .05em; }

.jb-location-arrow { color: var(--bd); font-size: .8rem; flex-shrink: 0; transition: color var(--dur), transform var(--dur); }
.jb-location-card:hover .jb-location-arrow { color: var(--g); transform: translateX(3px); }

/* Remote card */
.jb-remote-wrapper { margin-bottom: 20px; }
.jb-remote-card {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 24px;
  background: var(--bk);
  border-radius: var(--rl);
  text-decoration: none !important;
  transition: background var(--dur), transform var(--dur);
}
.jb-remote-card:hover { background: #1a1a1a; transform: translateY(-2px); }

.jb-remote-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(255,255,255,.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.jb-remote-icon i { color: var(--wh); font-size: 1.3rem; }

.jb-remote-content { flex: 1; }
.jb-remote-title    { font-family: var(--fn); font-size: 1.05rem; font-weight: 700; color: var(--wh); margin: 0 0 4px; }
.jb-remote-subtitle { font-family: var(--fn); font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }
.jb-remote-arrow    { color: var(--wh); font-size: .9rem; flex-shrink: 0; transition: transform var(--dur); }
.jb-remote-card:hover .jb-remote-arrow { transform: translateX(4px); }

/* ── 5. CATEGORIES SECTION ─────────────────────────────────────── */
.jb-categories-section {
  padding: 72px 0;
  background: var(--sl);
  border-top: 1px solid var(--bd);
}

.jb-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.jb-categories-grid-item { display: contents; }

.jb-category-card {
  display: flex; flex-direction: column;
  padding: 24px 20px;
  background: var(--wh);
  border: 1.5px solid var(--bd);
  border-radius: var(--rl);
  text-decoration: none !important;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
  position: relative; overflow: hidden;
}
.jb-category-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,135,81,.03) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--dur);
}
.jb-category-card:hover {
  border-color: var(--g);
  box-shadow: 0 8px 28px var(--sd);
  transform: translateY(-4px);
}
.jb-category-card:hover::after { opacity: 1; }

.jb-category-icon {
  width: 48px; height: 48px;
  background: var(--gp);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background var(--dur);
}
.jb-category-icon i               { color: var(--g); font-size: 1.15rem; }
.jb-category-card:hover .jb-category-icon { background: var(--g); }
.jb-category-card:hover .jb-category-icon i { color: var(--wh); }

.jb-category-name  { font-family: var(--fn); font-size: .9rem; font-weight: 700; color: var(--bk); margin: 0 0 4px; }
.jb-category-count { font-family: var(--fn); font-size: .75rem; color: var(--mu); margin: 0; flex: 1; }
.jb-category-arrow {
  align-self: flex-end;
  width: 28px; height: 28px;
  background: var(--sl); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 12px;
  color: var(--mu); font-size: .68rem;
  transition: background var(--dur), color var(--dur), transform var(--dur);
}
.jb-category-card:hover .jb-category-arrow { background: var(--g); color: var(--wh); transform: translateX(3px); }

.jb-categories-empty { grid-column: 1/-1; text-align: center; color: var(--mu); font-family: var(--fn); padding: 40px; }

/* CTA button */
.jb-categories-cta { text-align: center; margin-bottom: 8px; }
.jb-categories-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: var(--bk); color: var(--wh) !important;
  border-radius: var(--r); font-family: var(--fn); font-size: .9rem; font-weight: 700;
  text-decoration: none !important;
  transition: background var(--dur), transform var(--dur);
}
.jb-categories-btn:hover { background: var(--g); transform: translateY(-2px); }
.jb-btn-icon { font-size: .78rem; }

/* Categories footer */
.jb-categories-footer { margin-top: 52px; border-top: 1px solid var(--bd); padding-top: 36px; }
.jb-categories-footer-header { text-align: center; margin-bottom: 28px; }
.jb-footer-title    { font-family: var(--fn); font-size: 1.1rem; font-weight: 700; color: var(--bk); margin: 0 0 6px; }
.jb-footer-subtitle { font-family: var(--fn); font-size: .84rem; color: var(--mu); margin: 0; }

/* ── 6. INDUSTRY SECTION ───────────────────────────────────────── */
.jb-industry-section {
  padding: 72px 0;
  background: var(--wh);
  border-top: 1px solid var(--bd);
}

.jb-industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.jb-industry-grid-item { display: contents; }

.jb-industry-card {
  display: flex; flex-direction: column;
  padding: 24px 20px;
  background: var(--wh);
  border: 1.5px solid var(--bd);
  border-radius: var(--rl);
  text-decoration: none !important;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
}
.jb-industry-card:hover {
  border-color: var(--g);
  box-shadow: 0 8px 28px var(--sd);
  transform: translateY(-4px);
}

.jb-industry-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.jb-industry-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--gp); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur);
}
.jb-industry-icon i { color: var(--g); font-size: 1.05rem; }
.jb-industry-card:hover .jb-industry-icon { background: var(--g); }
.jb-industry-card:hover .jb-industry-icon i { color: var(--wh); }

.jb-industry-title-wrap { flex: 1; min-width: 0; }
.jb-industry-name  { font-family: var(--fn); font-size: .88rem; font-weight: 700; color: var(--bk); margin: 0 0 2px; }
.jb-industry-count { font-family: var(--fn); font-size: .72rem; color: var(--g); font-weight: 600; margin: 0; }

.jb-industry-description {
  font-family: var(--fn); font-size: .79rem; color: var(--mu);
  line-height: 1.55; margin: 0 0 16px; flex: 1;
}
.jb-industry-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.jb-view-jobs-link {
  font-family: var(--fn); font-size: .76rem; font-weight: 700;
  color: var(--g);
  transition: color var(--dur);
}
.jb-industry-card:hover .jb-view-jobs-link { color: var(--gd); }
.jb-industry-footer .fa-arrow-right {
  color: var(--bd); font-size: .75rem;
  transition: color var(--dur), transform var(--dur);
}
.jb-industry-card:hover .fa-arrow-right { color: var(--g); transform: translateX(3px); }

/* Trending block */
.jb-trending-industries {
  background: var(--sl);
  border: 1.5px solid var(--bd);
  border-radius: var(--rl);
  padding: 28px 30px;
  margin-bottom: 8px;
}
.jb-trending-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.jb-trending-icon   { color: var(--g); font-size: 1rem; }
.jb-trending-title  { font-family: var(--fn); font-size: 1rem; font-weight: 700; color: var(--bk); margin: 0; }
.jb-trending-text   { font-family: var(--fn); font-size: .85rem; color: var(--mu); line-height: 1.65; margin: 0 0 14px; }
.jb-trending-tags   { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-trend-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  background: var(--gp); border: 1px solid var(--gm);
  border-radius: var(--rx); color: var(--gd);
  font-family: var(--fn); font-size: .73rem; font-weight: 700;
}
.jb-trend-tag i { font-size: .65rem; }

/* ── 7. HOW IT WORKS ───────────────────────────────────────────── */
.jb-hiw-section {
  padding: 72px 0;
  background: var(--sl);
  border-top: 1px solid var(--bd);
}

.jb-hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.jb-hiw-process-card {
  background: var(--wh);
  border: 1.5px solid var(--bd);
  border-radius: var(--rl);
  padding: 28px 24px;
  position: relative;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
}
.jb-hiw-process-card:hover {
  border-color: var(--g);
  box-shadow: 0 8px 28px var(--sd);
  transform: translateY(-4px);
}

/* Step number as pseudo badge */
.jb-hiw-process-card::before {
  content: attr(data-jb-step);
  position: absolute; top: -1px; right: 20px;
  background: var(--g); color: var(--wh);
  font-family: var(--fn); font-size: .65rem; font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 0 0 var(--r) var(--r);
}

.jb-hiw-icon-wrapper { display: flex; align-items: flex-start; gap: 0; margin-bottom: 18px; }
.jb-hiw-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--gp); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.jb-hiw-icon i { color: var(--g); font-size: 1.15rem; }
.jb-hiw-process-card:hover .jb-hiw-icon { background: var(--g); }
.jb-hiw-process-card:hover .jb-hiw-icon i { color: var(--wh); }

.jb-hiw-line {
  flex: 1; height: 2px; background: var(--bd);
  margin: 24px 0 0 12px;
  display: none; /* connector shown via layout on desktop if desired */
}

.jb-hiw-process-title {
  font-family: var(--fn); font-size: .97rem; font-weight: 700;
  color: var(--bk); margin: 0 0 8px;
}
.jb-hiw-description {
  font-family: var(--fn); font-size: .83rem; color: var(--mu);
  line-height: 1.6; margin: 0 0 14px;
}

.jb-hiw-features { list-style: none; margin: 0 0 18px; padding: 0; }
.jb-hiw-features li {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--fn); font-size: .79rem; color: var(--mu);
  margin-bottom: 6px;
}
.jb-hiw-features li i { color: var(--g); font-size: .72rem; flex-shrink: 0; }

.jb-hiw-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--fn); font-size: .79rem; font-weight: 700;
  color: var(--g) !important; text-decoration: none !important;
  transition: gap var(--dur);
}
.jb-hiw-link:hover { gap: 9px; }
.jb-hiw-link-icon { font-size: .68rem; }

/* CTA block */
.jb-hiw-cta-wrap { text-align: center; margin-bottom: 36px; }
.jb-hiw-cta-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 36px;
  background: var(--g); color: var(--wh) !important;
  border-radius: var(--r); font-family: var(--fn); font-size: .93rem; font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0,135,81,.25);
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}
.jb-hiw-cta-btn:hover { background: var(--gd); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,135,81,.35); }
.jb-hiw-cta-icon { font-size: .8rem; }
.jb-hiw-cta-note { font-family: var(--fn); font-size: .76rem; color: var(--mu); margin-top: 10px; }

/* Quick links row */
.jb-hiw-seo-links       { border-top: 1px solid var(--bd); padding-top: 28px; }
.jb-hiw-quick-links     { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.jb-hiw-quick-link-item { display: contents; }

/* ── 8. KEYFRAMES ──────────────────────────────────────────────── */
@keyframes njp-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes njp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}

/* ── 9. RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .jb-location-grid,
  .jb-categories-grid,
  .jb-industry-grid { grid-template-columns: repeat(2, 1fr); }
  .jb-hiw-steps     { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .njp-sf__bar { grid-template-columns: 1fr 1fr; }
  .njp-sf__cell--kw { grid-column: 1/-1; border-bottom: 1px solid #e4e9ee; border-right: none; }
  .njp-sf__btn { grid-column: 1/-1; justify-content: center; padding: 14px; border-top: 1px solid #e4e9ee; }
  .njp-stats__item { padding: 0 18px; }

  .jb-location-footer-grid,
  .jb-categories-footer-grid,
  .jb-industry-footer-grid { grid-template-columns: 1fr 1fr; }

  .jb-hiw-steps { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 767px) {
  .njp-hero { padding-top: 36px; }
  .njp-sf__bar { grid-template-columns: 1fr; box-shadow: 3px 3px 0 var(--bk); }
  .njp-sf__cell { border-right: none; border-bottom: 1px solid #e4e9ee; }
  .njp-sf__cell--loc { border-bottom: none; }
  .njp-sf__row2 { justify-content: center; }
  .njp-stats__item { padding: 4px 14px; }
  .njp-stats__sep { display: none; }
  .njp-hero__notice { justify-content: center; text-align: center; }
  .njp-hero__seo { justify-content: center; }
  .njp-hero__seo a { border-right: none; }

  .jb-location-grid,
  .jb-categories-grid,
  .jb-industry-grid { grid-template-columns: 1fr; }

  .jb-location-footer-grid,
  .jb-categories-footer-grid,
  .jb-industry-footer-grid { grid-template-columns: 1fr; }

  .jb-location-section,
  .jb-categories-section,
  .jb-industry-section,
  .jb-hiw-section { padding: 48px 0; }

  .jb-remote-card { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .njp-mode__btn { font-size: .8rem; padding: 7px 16px; }
  .njp-adv { padding: 12px 14px; }
  .jb-hiw-cta-btn { padding: 14px 24px; font-size: .85rem; }
}

/* ── 10. REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .njp-badge, .njp-h1, .njp-lead, .njp-mode,
  .njp-sf, .njp-ptags, .njp-badge__dot { animation: none !important; opacity: 1 !important; transform: none !important; }
  .njp-ptag, .njp-sf__btn, .njp-hero__notice-btn, .njp-mode__btn, .njp-pill,
  .jb-location-card, .jb-category-card, .jb-industry-card, .jb-hiw-process-card,
  .jb-hiw-cta-btn, .jb-remote-card { transition: none !important; }
}