@import url("/wp-content/themes/mitech/assets/fonts/cerebrisans/cerebrisans.css");

:root {
  --pc-blue: #086ad8;
  --pc-blue-dark: #002fa6;
  --pc-navy: #071a2b;
  --pc-navy-soft: #102b42;
  --pc-gold: #e0a800;
  --pc-ink: #202b38;
  --pc-muted: #5e6976;
  --pc-line: #dfe6ee;
  --pc-surface: #f5f8fc;
  --pc-white: #ffffff;
  --pc-success: #17653a;
  --pc-danger: #a61b2b;
  --pc-shadow: 0 18px 48px rgba(7, 31, 56, 0.1);
  --pc-radius: 18px;
  --pc-container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.jobs-page {
  margin: 0;
  color: var(--pc-ink);
  background: var(--pc-white);
  font-family: "CerebriSans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.jobs-page img {
  max-width: 100%;
  height: auto;
}

.jobs-page a {
  color: var(--pc-blue-dark);
}

.jobs-page a:hover {
  color: var(--pc-blue);
}

.jobs-page button,
.jobs-page input,
.jobs-page select,
.jobs-page textarea {
  font: inherit;
}

.jobs-page button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.jobs-page :focus-visible {
  outline: 3px solid var(--pc-gold);
  outline-offset: 3px;
}

.jobs-container {
  width: min(calc(100% - 40px), var(--pc-container));
  margin-inline: auto;
}

.jobs-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--pc-blue-dark);
  background: var(--pc-white);
  border: 2px solid var(--pc-blue);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.jobs-skip-link:focus {
  transform: translateY(0);
}

.jobs-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(7, 31, 56, 0.08);
  box-shadow: 0 5px 24px rgba(28, 48, 71, 0.06);
  backdrop-filter: blur(14px);
}

.jobs-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.jobs-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.jobs-brand img {
  display: block;
  width: 160px;
  height: auto;
}

.jobs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jobs-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  color: #313b47;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.jobs-nav a:hover,
.jobs-nav a[aria-current="page"] {
  color: var(--pc-blue);
  background: #eef6ff;
}

.jobs-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  background: var(--pc-blue);
  border-radius: 2px;
}

.jobs-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--pc-navy);
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: 9px;
  cursor: pointer;
}

.jobs-menu-toggle span,
.jobs-menu-toggle::before,
.jobs-menu-toggle::after {
  content: "";
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.jobs-menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.jobs-menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.jobs-menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.jobs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--pc-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.jobs-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.jobs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(8, 106, 216, 0.18), transparent 28%),
    linear-gradient(135deg, #f7faff 0%, #eef5fd 54%, #f9fbfe 100%);
}

.jobs-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(8, 106, 216, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(8, 106, 216, 0.035), 0 0 0 140px rgba(8, 106, 216, 0.025);
}

.jobs-hero-inner {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 70px;
  padding-block: 88px;
}

.jobs-hero h1,
.job-detail-hero h1 {
  margin: 0;
  color: var(--pc-navy);
  font-size: clamp(42px, 5.2vw, 70px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.jobs-hero-copy > p:not(.jobs-eyebrow) {
  max-width: 650px;
  margin: 26px 0 0;
  color: #526170;
  font-size: 20px;
  line-height: 1.65;
}

.jobs-hero-actions,
.job-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.jobs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  color: var(--pc-white) !important;
  background: var(--pc-blue);
  border: 2px solid var(--pc-blue);
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(8, 106, 216, 0.2);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.jobs-button:hover {
  color: var(--pc-white);
  background: #075dbd;
  border-color: #075dbd;
  box-shadow: 0 14px 28px rgba(8, 106, 216, 0.28);
  transform: translateY(-1px);
}

.jobs-button--secondary {
  color: var(--pc-blue-dark) !important;
  background: transparent;
  border-color: #a7bfdc;
  box-shadow: none;
}

.jobs-button--secondary:hover {
  color: var(--pc-blue-dark) !important;
  background: var(--pc-white);
  border-color: var(--pc-blue);
  box-shadow: none;
}

.jobs-button--small {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 14px;
}

.jobs-arrow {
  font-size: 1.15em;
  transition: transform 0.2s ease;
}

.jobs-button:hover .jobs-arrow,
.job-card__link:hover .jobs-arrow {
  transform: translateX(3px);
}

.jobs-hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  color: var(--pc-white);
  background:
    linear-gradient(180deg, rgba(3, 18, 31, 0.1), rgba(3, 18, 31, 0.9)),
    url("/wp-content/uploads/2021/08/Precision-Wallpaper-1536x864.png") center/cover;
  border-radius: 24px;
  box-shadow: 0 28px 64px rgba(7, 26, 43, 0.24);
}

.jobs-hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 15px;
  pointer-events: none;
}

