/* =====================================================================
   Leaply job board (jobs.ashbyhq.com/Leaply)
   HIDE DEPARTMENT ("Health & Wellness app") — 2026-11-04
   Same approach as the RiseGuide board (added there 2026-11-02).
   ===================================================================== */

/* 1. Group heading above the job list */
.ashby-department-heading {
  display: none !important;
}

/* 2. "Department" filter dropdown (with its arrow icon) */
div:has(> .ashby-job-board-filter[name="departmentId"]) {
  display: none !important;
}

/* 3. "Health & Wellness app • " prefix in each job card.
   Ashby renders the whole line as plain text (no wrapper per field),
   so we shift the first line left by the exact prefix width and clip it.
   12em = width of "Health & Wellness app • " in Whitney SSm 400 (the board font).
   !! If the department name or the board font changes, this value must be re-measured. */
.ashby-job-posting-brief-details p {
  text-indent: -12em;
  overflow: hidden;
  margin-top: -0.15em; /* compensates the Ashby ::before trim below */
}

/* Ashby's ::before is display:block, which blocks text-indent from applying */
.ashby-job-posting-brief-details p::before {
  display: inline;
}

/* 4. "Department" block in the left pane of the job page.
   Order: Location | Employment Type | Location Type | Department.
   :last-child = safe fallback: if a block (e.g. Compensation) is ever
   added after it, nothing gets hidden by mistake. */
.ashby-job-posting-left-pane > div:nth-child(4):last-child {
  display: none;
}
