.blog-page {
  max-width: 760px;
}

.blog-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 48px;
}

.blog-nav [aria-current="page"] {
  color: var(--text);
}

.blog-header h1 {
  text-align: left;
}

.blog-header p,
.blog-empty,
.post-meta {
  color: var(--muted);
}

.blog-empty {
  padding: 24px 0;
}

.blog-empty p:first-child {
  margin-bottom: 4px;
  color: var(--text);
}

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

.post-list li {
  padding: 20px 0;
}

.post-list li + li {
  border-top: 1px solid var(--rule);
}

.post-list h3 {
  margin: 6px 0;
  font-size: 18px;
}

.post-list p {
  margin-bottom: 0;
}

.post-meta {
  font-size: 12px;
}

.post-content {
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.post-content h2,
.post-content h3 {
  margin-top: 28px;
}

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

.post-content pre {
  padding: 16px;
  overflow-x: auto;
  background: var(--soft);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.post-content code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

.post-content blockquote {
  margin: 20px 0;
  padding-left: 16px;
  border-left: 3px solid var(--rule);
  color: var(--muted);
}

.post-content :not(pre) > code {
  padding: 2px 4px;
  background: var(--soft);
  border-radius: 3px;
}

.post-content pre code {
  white-space: pre;
}

.post-content table {
  display: block;
  max-width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border-collapse: collapse;
}

.post-content th,
.post-content td {
  padding: 8px 12px;
  border: 1px solid var(--rule);
  text-align: left;
}

.post-content th {
  background: var(--soft);
}

@media (max-width: 720px) {
  .blog-nav {
    margin-bottom: 36px;
  }
}
