.job-detail-page {
  background: #f6f8f9;
  overflow-x: hidden;
}

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

.job-detail-hero {
  padding: 36px 0 56px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 5%, rgba(254, 189, 43, .14), transparent 28%),
    var(--navy);
}

.job-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 43px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 700;
}

.job-back:hover {
  color: #fff;
  text-decoration: none;
}

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

.job-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: end;
}

.job-detail-kicker,
.job-apply-card__eyebrow {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.job-detail-kicker {
  color: var(--gold);
}

.job-detail-hero h1 {
  max-width: 780px;
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.052em;
  overflow-wrap: anywhere;
  word-break: normal;
}

.job-detail-hero__grid > div,
.job-detail-layout > *,
.job-content-section > div {
  min-width: 0;
}

.job-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 25px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.job-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.job-detail-meta svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.job-detail-hero__aside {
  min-width: 235px;
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}

.job-detail-salary {
  margin-bottom: 18px;
}

.job-detail-salary span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.job-detail-salary strong {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.job-detail-apply-link {
  display: inline-flex;
  padding: 12px 17px;
  border-radius: 7px;
  color: #171100;
  font-size: 13px;
  font-weight: 800;
  background: var(--gold);
}

.job-detail-apply-link:hover {
  color: #171100;
  text-decoration: none;
  filter: brightness(.96);
}

.job-detail-body {
  padding: 64px 0 85px;
}

.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
  gap: clamp(44px, 6vw, 82px);
  align-items: start;
}

.job-detail-content {
  min-width: 0;
}

.job-content-section {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid rgba(1, 40, 71, .13);
}

.job-content-section:last-child {
  margin-bottom: 0;
}

.job-content-section__number {
  padding-top: 5px;
  color: rgba(1, 40, 71, .28);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.job-content-section h2 {
  margin: 0 0 18px;
  color: #071d2e;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.job-content-section .job-text {
  color: #435967;
  font-size: 14px;
  line-height: 1.85;
}

.job-content-section .job-text strong {
  color: #172c3b;
}

.job-content-section--benefits {
  padding: 28px 30px 30px;
  border: 1px solid rgba(1, 40, 71, .1);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: #fff;
}

.job-apply-column {
  scroll-margin-top: 110px;
}

.job-apply-card {
  position: sticky;
  top: 105px;
  padding: 30px;
  border: 1px solid rgba(1, 40, 71, .13);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(1, 40, 71, .07);
}

.job-apply-card__eyebrow {
  color: #9a6800;
}

.job-apply-card h2 {
  margin: 0 0 7px;
  color: #071d2e;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.job-apply-card__lead {
  margin: 0 0 24px;
  color: #71818c;
  font-size: 12px;
  line-height: 1.5;
}

.job-apply-card .form-group {
  margin-bottom: 17px;
}

.job-apply-card .form-group > label {
  margin-bottom: 7px;
  color: #263c4b;
  font-size: 12px;
  font-weight: 700;
}

.job-apply-card label span {
  color: #9a6800;
}

.job-apply-card label small {
  color: #8997a0;
  font-size: 10px;
  font-weight: 600;
}

.job-apply-card .form-control {
  height: 44px;
  border-color: #cad5db;
  border-radius: 7px;
  color: #172c3b;
  font-size: 13px;
  background: #fff;
}

.job-apply-card textarea.form-control {
  min-height: 108px;
  height: auto;
  line-height: 1.5;
  resize: vertical;
}

.job-apply-card input[type="file"] {
  height: auto;
  min-height: 44px;
  padding: 7px;
}

.job-apply-card .form-control:focus {
  border-color: #7e939f;
  box-shadow: 0 0 0 3px rgba(1, 40, 71, .08);
}

.job-field-note,
.job-form-note {
  display: block;
  margin-top: 6px;
  color: #85939c;
  font-size: 10px;
  line-height: 1.45;
}

.job-rodo {
  padding-left: 1.45rem;
}

.job-rodo .form-check-label {
  color: #647681 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.job-rodo a {
  color: var(--navy);
  font-weight: 700;
}

.job-submit {
  min-height: 46px;
  border-radius: 7px;
  font-size: 13px;
}

.job-form-error,
.job-form-success {
  margin-bottom: 22px;
  padding: 15px 16px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.55;
}

.job-form-error {
  border: 1px solid #ecc98e;
  color: #714b08;
  background: #fff8e9;
}

.job-form-success {
  border: 1px solid #9dcdb1;
  color: #185a33;
  background: #eef9f2;
}

.job-form-error strong,
.job-form-success strong {
  display: block;
  margin-bottom: 4px;
}

.job-form-success p {
  margin: 4px 0 12px;
}

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

@media (max-width: 991px) {
  .job-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 350px);
    gap: 35px;
  }

  .job-apply-card {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .job-detail-hero {
    padding: 28px 0 42px;
  }

  .job-back {
    margin-bottom: 34px;
  }

  .job-detail-hero__grid,
  .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .job-detail-hero__grid {
    gap: 30px;
  }

  .job-detail-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.02;
    letter-spacing: -.045em;
  }

  .job-detail-meta span {
    min-width: 0;
  }

  .job-detail-hero__aside {
    min-width: 0;
    padding-left: 18px;
  }

  .job-detail-body {
    padding: 48px 0 64px;
  }

  .job-content-section {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 34px;
    margin-bottom: 34px;
  }

  .job-content-section__number {
    font-size: 11px;
  }

  .job-content-section--benefits {
    padding: 24px;
  }

  .job-apply-card {
    position: static;
  }

  .job-apply-card__lead,
  .job-content-section h2,
  .job-content-section .job-text {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-detail-apply-link {
    scroll-behavior: auto;
  }
}
