/*
 * Public recruitment list owner: /tuyen-dung/
 *
 * This file owns every .jobs-list-page visual rule. Shared recruitment pages
 * continue to use jobs.css. Keep this stylesheet scoped and append no legacy
 * override passes to jobs.css.
 */

.jobs-list-page {
  --jobs-list-forest-deep: #0e3d28;
  --jobs-list-forest: #17613f;
  --jobs-list-forest-mid: #247a52;
  --jobs-list-forest-soft: #eaf4ed;
  --jobs-list-forest-mist: #f4f9f5;
  --jobs-list-gold: #c59a47;
  --jobs-list-gold-deep: #946b28;
  --jobs-list-gold-soft: #fbf2df;
  --jobs-list-cream: #fbf8f1;
  --jobs-list-cream-deep: #f3eadb;
  --jobs-list-surface: #ffffff;
  --jobs-list-ink: #1d2b24;
  --jobs-list-muted: #647169;
  --jobs-list-border: rgba(14, 61, 40, 0.12);
  --jobs-list-border-gold: rgba(197, 154, 71, 0.3);
  --jobs-list-shadow: 0 18px 48px rgba(14, 61, 40, 0.08);
  --jobs-list-shadow-soft: 0 10px 28px rgba(14, 61, 40, 0.055);
  background: var(--jobs-list-cream);
  color: var(--jobs-list-ink);
}

.jobs-list-page main {
  overflow: clip;
  background: var(--jobs-list-cream);
}

.jobs-list-page button,
.jobs-list-page input,
.jobs-list-page select {
  font: inherit;
}

.jobs-list-page button,
.jobs-list-page a {
  -webkit-tap-highlight-color: transparent;
}

.jobs-list-page :where(button, a, input, select):focus-visible {
  outline: 3px solid rgba(36, 122, 82, 0.24);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.jobs-list-page .jobs-list-hero-modern {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 0 44px;
  background:
    radial-gradient(circle at 84% 12%, rgba(36, 122, 82, 0.12), transparent 25%),
    radial-gradient(circle at 10% 18%, rgba(197, 154, 71, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f8f2e7 72%, #ffffff 100%);
}

.jobs-list-page .jobs-list-hero-modern::before,
.jobs-list-page .jobs-list-hero-modern::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.jobs-list-page .jobs-list-hero-modern::before {
  top: 110px;
  right: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(14, 61, 40, 0.08);
}

.jobs-list-page .jobs-list-hero-modern::after {
  left: -150px;
  bottom: 90px;
  width: 320px;
  height: 320px;
  background: rgba(197, 154, 71, 0.06);
}

.jobs-list-page .jobs-list-hero-modern .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.jobs-list-page .jobs-list-hero-modern .jobs-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding-top: 22px;
  color: #6d746f;
  font-size: 13px;
  font-weight: 700;
}

.jobs-list-page .jobs-list-hero-modern .jobs-breadcrumbs a,
.jobs-list-page .jobs-list-hero-modern .jobs-breadcrumbs span {
  color: inherit;
  text-decoration: none;
}

.jobs-list-page .jobs-list-hero-modern .jobs-breadcrumbs a:hover {
  color: var(--jobs-list-forest);
}

.jobs-list-page .jobs-list-hero-modern .jobs-breadcrumbs i {
  color: var(--jobs-list-gold);
  font-size: 10px;
}

.jobs-list-page .jobs-list-hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
  padding: clamp(34px, 4vw, 52px);
  border: 1px solid rgba(14, 61, 40, 0.1);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(253, 249, 240, 0.92));
  box-shadow: 0 28px 80px rgba(70, 55, 25, 0.09);
}

.jobs-list-page .jobs-list-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.jobs-list-page .jobs-list-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--jobs-list-border-gold);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--jobs-list-forest);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(197, 154, 71, 0.07);
}

.jobs-list-page .jobs-list-hero-label i {
  color: var(--jobs-list-gold);
}

.jobs-list-page .jobs-list-hero-modern h1 {
  max-width: 680px;
  margin: 0;
  color: var(--jobs-list-forest-deep);
  font-family: var(--font-serif);
  font-size: clamp(50px, 5.6vw, 76px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.jobs-list-page .jobs-list-hero-modern .jobs-hero-text {
  max-width: 610px;
  margin: 0;
  color: var(--jobs-list-muted);
  font-size: 17px;
  line-height: 1.72;
}

.jobs-list-page .jobs-hero-proof {
  position: relative;
  margin: -2px 0 2px;
  padding-left: 24px;
  color: var(--jobs-list-forest);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.jobs-list-page .jobs-hero-proof::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--jobs-list-gold);
}

.jobs-list-page .jobs-list-hero-mobile-highlight {
  display: none;
}

.jobs-list-page .jobs-list-hero-search {
  display: grid;
  width: min(100%, 670px);
  gap: 13px;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid rgba(14, 61, 40, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(14, 61, 40, 0.09);
}

.jobs-list-page .jobs-list-hero-search-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 294px);
  padding: 4px;
  border-radius: 14px;
  background: var(--jobs-list-forest-soft);
}

.jobs-list-page .jobs-list-hero-search-tab {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--jobs-list-forest);
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.jobs-list-page .jobs-list-hero-search-tab:hover {
  background: rgba(255, 255, 255, 0.62);
}

.jobs-list-page .jobs-list-hero-search-tab.is-active {
  background: var(--jobs-list-forest);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(14, 61, 40, 0.2);
}

.jobs-list-page .jobs-list-hero-search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr) auto;
  gap: 10px;
  align-items: end;
}

.jobs-list-page .jobs-list-hero-search-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--jobs-list-forest-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jobs-list-page .jobs-list-hero-search-field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 52px;
  border: 1px solid rgba(14, 61, 40, 0.14);
  border-radius: 16px;
  background: #fffdfa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.jobs-list-page .jobs-list-hero-search-field:focus-within {
  border-color: rgba(36, 122, 82, 0.58);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(36, 122, 82, 0.1);
}

.jobs-list-page .jobs-list-hero-search-field > i {
  width: 42px;
  flex: 0 0 42px;
  color: var(--jobs-list-gold-deep);
  text-align: center;
}

