/* =========================================================================
   Job board. Additive only - a new stylesheet rather than edits to existing
   ones, so nothing already shipped can be disturbed.

   Uses the site's own tokens throughout (--bg-*, --line-*, --text-*, --r-12,
   --font-mono, --accent) so the board reads as part of the site rather than
   as something bolted on. The list rows themselves come from p-categories.css
   and the detail page from p-editorial.css; only what those do not already
   provide is defined here.
   ========================================================================= */

/* --- featured listings -----------------------------------------------------
   A featured post is sold on being sorted above standard AND looking distinct.
   The distinction is a left edge in the accent colour and a slightly lifted
   background - visible, but not so loud that the board reads as advertising
   with a few organic rows in it. */
.ct-list .cat-row.job-featured {
  background: var(--bg-200);
  box-shadow: inset 3px 0 0 0 var(--accent), inset 0 0 0 1px var(--line-200);
}
.ct-list .cat-row.job-featured:hover {
  background: var(--bg-300);
}

/* The Featured label sits inline with the title, so it needs to not inherit
   the title's weight and size. */
.ct-list .cat-row .nm .promo-badge {
  vertical-align: middle;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 9.5px;
}
.ct-list .cat-row .nm .promo-label {
  border-left: 0;
  padding-left: 0;
  margin-left: 0;
}

/* --- the submission form ---------------------------------------------------
   .form-box in home.css is scoped to the newsletter block (.news-inner) and is
   a single-line email capture, so it cannot be reused for a multi-field form.
   This is a plain stacked layout in the same visual language. */
.form-box {
  background: var(--bg-200);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-100);
  padding: 24px;
  display: grid;
  gap: 18px;
  max-width: 720px;
}
.form-box .f-row {
  display: grid;
  gap: 7px;
}
.form-box label {
  font-size: 13px;
  color: var(--text-300);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-box input[type="text"],
.form-box input[type="url"],
.form-box input[type="email"],
.form-box select,
.form-box textarea {
  background: var(--bg-100);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-200);
  border-radius: var(--r-8, 8px);
  color: var(--text-100);
  font: 400 15px/1.5 var(--font-sans);
  padding: 11px 13px;
  width: 100%;
}
.form-box textarea { resize: vertical; min-height: 160px; }
.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
.form-box input::placeholder,
.form-box textarea::placeholder { color: var(--text-400); }
/* The remote checkbox is the one field that should not be full width. */
.form-box input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--accent);
}
.form-box .sub {
  color: var(--text-400);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
/* Submission feedback, written by wallet.js. */
.form-box [data-onyx-jobform-status] {
  margin-left: 12px;
  font-size: 12.5px;
  color: var(--text-300);
}
.form-box [data-onyx-jobform-status].ok { color: var(--ok, #6fcf97); }
.form-box [data-onyx-jobform-status].bad { color: var(--bad, #eb5757); }

/* --- the submission page's container ---------------------------------------
   Every top-level section on this site carries its own max-width and gutter
   rather than relying on a wrapper element (see .ct-head, .art-body). This
   follows that convention so the form lines up with everything else. */
.jobs-form {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

/* The posted/type columns are narrow by default because the ratings design
   puts short numbers there. A date needs to stay on one line. */
.ct-list .cat-row .cat-nums .cell .v { white-space: nowrap; }
.ct-list .cat-row .cat-nums { gap: 28px; }
