body {
  margin: 0;
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #f7f7f7;
  color: #1f2933;
}

a {
  color: #ea580c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.post-layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.post-hero {
  background: linear-gradient(135deg, #f97316, #dc2626);
  color: #fff;
  border-radius: 18px 18px 0 0;
  padding: 40px 32px;
  box-shadow: 0 12px 24px rgba(185, 28, 28, 0.25);
}

.post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.post-title {
  font-size: 38px;
  line-height: 1.25;
  margin: 18px 0 12px;
}

.post-excerpt {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.post-category {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.2);
}

.post-body {
  background: #fff;
  border-radius: 0 0 18px 18px;
  padding: 32px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.post-content {
  line-height: 1.8;
  font-size: 17px;
  color: #1f2933;
}

.post-content-ready {
  animation: fadeIn 0.3s ease-in;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.post-content p {
  margin-bottom: 16px;
}

.post-content pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 15px;
}

.post-content code {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
}

.post-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 18px 0;
}

.post-content blockquote {
  border-left: 4px solid #f97316;
  padding-left: 18px;
  color: #475569;
  margin: 24px 0;
  font-style: italic;
}

.post-footer {
  margin-top: 40px;
  font-size: 14px;
  color: #64748b;
  text-align: center;
}

.post-loading {
  font-size: 16px;
  color: #94a3b8;
  text-align: center;
  padding: 24px 0;
}

.post-noscript {
  margin-top: 24px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .post-hero {
    padding: 32px 24px;
  }

  .post-title {
    font-size: 30px;
  }

  .post-body {
    padding: 24px;
  }
}