.jobs-hero-panel p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jobs-hero-panel strong {
  position: relative;
  display: block;
  max-width: 390px;
  margin-top: 8px;
  font-size: 27px;
  line-height: 1.25;
}

.jobs-section {
  padding-block: 92px;
}

.jobs-section--soft {
  background: var(--pc-surface);
}

.jobs-section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.jobs-section-heading h2 {
  margin: 0;
  color: var(--pc-navy);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.jobs-section-heading p {
  margin: 14px 0 0;
  color: var(--pc-muted);
  font-size: 18px;
}

.job-list {
  display: grid;
  gap: 24px;
}

.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 36px 38px;
  background: var(--pc-white);
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--pc-blue);
  border-radius: var(--pc-radius);
  box-shadow: 0 12px 36px rgba(25, 55, 85, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  box-shadow: var(--pc-shadow);
  transform: translateY(-2px);
}

.job-card__label {
  margin: 0 0 10px;
  color: var(--pc-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.job-card h3 {
  margin: 0;
  color: var(--pc-navy);
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.job-card__summary {
  max-width: 720px;
  margin: 13px 0 0;
  color: var(--pc-muted);
}

.job-card__meta,
.job-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.job-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  color: #33465a;
  background: #eef4fa;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.job-meta-pill svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.job-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: var(--pc-blue-dark);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.jobs-truth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.jobs-truth-card {
  padding: 28px;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: 14px;
}

.jobs-truth-card__number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--pc-blue-dark);
  background: #eaf3fe;
  border-radius: 10px;
  font-weight: 800;
}

.jobs-truth-card h3 {
  margin: 0 0 9px;
  color: var(--pc-navy);
  font-size: 20px;
}

.jobs-truth-card p {
  margin: 0;
  color: var(--pc-muted);
  font-size: 15px;
}

/* Job detail */
.job-detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--pc-white);
  background:
    linear-gradient(90deg, rgba(4, 21, 35, 0.98) 0%, rgba(6, 30, 48, 0.94) 54%, rgba(3, 20, 35, 0.79) 100%),
    url("/wp-content/uploads/2021/08/Precision-Wallpaper-1536x864.png") center/cover;
}

.job-detail-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -230px;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.job-detail-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  padding-block: 88px 102px;
}

.job-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.job-breadcrumbs a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.job-detail-hero .jobs-eyebrow {
  color: #77b8ff;
}

.job-detail-hero h1 {
  max-width: 860px;
  color: var(--pc-white);
  font-size: clamp(42px, 6vw, 72px);
}

.job-detail-hero__lead {
  max-width: 790px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.65;
}

.job-detail-hero .job-meta-pill {
  color: #eef7ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.job-detail-hero .jobs-button--secondary {
  color: var(--pc-white) !important;
  border-color: rgba(255, 255, 255, 0.42);
}

.job-detail-hero .jobs-button--secondary:hover {
  color: var(--pc-navy) !important;
  background: var(--pc-white);
  border-color: var(--pc-white);
}

.job-highlights {
  position: relative;
  z-index: 3;
  margin-top: -38px;
}

