/* Article typography: keep Solitude's structure while improving long-form reading. */
.post .article-container.post-content {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding: 1.8rem 2.8rem 2.6rem;
}

.post .article-container.post-content p {
  margin: 0 0 1.15em;
  font-size: 0.9rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  text-align: left;
}

.post .article-container.post-content > p:first-child {
  font-size: 0.95rem;
  line-height: 1.9;
}

.post .article-container.post-content h1,
.post .article-container.post-content h2,
.post .article-container.post-content h3,
.post .article-container.post-content h4 {
  display: block;
  color: var(--efu-lighttext);
  letter-spacing: 0;
}

.post .article-container.post-content h1 {
  margin: 2.6rem 0 1rem;
  font-size: 1.65rem;
  line-height: 1.35;
}

.post .article-container.post-content h2 {
  margin: 2.5rem 0 1rem;
  padding: 1rem 0 0.2rem 0.9rem;
  border-top: 1px solid var(--efu-card-border);
  border-left: 4px solid var(--efu-theme);
  font-size: 1.45rem;
  line-height: 1.4;
}

.post .article-container.post-content h3 {
  margin: 1.9rem 0 0.75rem;
  padding: 0;
  font-size: 1.16rem;
  line-height: 1.45;
}

.post .article-container.post-content h4 {
  margin: 1.5rem 0 0.65rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.post .article-container.post-content ul,
.post .article-container.post-content ol {
  margin: 0.5rem 0 1.35rem;
}

.post .article-container.post-content ul li:not(.tab),
.post .article-container.post-content ol li:not(.tab) {
  margin: 0.42rem 0;
  line-height: 1.75;
}

.post .article-container.post-content li > ul,
.post .article-container.post-content li > ol {
  margin-top: 0.35rem;
  margin-bottom: 0.55rem;
}

.post .article-container.post-content blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--efu-theme);
  border-radius: 0 8px 8px 0;
  background: var(--efu-secondbg);
}

.post .article-container.post-content blockquote p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.75;
}

.post .article-container.post-content figure.highlight,
.post .article-container.post-content pre {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.post .article-container.post-content img:not(.post_bg) {
  margin-top: 1.5rem;
  margin-bottom: 1.6rem;
  max-width: 100%;
}

.post .article-container.post-content .table-wrap {
  margin: 1.4rem 0 1.6rem;
}

.post .article-container.post-content hr {
  margin: 2.2rem 0;
}

@media screen and (max-width: 768px) {
  .post .article-container.post-content {
    max-width: none;
    padding: 1.25rem 1rem 2rem;
  }

  .post .article-container.post-content p,
  .post .article-container.post-content > p:first-child {
    font-size: 0.86rem;
    line-height: 1.8;
    letter-spacing: 0;
    text-align: left;
  }

  .post .article-container.post-content h1 {
    margin-top: 2.2rem;
    font-size: 1.45rem;
  }

  .post .article-container.post-content h2 {
    margin-top: 2.2rem;
    padding-top: 0.85rem;
    padding-left: 0.7rem;
    font-size: 1.28rem;
  }

  .post .article-container.post-content h3 {
    margin-top: 1.7rem;
    font-size: 1.08rem;
  }

  .post .article-container.post-content h4 {
    font-size: 0.95rem;
  }
}
