.jobs-page {
  background: #f6f8f9;
}

.jobs-container {
  max-width: 1450px !important;
}

.jobs-intro {
  padding: 70px 0 42px;
}

.jobs-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
}

.jobs-kicker {
  margin-bottom: 12px;
  color: #9a6800;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.jobs-intro h1 {
  margin: 0 0 16px;
  color: #071d2e;
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.jobs-intro p {
  max-width: 670px;
  margin: 0;
  color: #667985;
  font-size: 16px;
  line-height: 1.75;
}

.jobs-count {
  min-width: 155px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  color: #71818c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jobs-count strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.jobs-results {
  padding: 20px 0 76px;
}

.jobs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(1, 40, 71, .13);
}

.jobs-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(1, 40, 71, .17);
  border-radius: 999px;
  color: #334d60;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, .7);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.jobs-filter span {
  display: grid;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  color: #6a7a85;
  font-size: 10px;
  background: rgba(1, 40, 71, .08);
}

.jobs-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(1, 40, 71, .34);
  color: var(--navy);
  text-decoration: none;
  background: #fff;
}

.jobs-filter.is-active {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.jobs-filter.is-active span {
  color: var(--navy);
  background: var(--gold);
}

.jobs-list {
  display: grid;
  gap: 13px;
}

.job-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto) auto;
  gap: 34px;
  align-items: center;
  padding: 25px 26px;
  border: 1px solid rgba(1, 40, 71, .13);
  border-radius: 15px;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.job-row:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 40, 71, .28);
  box-shadow: 0 12px 30px rgba(1, 40, 71, .07);
}

.job-row__main h2 {
  margin: 0 0 11px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.job-row__main h2 a {
  color: #071d2e;
}

.job-row__main h2 a:hover {
  color: var(--navy);
  text-decoration: none;
}

.job-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #6b7c87;
  font-size: 13px;
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.job-meta-item svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #8b650e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.job-row__salary {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  text-align: right;
}

.job-row__salary span {
  display: block;
  margin-bottom: 3px;
  color: #7a8993;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.job-row__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 17px;
  border-radius: 7px;
  color: #171100;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  background: var(--gold);
  transition: filter .2s ease, transform .2s ease;
}

.job-row__action:hover {
  transform: translateX(2px);
  color: #171100;
  text-decoration: none;
  filter: brightness(.96);
}

.job-row__action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.jobs-empty {
  padding: 55px 24px;
  border: 1px dashed rgba(1, 40, 71, .22);
  border-radius: 15px;
  text-align: center;
  background: #fff;
}

.jobs-empty h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
}

.jobs-empty p {
  margin: 0 0 20px;
  color: #6b7c87;
}

.jobs-contact {
  padding: 62px 0;
  color: #fff;
  background: var(--navy);
}

.jobs-contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.jobs-contact .jobs-kicker {
  color: rgba(255, 255, 255, .62);
}

.jobs-contact h2 {
  max-width: 690px;
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.jobs-contact .btn {
  flex: 0 0 auto;
  padding: 13px 19px;
}

.jobs-page + .site-footer {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .jobs-intro {
    padding: 46px 0 32px;
  }

  .jobs-intro__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jobs-intro h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .jobs-count {
    min-width: 0;
    padding-left: 0;
    border-left: 0;
  }

  .jobs-count strong {
    display: inline;
    margin-right: 7px;
    font-size: 24px;
  }

  .jobs-filters {
    flex-wrap: nowrap;
    margin-right: -15px;
    margin-left: -15px;
    padding-right: 15px;
    padding-left: 15px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .jobs-filters::-webkit-scrollbar {
    display: none;
  }

  .jobs-filter {
    flex: 0 0 auto;
  }

  .job-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 22px;
  }

  .job-row__salary {
    align-self: start;
  }

  .job-row__action {
    grid-column: 1 / -1;
  }

  .jobs-contact__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
}

@media (max-width: 460px) {
  .job-row {
    grid-template-columns: 1fr;
  }

  .job-row__salary {
    text-align: left;
  }

  .job-row__action {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-row,
  .job-row__action,
  .jobs-filter {
    transition: none;
  }
}
