.th-post-page {
  background: #f4f5f7;
  padding: 8.8rem 0 5.4rem;
}

.th-post-page .container {
  width: min(1080px, 92%);
}

.th-post-top {
  text-align: center;
  margin-bottom: 1.7rem;
}

.th-post-meta {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #64748b;
}

.th-post-meta a {
  color: #228b22;
  text-decoration: none;
  font-weight: 600;
}

.th-post-meta a:hover {
  text-decoration: underline;
}

.th-post-title-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.th-post-title {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.th-post-author {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: #475569;
}

.th-post-cover {
  margin: 1.8rem auto 2.35rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #dbe2ef;
  background: #090d16;
  width: min(980px, 100%);
}

.th-post-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.th-post-fallback {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: #e2e8f0;
  font-size: 1.6rem;
  font-weight: 700;
  background: radial-gradient(circle at 10% 10%, #25304a, #111827 45%, #05070c);
}

.th-post-article {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #1f2937;
  font-size: 1.06rem;
  line-height: 1.88;
}

.th-post-article > p:first-of-type {
  font-size: 1.12rem;
  color: #334155;
}

.th-post-article h2,
.th-post-article h3,
.th-post-article h4 {
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 2rem 0 0.8rem;
}

.th-post-article h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.th-post-article h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.th-post-article p {
  margin: 0 0 1rem;
}

.th-post-article ul,
.th-post-article ol {
  margin: 0 0 1.15rem 1.2rem;
}

.th-post-article blockquote {
  margin: 1.2rem 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid #228b22;
  background: #f3faf3;
  border-radius: 8px;
}

.th-post-article a {
  color: #228b22;
}

.th-post-article img {
  border-radius: 14px;
  margin: 1rem 0;
  height: auto;
}

.th-post-footer {
  width: min(760px, 100%);
  margin: 2.35rem auto 0;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

.th-post-back,
.th-post-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2d9e8;
  color: #0f172a;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  background: #fff;
}

.th-post-share {
  gap: 0.35rem;
}

@media (max-width: 720px) {
  .th-post-page {
    padding-top: 7.5rem;
  }

  .th-post-cover {
    border-radius: 16px;
  }

  .th-post-fallback {
    min-height: 220px;
  }
}