.job-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
}

.job-highlight {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: center;
  padding: 25px 28px;
}

.job-highlight + .job-highlight {
  border-left: 1px solid var(--pc-line);
}

.job-highlight__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--pc-blue);
  background: #edf5ff;
  border-radius: 12px;
}

.job-highlight__icon svg {
  width: 23px;
  height: 23px;
}

.job-highlight strong {
  display: block;
  color: var(--pc-navy);
  font-size: 17px;
  line-height: 1.3;
}

.job-highlight > span > span {
  display: block;
  margin-top: 4px;
  color: var(--pc-muted);
  font-size: 13px;
  line-height: 1.35;
}

.job-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 70px;
  align-items: start;
  padding-block: 94px;
}

.job-copy-section {
  scroll-margin-top: 112px;
}

.job-copy-section + .job-copy-section {
  margin-top: 66px;
  padding-top: 66px;
  border-top: 1px solid var(--pc-line);
}

.job-copy-section h2 {
  margin: 0 0 22px;
  color: var(--pc-navy);
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.job-copy-section h3 {
  margin: 28px 0 9px;
  color: var(--pc-navy);
  font-size: 20px;
}

.job-copy-section p {
  margin: 0 0 20px;
  color: #4d5c6a;
}

.job-list-checks {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-list-checks li {
  position: relative;
  padding-left: 31px;
  color: #42515f;
}

.job-list-checks li::before {
  content: "\2713";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--pc-blue-dark);
  background: #e9f3ff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.job-reality-note {
  margin: 34px 0;
  padding: 25px 27px;
  background: #fffaf0;
  border: 1px solid #f0dc9c;
  border-left: 4px solid var(--pc-gold);
  border-radius: 10px;
}

.job-reality-note strong {
  display: block;
  margin-bottom: 7px;
  color: #674f00;
  font-size: 17px;
}

.job-reality-note p {
  margin: 0;
  color: #5d5334;
}

.job-sidebar {
  position: sticky;
  top: 112px;
}

.job-summary-card {
  padding: 28px;
  background: var(--pc-surface);
  border: 1px solid var(--pc-line);
  border-radius: 15px;
}

.job-summary-card h2 {
  margin: 0 0 18px;
  color: var(--pc-navy);
  font-size: 21px;
}

.job-summary-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.job-summary-list li {
  padding: 13px 0;
  border-bottom: 1px solid #dbe3ec;
}

.job-summary-list strong,
.job-summary-list span {
  display: block;
}

.job-summary-list strong {
  color: #667381;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.job-summary-list span {
  margin-top: 4px;
  color: var(--pc-navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.job-summary-card .jobs-button {
  width: 100%;
}

.job-summary-card__note {
  margin: 15px 0 0;
  color: var(--pc-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* Application */
.job-application-section {
  scroll-margin-top: 85px;
  padding-block: 96px;
  background: var(--pc-surface);
  border-top: 1px solid var(--pc-line);
}

.job-application-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.job-application-intro h2 {
  margin: 0;
  color: var(--pc-navy);
  font-size: clamp(34px, 4.5vw, 50px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.job-application-intro p {
  margin: 15px 0 0;
  color: var(--pc-muted);
  font-size: 18px;
}

.job-application-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
}

.job-application-form {
  overflow: hidden;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  box-shadow: 0 12px 38px rgba(19, 49, 78, 0.07);
}

.job-form-section {
  padding: 36px 40px;
}

.job-form-section + .job-form-section {
  border-top: 1px solid var(--pc-line);
}

.job-form-section__heading {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 25px;
}

.job-form-section__number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--pc-white);
  background: var(--pc-blue-dark);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
}

.job-form-section h3 {
  margin: 1px 0 2px;
  color: var(--pc-navy);
  font-size: 23px;
  line-height: 1.35;
}

.job-form-section__heading p {
  margin: 0;
  color: var(--pc-muted);
  font-size: 14px;
  line-height: 1.5;
}

.job-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px;
}

.job-field--full {
  grid-column: 1 / -1;
}

fieldset.job-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.job-field label,
.job-field legend {
  display: block;
  margin-bottom: 7px;
  color: #273644;
  font-size: 14px;
  font-weight: 700;
}

.job-required {
  color: var(--pc-danger);
}

.job-field input[type="text"],
.job-field input[type="email"],
.job-field input[type="tel"],
.job-field input[type="date"],
.job-field input[type="datetime-local"],
.job-field select,
.job-field textarea,
.staff-field input,
.staff-field select,
.staff-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--pc-ink);
  background: #fbfcfe;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-field textarea,
.staff-field textarea {
  min-height: 112px;
  resize: vertical;
}

.job-field input:focus,
.job-field select:focus,
.job-field textarea:focus,
.staff-field input:focus,
.staff-field select:focus,
.staff-field textarea:focus {
  border-color: var(--pc-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 106, 216, 0.12);
}

.job-field-hint {
  margin: 7px 0 0;
  color: #6c7885;
  font-size: 12px;
  line-height: 1.5;
}

.job-field-error {
  margin: 7px 0 0;
  color: var(--pc-danger);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.job-field [aria-invalid="true"],
.job-question [aria-invalid="true"] {
  border-color: var(--pc-danger) !important;
  box-shadow: 0 0 0 3px rgba(166, 27, 43, 0.1) !important;
}

.job-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  color: #354554;
  background: #fbfcfe;
  border: 1px solid #d5dde6;
  border-radius: 8px;
  cursor: pointer;
}

.job-choice:has(input:checked) {
  color: var(--pc-blue-dark);
  background: #eef6ff;
  border-color: #82b7f1;
}

.job-choice input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--pc-blue);
}

