/* 文章详情页特有样式 */
.post-detail {
    margin-bottom: 40px;
}

.post-detail .post-title {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.post-detail .post-content {
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.8;
}

.post-detail .post-content h1,
.post-detail .post-content h2,
.post-detail .post-content h3,
.post-detail .post-content h4,
.post-detail .post-content h5,
.post-detail .post-content h6 {
    margin: 25px 0 15px;
    font-weight: 600;
}

.post-detail .post-content h1 { font-size: 24px; }
.post-detail .post-content h2 { font-size: 22px; }
.post-detail .post-content h3 { font-size: 20px; }

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

.post-detail .post-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

.post-detail .post-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #007bff;
    font-style: italic;
}

.post-detail .post-content code {
    padding: 2px 6px;
    background-color: #f5f5f5;
    border-radius: 3px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
}

.post-detail .post-content pre {
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow-x: auto;
}

.post-detail .post-content pre code {
    background: none;
    padding: 0;
}

.post-detail .post-content ul,
.post-detail .post-content ol {
    margin: 15px 0 15px 20px;
}

.post-detail .post-content li {
    margin-bottom: 8px;
}

.post-tags {
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-tags a {
    display: inline-block;
    margin-right: 10px;
    padding: 4px 12px;
    background-color: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 16px;
    font-size: 14px;
}

.post-tags a:hover {
    background-color: #007bff;
    color: #fff;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-nav .prev,
.post-nav .next {
    flex: 1;
}

.post-nav .prev {
    margin-right: 15px;
}

.post-nav .next {
    margin-left: 15px;
    text-align: right;
}

.post-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-nav a:hover {
    color: #007bff;
}

.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}