/* ================================================================
   SINGLE CAREER (JOB VACANCY) POST TEMPLATE
   Hero: Figma node 1474:2623
   Depends on: insights.css (ni-hero base styles)
               single-insight.css (si-content, si-body)
   ================================================================ */


/* ================================================================
   S1 — HERO — career modifier
   Centred layout: H1 + excerpt + meta pills + Apply Now button.
   Background = page_banner ACF image.
   ================================================================ */

/* Slightly taller card than the archive hero */
.ni-hero--career .ni-hero__card {
  min-height: 460px;
  padding: 115px 20px;
}

/* Keep centre alignment — career heroes are announcement-style */
.ni-hero--career .ni-hero__content {
  align-items: center;
  text-align: center;
  max-width: 778px;
  gap: 20px;
}

/* Excerpt sits below the H1 */
.ni-hero--career .ni-hero__body {
  font-weight: var(--fw-body);
}

.ni-hero--career .ni-hero__gradient {
  background: var(--hero-gradient);
}


/* ── Meta pills row ──────────────────────────────────────────── */

.cjv-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Transparent pill — white text + teal icon on dark hero */
.cjv-meta__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
}

.cjv-meta__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-teal, #4FBEBE);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cjv-meta__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cjv-meta__text {
  font-family: var(--font-body);
  font-size: var(--fs-action);
  font-weight: var(--fw-action);
  line-height: var(--lh-action);
  color: var(--color-accent);
  white-space: nowrap;
}


/* ── Apply Now button ────────────────────────────────────────── */

.cjv-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-primary, #071D49);
  border-radius: 999px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action);
  font-weight: var(--fw-action);
  line-height: 1;
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.cjv-apply-btn:hover { opacity: 0.85; color: var(--color-accent); }

.cjv-apply-btn__arrow {
  flex-shrink: 0;
}


/* ================================================================
   S2 — CONTENT CARD ADDITIONS
   Excerpt intro, in-card Apply button, footer bar.
   Figma: node 1474:2646 / 1474:2665
   ================================================================ */

/* ── Excerpt intro — Rubik Medium (heavier than si-excerpt) ──── */

.cjv-excerpt {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-h5);
  font-weight: var(--fw-h5);
  line-height: var(--lh-h5);
  letter-spacing: var(--ls-h5);
  color: var(--color-text, #1E153D);
  margin: 0;
}

/* ── Footer bar: categories (left) + share (right) ───────────── */

.cjv-content-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #BAC4D6;
  border-bottom: 1px solid #BAC4D6;
}

/* Left: category stack */
.cjv-categories {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.cjv-categories__label {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead);
  font-weight: var(--fw-overhead);
  line-height: var(--lh-overhead);
  color: var(--color-teal, #4FBEBE);
}

.cjv-categories__terms {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead);
  font-weight: var(--fw-overhead);
  line-height: var(--lh-overhead);
  color: var(--color-text, #1E153D);
  white-space: nowrap;
}

/* ── Responsive — tablet ≤1024px ─────────────────────────────── */

@media (max-width: 1024px) {
  .ni-hero--career .ni-hero__card {
    min-height: 360px;
    padding: 80px 20px;
  }

}

/* ── Responsive — mobile ≤767px ──────────────────────────────── */

@media (max-width: 767px) {
  .ni-hero--career .ni-hero__card {
    min-height: 280px;
  }

  .cjv-meta { gap: 8px; }

  .cjv-meta__pill { height: 36px; padding: 0 14px; }



  /* Stack footer bar vertically on mobile */
  .cjv-content-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cjv-categories__terms { white-space: normal; }
}