.job-skill-notice,
.job-slot-notice {
  margin-bottom: 24px;
  padding: 17px 19px;
  color: #334e68;
  background: #eef6ff;
  border-left: 4px solid var(--pc-blue);
  border-radius: 7px;
  font-size: 14px;
}

.job-question-list {
  display: grid;
  gap: 23px;
}

.job-question label {
  display: block;
  margin-bottom: 8px;
  color: #273644;
  font-weight: 700;
  line-height: 1.5;
}

.job-question__number {
  color: var(--pc-blue);
}

.job-question textarea {
  width: 100%;
  min-height: 105px;
  padding: 12px 13px;
  color: var(--pc-ink);
  background: #fbfcfe;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  resize: vertical;
}

.job-question textarea:focus {
  border-color: var(--pc-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 106, 216, 0.12);
}

.job-slot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.job-slot-list .job-choice {
  min-height: 52px;
}

.job-slot-empty {
  margin: 0 0 18px;
  padding: 17px;
  color: #58697a;
  background: #f8fafc;
  border: 1px dashed #c7d1dc;
  border-radius: 8px;
}

.job-slot-rank {
  display: block;
  margin-top: 4px;
  color: var(--pc-blue);
  font-size: 12px;
}

.job-file-field {
  padding: 19px;
  background: #f8fafc;
  border: 1px dashed #b9c6d4;
  border-radius: 9px;
}

.job-file-field input[type="file"] {
  width: 100%;
  color: #536170;
}

.job-file-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 12px;
  color: var(--pc-blue-dark);
  background: var(--pc-white);
  border: 1px solid #afbdcb;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.job-privacy-box {
  padding: 21px;
  background: #f8fafc;
  border: 1px solid #d7e0e9;
  border-radius: 10px;
}

.job-privacy-box p {
  margin: 0 0 15px;
  color: #586674;
  font-size: 13px;
  line-height: 1.65;
}

.job-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #2f3e4b;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.job-consent input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--pc-blue);
}

.job-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
}

.job-form-status {
  margin: 0;
  color: var(--pc-muted);
  font-size: 14px;
}

.job-form-status[role="alert"] {
  color: var(--pc-danger);
  font-weight: 700;
}