.jobs-list-page .jobs-list-hero-search-field input,
.jobs-list-page .jobs-list-hero-search-field select {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--jobs-list-ink);
  font-size: 14px;
  font-weight: 750;
  text-transform: none;
}

.jobs-list-page .jobs-list-hero-search-field select {
  appearance: none;
  padding-right: 34px;
}

.jobs-list-page .jobs-list-hero-search-field.is-select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--jobs-list-gold-deep);
  border-bottom: 2px solid var(--jobs-list-gold-deep);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.jobs-list-page .jobs-list-hero-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 132px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--jobs-list-forest) 0%, var(--jobs-list-forest-deep) 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 13px 28px rgba(14, 61, 40, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.jobs-list-page .jobs-list-hero-search-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 17px 34px rgba(14, 61, 40, 0.27);
}

.jobs-list-page .jobs-list-hero-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 680px;
}

.jobs-list-page .jobs-list-hero-popular-label {
  color: #737b76;
  font-size: 12px;
  font-weight: 800;
}

.jobs-list-page .jobs-list-hero-popular-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(14, 61, 40, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--jobs-list-forest);
  font-size: 11.5px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.jobs-list-page .jobs-list-hero-popular-chip:hover,
.jobs-list-page .jobs-list-hero-popular-chip.is-active {
  transform: translateY(-1px);
  border-color: rgba(197, 154, 71, 0.6);
  background: var(--jobs-list-forest-soft);
}

.jobs-list-page .jobs-list-hero-visual {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(175px, 0.62fr);
  gap: 14px;
  align-items: stretch;
  min-width: 0;
}

.jobs-list-page .jobs-list-hero-photo-frame {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 61, 40, 0.13);
  border-radius: 30px;
  background: var(--jobs-list-forest-soft);
  box-shadow: 0 22px 48px rgba(14, 61, 40, 0.14);
}

.jobs-list-page .jobs-list-hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(14, 61, 40, 0.28));
  pointer-events: none;
}

.jobs-list-page .jobs-list-hero-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center top;
}

