.reading-page {
  padding-inline: 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1024px;
  margin-inline: auto;
  padding-block: 36px;
  font-size: 14px;
}

.site-header a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}

.site-header a:hover {
  text-decoration: underline;
}

.site-header .archive-nav {
  color: #707070;
  font-size: 12px;
}

.reading-main {
  width: 100%;
  max-width: 740px;
  margin: 76px auto 100px;
}

.archive-title,
.post-title {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.archive-list {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.archive-list li {
  border-top: 1px solid #e9e9e9;
}

.archive-list a {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: baseline;
  gap: 28px;
  padding-block: 26px;
  color: inherit;
  text-decoration: none;
}

.archive-list time,
.post-meta {
  color: #707070;
  font-size: 12px;
  line-height: 1.7;
}

.archive-list .post-name {
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.archive-list a:hover .post-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.post-meta {
  margin: 0 0 22px;
}

.post-meta .separator {
  margin-inline: 8px;
}

.post-excerpt {
  margin: 26px 0 0;
  color: #555;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.post-body {
  margin-top: 40px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.post-body p,
.post-body ul,
.post-body ol {
  margin: 0 0 1.3em;
}

.post-body h2,
.post-body h3 {
  margin: 2.1em 0 0.8em;
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  scroll-margin-top: 32px;
}

.post-body h2 {
  font-size: 26px;
}

.post-body h3 {
  font-size: 21px;
}

.post-body > :first-child {
  margin-top: 0;
}

.post-body a {
  color: inherit;
  text-decoration-color: #999;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.post-body a:hover {
  text-decoration-color: #202020;
}

.post-body ul,
.post-body ol {
  padding-left: 1.4em;
}

.post-body li + li {
  margin-top: 0.6em;
}

.post-body blockquote,
.post-body .kg-callout-card {
  margin: 1.6em 0;
  padding-left: 24px;
  border-left: 2px solid #c56b3d;
  color: #555;
}

.post-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #e9e9e9;
  font-size: 13px;
}

.post-footer a {
  color: #707070;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .reading-page {
    padding-inline: 24px;
  }

  .site-header {
    padding-block: 26px;
    font-size: 13px;
  }

  .reading-main {
    margin-top: 48px;
    margin-bottom: 72px;
  }

  .archive-list {
    margin-top: 40px;
  }

  .archive-list a {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-block: 22px;
  }

  .archive-list .post-name {
    font-size: 20px;
  }

  .post-excerpt {
    font-size: 16px;
  }

  .post-body {
    margin-top: 32px;
    font-size: 18px;
  }

  .post-body h2 {
    font-size: 24px;
  }
}
