@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Sora:wght@600;700;800&display=swap');

.jobs-page {
  --jobs-shell: min(1180px, calc(100vw - 40px));
  --jobs-radius-lg: 32px;
  --jobs-radius-md: 22px;
  --jobs-radius-sm: 16px;
  --jobs-border: rgba(107, 18, 18, 0.12);
  --jobs-border-strong: rgba(107, 18, 18, 0.18);
  --jobs-shadow: 0 28px 60px rgba(50, 20, 12, 0.08);
  --jobs-shadow-soft: 0 18px 36px rgba(50, 20, 12, 0.06);
  --jobs-hero-bg:
    radial-gradient(circle at 18% 18%, rgba(232, 208, 138, 0.16), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(145deg, #2b1818 0%, #3a1d1d 36%, #4a0c0c 100%);
  padding-bottom: 112px;
  background:
    radial-gradient(circle at top left, rgba(201, 168, 76, 0.12), transparent 20%),
    linear-gradient(180deg, #fffaf4 0%, #fff 24%, #fff 100%);
  font-family: 'Manrope', var(--sans);
}

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

.jobs-page h1,
.jobs-page h2,
.jobs-page h3 {
  font-family: 'Sora', var(--sans);
  letter-spacing: -0.04em;
}

.jobs-page .btn--solid,
.jobs-page .btn--ghost,
.job-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.jobs-page .btn--solid {
  color: #fff;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  box-shadow: 0 12px 24px rgba(107, 18, 18, 0.16);
}

.jobs-page .btn--solid:hover,
.jobs-page .btn--ghost:hover,
.job-copy-button:hover {
  transform: translateY(-1px);
}

.jobs-page .btn--ghost,
.job-copy-button {
  color: var(--crimson-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--jobs-border);
}

.jobs-section-label,
.jobs-stage__eyebrow,
.course-promo__eyebrow,
.job-detail-kicker,
.signal-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.jobs-stage {
  position: relative;
  overflow: hidden;
  padding: 26px 0 20px;
  background: var(--jobs-hero-bg);
}

.jobs-stage__glow,
.job-hero__glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
}

.jobs-stage__glow--one {
  width: 320px;
  height: 320px;
  top: -96px;
  right: -80px;
  background: rgba(255, 255, 255, 0.08);
}

.jobs-stage__glow--two {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -60px;
  background: rgba(201, 168, 76, 0.18);
}

.jobs-stage__inner,
.jobs-board__inner,
.job-hero__inner,
.job-layout__inner {
  width: var(--jobs-shell);
  margin: 0 auto;
}

.jobs-stage__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 20px;
  align-items: center;
}

.jobs-stage__copy {
  color: #fff;
}

.jobs-stage__eyebrow {
  padding: 10px 14px;
  border-radius: 999px;
  color: #f8edc8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.jobs-stage h1 {
  margin: 12px 0 10px;
  max-width: 8ch;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 0.92;
}

.jobs-stage p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.jobs-search-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 18px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 44px rgba(10, 9, 16, 0.18);
}

.jobs-search-shell__field {
  display: grid;
  gap: 8px;
}

.jobs-search-shell__field span,
.jobs-inline-field span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.jobs-search-shell__field input,
.jobs-inline-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(107, 18, 18, 0.08);
  border-radius: 16px;
  background: #fff;
  padding: 0 16px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.jobs-search-shell__field input:focus,
.jobs-inline-field select:focus {
  border-color: rgba(107, 18, 18, 0.35);
  box-shadow: 0 0 0 4px rgba(107, 18, 18, 0.08);
}