.jobs-list-page .jobs-list-hero-card-stack {
  display: grid;
  grid-template-rows: auto repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.jobs-list-page .jobs-list-hero-card-stack-label {
  color: var(--jobs-list-gold-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.jobs-list-page .jobs-list-hero-floating {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 17px;
  border-radius: 22px;
  box-shadow: var(--jobs-list-shadow-soft);
}

.jobs-list-page .jobs-list-hero-floating--jobs {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, var(--jobs-list-forest) 0%, var(--jobs-list-forest-deep) 100%);
  color: #ffffff;
}

.jobs-list-page .jobs-list-hero-floating--candidates {
  flex-direction: row;
  align-items: center;
  border: 1px solid var(--jobs-list-border);
  background: #ffffff;
  color: var(--jobs-list-ink);
}

.jobs-list-page .jobs-list-hero-floating--match {
  flex-direction: row;
  align-items: center;
  border: 1px solid var(--jobs-list-border-gold);
  background: linear-gradient(145deg, #fffdf8 0%, var(--jobs-list-gold-soft) 100%);
  color: var(--jobs-list-ink);
}

.jobs-list-page .jobs-list-hero-floating > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 14px;
  background: var(--jobs-list-forest-soft);
  color: var(--jobs-list-forest);
}

.jobs-list-page .jobs-list-hero-floating--match > i {
  background: rgba(197, 154, 71, 0.14);
  color: var(--jobs-list-gold-deep);
}

.jobs-list-page .jobs-list-hero-floating-title,
.jobs-list-page .jobs-list-hero-floating strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.jobs-list-page .jobs-list-hero-floating--jobs .jobs-list-hero-floating-title,
.jobs-list-page .jobs-list-hero-floating--jobs strong {
  color: #ffffff;
}

.jobs-list-page .jobs-list-hero-floating small,
.jobs-list-page .jobs-list-hero-floating span {
  color: inherit;
  font-size: 10.5px;
  line-height: 1.45;
  opacity: 0.76;
}

.jobs-list-page .jobs-list-hero-floating-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
}

.jobs-list-page .jobs-list-hero-floating-metric strong {
  color: #f3d79c;
  font-size: 31px;
}

.jobs-list-page .jobs-list-hero-floating-stack {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.jobs-list-page .jobs-list-hero-floating-stack div {
  min-width: 0;
}

.jobs-list-page .jobs-list-hero-floating-stack strong,
.jobs-list-page .jobs-list-hero-floating-stack span {
  display: block;
}

/* --------------------------------------------------------------------------
   Hero categories
   -------------------------------------------------------------------------- */

.jobs-list-page .jobs-list-category-bar {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--jobs-list-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--jobs-list-shadow-soft);
}

.jobs-list-page .jobs-list-category-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.jobs-list-page .jobs-list-category-head span,
.jobs-list-page .jobs-list-category-mobile-top > span {
  color: var(--jobs-list-gold-deep);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.jobs-list-page .jobs-list-category-head h2 {
  margin: 6px 0 0;
  color: var(--jobs-list-forest-deep);
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.jobs-list-page .jobs-list-category-mobile-top {
  display: none;
}

.jobs-list-page .jobs-list-category-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.jobs-list-page .jobs-list-category-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 74px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid rgba(14, 61, 40, 0.11);
  border-radius: 18px;
  background: #ffffff;
  color: var(--jobs-list-ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(14, 61, 40, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.jobs-list-page .jobs-list-category-chip::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--jobs-list-gold);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.jobs-list-page .jobs-list-category-chip > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: var(--jobs-list-forest-soft);
  color: var(--jobs-list-forest);
  transition: background 0.2s ease, color 0.2s ease;
}

.jobs-list-page .jobs-list-category-chip > span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.jobs-list-page .jobs-list-category-chip strong {
  overflow: hidden;
  color: var(--jobs-list-forest-deep);
  font-size: 13.5px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.jobs-list-page .jobs-list-category-chip small {
  color: var(--jobs-list-gold-deep);
  font-size: 11px;
  font-weight: 800;
}

.jobs-list-page .jobs-list-category-chip:hover,
.jobs-list-page .jobs-list-category-chip.is-active {
  transform: translateY(-2px);
  border-color: rgba(36, 122, 82, 0.35);
  background: var(--jobs-list-forest-mist);
  box-shadow: 0 13px 28px rgba(14, 61, 40, 0.08);
}

.jobs-list-page .jobs-list-category-chip:hover::after,
.jobs-list-page .jobs-list-category-chip.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.jobs-list-page .jobs-list-category-chip:hover > i,
.jobs-list-page .jobs-list-category-chip.is-active > i {
  background: var(--jobs-list-forest);
  color: #ffffff;
}

.jobs-list-page .jobs-list-category-chip[data-category-extra="true"] {
  display: none;
}

.jobs-list-page .jobs-list-category-bar.is-expanded .jobs-list-category-chip[data-category-extra="true"] {
  display: flex;
}

.jobs-list-page .jobs-list-category-toggle > i {
  background: var(--jobs-list-gold-soft);
  color: var(--jobs-list-gold-deep);
}

/* --------------------------------------------------------------------------
   Discovery, filters and job cards
   -------------------------------------------------------------------------- */

.jobs-list-page .jobs-list-core {
  position: relative;
  padding-top: 58px;
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 100% 0%, rgba(36, 122, 82, 0.08), transparent 24%),
    linear-gradient(180deg, var(--jobs-list-forest-mist) 0%, #ffffff 62%, #fffdf8 100%);
}

.jobs-list-page #jobsDiscoverySentinel {
  position: relative;
  top: -8px;
  height: 1px;
}

.jobs-list-page .jobs-discovery-bar {
  position: relative;
  z-index: 24;
  margin-bottom: 18px;
}

.jobs-list-page .jobs-discovery-bar.is-sticky {
  position: sticky;
  top: var(--site-header-height, 62px);
  margin-inline: -12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(14, 61, 40, 0.1);
  background: rgba(248, 252, 249, 0.94);
  box-shadow: 0 12px 28px rgba(14, 61, 40, 0.07);
  backdrop-filter: blur(18px) saturate(135%);
}

.jobs-list-page .jobs-filter-shell {
  padding: 0;
}

.jobs-list-page .jobs-filter-mobile-summary,
.jobs-list-page .jobs-filter-mobile-backdrop,
.jobs-list-page .jobs-filter-mobile-sheet-head {
  display: none;
}

.jobs-list-page .jobs-filter-bar {
  display: block;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--jobs-list-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--jobs-list-shadow);
}

.jobs-list-page .jobs-list-filter-grid {
  display: grid;
  grid-template-columns: minmax(175px, 1.4fr) repeat(5, minmax(126px, 1fr)) minmax(140px, auto);
  gap: 10px;
  align-items: end;
}

.jobs-list-page .jobs-filter-field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.jobs-list-page .jobs-filter-field > span {
  overflow: hidden;
  color: var(--jobs-list-forest-deep);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobs-list-page .jobs-filter-field > span small {
  color: #8b948e;
  font-size: 9.5px;
  font-weight: 650;
}

.jobs-list-page .jobs-filter-field input,
.jobs-list-page .jobs-filter-field select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(14, 61, 40, 0.13);
  border-radius: 13px;
  outline: 0;
  background: #fffdfa;
  color: var(--jobs-list-ink);
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.jobs-list-page .jobs-filter-field input:focus,
.jobs-list-page .jobs-filter-field select:focus {
  border-color: rgba(36, 122, 82, 0.58);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(36, 122, 82, 0.09);
}

.jobs-list-page .jobs-list-filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  min-width: 140px;
}

.jobs-list-page .jobs-list-filter-actions strong {
  grid-column: 1 / -1;
  color: var(--jobs-list-forest);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.jobs-list-page .jobs-filter-reset,
.jobs-list-page .jobs-filter-apply {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 900;
  cursor: pointer;
}

.jobs-list-page .jobs-filter-reset {
  border: 1px solid var(--jobs-list-border-gold);
  background: #ffffff;
  color: var(--jobs-list-gold-deep);
}

.jobs-list-page .jobs-filter-apply {
  border: 0;
  background: var(--jobs-list-forest);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(14, 61, 40, 0.18);
}

.jobs-list-page .jobs-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
}

.jobs-list-page .jobs-active-filters[hidden] {
  display: none;
}

.jobs-list-page .jobs-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(36, 122, 82, 0.22);
  border-radius: 999px;
  background: var(--jobs-list-forest-soft);
  color: var(--jobs-list-forest);
  font-size: 11.5px;
  font-weight: 850;
  cursor: pointer;
}

.jobs-list-page .jobs-active-chip.is-clear-all {
  border-color: var(--jobs-list-border-gold);
  background: #ffffff;
  color: var(--jobs-list-gold-deep);
}

.jobs-list-page .jobs-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.jobs-list-page .job-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(14, 61, 40, 0.11);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--jobs-list-shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.jobs-list-page .job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--jobs-list-forest), var(--jobs-list-gold));
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.jobs-list-page .job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 122, 82, 0.3);
  box-shadow: 0 20px 42px rgba(14, 61, 40, 0.1);
}

.jobs-list-page .job-card:hover::before,
.jobs-list-page .job-card.is-hero-search-focus::before {
  opacity: 1;
  transform: scaleX(1);
}

.jobs-list-page .job-card.is-hidden,
.jobs-list-page .job-card.is-page-hidden {
  display: none;
}

.jobs-list-page .job-card.is-hero-search-focus {
  border-color: rgba(197, 154, 71, 0.65);
  box-shadow: 0 0 0 4px rgba(197, 154, 71, 0.12), var(--jobs-list-shadow);
}

.jobs-list-page .job-card-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  margin-bottom: 12px;
}