.job-application-aside {
  padding: 26px;
  background: var(--pc-navy);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.74);
}

.job-application-aside h3 {
  margin: 0 0 16px;
  color: var(--pc-white);
  font-size: 20px;
}

.job-application-aside ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-application-aside li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
}

.job-application-aside li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  background: #60aaf9;
  border-radius: 50%;
}

.job-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.job-confirmation {
  padding: 44px;
  background: var(--pc-white);
  border: 1px solid #b9ddc9;
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
}

.job-confirmation__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 20px;
  color: var(--pc-white);
  background: var(--pc-success);
  border-radius: 50%;
  font-size: 28px;
}

.job-confirmation h3 {
  margin: 0;
  color: var(--pc-navy);
  font-size: 30px;
}

.job-confirmation p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--pc-muted);
}

/* Footer */
.jobs-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #061726;
}

.jobs-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-block: 62px;
}

.jobs-footer img {
  width: 160px;
  filter: brightness(0) invert(1);
}

.jobs-footer p {
  max-width: 360px;
  margin: 18px 0 0;
  font-size: 14px;
}

.jobs-footer h2 {
  margin: 2px 0 16px;
  color: var(--pc-white);
  font-size: 16px;
}

.jobs-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jobs-footer a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.jobs-footer a:hover {
  color: var(--pc-white);
}

.jobs-footer__bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 13px;
}

/* Staff */
.staff-page {
  background: #f1f5f9 !important;
}

.staff-header {
  color: var(--pc-white);
  background: var(--pc-navy);
}

.staff-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.staff-header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.staff-header__brand img {
  width: 140px;
  filter: brightness(0) invert(1);
}

.staff-header__brand span {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.staff-header a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-decoration: none;
}

.staff-main {
  padding-block: 42px 70px;
}

.staff-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.staff-title-row h1 {
  margin: 0;
  color: var(--pc-navy);
  font-size: 34px;
  letter-spacing: -0.03em;
}

.staff-title-row p {
  margin: 5px 0 0;
  color: var(--pc-muted);
}

.staff-title-actions {
  display: flex;
  align-items: end;
  gap: 12px;
}

.staff-job-picker {
  display: grid;
  gap: 4px;
  color: #5d6b79;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.staff-job-picker select {
  min-width: 260px;
  min-height: 42px;
  padding: 8px 34px 8px 11px;
  color: var(--pc-ink);
  background: var(--pc-white);
  border: 1px solid #cbd5e0;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.staff-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 25px;
  padding: 5px;
  background: #e4eaf1;
  border-radius: 10px;
  width: fit-content;
}

.staff-tab {
  padding: 9px 15px;
  color: #526170;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.staff-tab[aria-selected="true"] {
  color: var(--pc-blue-dark);
  background: var(--pc-white);
  box-shadow: 0 2px 7px rgba(19, 43, 66, 0.08);
}

.staff-panel[hidden] {
  display: none;
}

.staff-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.staff-metric {
  padding: 20px;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: 11px;
}

.staff-metric span {
  display: block;
  color: var(--pc-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.staff-metric strong {
  display: block;
  margin-top: 7px;
  color: var(--pc-navy);
  font-size: 29px;
  line-height: 1.15;
}

.staff-layout {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  min-height: 650px;
  overflow: hidden;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: 14px;
}

.staff-list-pane {
  border-right: 1px solid var(--pc-line);
}

.staff-filters {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 9px;
  padding: 16px;
  border-bottom: 1px solid var(--pc-line);
}

.staff-filters input,
.staff-filters select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #cbd5e0;
  border-radius: 7px;
}

.staff-app-list {
  max-height: 710px;
  overflow: auto;
}

.staff-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  color: var(--pc-muted);
  border-top: 1px solid var(--pc-line);
  font-size: 12px;
}

