/* ===============================================================
   CALL FOR PAPERS SINGLE  —  the call-for-papers template (2026-09-04)

   Sibling of the article and issue templates. Nothing here is gated: a call
   is public. The one thing the page has to say first is whether it is still
   open, so the status chip and the deadline carry the weight.
   =============================================================== */

/* ---------------------------------------------------------------
   STATUS  —  two chips, and the closed one must not look broken.
   Open reuses the filled green field (black on green, 9.86:1).
   Closed is outlined and muted: a finished thing, not an error. Deliberately
   NOT --danger, which would read as something having gone wrong.
   --------------------------------------------------------------- */
.jrs-status {
  display: inline-block;
  font-size: var(--text-micro);
  font-weight: var(--fw-label);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  padding: 3px 8px;
}
.jrs-status--open {
  background: var(--brand);
  color: var(--on-brand);
}
.jrs-status--closed {
  background: none;
  border: var(--box-quiet);
  color: var(--neutral-600);
}

/* The deadline line sits under the title and changes with the state, so it
   gets a little more weight than the article page's citation line. */
.jrs-cfp__deadline {
  font-size: var(--text-lead);
  line-height: var(--lh-lead);
  font-weight: var(--fw-head);
  color: var(--brand-deep);
  margin: 0;
}
.jrs-cfp__deadline--closed {
  font-weight: var(--fw-body);
  color: var(--neutral-600);
}
.jrs-cfp__issue {
  font-size: var(--text-meta);
  line-height: 1.6;
  color: var(--neutral-600);
  margin: 0;
}

/* ---------------------------------------------------------------
   THE DEADLINE BLOCK IN THE ASIDE
   A standalone fact gets a box; the date is the only large number on the page.
   --------------------------------------------------------------- */
.jrs-deadline {
  border: var(--box-quiet);
  background: var(--white);
  padding: var(--space-s);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.jrs-deadline--closed { background: var(--grey); }
.jrs-deadline__date {
  font-size: var(--h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-head);
  color: var(--heading-page);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.jrs-deadline--closed .jrs-deadline__date { color: var(--neutral-600); }

/* ---------------------------------------------------------------
   GUEST EDITORS
   A series gets rules, not boxes. One editor per row, the name carrying the
   weight and the address a real mailto — an author reading a call has to be
   able to reach them.
   --------------------------------------------------------------- */
.jrs-editors { display: flex; flex-direction: column; }
.jrs-editors__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: var(--space-xs);
  border-top: var(--rule-structural);
}
.jrs-editors__row:first-child { border-top: 0; padding-top: 0; }
.jrs-editors__name {
  font-size: var(--text-body);
  font-weight: var(--fw-head);
  color: var(--ink);
  line-height: 1.35;
}
.jrs-editors__where {
  font-size: var(--text-meta);
  color: var(--neutral-600);
  line-height: 1.4;
}
.jrs-editors__mail {
  font-size: var(--text-meta);
  color: var(--brand-deep);
  word-break: break-word;
}

/* ---------------------------------------------------------------
   THE CALL TEXT
   post_content is 3-7KB of real prose on every call, so it is the page's
   reading matter and takes the prose scope unchanged.
   --------------------------------------------------------------- */
.jrs-cfp__body > *:first-child { margin-top: 0; }

/* ---------------------------------------------------------------
   PREVIOUS / NEXT  —  same component as the other singles.
   --------------------------------------------------------------- */
.jrs-pn--cfp .jrs-pn__title { font-size: var(--h4); line-height: var(--lh-h4); }
