.post-body .civilization-art {
  margin: 2.4rem 0 2.8rem;
  break-inside: avoid;
}

.post-body h2 + .civilization-art {
  margin-top: 1.2rem;
}

.post-body .civilization-art img {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
}

.post-body .civilization-art figcaption {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
}

.article-languages {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  margin-top: 0.15rem;
  font-family: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.8rem;
}

.article-languages a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.25rem 0.15rem;
  color: var(--muted);
}

.article-languages a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.article-languages a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.article-language-separator {
  color: var(--muted);
  opacity: 0.55;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 100;
  background: rgba(15, 109, 95, 0.07);
  pointer-events: none;
}

.reading-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  opacity: 0.8;
  transform: scaleX(0);
  transform-origin: left center;
}

html:lang(zh-Hans) .post-body {
  font-family: "Source Serif 4", "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  font-size: 1.05rem;
  line-height: 1.95;
}

html:lang(zh-Hans) .post-title,
html:lang(zh-Hans) .post-subtitle,
html:lang(zh-Hans) .post-body h2 {
  font-family: "IBM Plex Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.post-body h2 {
  scroll-margin-top: 1.5rem;
}

@media print {
  .reading-progress,
  .article-languages {
    display: none;
  }
}

@media (max-width: 640px) {
  .post-body .civilization-art {
    margin: 1.8rem 0 2rem;
  }
}