.jobs-stage__quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.jobs-quick-pill {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.jobs-quick-pill.is-active {
  color: #412116;
  background: #fff0cf;
  border-color: transparent;
}

.jobs-stage__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.jobs-stage__metric {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.jobs-stage__metric strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 4px;
}

.jobs-stage__metric span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.jobs-stage__promo {
  position: relative;
}

.course-promo,
.job-side-card,
.job-panel,
.jobs-empty-state,
.jobs-inline-promo {
  border-radius: var(--jobs-radius-lg);
  border: 1px solid var(--jobs-border);
  box-shadow: var(--jobs-shadow);
}

.course-promo {
  overflow: hidden;
}

.course-promo--hero,
.course-promo--side,
.course-callout {
  background:
    radial-gradient(circle at 85% 16%, rgba(255, 255, 255, 0.68), transparent 22%),
    linear-gradient(135deg, #fff9ef 0%, #fff3dc 46%, #fef8ed 100%);
}

.course-promo--hero {
  padding: 16px;
}

.course-promo__art {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(107, 18, 18, 0.06);
}

.course-promo__copy {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.course-promo__eyebrow,
.jobs-section-label,
.job-detail-kicker,
.signal-card__label {
  color: var(--crimson-dark);
}

.course-promo__copy h2,
.course-callout__copy h2,
.job-side-card h2,
.job-panel h2 {
  font-size: clamp(1.08rem, 1.8vw, 1.48rem);
  line-height: 1.02;
  color: #24171b;
}

.course-promo__copy p,
.course-callout__copy p,
.job-panel p,
.job-side-card p {
  color: var(--ink-mid);
}

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

.course-promo__bullets li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-mid);
  font-size: 14px;
}

.course-promo__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7a1c1c, #c9a84c);
}

.course-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-promo__text-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--crimson-dark);
}

.jobs-board {
  padding: 20px 0 0;
}

.jobs-board__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.jobs-board__title h2 {
  margin: 6px 0 6px;
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
}

.jobs-board__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.jobs-inline-field {
  min-width: 170px;
  display: grid;
  gap: 8px;
}

.jobs-reset-inline {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: #fff6f2;
  color: var(--crimson-dark);
  border: 1px solid rgba(107, 18, 18, 0.1);
  font-weight: 800;
}

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

.job-card,
.jobs-inline-promo {
  min-height: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
}

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

.job-card__brand {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.company-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(107, 18, 18, 0.08);
  background: linear-gradient(180deg, #fff, #f8f1eb);
  overflow: hidden;
  flex: 0 0 72px;
  box-shadow: 0 14px 24px rgba(50, 20, 12, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.company-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.company-mark--fallback span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.tone-alpha {
  background: linear-gradient(135deg, #fff6f1, #f5efe8);
  color: #7c2222;
}

.tone-beta {
  background: linear-gradient(135deg, #faf1ee, #f6ece8);
  color: #7c2222;
}

.tone-gamma {
  background: linear-gradient(135deg, #f3fff7, #eef9f4);
  color: #21603a;
}

.tone-delta {
  background: linear-gradient(135deg, #fff9ee, #faf2df);
  color: #7a5611;
}

.job-card__topline,
.job-card__meta,
.job-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-card__track,
.job-card__date,
.job-chip,
.job-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.job-card__track {
  background: rgba(201, 168, 76, 0.14);
  color: #7a5611;
}

.job-card__date {
  background: #fff7e6;
  color: #7a5611;
}

.job-card__title {
  color: #1f1820;
  font-size: 1.02rem;
  line-height: 1.22;
  font-weight: 800;
}

.job-card__company {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.job-card__chips,
.job-detail-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-chip,
.job-badge {
  background: #fff7f2;
  border: 1px solid rgba(107, 18, 18, 0.08);
  color: var(--ink-mid);
}

.job-badge {
  background: rgba(201, 168, 76, 0.12);
  color: #7a5611;
  border-color: rgba(201, 168, 76, 0.12);
}

.job-card__summary {
  color: var(--ink-mid);
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card__meta {
  color: var(--muted);
  font-size: 11px;
}

.job-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.job-card__actions .btn {
  width: 100%;
  min-height: 40px;
  font-size: 13px;
}

.jobs-inline-promo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(99, 36, 214, 0.08), transparent 18%),
    linear-gradient(135deg, #edf5ff 0%, #f5f9ff 35%, #fff8eb 100%);
}

.jobs-inline-promo__art {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(107, 18, 18, 0.06);
  background: rgba(255, 255, 255, 0.7);
}

.jobs-inline-promo__copy {
  display: grid;
  gap: 10px;
}

.jobs-inline-promo__copy h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.9rem);
  line-height: 1.08;
}

.jobs-inline-promo__actions {
  display: grid;
  gap: 10px;
}

.jobs-empty-state {
  margin-bottom: 18px;
  padding: 24px;
  background: #fffdfa;
}

.jobs-empty-state--error {
  background: #fff3f3;
}

.jobs-board__bottom {
  display: flex;
  justify-content: center;
  padding: 24px 0 0;
}

.job-hero {
  position: relative;
  overflow: hidden;
  padding: 8px 0 8px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(145deg, #241616 0%, #361818 42%, #4a0c0c 100%);
}

.job-hero__glow {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -56px;
  background: rgba(201, 168, 76, 0.14);
}

.job-detail-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: #f9e4af;
  font-size: 13px;
  font-weight: 800;
}

.job-hero__grid,
.job-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.job-hero__main {
  padding: 12px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 34px rgba(8, 8, 14, 0.14);
}

.company-mark--hero {
  width: 52px;
  height: 52px;
  margin: 2px 0 8px;
  border-radius: 14px;
}

.job-hero__main h1 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.06;
  margin-bottom: 4px;
}

.job-hero__main p {
  color: var(--muted);
  font-size: 0.94rem;
}

.job-hero__meta {
  margin-top: 10px;
}

.job-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.job-layout {
  padding: 8px 0 0;
}

.job-layout__main,
.job-layout__side {
  display: grid;
  gap: 12px;
  align-self: start;
}

.job-panel,
.job-side-card,
.course-callout {
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
}

.job-panel__head,
.job-side-card {
  display: grid;
  gap: 8px;
}

.job-panel__head {
  margin-bottom: 8px;
}

.job-detail-description {
  display: grid;
  gap: 10px;
}

.job-detail-description p {
  margin: 0;
  color: var(--ink-mid);
  line-height: 1.65;
  font-size: 0.96rem;
}

.job-description-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-description-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff7ef;
  border: 1px solid rgba(107, 18, 18, 0.08);
  color: #5d3131;
  font-size: 0.84rem;
  font-weight: 700;
}

.job-faq-list {
  display: grid;
  gap: 8px;
}

.job-faq-item {
  border-radius: 14px;
  border: 1px solid rgba(107, 18, 18, 0.08);
  background: #fffaf7;
  overflow: hidden;
}

.job-faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 14px 42px 14px 14px;
  font-weight: 800;
  color: #25162a;
  font-size: 0.95rem;
}

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

.job-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--crimson-dark);
  font-size: 18px;
  line-height: 1;
}

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

.job-faq-item__body {
  padding: 0 14px 14px;
}

.job-detail-apply,
.job-copy-button--full {
  width: 100%;
}

.job-mobile-bar,
.jobs-mobile-course-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 80;
  display: none;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(50, 16, 16, 0.94);
  box-shadow: 0 18px 36px rgba(14, 11, 18, 0.24);
  backdrop-filter: blur(10px);
}

