.vp-news-tips-page {
  background: var(--vp-color-surface);
}

.vp-single-post-page {
  background: var(--vp-color-surface);
}

.vp-news-tips-grid-section {
  background: var(--vp-color-surface);
}

.vp-news-tips-category + .vp-news-tips-category {
  margin-top: var(--vp-space-20);
}

.vp-news-tips-intro {
  margin: 0 auto var(--vp-space-10);
  max-width: 760px;
  text-align: center;
}

.vp-news-tips-intro h2 {
  margin-bottom: var(--vp-space-4);
}

.vp-news-tips-intro p:last-child {
  color: var(--vp-color-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}

.vp-single-post-hero {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.vp-single-post-hero-shell {
  max-width: 56rem;
}

.vp-single-post-meta {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--vp-font-size-small);
  font-weight: 600;
  margin-top: var(--vp-space-6);
}

.vp-single-post-content-section {
  background: var(--vp-color-surface);
}

.vp-single-post-layout {
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 2.4vw, 2.75rem);
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.8fr);
}

.vp-single-post-article {
  background: var(--vp-color-surface-card);
  border: 1px solid var(--vp-color-border-light);
  border-radius: var(--vp-radius-lg);
  box-shadow: var(--vp-shadow-soft);
  margin: 0;
  padding: clamp(1.5rem, 2.4vw, 2.35rem);
}

.vp-single-post-content {
  color: var(--vp-color-text-muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.vp-single-post-content > :first-child {
  margin-top: 0;
}

.vp-single-post-content > :last-child {
  margin-bottom: 0;
}

.vp-single-post-content h2,
.vp-single-post-content h3,
.vp-single-post-content h4 {
  color: var(--vp-color-primary-strong);
  margin-top: var(--vp-space-10);
}

.vp-single-post-content ul,
.vp-single-post-content ol {
  padding-left: 1.3rem;
}

.vp-single-post-content blockquote {
  background: var(--vp-color-primary-ghost);
  border-left: 4px solid var(--vp-color-accent);
  border-radius: var(--vp-radius-md);
  margin-left: 0;
  margin-right: 0;
  padding: 1.1rem 1.2rem;
}

.vp-single-post-content img {
  border-radius: var(--vp-radius-md);
  height: auto;
}

.vp-single-post-sidebar {
  position: sticky;
  top: calc(var(--vp-header-height) + var(--vp-space-6));
}

.vp-single-post-sidebar-card {
  border: 1px solid rgba(211, 221, 214, 0.8);
  border-radius: var(--vp-radius-lg);
  box-shadow: var(--vp-shadow-soft);
  padding: 1.35rem 1.4rem;
}

.vp-single-post-sidebar-card + .vp-single-post-sidebar-card {
  margin-top: var(--vp-space-5);
}

.vp-single-post-sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--vp-space-3);
}

.vp-single-post-sidebar-card p {
  color: var(--vp-color-text-muted);
  margin-bottom: 0;
}

.vp-single-post-facts {
  display: grid;
  gap: var(--vp-space-4);
}

.vp-single-post-fact {
  border-top: 1px solid var(--vp-color-border-light);
  padding-top: var(--vp-space-4);
}

.vp-single-post-fact:first-child {
  border-top: 0;
  padding-top: 0;
}

.vp-single-post-fact-label {
  color: var(--vp-color-text-faint);
  display: block;
  font-size: var(--vp-font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.vp-single-post-sidebar-card .button {
  justify-content: center;
  margin-top: var(--vp-space-5);
  width: 100%;
}

.vp-single-post-related {
  margin-top: var(--vp-space-20);
}

@media (max-width: 768px) {
  .vp-single-post-layout {
    grid-template-columns: 1fr;
  }

  .vp-single-post-sidebar {
    position: static;
  }

  .vp-single-post-article {
    padding: 1.35rem;
  }

  .vp-single-post-related {
    margin-top: var(--vp-space-16);
  }

  .vp-news-tips-category + .vp-news-tips-category {
    margin-top: var(--vp-space-16);
  }
}
