/* Plain type, comfortable spacing, and nothing decorative.
   EB Garamond carries Latin text; Chiron Sung HK picks up Chinese.
   Both load from Google Fonts (see the <link> tags emitted by blog.py). */
:root {
  color-scheme: light;
  font-family: "EB Garamond", "Chiron Sung HK", Georgia, "Noto Serif", "Liberation Serif", serif;
  font-size: 20px;
  line-height: 1.65;
  color: #222;
  background: #faf7f0;
}

body {
  margin: 0;
}

main {
  max-width: 42rem;
  margin: 3rem auto;
  padding: 0 1.25rem;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 1.2rem;
}

.body p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 4;
}

a {
  color: #222;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

a:visited {
  color: #555;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.articles {
  list-style: none;
  margin: 0;
  padding: 0;
}

.articles li {
  margin: 0 0 0.8rem;
}

footer {
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  main {
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
  }
}
