/* Jobs page — extends the shared staffing design system.
   Palette is the contrast-checked brand set used site-wide:
     navy #00274d · ink #36536a · mint #4dd5b0 · orange #ff6f31 */

.jobs-hero {
  padding: 90px max(24px, calc((100% - 1300px) / 2)) 70px;
  background: linear-gradient(160deg, #00274d 0%, #013a6b 100%);
  color: #fff;
}
.jobs-hero > span {
  font: 700 12px/1 'DM Sans', Arial, sans-serif;
  letter-spacing: 2px;
  color: #4dd5b0;
}
.jobs-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  margin: 20px 0 18px;
  max-width: 880px;
  color: #fff;
}
.jobs-hero > p {
  font-size: 19px;
  line-height: 1.7;
  max-width: 720px;
  color: #cfe3f0;
}
.jobs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.jobs-hero .staffing-button {
  background: #4dd5b0;
  color: #00274d !important;
  font-weight: 700;
}
.jobs-hero .staffing-button:hover { background: #6ee3c3; }
.jobs-button--ghost {
  display: inline-block;
  padding: 16px 28px;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 5px;
  color: #fff !important;
  font: 600 16px/1 'DM Sans', Arial, sans-serif;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.jobs-button--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }

/* Hero fact strip */
.jobs-hero__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 48px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.jobs-hero__facts li { display: grid; gap: 6px; }
.jobs-hero__facts strong {
  font: 700 16px/1.3 'DM Sans', Arial, sans-serif;
  color: #4dd5b0;
}
.jobs-hero__facts span { font-size: 15px; line-height: 1.6; color: #cfe3f0; }

/* Job board */
.jobs-board {
  max-width: 1300px;
  margin: 0 auto;
  padding: 72px 24px 8px;
}
.jobs-label {
  display: block;
  font: 700 12px/1 'DM Sans', Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  /* #b3491a = 5.41:1 on white, 4.89:1 on the #edf5f5 alt section.
     The brand orange (#ff6f31) is only 2.77:1 on white — fine on navy, not
     on a light background, so it is not used for text here. */
  color: #b3491a;
  margin-bottom: 14px;
}
.jobs-board__head h2,
.jobs-section h2,
.jobs-cta h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  color: #00274d;
  margin: 0 0 14px;
}
.jobs-board__head p,
.jobs-section__lede {
  font-size: 18px;
  line-height: 1.7;
  color: #36536a;
  max-width: 760px;
}

.jobs-board__panel {
  margin-top: 32px;
  padding: 40px;
  background: #fff;
  border: 2px dashed #a6b4bf;
  border-radius: 10px;
}
.jobs-board__status {
  font: 700 15px/1 'DM Sans', Arial, sans-serif;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #b3491a;
  margin: 0 0 14px;
}
.jobs-board__status::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: #ff6f31;
  vertical-align: middle;
}
.jobs-board__note {
  font-size: 17px;
  line-height: 1.75;
  color: #36536a;
  max-width: 760px;
  margin: 0 0 22px;
}
.jobs-board__checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.jobs-board__checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.6;
  color: #00274d;
}
.jobs-board__checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 2px solid #a6b4bf;
  border-radius: 4px;
}
.jobs-board__cta { margin: 0; }

/* Sections */
.jobs-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 72px 24px 8px;
}
.jobs-section--alt {
  max-width: none;
  background: #edf5f5;
  margin-top: 72px;
  padding-bottom: 72px;
}
.jobs-section--alt > * { max-width: 1300px; margin-left: auto; margin-right: auto; }

/* Role cards */
.jobs-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}
.jobs-role {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid #d8e2e7;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.jobs-role:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 39, 77, .10);
  border-color: #4dd5b0;
}
.jobs-role h3 {
  font: 700 20px/1.3 'DM Sans', Arial, sans-serif;
  color: #00274d;
  margin: 0 0 12px;
}
.jobs-role p {
  font-size: 16px;
  line-height: 1.65;
  color: #36536a;
  margin: 0;
}
.jobs-role__meta {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid #e6eef2;
  font-size: 14px !important;
  color: #5a6b7a !important;
}

