.post-detail {
    background: var(--light-paper);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px -5px var(--shadow);
    position: relative;
    margin-bottom: 3rem;
}

.post-header {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.post-detail .post-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-detail .post-title::after {
    width: 100px;
    height: 3px;
}

.post-detail .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--ink-light);
    font-size: 0.95rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.post-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #eaeaea;
    font-weight: 600;
    color: var(--deep-red);
}

.post-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--deep-red);
}

.post-content p {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    text-align: justify;
}

.post-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 0.8rem 0 0.8rem 1.8rem;
    margin: 1.8rem 1rem;
    background: #fcf9f0;
    font-style: italic;
    color: #5c3c0c;
    border-radius: 0 4px 4px 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2.5rem auto;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed #e0d6c5;
}

.post-tags {
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    text-decoration: none;
    color: var(--ink-light);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(139, 0, 0, 0.2);
}

.related-posts {
    margin: 4rem 0;
}

.related-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eaeaea;
    color: var(--deep-red);
    font-family: 'Ma Shan Zheng', cursive;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.related-item {
    background: #faf6ee;
    padding: 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #f0e8d8;
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.related-category {
    font-size: 0.7rem;
    background: var(--deep-red);
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.related-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.comments-section {
    margin: 4rem 0;
    background: #fcf9f4;
    padding: 2.5rem;
    border-radius: 4px;
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eaeaea;
    color: var(--deep-red);
    font-family: 'Ma Shan Zheng', cursive;
}

.comment-form {
    margin-bottom: 2rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 1.2rem;
    border: 1px solid #e0d6c5;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    resize: vertical;
    background: white;
}

.comment-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-name {
    width: 30%;
    padding: 0.8rem;
    border: 1px solid #e0d6c5;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
}

.submit-btn {
    padding: 0.8rem 1.8rem;
    background: var(--crimson);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #b3001e;
}

.comment-list {
    border-top: 1px solid #eaeaea;
    padding-top: 1.5rem;
}