/* Recruitment vacancies: scoped to the ORBAT projection, independent of the page builder. */
.tfl-vacancies {
  --tfl-vacancy-line: rgba(186, 207, 193, .22);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 8px 12px;
  margin: 24px 0 8px;
  color: #f3f7f5;
  text-align: left;
}
.tfl-vacancies .tfl-vacancies__unit {
  min-width: 0;
  padding: 14px 20px;
  border: 1px solid var(--tfl-vacancy-line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .035);
  overflow-wrap: anywhere;
}
.tfl-vacancies .tfl-vacancies__unit.is-open { border-left: 3px solid #9acbb0; }
.tfl-vacancies .tfl-vacancies__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.tfl-vacancies .tfl-vacancies__head h3 {
  margin: 0 0 4px;
  color: #f3f7f5;
  font-family: "Barlow Condensed", "Oswald", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tfl-vacancies .tfl-vacancies__head p { margin: 0; color: #bbc8c1; font-size: 13px; line-height: 1.5; }
.tfl-vacancies .tfl-vacancies__status {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid var(--tfl-vacancy-line);
  border-radius: 3px;
  color: #c1c9c5;
  font: 600 11px/1.5 "Montserrat", Arial, sans-serif;
  letter-spacing: .08em;
}
.tfl-vacancies .is-open .tfl-vacancies__status { background: #23382b; border-color: #5e876c; color: #c3edd2; }
.tfl-vacancies ul.tfl-vacancies__roles { margin: 14px 0 0; padding: 0; list-style: none; }
.tfl-vacancies .tfl-vacancies__roles li {
  display: flex; justify-content: space-between; align-items: start; gap: 10px;
  margin: 0; padding: 12px 0 0; border-top: 1px solid var(--tfl-vacancy-line);
  color: #f3f7f5; font-size: 14px; line-height: 1.5;
}
.tfl-vacancies .tfl-vacancies__roles li + li { margin-top: 12px; }
.tfl-vacancies .tfl-vacancies__details { display: block; margin-top: 4px; color: #bbc8c1; font-size: 12px; }
.tfl-vacancies .tfl-vacancies__count { flex-shrink: 0; color: #c3edd2; font-size: 12px; }
.tfl-vacancies--unavailable { display: block; padding: 18px; border: 1px solid var(--tfl-vacancy-line); }
.tfl-vacancies--unavailable p { margin: 0; color: #e5d7ad; }
@media (max-width: 640px) {
  .tfl-vacancies { grid-template-columns: minmax(0, 1fr); }
  .tfl-vacancies .tfl-vacancies__unit { padding: 14px 16px; }
  .tfl-vacancies .tfl-vacancies__roles li { flex-wrap: wrap; }
}

/* Keep the pipeline callout in the Legion palette and tighten its handoff to the process section. */
body.page-id-153 .rp-linkline a,
body.page-id-153 .rp-footer-note a {
  color: #9acbb0 !important;
}
body.page-id-153 .rp-footer-note .column_attr,
body.page-id-153 .column.rp-footer-note .column_attr,
body.page-id-153 .rp-footer-note.column_attr {
  margin-top: 12px !important;
  padding: 10px 14px !important;
  border-left-color: rgba(154, 203, 176, .48) !important;
  background: linear-gradient(90deg, rgba(62, 112, 78, .14), rgba(62, 112, 78, .02)), rgba(11, 17, 22, .22) !important;
}
body.page-id-153 section.mcb-section:has(.tfl-vacancies) + section.mcb-section .rp-section-title { margin-top: 28px !important; }

/* Separate the overview, openings, process, and application sections without splitting the phases. */
body.page-id-153 .mfn-builder-content > section.mcb-section:not(.no_content) + section.mcb-section:not(.no_content) > .section_wrapper::before {
  content: "";
  display: block;
  width: calc(100% - 24px);
  max-width: 1036px;
  height: 1px;
  margin: 0 auto;
  background: rgba(154, 203, 176, .24);
  pointer-events: none;
}
