/* ==========================================================================
   Continuum Travel Therapy — individual job pages (jobs/*.html)

   Loaded after css/site.css and css/map.css, which supply the header, footer,
   buttons, the Quick Apply form (.qa-*) and the posting body (.lcard__descbody).
   Only what is specific to a single-job page lives here.

   These pages are generated by tools/build-jobs.cjs — do not hand-edit them,
   edit the template in that file.
   ========================================================================== */

.job-page {
  padding: var(--space-8) 0 var(--space-12);
  background: var(--canvas);
}

/* Breadcrumbs moved to css/site.css — the FAQ page uses them too, and it does
   not load this stylesheet. */

/* --- Headline ----------------------------------------------------------- */

.job-hero { margin-bottom: var(--space-8); }
.job-hero .dept {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.job-hero__title {
  margin: var(--space-3) 0 var(--space-2);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--navy-800);
}
.job-hero__meta {
  margin: 0;
  font-size: 15px;
  color: var(--slate-500);
}
.job-hero__meta strong { color: var(--navy-800); font-weight: 600; }

/* --- Two-column body ---------------------------------------------------- */

.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr);
  align-items: start;
  gap: var(--space-8);
}

.job-body {
  padding: var(--space-8);
  background: var(--surface);
  border: 1px solid rgba(27, 42, 67, 0.08);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-card);
}
.job-body h2 {
  margin: 0 0 var(--space-4);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-800);
}

/* --- Apply box ---------------------------------------------------------- */

.job-aside { position: sticky; top: 88px; }

.job-apply {
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid rgba(27, 42, 67, 0.08);
  border-top: 4px solid var(--teal-500);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-card);
}

.job-apply__pay {
  margin: 0 0 var(--space-4);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--navy-800);
}
.job-apply__pay span {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-500);
}

.job-facts {
  margin: 0 0 var(--space-5);
  padding: 0 0 var(--space-5);
  border-bottom: 1px solid rgba(27, 42, 67, 0.08);
  font-size: 13.5px;
}
.job-facts > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 5px 0;
}
.job-facts dt { color: var(--slate-500); }
.job-facts dd { margin: 0; font-weight: 600; text-align: right; color: var(--navy-800); }

.job-apply__title {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-800);
}

/* The Quick Apply form is one column here, not the panel's two. */
.job-apply .qa-form { grid-template-columns: minmax(0, 1fr); }
.job-apply .qa-submit { justify-self: stretch; text-align: center; }

.job-apply__or {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-5) 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.job-apply__or::before,
.job-apply__or::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(27, 42, 67, 0.10);
}

.job-apply__help {
  margin: var(--space-4) 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate-500);
}
.job-apply__help a { color: var(--teal-700); font-weight: 600; text-decoration: none; }
.job-apply__help a:hover { text-decoration: underline; }

/* --- More assignments --------------------------------------------------- */

.job-more { margin-top: var(--space-12); }
.job-more__title {
  margin: 0 0 var(--space-5);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-800);
}
.job-more__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}
.job-more__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid rgba(27, 42, 67, 0.08);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-bounce),
              box-shadow var(--dur-base) ease-out;
}
.job-more__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(27, 42, 67, 0.06), 0 10px 24px rgba(27, 42, 67, 0.10);
}
.job-more__role {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--navy-800);
}
.job-more__where { font-size: 13.5px; color: var(--slate-500); }
.job-more__pay { font-size: 13px; font-weight: 700; color: #94764a; }
.job-more__all { margin: var(--space-6) 0 0; font-size: 14px; }
.job-more__all a { color: var(--teal-700); font-weight: 600; text-decoration: none; }
.job-more__all a:hover { text-decoration: underline; }

/* --- Narrow ------------------------------------------------------------- */

@media (max-width: 900px) {
  .job-layout { grid-template-columns: minmax(0, 1fr); }
  /* Sticky is pointless once the box is stacked above the description, and it
     would pin the apply form over the text on a phone. */
  .job-aside { position: static; }
  .job-body { padding: var(--space-6); }
}