/* Steps */
.jobs-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 38px 0 0;
  padding: 0;
}
.jobs-step { position: relative; }
.jobs-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #00274d;
  color: #fff;
  font: 700 18px/1 'DM Sans', Arial, sans-serif;
}
.jobs-step h3 {
  font: 700 18px/1.3 'DM Sans', Arial, sans-serif;
  color: #00274d;
  margin: 0 0 10px;
}
.jobs-step p {
  font-size: 15px;
  line-height: 1.65;
  color: #36536a;
  margin: 0;
}

/* Support cards */
.jobs-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}
.jobs-support {
  display: block;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid #d8e2e7;
  border-left: 4px solid #ff6f31;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.jobs-support:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 39, 77, .10);
}
.jobs-support h3 {
  font: 700 19px/1.3 'DM Sans', Arial, sans-serif;
  color: #00274d;
  margin: 0 0 10px;
}
.jobs-support p {
  font-size: 16px;
  line-height: 1.65;
  color: #36536a;
  margin: 0 0 16px;
}
.jobs-support__more {
  font: 700 15px/1 'DM Sans', Arial, sans-serif;
  color: #b3491a;
}

/* Closing CTA */
.jobs-cta {
  max-width: 1300px;
  margin: 72px auto 0;
  padding: 56px 40px;
  background: #00274d;
  border-radius: 12px;
  text-align: center;
}
.jobs-cta h2 { color: #fff; }
.jobs-cta p {
  font-size: 18px;
  line-height: 1.7;
  color: #cfe3f0;
  max-width: 680px;
  margin: 0 auto;
}
.jobs-cta .jobs-hero__actions { justify-content: center; }

/* Focus visibility for the new interactive elements */
.jobs-support:focus-visible,
.jobs-button--ghost:focus-visible {
  outline: 3px solid #4dd5b0;
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .jobs-roles, .jobs-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jobs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .jobs-hero { padding: 56px 20px 48px; }
  .jobs-hero__facts { grid-template-columns: 1fr; gap: 18px; margin-top: 34px; }
  .jobs-hero__actions { flex-direction: column; align-items: stretch; }
  .jobs-hero__actions a { text-align: center; }
  .jobs-board, .jobs-section { padding-left: 20px; padding-right: 20px; }
  .jobs-board { padding-top: 52px; }
  .jobs-board__panel { padding: 26px 22px; }
  .jobs-roles, .jobs-support-grid, .jobs-steps { grid-template-columns: 1fr; }
  .jobs-section--alt { padding-bottom: 52px; margin-top: 52px; }
  .jobs-cta { margin: 52px 20px 0; padding: 40px 24px; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .jobs-role, .jobs-support, .jobs-button--ghost { transition: none !important; }
  .jobs-role:hover, .jobs-support:hover { transform: none; }
}

/* Live openings rendered from the workforce portal feed */
.jobs-board__panel { border-style: solid; border-color: #d6e3e9; }
.jobs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.job-card {
  padding: 24px 26px;
  border: 1px solid #d6e3e9;
  border-radius: 12px;
  background: #fbfdfe;
  display: grid;
  gap: 10px;
  align-content: start;
}
.job-card__title { margin: 0; font-size: 22px; line-height: 1.3; }
.job-card__title a { color: #00274d; text-decoration: none; }
.job-card__title a:hover { color: #005c74; text-decoration: underline; text-underline-offset: 4px; }
.job-card__meta { margin: 0; font-size: 14px; line-height: 1.6; color: #36536a; }
.job-card__desc { margin: 0; font-size: 16px; line-height: 1.75; color: #36536a; }
.job-card .staffing-button { justify-self: start; }
.jobs-board__cta { margin: 26px 0 0; text-align: center; }
@media (max-width: 767px) { .job-card { padding: 20px; } }
.jobs-board__signin { margin: 0 0 22px; font-size: 15px; line-height: 1.7; color: #36536a; }
.jobs-board__signin a { color: #005c74; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.jobs-board__signin a:hover { color: #00274d; }
