/* =========================================================
   careers.css — UNCDF Bank DRC · Careers Page
   Depends on: styles.css (custom properties, Quicksand font)
   ========================================================= */

/* ---------------------------------------------------------
   1. CAREERS HERO
   --------------------------------------------------------- */
.careers-hero {
  background-color: var(--dark);
  background-image: linear-gradient(
    135deg,
    var(--dark) 0%,
    #1a0002 45%,
    var(--red) 100%
  );
  padding: 80px 0 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.careers-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 75% 60%,
    rgba(42,61,143, 0.3) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.careers-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumb */
.careers-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.careers-hero .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.4;
}

.careers-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.careers-hero .breadcrumb a:hover {
  color: var(--white);
}

.careers-hero .breadcrumb li:last-child {
  color: rgba(255, 255, 255, 0.9);
}

/* Heading */
.careers-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 640px;
}

/* Lede */
.careers-hero .hero-lede {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 0 48px;
}

/* Stat strip — full-bleed bottom bar of the hero */
.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
  margin-top: 56px;
}

.hs-item {
  flex: 1;
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hs-item:last-child {
  border-right: none;
}

.hs-item .hs-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.hs-item .hs-number span {
  color: var(--red);
}

.hs-item .hs-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  line-height: 1.4;
}

/* ---------------------------------------------------------
   2. CULTURE SECTION
   --------------------------------------------------------- */
.culture-section {
  padding: 72px 0;
  background: var(--white);
}

.culture-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Left copy */
.culture-copy {
  max-width: 480px;
}

.culture-copy .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 14px;
}

.culture-copy h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin: 0 0 18px;
}

.culture-copy .culture-intro {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 24px;
}

/* Checklist */
.culture-copy ul.culture-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.culture-copy ul.culture-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.5;
}

.culture-copy ul.culture-checklist li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Right 2x2 culture card grid */
.culture-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.culture-card {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.culture-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: rgba(42,61,143, 0.3);
}

.culture-card .cc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(42,61,143, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.culture-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.culture-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------------------------------
   3. BENEFITS / PERKS SECTION
   --------------------------------------------------------- */
.benefits-section {
  padding: 72px 0;
  background: var(--light);
}

.benefits-section .wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.benefits-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.benefits-section .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}

.benefits-section h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
}

.benefits-section .section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 3-column perks grid (6 cards) */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.perk-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.perk-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: rgba(42,61,143, 0.25);
}

.perk-card .perk-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(42,61,143, 0.12), rgba(42,61,143, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: background 0.2s;
}

.perk-card:hover .perk-icon {
  background: linear-gradient(135deg, rgba(42,61,143, 0.2), rgba(42,61,143, 0.08));
}

.perk-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px;
}

.perk-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ---------------------------------------------------------
   4. JOBS SECTION
   --------------------------------------------------------- */
.jobs-section {
  padding: 72px 0;
  background: var(--white);
}

.jobs-section .wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.jobs-section .jobs-header {
  margin-bottom: 40px;
}

.jobs-section .jobs-header .eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 12px;
}

.jobs-section .jobs-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.jobs-section .jobs-header p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* Layout: sidebar + list */
.jobs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar */
.jobs-sidebar {
  position: sticky;
  top: 80px;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.jobs-sidebar .sidebar-section {
  margin-bottom: 24px;
}

.jobs-sidebar .sidebar-section:last-child {
  margin-bottom: 0;
}

.jobs-sidebar .sidebar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 12px;
  display: block;
}

/* Search input */
.jobs-sidebar .search-wrap {
  position: relative;
}

.jobs-sidebar .search-wrap input {
  width: 100%;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0 12px 0 36px;
  color: var(--dark);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.jobs-sidebar .search-wrap input::placeholder {
  color: var(--muted);
}

.jobs-sidebar .search-wrap input:focus {
  border-color: var(--red);
}

.jobs-sidebar .search-wrap .search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0.45;
  pointer-events: none;
}

/* Department checkboxes */
.dept-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dept-filters label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--dark);
  cursor: pointer;
  user-select: none;
}

.dept-filters input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}

.dept-filters label:hover {
  color: var(--red);
}

/* Location select */
#loc-filter {
  width: 100%;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0 12px;
  color: var(--dark);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  transition: border-color 0.2s;
}

#loc-filter:focus {
  border-color: var(--red);
}

/* Sidebar divider */
.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 24px;
}

/* Jobs list */
.jobs-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.jobs-list-header .results-label {
  font-size: 0.88rem;
  color: var(--muted);
}

.jobs-list-header #results-count {
  font-weight: 700;
  color: var(--dark);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Job card */
.job-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
}

.job-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: rgba(42,61,143, 0.3);
}

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

.job-card .jc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.job-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.job-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.job-card h3 a:hover {
  color: var(--red);
}

/* Badges row */
.job-card .jc-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.job-card .badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-card .badge-dept {
  background: rgba(42,61,143, 0.1);
  color: var(--red);
}

.job-card .badge-location {
  background: var(--light);
  color: var(--muted);
  border: 1px solid var(--border);
}

.job-card .badge-type {
  background: rgba(17, 17, 17, 0.08);
  color: var(--dark);
}

.job-card .badge-type.remote {
  background: rgba(16, 150, 72, 0.1);
  color: #10793a;
}

/* Excerpt */
.job-card .jc-excerpt {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Card footer */
.job-card .jc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  flex-wrap: wrap;
}

.job-card .jc-meta {
  font-size: 0.76rem;
  color: var(--muted);
}