.jobs-list-page .job-card-badges {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.jobs-list-page .job-card-save-btn {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(36, 122, 82, 0.2);
  border-radius: 13px;
  background: #ffffff;
  color: var(--jobs-list-forest);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jobs-list-page .job-card-save-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(197, 154, 71, 0.5);
  background: var(--jobs-list-gold-soft);
  color: var(--jobs-list-gold-deep);
}

.jobs-list-page .job-card-save-btn.is-saved {
  border-color: rgba(197, 154, 71, 0.5);
  background: var(--jobs-list-gold-soft);
  color: var(--jobs-list-gold-deep);
}

.jobs-list-page .job-card-main {
  margin-bottom: 13px;
}

.jobs-list-page .job-card h3 {
  min-height: 0;
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.36;
}

.jobs-list-page .job-card h3 a {
  position: static;
  display: -webkit-box;
  overflow: hidden;
  color: var(--jobs-list-forest-deep);
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jobs-list-page .job-card-stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.jobs-list-page .job-card-salary,
.jobs-list-page .job-card-posted {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--jobs-list-gold-deep);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.jobs-list-page .job-card-posted {
  margin-top: 6px;
  color: #78827c;
  font-size: 11.5px;
  font-weight: 700;
}

.jobs-list-page .job-card-context {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  padding: 12px;
  border-radius: 14px;
  background: var(--jobs-list-forest-mist);
}

.jobs-list-page .company-full-name,
.jobs-list-page .job-location {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
  color: #56645c;
  font-size: 12.5px;
  line-height: 1.45;
}

.jobs-list-page .company-full-name i,
.jobs-list-page .job-location i {
  width: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  color: var(--jobs-list-forest-mid);
  text-align: center;
}

.jobs-list-page .job-card-summary {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--jobs-list-muted);
  font-size: 13.5px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.jobs-list-page .job-card-footer {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(14, 61, 40, 0.08);
}

.jobs-list-page .fact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #66736c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.jobs-list-page .fact-item i {
  width: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  color: var(--jobs-list-forest-mid);
  text-align: center;
}

.jobs-list-page .jobs-empty-state {
  margin-top: 18px;
  padding: 30px;
  border: 1px dashed var(--jobs-list-border-gold);
  border-radius: 22px;
  background: #ffffff;
  color: var(--jobs-list-muted);
  text-align: center;
}

.jobs-list-page .jobs-empty-state[hidden] {
  display: none;
}

.jobs-list-page .jobs-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.jobs-list-page .jobs-pagination[hidden] {
  display: none;
}

.jobs-list-page .jobs-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.jobs-list-page .jobs-pagination-btn,
.jobs-list-page .jobs-pagination-page {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--jobs-list-border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--jobs-list-forest);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.jobs-list-page .jobs-pagination-page {
  min-width: 40px;
  padding: 0 10px;
}

.jobs-list-page .jobs-pagination-page.is-active {
  border-color: var(--jobs-list-forest);
  background: var(--jobs-list-forest);
  color: #ffffff;
}

.jobs-list-page .jobs-pagination-btn:disabled {
  cursor: default;
  opacity: 0.45;
}

/* Semantic state colours remain distinct from brand colours. */
.jobs-list-page .job-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid #dde4df;
  border-radius: 999px;
  background: #f7faf8;
  color: #4d5b53;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1;
}

.jobs-list-page .job-badge.featured {
  border-color: #efd592;
  background: #fff8e8;
  color: #9a6818;
}

.jobs-list-page .job-badge.fresh {
  border-color: #b9dbc7;
  background: #edf8f1;
  color: #17613f;
}

.jobs-list-page .job-badge.urgent {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.jobs-list-page .job-badge.near-expiry {
  border-color: #fdba74;
  background: #fff7ed;
  color: #9a3412;
}

.jobs-list-page .job-badge.expired {
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #6b7280;
}

.jobs-list-page .fact-item.urgency.is-due-today,
.jobs-list-page .fact-item.urgency.is-near-expiry {
  color: #9a3412;
}

.jobs-list-page .fact-item.urgency.is-expired {
  color: #7c2d2d;
}

/* --------------------------------------------------------------------------
   Candidate showcase
   -------------------------------------------------------------------------- */

.jobs-list-page .jobs-candidate-showcase {
  padding-top: 78px;
  padding-bottom: 78px;
  background:
    radial-gradient(circle at 8% 4%, rgba(197, 154, 71, 0.1), transparent 25%),
    linear-gradient(180deg, #eff7f1 0%, #f7fbf8 100%);
}

.jobs-list-page .jobs-candidate-showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.jobs-list-page .jobs-candidate-showcase-copy {
  max-width: 760px;
}

.jobs-list-page .section-label span,
.jobs-list-page .jobs-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--jobs-list-gold-deep);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jobs-list-page .jobs-section-title {
  margin: 12px 0 10px;
  color: var(--jobs-list-forest-deep);
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-align: left;
  text-wrap: balance;
}

.jobs-list-page .jobs-section-subtitle {
  max-width: 760px;
  margin: 0;
  color: var(--jobs-list-muted);
  font-size: 15px;
  line-height: 1.72;
  text-align: left;
}

.jobs-list-page .section-label.center,
.jobs-list-page .jobs-role-gateway-section .jobs-section-title,
.jobs-list-page .jobs-role-gateway-section .jobs-section-subtitle {
  justify-content: center;
  margin-inline: auto;
  text-align: center;
}

.jobs-list-page .jobs-candidate-showcase-note {
  max-width: 360px;
  padding: 8px 0 8px 18px;
  border-left: 2px solid var(--jobs-list-gold);
}

.jobs-list-page .jobs-candidate-showcase-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--jobs-list-forest-deep);
  font-family: var(--font-serif);
  font-size: 21px;
}

.jobs-list-page .jobs-candidate-showcase-note span {
  display: block;
  color: var(--jobs-list-muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.jobs-list-page .jobs-candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.jobs-list-page .jobs-candidate-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(14, 61, 40, 0.12);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--jobs-list-shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.jobs-list-page .jobs-candidate-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 122, 82, 0.3);
  box-shadow: 0 20px 42px rgba(14, 61, 40, 0.1);
}

.jobs-list-page .jobs-candidate-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
  color: inherit;
  text-decoration: none;
}

.jobs-list-page .jobs-candidate-card-head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 36px;
  gap: 14px;
  align-items: start;
  margin-bottom: 17px;
}

.jobs-list-page .jobs-candidate-avatar-thumb--showcase {
  display: block;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border: 2px solid rgba(197, 154, 71, 0.35);
  border-radius: 23px;
  background: var(--jobs-list-forest-soft);
}

.jobs-list-page .jobs-candidate-avatar-thumb--showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jobs-list-page .jobs-candidate-headline {
  min-width: 0;
}

