/* article-styles/jh.css — split from public-article.css (2026-07-20).
 * Loaded per-article via a server-rendered <link> when
 * src/lib/blog/article-style-chunks.ts resolves the "jh" chunk.
 * Served raw from /public (no build step) — this file IS the source of
 * truth. Cascade: loads AFTER public-core.css + public-article.css in
 * document order. Source order preserves the original monolith order —
 * do not re-sort. New rules for this collection belong here. */


/* ════════════════════════════════════════════════════════════════
   Job Hunt Playbook article scope (.jh) — cream paper, money green,
   with before/after example boxes, copy-paste script blocks, and a
   "do this today" action box. Sanitizer-safe (div/span/p only). ══════ */
.jh {
  --jh-ink: #1d2620; --jh-ink-soft: #4a564e; --jh-ink-faint: #676f68;
  --jh-body-ink: #333b34;
  --jh-paper: #fffdf9; --jh-line: #e4e0d6; --jh-green: #2f7a4f; --jh-green-deep: #236041;
  --jh-tint: #ddeee3; --jh-tint-line: #bcd8c6;
  --jh-bad-bg: #f6e3da; --jh-bad-line: #e3c4b5; --jh-bad-ink: #8a4a2f; --jh-radius: 14px;
  color: var(--jh-ink); font-family: var(--serif); font-size: 19px; line-height: 1.75;
}
.jh .jh-body { max-width: 720px; }
/* body copy — serif reading surface with roomy paragraph separation.
   NB: these declare font/size/line-height explicitly so the base
   `.ps-article-body p/li` rules (equal specificity) don't leak through;
   the paragraph gap must clear the line-height so paragraphs read apart. */
.jh .jh-body p { font-family: var(--serif); font-size: 19px; line-height: 1.78;
  color: var(--jh-body-ink); margin: 0 0 22px; text-wrap: pretty; }
.jh .jh-body strong { color: var(--jh-ink); font-weight: 600; }
.jh .jh-body em { font-style: italic; }
.jh .jh-body a { color: var(--jh-green-deep); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--jh-tint-line); transition: color .15s, border-color .15s; }
.jh .jh-body a:hover { color: var(--jh-green); border-color: var(--jh-green); }
/* lists — same face/size as the body so bullets don't switch typeface */
.jh .jh-body ul, .jh .jh-body ol { font-family: var(--serif); font-size: 19px;
  color: var(--jh-body-ink); margin: 6px 0 24px; padding-left: 1.35em; }
.jh .jh-body li { font-family: var(--serif); font-size: 19px; color: var(--jh-body-ink);
  margin: 0 0 10px; line-height: 1.68; padding-left: 4px; }
.jh .jh-body li::marker { color: var(--jh-green); }
.jh .jh-body li strong { color: var(--jh-ink); }
/* lead / dek — the opening promise, set apart from the body */
.jh .jh-body p.jh-lead { font-family: var(--serif); font-size: 22px; line-height: 1.5;
  color: var(--jh-ink); font-weight: 400; margin: 4px 0 32px; letter-spacing: -.006em; }
/* section headings — clearly above body, green kicker rule, real breathing room */
.jh .jh-body h2 { font-family: var(--serif); font-weight: 600; font-size: 30px;
  letter-spacing: -.015em; line-height: 1.18; color: var(--jh-ink);
  margin: 58px 0 16px; padding-top: 22px; position: relative; text-wrap: balance; }
.jh .jh-body h2::before { content: ""; position: absolute; top: 0; left: 0;
  width: 44px; height: 3px; border-radius: 2px; background: var(--jh-green);
  margin: 0; font-size: 0; }
.jh .jh-body h3 { font-family: var(--serif); font-weight: 600; font-size: 22px;
  letter-spacing: -.01em; line-height: 1.25; color: var(--jh-ink); margin: 36px 0 10px; }
/* before/after example box */
.jh .jh-ba { display: grid; gap: 14px; margin: 30px 0; }
@media (min-width: 620px) { .jh .jh-ba { grid-template-columns: 1fr 1fr; } }
.jh .jh-bad, .jh .jh-good { border-radius: 14px; padding: 16px 18px; border: 1px solid; }
.jh .jh-bad { background: var(--jh-bad-bg); border-color: var(--jh-bad-line); }
.jh .jh-good { background: var(--jh-tint); border-color: var(--jh-tint-line); }
.jh .jh-ba-lbl { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.jh .jh-ba-lbl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.jh .jh-bad .jh-ba-lbl { color: var(--jh-bad-ink); }
.jh .jh-good .jh-ba-lbl { color: var(--jh-green-deep); }
.jh .jh-bad p, .jh .jh-good p { margin: 0; font-family: var(--serif); font-size: 16.5px;
  line-height: 1.5; color: var(--jh-ink); }
/* copy-paste script / template block */
.jh .jh-script { background: var(--jh-paper); border: 1px solid var(--jh-line);
  border-left: 3px solid var(--jh-green); border-radius: 12px; padding: 16px 18px; margin: 30px 0; }
.jh .jh-script-lbl { display: block; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--jh-green-deep); margin-bottom: 8px; }
.jh .jh-script p { margin: 8px 0 0; font-family: var(--serif); font-size: 16.5px;
  line-height: 1.55; color: var(--jh-ink); }
.jh .jh-script p:first-of-type { margin-top: 0; }
.jh .jh-script a { color: var(--jh-green-deep); border-bottom: 1px solid var(--jh-tint-line); text-decoration: none; }
/* "do this today" action box — the ending CTA */
.jh .jh-action { background: var(--jh-tint); border: 1px solid var(--jh-tint-line);
  border-left: 3px solid var(--jh-green); border-radius: 12px; padding: 18px 20px; margin: 36px 0 10px; }
.jh .jh-action-lbl { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono);
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--jh-green-deep); margin-bottom: 8px; }
.jh .jh-action-lbl::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; background: var(--jh-green); color: #fff; font-size: 11px; }
.jh .jh-action p { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--jh-ink); }
.jh .jh-action a { color: var(--jh-green-deep); border-bottom: 1px solid var(--jh-green); text-decoration: none; font-weight: 500; }
/* neutralize the base article drop-cap — in a .jh article the only direct
   <p> child of .ps-article-body is the sources footer, so the big first-letter
   would otherwise land on the fine print */
.jh .ps-article-body > p:first-of-type::first-letter { float: none; font-size: inherit;
  font-weight: inherit; line-height: inherit; margin: 0; padding: 0; color: inherit; }
/* sources — small metadata footer, sans to read as fine print */
.jh p.jh-sources { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--jh-line);
  font-family: var(--sans); font-size: 14px; color: var(--jh-ink-soft); line-height: 1.7; }
.jh p.jh-sources b { color: var(--jh-ink); }
.jh p.jh-sources a { color: var(--jh-green-deep); text-decoration: none; border-bottom: 1px solid var(--jh-tint-line); }
