/* 博客正文排版（替代未编入构建的 Tailwind Typography prose 类） */
.blog-article {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.08);
}

@media (min-width: 768px) {
  .blog-article {
    padding: 3rem;
  }
}

.blog-article .content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #334155;
}

.blog-article .content h1,
.blog-article .content h2,
.blog-article .content h3,
.blog-article .content h4 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.75em;
  margin-bottom: 0.6em;
}

.blog-article .content h1 { font-size: 1.875rem; margin-top: 0; }
.blog-article .content h2 { font-size: 1.5rem; }
.blog-article .content h3 { font-size: 1.25rem; }

.blog-article .content p {
  margin: 1em 0;
}

.blog-article .content a {
  color: #165dff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article .content a:hover {
  color: #0045e6;
}

.blog-article .content ul,
.blog-article .content ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.blog-article .content li {
  margin: 0.35em 0;
}

.blog-article .content pre,
.blog-article .content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.blog-article .content pre {
  background: #f1f5f9;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1.25em 0;
}

.blog-article .content code {
  background: #f1f5f9;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}

.blog-article .content pre code {
  background: transparent;
  padding: 0;
}

.blog-article .content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.5em auto;
  display: block;
}

.blog-article .content blockquote {
  border-left: 4px solid #165dff;
  margin: 1.25em 0;
  padding: 0.5em 0 0.5em 1em;
  color: #64748b;
}

.blog-article .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25em 0;
}

.blog-article .content th,
.blog-article .content td {
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.blog-article .content th {
  background: #f8fafc;
  font-weight: 600;
}
