
    :root {
      --brand: #ec3237;
      --brand-dark: #ba2529;
      --ink: #001a33;
      --muted: #7487a3;
      --line: #d9e1ec;
      --surface: #ffffff;
      --soft: #f7f7f8;
      --panel: #f1f1f2;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
    }
    .vacancies-shell a,
    .detail-title a,
    .detail a {
      color: inherit;
    }
    .vacancies-main {
      background: var(--soft);
      width: min(1110px, calc(100% - 32px));
      margin: 0 auto;
      padding: 30px 0 70px;
    }
    .vacancies-shell {
      background: var(--panel);
      border-radius: 24px;
      padding: 44px 22px 28px;
    }
    .vacancies-toolbar {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin: 0 0 16px;
    }
    .open-count {
      color: #8a99b2;
      font-size: 14px;
      padding-bottom: 8px;
    }
    .vacancies-controls {
      display: grid;
      grid-template-columns: 225px 180px 195px;
      gap: 12px;
    }
    .control label {
      color: #0c2747;
      display: block;
      font-size: 12px;
      line-height: 1.2;
      margin: 0 0 5px;
    }
    .control input,
    .control select {
      appearance: none;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      color: #0b1c33;
      font-size: 14px;
      height: 38px;
      outline: 0;
      padding: 0 14px;
      width: 100%;
    }
    .control.search input {
      padding-left: 34px;
    }
    .control.search {
      position: relative;
    }
    .control.search::after {
      content: "";
      border: 2px solid #9aa8bc;
      border-radius: 50%;
      height: 10px;
      left: 15px;
      position: absolute;
      top: 31px;
      width: 10px;
    }
    .control.search::before {
      content: "";
      background: #9aa8bc;
      height: 7px;
      left: 26px;
      position: absolute;
      top: 42px;
      transform: rotate(-45deg);
      width: 2px;
      z-index: 1;
    }
    .jobs {
      display: grid;
      gap: 16px;
    }
    .job-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 22px;
      padding: 28px 24px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--surface);
      box-shadow: 0 2px 4px rgba(24, 42, 61, 0.08);
    }
    .job-card h2 {
      margin: 0;
      color: #001a33;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: 0;
    }
    .job-card h2 a {
      text-decoration: none;
    }
    .job-card p {
      margin: 8px 0 12px;
      color: #365176;
      font-size: 14px;
      line-height: 1.45;
    }
    .job-meta {
      align-items: center;
      color: #8494ad;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 12px;
    }
    .job-meta span {
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .job-meta span::before {
      color: #9aa8bc;
      font-size: 14px;
      line-height: 1;
    }
    .job-meta .location::before { content: "⌖"; }
    .job-meta .closing::before { content: "□"; }
    .job-meta .posted::before { content: ""; display: none; }
    .pill {
      display: none;
    }
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 10px 20px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      background: #fff;
      color: #001a33;
      cursor: pointer;
      font: inherit;
      font-weight: 700;
      font-size: 14px;
      text-decoration: none;
      white-space: nowrap;
    }
    .button.secondary {
      background: #fff;
      color: #001a33;
    }
    .detail {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 290px;
      gap: 24px;
      align-items: start;
    }
    .panel {
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--surface);
      padding: 24px;
      box-shadow: 0 2px 4px rgba(24, 42, 61, 0.08);
    }
    .detail-title {
      background: var(--panel);
      border-radius: 24px;
      margin-bottom: 18px;
      padding: 28px;
    }
    .detail-title h1 {
      color: #001a33;
      font-size: 28px;
      line-height: 1.2;
      margin: 0 0 12px;
    }
    .detail-title .job-meta {
      font-size: 13px;
    }
    .description h2,
    .description h3,
    .description p {
      margin-top: 0;
    }
    .description p,
    .description li {
      color: #263645;
    }
    .facts {
      display: grid;
      gap: 14px;
      margin: 0 0 22px;
    }
    .fact dt {
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
    }
    .fact dd {
      margin: 2px 0 0;
      color: var(--ink);
      font-size: 15px;
    }
    .empty {
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--surface);
      padding: 30px;
    }
    /* Override the hosted helper's fixed card and iframe height limits. */
    body.formx-application-open { overflow: hidden; }
    [data-formx-apply-modal] {
      padding: 0 !important;
      align-items: stretch !important;
      overflow: hidden !important;
      height: 100%;
      height: 100dvh;
      overscroll-behavior: contain;
    }
    [data-formx-apply-modal] > div {
      display: flex;
      flex-direction: column;
      width: min(1110px, calc(100% - 32px)) !important;
      height: 100% !important;
      max-height: none !important;
      margin: 0 !important;
      border-radius: 0 !important;
      overflow: hidden !important;
    }
    [data-formx-apply-modal] > div > div:first-child {
      flex: 0 0 auto;
      padding-top: max(12px, env(safe-area-inset-top)) !important;
    }
    [data-formx-apply-modal] iframe[data-formx-apply-iframe] {
      flex: 1 1 0%;
      min-height: 0 !important;
      height: 0 !important;
      max-height: none !important;
      width: 100% !important;
      overflow: auto !important;
    }
    @media (max-width: 760px) {
      .vacancies-main {
        padding-top: 28px;
      }
      .vacancies-shell {
        padding: 22px 12px;
      }
      .vacancies-toolbar,
      .vacancies-controls {
        display: block;
      }
      .control {
        margin-top: 10px;
      }
      .job-card,
      .detail {
        grid-template-columns: 1fr;
      }
      .job-card {
        padding: 20px;
      }
      .button {
        width: 100%;
      }
    }

.jobs [hidden] { display: none !important; }
.vacancies-controls :focus-visible, .vacancies-main a:focus-visible { outline: 3px solid #ec3237; outline-offset: 3px; }
.vacancies-main .button { border-color: #ec3237; color: #ba2529; }
.vacancies-main .button:hover { background: #ec3237; color: white; }
.vacancies-main .description { overflow-wrap: anywhere; }

/* Match the angled dark section used on the Services page. */
.vacancies-listing-main,
.vacancies-detail-main {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: transparent;
  padding: 120px 0;
}
.vacancies-listing-main .vacancies-shell {
  position: relative;
  width: min(1110px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.vacancies-listing-main .section-title h1 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
}
.vacancies-listing-main .section-title h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 25px);
  width: 50px;
  height: 3px;
  background: #ec3237;
}
.vacancies-listing-main .control label,
.vacancies-listing-main .open-count { color: #fff; }
.vacancies-listing-main .empty { color: #444; }

.vacancy-detail-content {
  position: relative;
  width: min(1110px, calc(100% - 32px));
  margin: 0 auto;
}
.vacancies-detail-main .vacancy-back-link a { color: #fff; }
.vacancies-detail-main .vacancy-back-link a:hover { text-decoration: underline; }
.vacancies-detail-main .panel { color: var(--ink); }
