/* Plain Chalk — employer profile pages (employers/<slug>.html) and the A–Z
 * index (employers/index.html). The sections and their order are defined in
 * scripts/build-employer-pages.mjs; read that rather than a list here. Tokens
 * come from styles.css; this file adds no colours and no motion.
 */

/* ---------- Headings: the display face, sentence case ---------- */

.employer-page h1,
.employer-page h2 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-variation-settings: "wdth" 94;
}
.employer-page h2 { margin: 0 0 12px; letter-spacing: -.01em; }

/* ---------- 1. The board band ---------- */

/* .board-band supplies the board surface and the chalk tray; this page only
   owns the fit inside it. */
.employer-band { margin-bottom: 10px; }
.employer-band__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 18px 28px;
  padding-block: clamp(26px, 3.6vw, 44px) clamp(30px, 3.8vw, 48px);
}
.employer-band__stamp { grid-column: 1 / -1; margin: 0; }
@media (min-width: 900px) {
  .employer-band__grid { grid-template-columns: auto minmax(0, 1fr) auto; }
  .employer-band__stamp { grid-column: auto; justify-self: end; }
}
@media (max-width: 480px) {
  .employer-band__grid { grid-template-columns: minmax(0, 1fr); }
  .employer-band__stamp { grid-column: auto; }
}

/* The employer's own mark, fitted into a 160 x 56 box. A brand with no logo
   keeps a square lettermark of the same height, so every employer page opens
   with the same shape. */
.employer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 56px;
  padding: 6px 8px;
  margin: 0;
  border: 1px solid var(--board-line);
  border-radius: 3px;
  background: var(--chalk);
}
.employer-logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.employer-logo--letter {
  width: 56px;
  padding: 0;
  border-color: transparent;
  background: var(--chalk-ink);
  color: var(--board-deep);
  font: 700 1.35rem/1 var(--font-display);
  font-variation-settings: "wdth" 94;
  letter-spacing: .01em;
}

.employer-band__copy { min-width: 0; }
.employer-band__crumb { margin: 0 0 10px; font-size: 14px; }
.employer-band__name { margin: 0 0 8px; }
.employer-band__type { margin: 0 0 6px; font-size: 1.05rem; }
.employer-band__hire { margin: 0 0 10px; font-size: 1.05rem; }
.employer-band__copy .lede { margin: 0; max-width: 56ch; }
.employer-band .stamp--checked { color: var(--chalk-ink); border-radius: 3px; padding: 7px 10px 6px; }

/* ---------- 2. Live jobs ---------- */

.employer-live .job-grid { margin-top: 4px; }
.employer-live__note,
.employer-empty { margin: 0; max-width: 68ch; color: var(--ink-2); }

/* ---------- 3. Closed or not hiring ---------- */

.employer-closed__note { margin: 0 0 6px; max-width: 68ch; color: var(--ink-2); }
.employer-closed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.employer-closed-list > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.employer-closed__role { font-weight: 600; }
.employer-closed__status { font-size: 14px; color: var(--ink-2); }
.employer-closed__date { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
@media (max-width: 560px) {
  .employer-closed-list > li { grid-template-columns: minmax(0, 1fr); }
  .employer-closed__date { grid-column: auto; }
}

/* ---------- 4. About the employer ---------- */

.employer-facts { display: grid; gap: 16px; margin: 0; }
.employer-fact {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--surface);
  padding: 16px 18px;
}
.employer-fact dt { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.employer-fact dd { margin: 0; }
.employer-fact__text { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); }
.employer-fact__source { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.employer-about__empty { margin: 0; color: var(--ink-2); }

.employer-pay-link { margin: 18px 0 0; }
.employer-page .chalk-arrow { width: 1.1em; height: auto; vertical-align: -.12em; }

/* ---------- 5. Teachers say ---------- */

/* jobs.css paints this one h2 in the UI face at 24px; on an employer page it
   is a section heading like the other five, so it takes the display face
   (above) and the same scale. */
.employer-page .job-reviews h2 { font-size: clamp(1.35rem, 2.4vw, var(--t-30)); margin: 0 0 12px; }
.employer-page .job-reviews > .container > .job-prov { margin: 0 0 14px; max-width: 72ch; }
.employer-review-list { margin: 0; gap: 14px; }
.employer-review {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--surface);
  padding: 16px 18px;
}
.employer-page .job-quote {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.employer-review .job-prov {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 10px 0 0;
  font-size: 14px;
}
.employer-review .stamp { font-size: .68rem; padding: 5px 8px 4px; border-radius: 3px; }

/* ---------- 6. Claim or correct ---------- */

.employer-claim__body { margin: 0; max-width: 76ch; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