.job-card .btn-apply {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.job-card .btn-apply:hover {
  background: #a81a20;
  transform: translateY(-1px);
}

/* No results message */
.no-jobs-msg {
  text-align: center;
  padding: 52px 24px;
  color: var(--muted);
  font-size: 0.95rem;
  display: none;
}

.no-jobs-msg.visible {
  display: block;
}

.no-jobs-msg strong {
  display: block;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

/* ---------------------------------------------------------
   5. APPLY CTA SECTION
   --------------------------------------------------------- */
.apply-cta-section {
  padding: 72px 0;
  background: var(--red);
  text-align: center;
}

.apply-cta-section .wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.apply-cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px;
  line-height: 1.2;
}

.apply-cta-section p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin: 0 0 36px;
}

.apply-cta-section .cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.apply-cta-section .btn-primary-cta {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 32px;
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--white);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.apply-cta-section .btn-primary-cta:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-1px);
}

.apply-cta-section .btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 32px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.apply-cta-section .btn-secondary-cta:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* ---------------------------------------------------------
   6. VALUES STRIP
   --------------------------------------------------------- */
.values-strip {
  padding: 56px 0;
  background: var(--dark);
}

.values-strip .wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.values-strip .vs-header {
  text-align: center;
  margin-bottom: 40px;
}

.values-strip .vs-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* 4-column horizontal grid */
.vs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.vs-item {
  padding: 36px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.2s;
}

.vs-item:last-child {
  border-right: none;
}

.vs-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.vs-item .vs-number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
}

.vs-item .vs-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  text-align: center;
}

/* ---------------------------------------------------------
   7. RESPONSIVE
   --------------------------------------------------------- */

/* 900px — sidebar stacks above list */
@media (max-width: 900px) {
  .culture-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .culture-copy {
    max-width: 100%;
  }

  .jobs-layout {
    grid-template-columns: 1fr;
  }

  .jobs-sidebar {
    position: static;
  }

  .vs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vs-item:nth-child(2) {
    border-right: none;
  }

  .vs-item:nth-child(1),
  .vs-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 640px — single column */
@media (max-width: 640px) {
  .careers-hero {
    padding: 52px 0 0;
  }

  .careers-hero h1 {
    font-size: 1.75rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    margin-top: 40px;
  }

  .hs-item {
    flex: 1 1 50%;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 16px;
  }

  .hs-item:nth-child(even) {
    border-right: none;
  }

  .hs-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .culture-section,
  .benefits-section,
  .jobs-section,
  .apply-cta-section,
  .values-strip {
    padding: 48px 0;
  }

  .culture-cards {
    grid-template-columns: 1fr;
  }

  .perks-grid {
    grid-template-columns: 1fr;
  }

  .vs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .apply-cta-section .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .apply-cta-section .btn-primary-cta,
  .apply-cta-section .btn-secondary-cta {
    justify-content: center;
  }

  .job-card {
    padding: 20px 18px;
  }

  .job-card .jc-top {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .careers-hero .wrap,
  .culture-inner,
  .benefits-section .wrap,
  .jobs-section .wrap,
  .apply-cta-section .wrap,
  .values-strip .wrap {
    padding: 0 16px;
  }

  .vs-grid {
    grid-template-columns: 1fr;
  }

  .vs-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vs-item:last-child {
    border-bottom: none;
  }

  .vs-item:nth-child(2) {
    border-right: none;
  }
}

/* ── HTML class aliases / additions ── */

/* Culture checklist (HTML uses .culture-list + .cl-check spans) */
.culture-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.culture-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.5;
}
.cl-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--white);
}

/* Sidebar filter blocks (HTML uses .sidebar-block, .sb-title, .sb-check) */
.sidebar-block {
  margin-bottom: 24px;
}
.sidebar-block:last-child {
  margin-bottom: 0;
}
.sb-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 12px;
  display: block;
}
.sb-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--dark);
  cursor: pointer;
  user-select: none;
  margin-bottom: 10px;
}
.sb-check:last-child { margin-bottom: 0; }
.sb-check:hover { color: var(--red); }
.sb-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}

/* Jobs sidebar search wrap (HTML uses .js-search-wrap) */
.js-search-wrap {
  position: relative;
}
.js-search-wrap svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.45;
  pointer-events: none;
}
.js-search-wrap input {
  width: 100%;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0 12px 0 36px;
  color: var(--dark);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.js-search-wrap input::placeholder { color: var(--muted); }
.js-search-wrap input:focus { border-color: var(--red); }

/* Job card badge classes (HTML uses .jc-badge .dept/.loc/.type) */
.jc-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.jc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.jc-badge.dept {
  background: rgba(42,61,143, 0.1);
  color: var(--red);
}
.jc-badge.loc {
  background: var(--light);
  color: var(--muted);
  border: 1px solid var(--border);
}
.jc-badge.type {
  background: rgba(17, 17, 17, 0.08);
  color: var(--dark);
}

/* Job card title heading */
.jc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

/* Apply button (HTML uses .jc-apply-btn) */
.jc-apply-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.jc-apply-btn:hover {
  background: #a81a20;
  transform: translateY(-1px);
}

/* No-jobs empty state (HTML uses .no-jobs with id=no-jobs) */
.no-jobs {
  text-align: center;
  padding: 52px 24px;
  color: var(--muted);
  font-size: 0.95rem;
  display: none;
}
.no-jobs.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.no-jobs svg {
  opacity: 0.35;
}
.no-jobs p {
  margin: 0;
  line-height: 1.6;
}

/* CTA section buttons (HTML uses .btn-white-c / .btn-outline-c) */
.btn-white-c {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 32px;
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--white);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-white-c:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-c {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 32px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline-c:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Results count (HTML uses .results-count as paragraph container) */
.results-count {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 20px;
}
.results-count strong,
.results-count #results-count {
  font-weight: 700;
  color: var(--dark);
}

/* Values strip text label */
.vs-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
}
.vs-item svg {
  color: rgba(42,61,143, 0.8);
}
