* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: darkslategray;
  background: ghostwhite;
  padding-left: 3em;
}

main {
  max-width: 52rem;
}

.homepage,
.homepage * {
  color: darkslategray;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
}

.article-main {
  max-width: 42rem;
}

a {
  color: #4a5d23;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

.article-main h2,
.article-main h3,
.article-main h4 {
  margin-top: 2.25em;
  margin-bottom: 0.6em;
  line-height: 1.2;
}

.article-main h2 {
  font-size: 1.35rem;
}

.article-intro {
  margin: 1rem 0 2.5rem;
  font-size: 1em;
  line-height: 1.5;
}

.article-byline {
  margin-bottom: 2rem;
}

.article-footer-nav {
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.license-notice {
  max-width: 52rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

.license-notice a {
  color: #4a5d23;
}

.not-found-page {
  margin: 0;
  padding: 0;
}

.not-found {
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  place-content: center;
  text-align: center;
}

.not-found h1 {
  margin: 0 0 0.5rem;
  font-size: 3rem;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  color: ghostwhite;
  line-height: 1.45;
  background: darkslategray;
}

pre code {
  color: ghostwhite;
  background: darkslategray;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
}

.site-title {
  font-size: 2rem;
  font-weight: 700;
}

.bio {
  margin-bottom: 0;
}

.contact-links {
  margin-top: 0;
}

.contact-links a {
  color: #4a5d23;
  text-decoration: underline;
}

.homepage main {
  padding-top: 2rem;
}

.post-link {
  display: flex;
  border-left: 0.25rem solid #4a5d23;
  padding-left: 1rem;
  color: black;
  text-decoration: none;
}

.post-link:hover {
  color: #4a5d23;
}

.post-link:hover h2 {
  color: #4a5d23;
  text-decoration: underline;
}

.post-link h2 {
  margin-top: 0;
  color: #4a5d23;
  font-size: 1.35rem;
  font-weight: 700;
}

.post-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0;
}

.post-content time {
  margin-top: auto;
}

.post-content p {
  margin-top: 0;
}

@media (max-width: 600px) {
  body {
    margin: 0;
    padding: 1rem;
  }

  main {
    max-width: none;
  }

  .post-link {
    flex-direction: column;
  }

  .post-content {
    width: 100%;
  }
}