.jobs-mobile-course-bar {
  align-items: center;
  justify-content: space-between;
}

.jobs-mobile-course-bar strong,
.job-mobile-bar a {
  color: #fff;
}

.jobs-mobile-course-bar span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.jobs-mobile-course-bar a,
.job-mobile-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex: 1 1 0;
}

@media (max-width: 1120px) {
  .jobs-stage__inner,
  .job-hero__grid,
  .job-layout__grid,
  .course-callout,
  .jobs-inline-promo {
    grid-template-columns: 1fr;
  }

  .job-layout__side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .jobs-board__header {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-board__toolbar {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .jobs-page {
    --jobs-shell: min(100vw - 24px, 100%);
    padding-bottom: 136px;
  }

  .jobs-stage {
    padding: 20px 0 16px;
  }

  .jobs-stage h1,
  .job-hero__main h1 {
    max-width: none;
  }

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

  .jobs-stage__metrics,
  .job-layout__side,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .jobs-inline-field {
    min-width: 0;
    flex: 1 1 100%;
  }

  .jobs-stage__metric,
  .job-hero__main,
  .course-promo--hero,
  .course-promo--side,
  .job-panel,
  .job-side-card,
  .course-callout,
  .job-card,
  .jobs-inline-promo {
    border-radius: 24px;
  }

  .job-card__actions,
  .job-hero__actions,
  .course-promo__actions {
    flex-direction: column;
  }

  .jobs-mobile-course-bar,
  .job-mobile-bar {
    display: flex;
  }

  .job-mobile-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Simple index board */
.jobs-page--index {
  padding-bottom: 72px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefe 100%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jobs-hero-simple {
  padding: 36px 0 18px;
  background:
    radial-gradient(circle at 16% 10%, rgba(201, 168, 76, 0.12), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(201, 168, 76, 0.08), transparent 18%),
    linear-gradient(180deg, #fffdf9 0%, #fff8f2 100%);
}

.jobs-hero-simple__inner,
.jobs-stat-strip__inner {
  width: var(--jobs-shell);
  margin: 0 auto;
}

.jobs-hero-simple__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 28px;
  align-items: center;
}

.jobs-hero-simple__copy h1 {
  margin: 12px 0 16px;
  max-width: 11ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #231715;
}

.jobs-hero-simple__copy h1 span {
  color: var(--crimson);
}

.jobs-hero-simple__copy p {
  max-width: 54ch;
  font-size: 1rem;
  color: var(--ink-mid);
}

.jobs-hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 22px;
}

.jobs-hero-search__field input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(107, 18, 18, 0.12);
  background: rgba(255, 255, 255, 0.98);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  box-shadow: 0 10px 22px rgba(50, 20, 12, 0.04);
}

.jobs-hero-search__field input:focus {
  border-color: rgba(107, 18, 18, 0.34);
  box-shadow: 0 0 0 4px rgba(107, 18, 18, 0.08);
}

.jobs-chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.jobs-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(107, 18, 18, 0.1);
  color: var(--ink-mid);
  font-size: 13px;
  font-weight: 700;
}

.jobs-chip.is-active,
.jobs-chip:hover {
  color: var(--crimson-dark);
  border-color: rgba(107, 18, 18, 0.18);
  background: #fff7ef;
}

.jobs-hero-simple__art {
  position: relative;
}

.jobs-hero-simple__art img {
  width: 100%;
  border-radius: 32px;
}

.jobs-stat-strip {
  padding: 10px 0 12px;
  background: linear-gradient(180deg, #fff8f2 0%, #fff 100%);
}

.jobs-stat-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.jobs-stat-tile {
  padding: 18px 22px;
  border-radius: 22px;
  border: 1px solid rgba(107, 18, 18, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 26px rgba(50, 20, 12, 0.04);
}

.jobs-stat-tile strong {
  display: block;
  margin-bottom: 4px;
  color: #221717;
  font-size: 1.9rem;
  line-height: 1;
}

.jobs-stat-tile span {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.jobs-page--index .jobs-board {
  padding: 22px 0 0;
}

.jobs-page--index .jobs-board__header {
  display: block;
  margin-bottom: 24px;
}

.jobs-page--index .jobs-board__title h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.jobs-page--index .jobs-board__title p {
  color: var(--muted);
  font-size: 1rem;
}

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

.jobs-page--index .job-card {
  min-height: 276px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(107, 18, 18, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(50, 20, 12, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jobs-page--index .job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(50, 20, 12, 0.08);
}

.jobs-page--index .job-card__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.jobs-page--index .company-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  flex: 0 0 72px;
}

.jobs-page--index .company-mark--fallback span {
  font-size: 20px;
}

.jobs-page--index .job-card__company {
  color: #1f1820;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.jobs-page--index .job-card__body {
  display: grid;
  gap: 18px;
}

.jobs-page--index .job-card__title {
  font-size: 1.05rem;
  line-height: 1.32;
}

.jobs-page--index .job-card__location {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.jobs-page--index .job-card__location::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 1.6px solid var(--muted);
  border-radius: 999px;
}

.jobs-page--index .job-card__location::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 9.5px;
  width: 4px;
  height: 4px;
  background: var(--muted);
  border-radius: 999px;
}

.jobs-inline-banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 26%, rgba(201, 168, 76, 0.16), transparent 18%),
    linear-gradient(135deg, #fff5e9 0%, #fffaf5 52%, #fff2de 100%);
  border: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow: 0 14px 30px rgba(50, 20, 12, 0.06);
}

.jobs-inline-banner__art {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.jobs-inline-banner__art img {
  width: 100%;
  display: block;
}

.jobs-inline-banner__copy h3 {
  margin: 8px 0 8px;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.08;
}

.jobs-inline-banner__copy p {
  color: var(--ink-mid);
  font-size: 0.96rem;
}

.jobs-inline-banner__meta {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.jobs-inline-banner__meta strong {
  color: var(--crimson-dark);
  font-size: 1rem;
  text-align: right;
}

@media (max-width: 1120px) {
  .jobs-hero-simple__inner {
    grid-template-columns: 1fr;
  }

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

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

  .jobs-inline-banner {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .jobs-inline-banner__meta {
    grid-column: 1 / -1;
    justify-items: start;
  }
}

@media (max-width: 780px) {
  .jobs-page--index {
    padding-bottom: 48px;
  }

  .jobs-hero-simple {
    padding: 24px 0 14px;
  }

  .jobs-hero-simple__copy h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .jobs-stat-strip__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .jobs-page--index .jobs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .jobs-page--index .job-card {
    min-height: 220px;
    padding: 18px;
  }

  .jobs-page--index .company-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .jobs-inline-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .jobs-inline-banner__meta,
  .jobs-inline-banner__meta strong {
    justify-items: start;
    text-align: left;
  }
}

/* Index refinement pass */
.jobs-stat-strip {
  display: none;
}

.jobs-page--index .jobs-hero-simple {
  padding: 14px 0 8px;
  background: #ffffff;
}

.jobs-page--index .jobs-hero-simple__inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 430px);
  gap: 12px;
  align-items: center;
}

.jobs-page--index .jobs-hero-simple__copy h1 {
  max-width: 8ch;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  line-height: 0.98;
  margin: 8px 0 10px;
}

.jobs-page--index .jobs-hero-simple__copy p {
  max-width: 42ch;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.jobs-page--index .jobs-hero-simple__art {
  display: flex;
  justify-content: flex-end;
}

.jobs-page--index .jobs-hero-simple__art img {
  max-width: 320px;
}

.jobs-page--index .jobs-chip-bar {
  margin-top: 10px;
}

.jobs-page--index .jobs-board {
  padding-top: 6px;
}

.jobs-page--index .jobs-board__title h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
}

.jobs-page--index .job-card {
  min-height: 274px;
  padding: 18px 18px 16px;
  gap: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(50, 20, 12, 0.04);
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
}

.jobs-page--index .job-card__top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.jobs-page--index .company-mark {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border-radius: 14px;
  box-shadow: none;
}

.jobs-page--index .company-mark--fallback {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.9), transparent 34%),
    linear-gradient(180deg, #fffaf6 0%, #f9eee4 100%);
  color: #8b5a2b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.jobs-page--index .company-mark__briefcase {
  font-size: 18px;
  line-height: 1;
}

.jobs-page--index .job-card__head {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.jobs-page--index .job-card__company {
  font-size: 0.92rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jobs-page--index .job-card__time {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.jobs-page--index .job-card__title {
  min-height: 2.8em;
  font-size: 1.04rem;
  line-height: 1.28;
}

.jobs-page--index .job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.jobs-page--index .job-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(107, 18, 18, 0.08);
  background: #fffdfb;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.jobs-page--index .job-card__info-row,
.jobs-page--index .job-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.jobs-page--index .job-card__meta-row {
  margin-top: auto;
  padding-top: 6px;
}

.jobs-page--index .job-card__location,
.jobs-page--index .job-card__experience,
.jobs-page--index .job-card__mode {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.jobs-page--index .job-card__location::before,
.jobs-page--index .job-card__experience::before,
.jobs-page--index .job-card__mode::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border: 1.4px solid var(--muted);
  border-radius: 999px;
}

.jobs-page--index .job-card__location::after,
.jobs-page--index .job-card__experience::after,
.jobs-page--index .job-card__mode::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--muted);
  border-radius: 999px;
}

.jobs-page--index .job-card__experience::before {
  border-radius: 4px;
}

.jobs-page--index .job-card__experience::after {
  left: 2.5px;
  top: 2.5px;
  width: 7px;
  height: 7px;
  background: transparent;
  border: 1.4px solid var(--muted);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 999px;
  transform: rotate(45deg);
}

.jobs-page--index .job-card__mode::before {
  border-radius: 3px;
}

.jobs-page--index .job-card__mode::after {
  width: 6px;
  height: 6px;
  left: 3px;
  top: 7px;
}

.jobs-page--index .jobs-inline-banner {
  margin: 4px 0 6px;
}

.jobs-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.jobs-page-button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(107, 18, 18, 0.12);
  background: #fff;
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 800;
}

.jobs-page-button.is-active,
.jobs-page-button:hover {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  border-color: transparent;
}

@media (max-width: 1120px) {
  .jobs-page--index .jobs-hero-simple__inner {
    grid-template-columns: 1fr;
  }

  .jobs-page--index .jobs-hero-simple__art {
    justify-content: center;
  }

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

@media (max-width: 780px) {
  .jobs-page--index .jobs-hero-simple__copy h1 {
    max-width: none;
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .jobs-page--index .jobs-hero-simple__art img {
    max-width: 260px;
  }

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