/* Styling for the HTML builds, mirroring the preamble's print design:
   a single serif column, no section numbers, and quiet grey captions. */

html {
  font-size: 17px;
}

body {
  max-width: 40em;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
  font-family: Charter, Georgia, "Times New Roman", serif;
  line-height: 1.55;
  color: #1a1a1a;
  background: #ffffff;
}

header#title-block-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

h1.title {
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

p.author {
  font-size: 1.05rem;
  margin: 0;
}

p.date {
  margin: 0;
}

h2, h3 {
  font-weight: 600;
  margin-top: 2.2rem;
}

p {
  margin: 0 0 0.85em;
}

a {
  color: #1a4fb8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

figure {
  margin: 1.8rem 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
}

figcaption {
  margin: 0.6rem auto 0;
  max-width: 85%;
  font-size: 0.88rem;
  font-style: italic;
  color: #666666;
}
