:root {
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  max-width: 46rem;
  padding: 1.5rem 1.25rem 3rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

header a {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

ul.posts,
ul.terms {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.posts li,
ul.terms li {
  margin-bottom: 0.6rem;
}

ul.posts time,
.meta,
.tags {
  font-size: 0.9rem;
}

.format {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid;
}

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

@media (max-width: 30rem) {
  .pager {
    flex-direction: column;
  }
}
