.post-page {
  width: min(800px, calc(100% - 30px));
  margin: 0 auto;
  padding: 42px 0 60px;
  overflow: visible;
}

.post-header h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.35;
}

.post-meta {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.post-cover {
  display: block;
  width: 100%;
  margin: 28px 0;
  border-radius: 3px;
}

.post-body {
  font-size: 16px;
  line-height: 1.8;
}

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

.post-tags,
.post-nav {
  margin-top: 30px;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-body {
  margin-top: 28px;
}

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

.blog-pager .page-num,
.blog-pager a {
  display: inline-block;
  margin-left: 8px;
  padding: 7px 10px;
}

.error-page {
  min-height: 65vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  color: var(--blue);
  font-size: 80px;
}

@media (max-width: 640px) {
  .post-page {
    width: calc(100% - 30px);
    padding-top: 32px;
  }

  .post-header h1 {
    font-size: 23px;
  }

  .post-nav {
    flex-direction: column;
    gap: 12px;
  }
}