.jobs-list-page .jobs-candidate-headline h3 {
  margin: 1px 0 5px;
  color: var(--jobs-list-forest-deep);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.jobs-list-page .jobs-candidate-headline p {
  margin: 0;
  color: #718078;
  font-size: 12.5px;
  line-height: 1.45;
}

.jobs-list-page .jobs-candidate-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--jobs-list-forest-soft);
  color: var(--jobs-list-forest);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.jobs-list-page .jobs-candidate-card:hover .jobs-candidate-card-arrow {
  transform: translate(2px, -2px);
  background: var(--jobs-list-forest);
  color: #ffffff;
}

.jobs-list-page .jobs-candidate-facts {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 13px;
  border-radius: 16px;
  background: var(--jobs-list-forest-mist);
}

.jobs-list-page .jobs-candidate-facts span {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
  color: #5b6961;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.jobs-list-page .jobs-candidate-facts i {
  width: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  color: var(--jobs-list-forest-mid);
  text-align: center;
}

.jobs-list-page .jobs-candidate-facts span:nth-child(3) i {
  color: var(--jobs-list-gold-deep);
}

.jobs-list-page .jobs-candidate-intro {
  display: -webkit-box;
  margin: 0 0 15px;
  overflow: hidden;
  color: var(--jobs-list-muted);
  font-size: 13.5px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.jobs-list-page .jobs-candidate-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jobs-list-page .jobs-candidate-skill-list li {
  padding: 6px 10px;
  border: 1px solid rgba(36, 122, 82, 0.16);
  border-radius: 999px;
  background: var(--jobs-list-forest-soft);
  color: var(--jobs-list-forest);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
}

.jobs-list-page .jobs-candidate-skill-list li:first-child {
  border-color: var(--jobs-list-border-gold);
}

.jobs-list-page .jobs-candidate-skill-more {
  margin: 8px 0 0;
  color: #8b948e;
  font-size: 11px;
}

.jobs-list-page .jobs-candidate-foot {
  margin-top: auto;
  padding-top: 17px;
}

.jobs-list-page .jobs-candidate-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--jobs-list-forest);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jobs-list-page .jobs-candidate-card-cta::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.jobs-list-page .jobs-candidate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.jobs-list-page .jobs-list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 15px;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.jobs-list-page .jobs-list-btn--primary {
  border: 1px solid var(--jobs-list-forest);
  background: linear-gradient(135deg, var(--jobs-list-forest) 0%, var(--jobs-list-forest-deep) 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(14, 61, 40, 0.2);
}

.jobs-list-page .jobs-list-btn--outline {
  border: 1px solid var(--jobs-list-border-gold);
  background: #ffffff;
  color: var(--jobs-list-forest);
}

.jobs-list-page .jobs-list-btn:hover {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Section bridge
   -------------------------------------------------------------------------- */

.jobs-list-page .jobs-section-bridge {
  height: 0;
  background: transparent;
}

.jobs-list-page .jobs-section-bridge-inner {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(420px, calc(100% - 48px));
  height: 0;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  transform: translateY(-1px);
}

.jobs-list-page .jobs-section-bridge-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(36, 122, 82, 0.34));
}

.jobs-list-page .jobs-section-bridge-line:nth-of-type(4) {
  background: linear-gradient(90deg, rgba(36, 122, 82, 0.34), transparent);
}

.jobs-list-page .jobs-section-bridge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jobs-list-gold);
}

.jobs-list-page .jobs-section-bridge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 12px;
  border: 1px solid var(--jobs-list-border-gold);
  border-radius: 15px;
  background: var(--jobs-list-cream);
  color: var(--jobs-list-forest);
  box-shadow: 0 8px 22px rgba(14, 61, 40, 0.08);
}

/* --------------------------------------------------------------------------
   Career and location directory
   -------------------------------------------------------------------------- */

.jobs-list-page .jobs-directory-section {
  padding-top: 78px;
  padding-bottom: 78px;
  background:
    radial-gradient(circle at 100% 0%, rgba(36, 122, 82, 0.09), transparent 26%),
    linear-gradient(180deg, var(--jobs-list-forest-mist) 0%, #edf6ef 100%);
}

.jobs-list-page .jobs-directory-shell {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--jobs-list-border);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--jobs-list-shadow);
}

.jobs-list-page .jobs-directory-shell::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(197, 154, 71, 0.08);
  pointer-events: none;
}

.jobs-list-page .jobs-directory-shell > * {
  position: relative;
  z-index: 1;
}

.jobs-list-page .jobs-directory-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid var(--jobs-list-border);
  border-radius: 18px;
  background: var(--jobs-list-cream);
}

.jobs-list-page .jobs-directory-tab {
  position: relative;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--jobs-list-forest);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.jobs-list-page .jobs-directory-tab::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--jobs-list-gold);
  opacity: 0;
}

.jobs-list-page .jobs-directory-tab:hover {
  background: rgba(234, 244, 237, 0.75);
}

.jobs-list-page .jobs-directory-tab.is-active {
  background: var(--jobs-list-forest);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(14, 61, 40, 0.18);
}

.jobs-list-page .jobs-directory-tab.is-active::after {
  opacity: 1;
}

.jobs-list-page .jobs-directory-panel[hidden],
.jobs-list-page .jobs-directory-results[hidden] {
  display: none;
}

.jobs-list-page .jobs-directory-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 14px;
}

.jobs-list-page .jobs-directory-link {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px 9px 16px;
  overflow: hidden;
  border: 1px solid rgba(14, 61, 40, 0.08);
  border-radius: 14px;
  background: #ffffff;
  color: var(--jobs-list-forest-deep);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.jobs-list-page .jobs-directory-link::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: transparent;
}

.jobs-list-page .jobs-directory-link:hover,
.jobs-list-page .jobs-directory-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(36, 122, 82, 0.27);
  background: var(--jobs-list-forest-mist);
}

.jobs-list-page .jobs-directory-link.is-featured::before,
.jobs-list-page .jobs-directory-link.is-active::before {
  background: var(--jobs-list-gold);
}

.jobs-list-page .jobs-directory-text {
  min-width: 0;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
}

.jobs-list-page .jobs-directory-count {
  flex: 0 0 auto;
  color: var(--jobs-list-gold-deep);
  font-size: 10.5px;
  font-weight: 900;
  white-space: nowrap;
}