.staff-pagination button {
  padding: 7px 10px;
  color: var(--pc-blue-dark);
  background: var(--pc-white);
  border: 1px solid #c5d0dc;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.staff-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.staff-app-card {
  width: 100%;
  padding: 17px 18px;
  text-align: left;
  background: var(--pc-white);
  border: 0;
  border-bottom: 1px solid var(--pc-line);
  cursor: pointer;
}

.staff-app-card:hover,
.staff-app-card[aria-current="true"] {
  background: #f2f7fd;
}

.staff-app-card[aria-current="true"] {
  box-shadow: inset 4px 0 var(--pc-blue);
}

.staff-app-card strong,
.staff-app-card span {
  display: block;
}

.staff-app-card strong {
  color: var(--pc-navy);
  font-size: 15px;
}

.staff-app-card span {
  margin-top: 3px;
  color: var(--pc-muted);
  font-size: 12px;
}

.staff-status {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 9px !important;
  padding: 3px 8px;
  color: #3a5269 !important;
  background: #e8eef4;
  border-radius: 999px;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.staff-detail-pane {
  padding: 28px 32px;
}

.staff-empty {
  min-height: 400px;
  display: grid;
  place-items: center;
  color: var(--pc-muted);
  text-align: center;
}

.staff-detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--pc-line);
}

.staff-detail-header h2 {
  margin: 0;
  color: var(--pc-navy);
  font-size: 26px;
}

.staff-detail-header p {
  margin: 4px 0 0;
  color: var(--pc-muted);
  font-size: 13px;
}

.staff-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  padding-block: 24px;
}

.staff-detail-item dt {
  color: #73808e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.staff-detail-item dd {
  margin: 4px 0 0;
  color: #2c3b49;
  white-space: pre-wrap;
}

.staff-detail-block {
  margin-top: 26px;
}

.staff-detail-block h3 {
  margin: 0 0 12px;
  color: var(--pc-navy);
  font-size: 18px;
}

.staff-answer {
  margin-bottom: 12px;
  padding: 14px 16px;
  background: #f7f9fc;
  border-radius: 8px;
}

.staff-answer strong,
.staff-answer span {
  display: block;
}

.staff-answer strong {
  color: #657382;
  font-size: 12px;
}

.staff-answer span {
  margin-top: 5px;
  white-space: pre-wrap;
}

.staff-actions-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 15px;
  align-items: end;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--pc-line);
}

.staff-field label {
  display: block;
  margin-bottom: 6px;
  color: #384958;
  font-size: 12px;
  font-weight: 800;
}

.staff-field + .staff-field {
  margin-top: 16px;
}

.staff-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.staff-button-danger {
  color: var(--pc-danger) !important;
  background: var(--pc-white);
  border-color: #e3aeb5;
  box-shadow: none;
}

.staff-slot-layout,
.staff-analytics-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 24px;
}

.staff-card {
  padding: 24px;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: 12px;
}

.staff-card h2 {
  margin: 0 0 18px;
  color: var(--pc-navy);
  font-size: 21px;
}

.staff-slot-item,
.staff-source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pc-line);
}

.staff-slot-item:last-child,
.staff-source-row:last-child {
  border-bottom: 0;
}

.staff-slot-item strong,
.staff-slot-item span {
  display: block;
}

.staff-slot-item span {
  margin-top: 3px;
  color: var(--pc-muted);
  font-size: 12px;
}

.staff-icon-button {
  padding: 7px 9px;
  color: var(--pc-danger);
  background: #fff7f8;
  border: 1px solid #ebc5ca;
  border-radius: 6px;
  cursor: pointer;
}

.staff-table-wrap {
  overflow-x: auto;
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
}

.staff-table th,
.staff-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--pc-line);
  text-align: left;
}

.staff-table th {
  color: #6a7886;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.staff-error {
  padding: 14px 16px;
  color: var(--pc-danger);
  background: #fff5f6;
  border: 1px solid #edc3c9;
  border-radius: 8px;
}

