.post_page {
  padding: 8rem 0 10rem;
}
.post_page .content {
  max-width: 96rem;
}
.post_page h1 {
  margin: 1.2rem 0 2.4rem;
  color: var(--title);
  font-weight: 500;
  font-size: 4rem;
  line-height: 1.3;
}
.post_page .post_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.6rem;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1.5;
}
.post_page .post_cover {
  margin-bottom: 3.2rem;
  border-radius: 1.2rem;
  overflow: hidden;
}
.post_page .post_cover img {
  width: 100%;
  display: block;
}
.post_page .post_content {
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1.8;
  overflow-wrap: break-word;
}
.post_page .post_content::after {
  content: '';
  display: block;
  clear: both;
}
.post_page .post_content > :first-child {
  margin-top: 0;
}
.post_page .post_content > :last-child {
  margin-bottom: 0;
}
.post_page .post_content p {
  margin-bottom: 1.6rem;
}
.post_page .post_content h2,
.post_page .post_content h3,
.post_page .post_content h4,
.post_page .post_content h5,
.post_page .post_content h6 {
  margin: 3.2rem 0 1.2rem;
  color: var(--title);
  font-weight: 500;
  line-height: 1.4;
}
.post_page .post_content h2 {
  font-size: 3rem;
}
.post_page .post_content h3 {
  font-size: 2.4rem;
}
.post_page .post_content h4 {
  font-size: 2rem;
}
.post_page .post_content h5,
.post_page .post_content h6 {
  font-size: 1.8rem;
}
.post_page .post_content a:not(.wp-block-button__link):not(.wp-element-button) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.post_page .post_content a:not(.wp-block-button__link):not(.wp-element-button):hover {
  color: var(--secondary);
}
.post_page .post_content a:has(> img) {
  display: inline-block;
  text-decoration: none;
}
.post_page .post_content strong,
.post_page .post_content b {
  color: var(--title);
  font-weight: 500;
}
.post_page .post_content em,
.post_page .post_content i {
  font-style: italic;
}
.post_page .post_content mark {
  padding: 0 0.2em;
  background: rgba(240, 131, 0, 0.16);
  color: inherit;
}
.post_page .post_content ul,
.post_page .post_content ol {
  margin: 0 0 1.6rem;
  padding-left: 2.2rem;
}
.post_page .post_content ul > li {
  list-style: disc;
}
.post_page .post_content ol > li {
  list-style: decimal;
}
.post_page .post_content li {
  margin-bottom: 0.6rem;
}
.post_page .post_content li:last-child {
  margin-bottom: 0;
}
.post_page .post_content li ul,
.post_page .post_content li ol {
  margin: 0.6rem 0 0;
}
.post_page .post_content blockquote {
  margin: 2.4rem 0;
  padding: 1.6rem 2rem;
  border-left: 0.3rem solid var(--primary);
  color: var(--title);
  background: #faf7f2;
}
.post_page .post_content blockquote p:last-child {
  margin-bottom: 0;
}
.post_page .post_content hr {
  margin: 3.2rem 0;
  border: 0;
  border-top: 1px solid #eee;
}
.post_page .post_content img {
  max-width: 100%;
  height: auto;
  border-radius: 1.2rem;
}
.post_page .post_content figure {
  margin: 2.4rem 0;
}
.post_page .post_content figcaption,
.post_page .post_content .wp-caption-text {
  margin-top: 0.8rem;
  color: var(--label);
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
}
.post_page .post_content .wp-caption {
  max-width: 100%;
}
.post_page .post_content .aligncenter,
.post_page .post_content .alignnone {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.post_page .post_content .alignleft {
  float: left;
  max-width: 48%;
  margin: 0.4rem 2.4rem 1.2rem 0;
}
.post_page .post_content .alignright {
  float: right;
  max-width: 48%;
  margin: 0.4rem 0 1.2rem 2.4rem;
}
.post_page .post_content .alignwide,
.post_page .post_content .alignfull {
  width: auto;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}
.post_page .post_content table {
  width: 100%;
  margin: 2.4rem 0;
  border-collapse: collapse;
  font-size: 1.5rem;
}
.post_page .post_content .wp-block-table {
  margin: 2.4rem 0;
  overflow-x: auto;
}
.post_page .post_content .wp-block-table table {
  margin: 0;
}
.post_page .post_content th,
.post_page .post_content td {
  padding: 1.2rem 1.6rem;
  border: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}
.post_page .post_content th {
  color: var(--title);
  font-weight: 500;
  background: #faf7f2;
}
.post_page .post_content pre,
.post_page .post_content code {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.92em;
}
.post_page .post_content code {
  padding: 0.15em 0.4em;
  border-radius: 0.4rem;
  color: var(--title);
  background: #f6f4f0;
}
.post_page .post_content pre {
  margin: 2.4rem 0;
  padding: 1.6rem 2rem;
  overflow-x: auto;
  border-radius: 1.2rem;
  color: var(--title);
  line-height: 1.6;
  background: #f6f4f0;
}
.post_page .post_content pre code {
  padding: 0;
  background: none;
}
.post_page .post_content iframe,
.post_page .post_content video,
.post_page .post_content embed {
  max-width: 100%;
}
.post_page .post_content .wp-block-embed iframe,
.post_page .post_content .wp-block-video video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

@media screen and (max-width: 768px) {
  .post_page {
    padding: 28px 0 48px;
  }
  .post_page h1 {
    margin: 8px 0 16px;
    font-size: 24px;
    line-height: 1.35;
  }
  .post_page .post_meta {
    gap: 6px 12px;
    font-size: 13px;
  }
  .post_page .post_cover {
    margin-bottom: 20px;
    border-radius: 10px;
  }
  .post_page .post_content {
    font-size: 15px;
    line-height: 1.75;
  }
  .post_page .post_content p {
    margin-bottom: 12px;
  }
  .post_page .post_content h2,
  .post_page .post_content h3,
  .post_page .post_content h4,
  .post_page .post_content h5,
  .post_page .post_content h6 {
    margin: 22px 0 8px;
  }
  .post_page .post_content h2 {
    font-size: 20px;
  }
  .post_page .post_content h3 {
    font-size: 18px;
  }
  .post_page .post_content h4,
  .post_page .post_content h5,
  .post_page .post_content h6 {
    font-size: 16px;
  }
  .post_page .post_content ul,
  .post_page .post_content ol {
    margin-bottom: 12px;
    padding-left: 18px;
  }
  .post_page .post_content blockquote {
    margin: 16px 0;
    padding: 12px 14px;
  }
  .post_page .post_content hr {
    margin: 20px 0;
  }
  .post_page .post_content img,
  .post_page .post_content pre {
    border-radius: 10px;
  }
  .post_page .post_content figure,
  .post_page .post_content pre,
  .post_page .post_content table,
  .post_page .post_content .wp-block-table {
    margin: 16px 0;
  }
  .post_page .post_content figcaption,
  .post_page .post_content .wp-caption-text {
    margin-top: 6px;
    font-size: 12px;
  }
  .post_page .post_content .alignleft,
  .post_page .post_content .alignright {
    float: none;
    display: block;
    max-width: 100%;
    margin: 12px auto;
  }
  .post_page .post_content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }
  .post_page .post_content th,
  .post_page .post_content td {
    padding: 10px 12px;
    white-space: nowrap;
  }
  .post_page .post_content pre {
    padding: 12px 14px;
  }
}
