.post-layout {
  position: relative;
  padding-top: 0;
}
.post {
  position: relative;
  border: none;
}
.post-header {
  margin-bottom: 30px;
  padding-bottom: 0;
  border: none;
}
.post-title {
  font-size: 32px;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
}
.post-meta {
  display: flex;
  align-items: center;
  color: #3498db;
  font-size: 14px;
  margin-bottom: 30px;
}
.post-meta .date {
  color: #3498db;
}
.post-content {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}
.post-content h1:first-child {
  display: none;
}
.post-content h1 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: #333;
  font-weight: 600;
  border-bottom: none;
  padding-bottom: 0;
}
.post-content h2 {
  font-size: 20px;
  margin: 25px 0 15px;
  color: #333;
  font-weight: 600;
}
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin: 20px 0 12px;
  color: #333;
  font-weight: 600;
}
.post-content p {
  margin: 15px 0;
  line-height: 1.8;
}
.post-content ul {
  line-height: 1.8;
}
.post-content li {
  margin: 8px 0;
}
.post-content code {
  background: rgba(175, 184, 193, 0.2);
  padding: 0.2em 0.4em;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 85%;
  color: #1f2328;
}
.code-block {
  position: relative;
  margin: 16px 0;
}
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  color: #57606a;
  cursor: pointer;
  transition: background 0.2s;
}
.copy-btn:hover {
  background: #f3f4f6;
  color: #1f2328;
}
.copy-btn.copied {
  color: #1a7f37;
  background: #dafbe1;
  border-color: #1a7f37;
}
.copy-btn svg {
  width: 16px;
  height: 16px;
}
.post-content pre {
  background: #f6f8fa;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid #d0d7de;
  font-size: 13.6px;
  line-height: 1.45;
  tab-size: 4;
}
.code-block pre {
  margin: 0;
}
.post-content pre code {
  background: none;
  padding: 0;
  color: #1f2328;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: inherit;
  line-height: inherit;
}
.post-content blockquote {
  border-left: 4px solid #3498db;
  padding-left: 20px;
  margin: 20px 0;
  color: #666;
  font-style: italic;
  background: #f9f9f9;
  padding: 15px 20px;
  border-radius: 4px;
}
.post-content img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
}
.post-content ul,
.post-content ol {
  margin: 15px 0;
  padding-left: 30px;
}
.post-content a {
  color: #3498db;
  text-decoration: none;
}
.post-content a:hover {
  text-decoration: underline;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.post-content table th,
.post-content table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}
.post-content table th {
  background: #f5f7fa;
  font-weight: 600;
  color: #333;
}
.post-content table tr:nth-child(even) {
  background: #f9f9f9;
}
.post-content table tr:hover {
  background: #f5f5f5;
}
.back-link {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #e0e0e0;
}
.back-link a {
  display: inline-flex;
  align-items: center;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.back-link a:hover {
  color: #3498db;
}