@media (max-width: 1000px) {
  .jobs-hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .jobs-hero-panel {
    min-height: 290px;
  }

  .job-content-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .job-sidebar {
    position: static;
    order: -1;
  }

  .job-summary-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
  }

  .job-summary-card h2 {
    grid-column: 1 / -1;
  }

  .job-summary-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    margin: 0;
  }

  .job-summary-card .jobs-button {
    width: auto;
  }

  .job-summary-card__note {
    grid-column: 2;
  }

  .job-application-shell {
    grid-template-columns: 1fr;
  }

  .job-application-aside {
    order: -1;
  }

  .staff-layout,
  .staff-slot-layout,
  .staff-analytics-layout {
    grid-template-columns: 1fr;
  }

  .staff-list-pane {
    border-right: 0;
    border-bottom: 1px solid var(--pc-line);
  }

  .staff-app-list {
    max-height: 350px;
  }
}

@media (max-width: 800px) {
  .jobs-header-inner {
    min-height: 74px;
  }

  .jobs-menu-toggle {
    display: block;
  }

  .jobs-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px 20px 20px;
    background: var(--pc-white);
    border-bottom: 1px solid var(--pc-line);
    box-shadow: 0 16px 24px rgba(10, 35, 59, 0.1);
  }

  .jobs-nav[data-open="true"] {
    display: grid;
  }

  .jobs-nav a {
    min-height: 46px;
    padding-inline: 14px;
  }

  .jobs-hero-inner {
    min-height: auto;
    padding-block: 68px;
  }

  .jobs-section,
  .job-content-layout,
  .job-application-section {
    padding-block: 68px;
  }

  .job-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px;
  }

  .job-card__link {
    width: fit-content;
  }

  .jobs-truth-grid,
  .job-highlights__grid {
    grid-template-columns: 1fr;
  }

  .job-highlight + .job-highlight {
    border-top: 1px solid var(--pc-line);
    border-left: 0;
  }

  .job-highlights {
    margin-top: -25px;
  }

  .job-detail-hero__inner {
    padding-block: 65px 80px;
  }

  .jobs-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .jobs-footer__about {
    grid-column: 1 / -1;
  }

  .staff-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .jobs-container {
    width: min(calc(100% - 28px), var(--pc-container));
  }

  .jobs-brand img {
    width: 145px;
  }

  .jobs-hero h1,
  .job-detail-hero h1 {
    font-size: 40px;
  }

  .jobs-hero-copy > p:not(.jobs-eyebrow),
  .job-detail-hero__lead {
    font-size: 17px;
  }

  .jobs-hero-panel {
    min-height: 250px;
    padding: 27px;
  }

  .jobs-hero-panel strong {
    font-size: 22px;
  }

  .job-form-grid,
  .job-slot-list,
  .job-summary-list,
  .staff-detail-grid,
  .staff-actions-grid {
    grid-template-columns: 1fr;
  }

  .job-summary-card {
    display: block;
  }

  .job-summary-card .jobs-button {
    width: 100%;
    margin-top: 22px;
  }

  .job-summary-card__note {
    margin-top: 12px;
  }

  .job-form-section {
    padding: 28px 20px;
  }

  .job-form-section__heading {
    grid-template-columns: 32px 1fr;
  }

  .job-form-section__number {
    width: 32px;
    height: 32px;
  }

  .job-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .job-form-actions .jobs-button {
    width: 100%;
  }

  .job-confirmation {
    padding: 30px 24px;
  }

  .jobs-footer__main {
    grid-template-columns: 1fr;
  }

  .jobs-footer__about {
    grid-column: auto;
  }

  .staff-header__brand span {
    display: none;
  }

  .staff-title-row {
    align-items: start;
    flex-direction: column;
  }

  .staff-title-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .staff-job-picker select {
    width: 100%;
    min-width: 0;
  }

  .staff-metrics {
    grid-template-columns: 1fr;
  }

  .staff-filters {
    grid-template-columns: 1fr;
  }

  .staff-detail-pane {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