.jobs-list-page .jobs-directory-link.is-coming-soon {
  opacity: 0.72;
}

.jobs-list-page .jobs-directory-results {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid var(--jobs-list-border-gold);
  border-radius: 20px;
  background: var(--jobs-list-cream);
}

.jobs-list-page .jobs-directory-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.jobs-list-page .jobs-directory-result-head strong,
.jobs-list-page .jobs-directory-result-head span {
  display: block;
}

.jobs-list-page .jobs-directory-result-head strong {
  color: var(--jobs-list-forest-deep);
  font-size: 17px;
}

.jobs-list-page .jobs-directory-result-head span {
  margin-top: 3px;
  color: var(--jobs-list-muted);
  font-size: 12px;
}

.jobs-list-page .jobs-directory-result-actions {
  display: flex;
  gap: 8px;
}

.jobs-list-page .jobs-directory-result-action,
.jobs-list-page .jobs-directory-result-clear {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 850;
  cursor: pointer;
}

.jobs-list-page .jobs-directory-result-action {
  border: 0;
  background: var(--jobs-list-forest);
  color: #ffffff;
}

.jobs-list-page .jobs-directory-result-clear {
  border: 1px solid var(--jobs-list-border-gold);
  background: #ffffff;
  color: var(--jobs-list-gold-deep);
}

.jobs-list-page .jobs-directory-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.jobs-list-page .jobs-directory-result-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--jobs-list-border);
  border-radius: 14px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.jobs-list-page .jobs-directory-result-card strong {
  color: var(--jobs-list-forest-deep);
  font-size: 13px;
  line-height: 1.35;
}

.jobs-list-page .jobs-directory-result-card > span,
.jobs-list-page .jobs-directory-result-card em {
  color: var(--jobs-list-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.jobs-list-page .jobs-directory-result-card em i {
  margin-right: 5px;
  color: var(--jobs-list-forest-mid);
}

.jobs-list-page .jobs-directory-result-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--jobs-list-gold-deep);
}

.jobs-list-page .jobs-directory-result-empty {
  color: var(--jobs-list-muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Candidate / employer gateway
   -------------------------------------------------------------------------- */

.jobs-list-page .jobs-role-gateway-section {
  position: relative;
  overflow: hidden;
  padding-top: 82px;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at 12% 12%, rgba(197, 154, 71, 0.2), transparent 26%),
    radial-gradient(circle at 88% 88%, rgba(255, 255, 255, 0.08), transparent 25%),
    linear-gradient(145deg, #0c3524 0%, #135238 56%, #0b3021 100%);
}

.jobs-list-page .jobs-role-gateway-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(241, 213, 155, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
  pointer-events: none;
}

.jobs-list-page .jobs-role-gateway-section .container {
  position: relative;
  z-index: 1;
}

.jobs-list-page .jobs-role-gateway-section .section-label span {
  color: #efd49a;
}

.jobs-list-page .jobs-role-gateway-section .jobs-section-title {
  max-width: 780px;
  color: #ffffff;
}

.jobs-list-page .jobs-role-gateway-section .jobs-section-subtitle {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.74);
}

.jobs-list-page .jobs-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.jobs-list-page .jobs-role-gateway-section .jobs-portal-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 56px rgba(5, 25, 17, 0.22);
}

.jobs-list-page .jobs-role-gateway-section .jobs-portal-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
}

.jobs-list-page .jobs-portal-card--candidate::after {
  background: rgba(36, 122, 82, 0.1);
}

.jobs-list-page .jobs-portal-card--employer::after {
  background: rgba(197, 154, 71, 0.14);
}

.jobs-list-page .jobs-portal-card--candidate .jobs-kicker {
  color: var(--jobs-list-forest);
}

.jobs-list-page .jobs-portal-card--employer .jobs-kicker {
  color: var(--jobs-list-gold-deep);
}

