/* Steve Spencer's blog: his settled look (content-writing's wp-style.css, 2 Oct 2026), as a whole site.
   Jost (a free web font after Futura) for the site name, titles and headings; Georgia for reading;
   navy ink; links in a tint of the ink, always underlined; orange only for pull quotes. */

:root {
  --ink: #1d2940;
  --link: #3a4a6b;
  --muted: #5d6272;
  --quote: #c46a00;      /* 4.0:1 on white, used large (25 px italic) */
  --orange: #f68c11;     /* fills only: 2.4:1 on white is too faint for text */
  --rule: #e3e5ea;
  --head: 700 1em/1.2 Jost, Futura, "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif;
  --read: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 19px/1.62 var(--read); }

.site-head, .page, .site-foot { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.site-head { padding-top: 28px; padding-bottom: 8px; }
.site-name { font: var(--head); font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -.005em; }
.site-name:hover { text-decoration: underline; text-underline-offset: .18em; }
.page { padding-top: 24px; padding-bottom: 48px; }

/* Links look like links. */
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .18em; text-decoration-color: rgba(58, 74, 107, .55); }
a:hover { text-decoration-color: var(--link); }

/* A post: the dates above the title, the series line as the standfirst. */
.post .dates { margin: 0 0 .3em; font: 500 16px/1.4 Jost, Futura, "Century Gothic", sans-serif; color: var(--muted);
  letter-spacing: .01em; }
h1.title { font: var(--head); font-size: 40px; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .45em;
  text-wrap: balance; }
p.standfirst { font: italic 21px/1.5 var(--read); margin: 0 0 1.3em; }

.body p, .body li { margin: 0 0 1em; }
.body h2 { font: var(--head); font-size: 26px; line-height: 1.25; letter-spacing: -.005em;
  margin: 1.9em 0 .6em; text-wrap: balance; }
.body h3 { font: var(--head); font-size: 21px; margin: 1.6em 0 .5em; }
.body code { font-size: 88%; }

/* Images and captions: full column width, the caption tucked under. */
.body p:has(> img) { margin: 1.6em 0 .5em; }
.body img { display: block; width: 100%; height: auto; border-radius: 4px; }
.body p.caption { font: italic 15px/1.5 var(--read); color: var(--muted); margin: 0 0 1.6em; }

/* Pull quotes: the body face in italic, indented, in a deeper orange; no rule, no marks. */
.body blockquote { margin: 1.6em 0; padding: 0 2.2em; border: 0; color: var(--quote);
  font: italic 400 25px/1.4 var(--read); text-wrap: pretty; }
.body blockquote p { margin: 0 0 .3em; }
.body blockquote p:last-child { margin-bottom: 0; }

/* A post that isn't cleared for publishing yet. */
.draft-banner { margin: 0 0 1.4em; padding: .55em .9em; background: var(--orange); color: #1d2940;
  font: 700 16px/1.3 Jost, Futura, sans-serif; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; }
.draft-tag { display: inline-block; margin-left: .5em; padding: 0 .45em; background: var(--orange); color: #1d2940;
  font: 700 12px/1.6 Jost, Futura, sans-serif; letter-spacing: .06em; text-transform: uppercase; border-radius: 3px;
  vertical-align: 2px; }

/* Home: one entry per week, newest first. */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--rule); }
.post-list li:last-child { border-bottom: 1px solid var(--rule); }
.post-link { display: block; padding: 1.1em 0 1.2em; text-decoration: none; color: var(--ink); }
.post-link .dates { display: block; font: 500 15px/1.4 Jost, Futura, "Century Gothic", sans-serif; color: var(--muted); }
.post-link .name { display: block; font: var(--head); font-size: 26px; line-height: 1.25; margin: .25em 0 0;
  text-wrap: balance; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em;
  text-decoration-color: rgba(29, 41, 64, .35); }
.post-link:hover .name { text-decoration-color: var(--ink); }

/* Footer: the About line. */
.site-foot { padding-bottom: 40px; }
.site-foot::before { content: ""; display: block; border-top: 1px solid var(--rule); margin-bottom: 22px; }
.site-foot p { margin: 0 0 .6em; font: 16px/1.55 var(--read); color: var(--muted); }
.site-foot .small { font-size: 14px; }
.site-foot a { color: var(--link); }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-head, .page, .site-foot { padding-left: 18px; padding-right: 18px; }
  .site-head { padding-top: 20px; }
  .site-name { font-size: 20px; }
  h1.title { font-size: 30px; }
  p.standfirst { font-size: 19px; }
  .body h2 { font-size: 22px; }
  .body blockquote { font-size: 21px; padding: 0 1em; }
  .post-link .name { font-size: 22px; }
}