.jobs-list-page .jobs-role-gateway-section .jobs-portal-card h3 {
  position: relative;
  z-index: 1;
  margin: 9px 0 10px;
  color: var(--jobs-list-forest-deep);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.jobs-list-page .jobs-role-gateway-section .jobs-portal-card p {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0;
  color: var(--jobs-list-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.jobs-list-page .jobs-portal-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.jobs-list-page .jobs-portal-actions .jobs-list-btn {
  width: 100%;
  min-width: 0;
  padding-inline: 14px;
}

.jobs-list-page .jobs-portal-card--employer .jobs-list-btn--primary {
  border-color: var(--jobs-list-gold);
  background: linear-gradient(135deg, #d7b060 0%, var(--jobs-list-gold) 100%);
  color: var(--jobs-list-forest-deep);
  box-shadow: 0 12px 26px rgba(197, 154, 71, 0.2);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .jobs-list-page .jobs-list-hero-stage {
    grid-template-columns: 1fr;
  }

  .jobs-list-page .jobs-list-hero-copy {
    align-items: center;
    text-align: center;
  }

  .jobs-list-page .jobs-list-hero-modern .jobs-hero-text,
  .jobs-list-page .jobs-list-hero-popular {
    justify-content: center;
  }

  .jobs-list-page .jobs-list-hero-visual {
    width: min(100%, 650px);
    margin: 0 auto;
  }

  .jobs-list-page .jobs-list-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jobs-list-page .jobs-list-filter-actions {
    grid-column: span 3;
    grid-template-columns: auto auto auto;
    align-items: center;
  }

  .jobs-list-page .jobs-list-filter-actions strong {
    grid-column: auto;
    text-align: left;
  }
}

@media (max-width: 991px) {
  .jobs-list-page .jobs-list-hero-modern {
    padding-bottom: 36px;
  }

  .jobs-list-page .jobs-list-hero-stage {
    gap: 34px;
    padding: 38px 34px;
    border-radius: 32px;
  }

  .jobs-list-page .jobs-list-category-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jobs-list-page .jobs-list-grid,
  .jobs-list-page .jobs-candidate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-list-page .jobs-directory-list,
  .jobs-list-page .jobs-directory-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-list-page .jobs-candidate-showcase-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .jobs-list-page .jobs-candidate-showcase-note {
    width: 100%;
    max-width: 720px;
  }

  .jobs-list-page .jobs-portal-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .jobs-list-page main {
    overflow: hidden;
  }

  .jobs-list-page .jobs-list-hero-modern {
    padding: 0 0 28px;
  }

  .jobs-list-page .jobs-list-hero-modern .jobs-breadcrumbs {
    margin-bottom: 12px;
    padding-top: 18px;
    font-size: 12.5px;
  }

  .jobs-list-page .jobs-list-hero-stage {
    display: block;
    padding: 26px 16px 22px;
    border-radius: 27px;
  }

  .jobs-list-page .jobs-list-hero-copy {
    align-items: stretch;
    gap: 13px;
    text-align: left;
  }

  .jobs-list-page .jobs-list-hero-label {
    align-self: flex-start;
    max-width: 100%;
    min-height: 31px;
    padding: 6px 11px;
    font-size: 9.5px;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .jobs-list-page .jobs-list-hero-modern h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.6vw, 36px);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  .jobs-list-page .jobs-list-hero-modern .jobs-hero-text {
    font-size: 14.5px;
    line-height: 1.62;
  }

  .jobs-list-page .jobs-hero-proof {
    font-size: 12px;
    letter-spacing: 0;
  }

  .jobs-list-page .jobs-list-hero-mobile-highlight {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 34px;
    gap: 11px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--jobs-list-border-gold);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--jobs-list-shadow-soft);
  }

  .jobs-list-page .jobs-list-hero-mobile-highlight-photo {
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 2px solid var(--jobs-list-gold-soft);
    border-radius: 17px;
  }

  .jobs-list-page .jobs-list-hero-mobile-highlight-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .jobs-list-page .jobs-list-hero-mobile-highlight-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .jobs-list-page .jobs-list-hero-mobile-highlight-copy strong {
    color: var(--jobs-list-forest-deep);
    font-size: 17px;
    line-height: 1.15;
  }

  .jobs-list-page .jobs-list-hero-mobile-highlight-copy small {
    color: var(--jobs-list-muted);
    font-size: 10.5px;
    line-height: 1.4;
  }

  .jobs-list-page .jobs-list-hero-mobile-highlight-spark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--jobs-list-gold-soft);
    color: var(--jobs-list-gold-deep);
  }

  .jobs-list-page .jobs-list-hero-search {
    width: 100%;
    margin-top: 1px;
    padding: 10px;
    border-radius: 20px;
  }

  .jobs-list-page .jobs-list-hero-search-tabs {
    width: 100%;
  }

  .jobs-list-page .jobs-list-hero-search-grid {
    grid-template-columns: 1fr;
  }

  .jobs-list-page .jobs-list-hero-search-field,
  .jobs-list-page .jobs-list-hero-search-btn {
    min-height: 48px;
    border-radius: 15px;
  }

  .jobs-list-page .jobs-list-hero-search-field input,
  .jobs-list-page .jobs-list-hero-search-field select {
    height: 46px;
    font-size: 13.5px;
  }

  .jobs-list-page .jobs-list-hero-search-btn {
    width: 100%;
  }

  .jobs-list-page .jobs-list-hero-popular {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: calc(100% + 16px);
    margin-right: -16px;
    padding: 2px 16px 4px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .jobs-list-page .jobs-list-hero-popular::-webkit-scrollbar {
    display: none;
  }

  .jobs-list-page .jobs-list-hero-popular-label,
  .jobs-list-page .jobs-list-hero-popular-chip {
    flex: 0 0 auto;
  }

  .jobs-list-page .jobs-list-hero-visual {
    display: none;
  }

  .jobs-list-page .jobs-list-category-bar {
    margin-top: 16px;
    padding: 16px 14px;
    border-radius: 22px;
  }

  .jobs-list-page .jobs-list-category-head {
    display: none;
  }

  .jobs-list-page .jobs-list-category-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
  }

  .jobs-list-page .jobs-list-category-mobile-controls {
    display: flex;
    gap: 7px;
  }

  .jobs-list-page .jobs-list-category-mobile-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--jobs-list-border);
    border-radius: 11px;
    background: #ffffff;
    color: var(--jobs-list-forest);
  }

  .jobs-list-page .jobs-list-category-mobile-controls button:disabled {
    opacity: 0.42;
  }

  .jobs-list-page .jobs-list-category-list {
    display: flex;
    gap: 10px;
    padding-bottom: 3px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .jobs-list-page .jobs-list-category-list::-webkit-scrollbar {
    display: none;
  }

  .jobs-list-page .jobs-list-category-chip,
  .jobs-list-page .jobs-list-category-chip[data-category-extra="true"],
  .jobs-list-page .jobs-list-category-bar.is-expanded .jobs-list-category-chip[data-category-extra="true"] {
    display: flex;
    width: 205px;
    min-width: 205px;
    min-height: 70px;
    scroll-snap-align: start;
  }

  .jobs-list-page .jobs-list-core {
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .jobs-list-page .jobs-discovery-bar.is-sticky {
    top: var(--site-header-height, 58px);
    margin-inline: -8px;
    padding: 8px;
  }

  .jobs-list-page .jobs-filter-mobile-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 13px;
    border: 1px solid var(--jobs-list-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--jobs-list-shadow-soft);
  }

  .jobs-list-page .jobs-filter-mobile-summary-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

  .jobs-list-page .jobs-filter-mobile-summary-copy > span {
    color: var(--jobs-list-gold-deep);
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .jobs-list-page .jobs-filter-mobile-summary-copy strong {
    color: var(--jobs-list-forest-deep);
    font-size: 17px;
  }

  .jobs-list-page .jobs-filter-mobile-summary-copy small {
    overflow: hidden;
    color: var(--jobs-list-muted);
    font-size: 10.5px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .jobs-list-page .jobs-filter-mobile-sheet-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 94px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 14px;
    background: var(--jobs-list-forest);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
  }

  .jobs-list-page .jobs-filter-mobile-sheet-toggle small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--jobs-list-gold);
    color: var(--jobs-list-forest-deep);
    font-size: 9px;
  }

  .jobs-list-page .jobs-filter-mobile-sheet-toggle small[hidden] {
    display: none;
  }

  .jobs-list-page .jobs-filter-mobile-backdrop {
    position: fixed;
    z-index: 180;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgba(7, 25, 17, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .jobs-list-page .jobs-filter-bar {
    position: fixed;
    z-index: 190;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    max-height: min(88vh, 760px);
    margin: 0;
    padding: 0;
    overflow-y: auto;
    border: 0;
    border-radius: 26px 26px 0 0;
    background: #ffffff;
    box-shadow: 0 -24px 70px rgba(5, 25, 17, 0.25);
    transform: translateY(105%);
    transition: transform 0.24s ease;
  }

  .jobs-list-page .jobs-filter-shell.is-open .jobs-filter-mobile-backdrop {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .jobs-list-page .jobs-filter-shell.is-open .jobs-filter-bar {
    transform: translateY(0);
  }

  body.is-jobs-filter-sheet-open {
    overflow: hidden;
  }

  .jobs-list-page .jobs-filter-mobile-sheet-head {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--jobs-list-border);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
  }

  .jobs-list-page .jobs-filter-mobile-sheet-head span {
    color: var(--jobs-list-gold-deep);
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .jobs-list-page .jobs-filter-mobile-sheet-head h2 {
    margin: 4px 0 0;
    color: var(--jobs-list-forest-deep);
    font-size: 22px;
  }

  .jobs-list-page .jobs-filter-mobile-sheet-head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--jobs-list-border);
    border-radius: 13px;
    background: var(--jobs-list-forest-mist);
    color: var(--jobs-list-forest);
  }

  .jobs-list-page .jobs-list-filter-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .jobs-list-page .jobs-filter-field > span {
    font-size: 12px;
  }

  .jobs-list-page .jobs-filter-field input,
  .jobs-list-page .jobs-filter-field select {
    min-height: 50px;
    border-radius: 14px;
    font-size: 14px;
  }

  .jobs-list-page .jobs-list-filter-actions {
    position: sticky;
    bottom: 0;
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
    padding-top: 12px;
    background: #ffffff;
  }

  .jobs-list-page .jobs-list-filter-actions strong {
    grid-column: 1 / -1;
    text-align: center;
  }

  .jobs-list-page .jobs-filter-reset,
  .jobs-list-page .jobs-filter-apply {
    min-height: 48px;
    font-size: 13px;
  }

  .jobs-list-page .jobs-list-grid,
  .jobs-list-page .jobs-candidate-grid,
  .jobs-list-page .jobs-directory-list,
  .jobs-list-page .jobs-directory-result-grid,
  .jobs-list-page .jobs-portal-grid {
    grid-template-columns: 1fr;
  }

  .jobs-list-page .job-card {
    padding: 18px;
    border-radius: 21px;
  }

  .jobs-list-page .job-card h3 {
    font-size: 18.5px;
  }

  .jobs-list-page .job-card-summary {
    font-size: 14px;
  }

  .jobs-list-page .jobs-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .jobs-list-page .jobs-pagination-btn {
    width: 100%;
  }

  .jobs-list-page .jobs-candidate-showcase,
  .jobs-list-page .jobs-directory-section,
  .jobs-list-page .jobs-role-gateway-section {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .jobs-list-page .jobs-section-title {
    font-size: clamp(25px, 7.2vw, 27px);
  }

  .jobs-list-page .jobs-section-subtitle {
    font-size: 14.5px;
  }

  .jobs-list-page .jobs-candidate-showcase-head {
    gap: 18px;
    margin-bottom: 20px;
  }

  .jobs-list-page .jobs-candidate-showcase-note {
    padding-left: 14px;
  }

  .jobs-list-page .jobs-candidate-card-link {
    padding: 18px;
  }

  .jobs-list-page .jobs-candidate-card-head {
    grid-template-columns: 68px minmax(0, 1fr) 34px;
    gap: 11px;
  }

  .jobs-list-page .jobs-candidate-avatar-thumb--showcase {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .jobs-list-page .jobs-candidate-headline h3 {
    font-size: 18px;
  }

  .jobs-list-page .jobs-candidate-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .jobs-list-page .jobs-list-btn {
    width: 100%;
    min-height: 48px;
  }

  .jobs-list-page .jobs-section-bridge-inner {
    width: min(260px, calc(100% - 40px));
  }

  .jobs-list-page .jobs-section-bridge-icon {
    width: 40px;
    height: 40px;
    margin-inline: 9px;
  }

  .jobs-list-page .jobs-directory-shell {
    padding: 14px;
    border-radius: 23px;
  }

  .jobs-list-page .jobs-directory-tabs {
    gap: 4px;
    padding: 4px;
    border-radius: 15px;
  }

  .jobs-list-page .jobs-directory-tab {
    min-height: 46px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.3;
  }

  .jobs-list-page .jobs-directory-link {
    min-height: 50px;
  }

  .jobs-list-page .jobs-directory-result-head {
    align-items: stretch;
    flex-direction: column;
  }

  .jobs-list-page .jobs-directory-result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .jobs-list-page .jobs-role-gateway-section .jobs-portal-card {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .jobs-list-page .jobs-role-gateway-section .jobs-portal-card h3 {
    font-size: 23px;
  }

  .jobs-list-page .jobs-role-gateway-section .jobs-portal-card p {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .jobs-list-page .jobs-list-hero-stage {
    padding-inline: 14px;
  }

  .jobs-list-page .jobs-list-hero-modern h1 {
    font-size: 33px;
  }

  .jobs-list-page .jobs-list-hero-search-tab {
    padding-inline: 8px;
    font-size: 11.5px;
  }

  .jobs-list-page .jobs-list-category-chip,
  .jobs-list-page .jobs-list-category-chip[data-category-extra="true"],
  .jobs-list-page .jobs-list-category-bar.is-expanded .jobs-list-category-chip[data-category-extra="true"] {
    width: 190px;
    min-width: 190px;
  }

  .jobs-list-page .jobs-candidate-card-head {
    grid-template-columns: 60px minmax(0, 1fr) 32px;
  }

  .jobs-list-page .jobs-candidate-avatar-thumb--showcase {
    width: 60px;
    height: 60px;
  }

  .jobs-list-page .jobs-directory-result-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jobs-list-page *,
  .jobs-list-page *::before,
  .jobs-list-page *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
