/* 博客文章详情页样式 */
.blog-content {
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.blog-header {
    margin-bottom: 2rem;
    text-align: center;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    margin: 0 0.5rem;
}

.blog-cover-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.blog-body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
}

.blog-body p {
    margin-bottom: 1.5rem;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 4px;
}

.blog-tags {
    margin: 2rem 0;
}

.tag {
    display: inline-block;
    background: #f5f5f5;
    padding: 0.3rem 0.8rem;
    margin: 0.2rem;
    border-radius: 20px;
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
}

.tag:hover {
    background: #e0e0e0;
}

.blog-share {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.share-button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-button.facebook { background: #3b5998; }
.share-button.twitter { background: #1da1f2; }
.share-button.linkedin { background: #0077b5; }

.blog-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
}

.nav-link {
    flex: 0 0 45%;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.nav-link:hover {
    background: #f0f0f0;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }

    .blog-content {
        padding: 0 1rem;
    }

    .blog-body {
        font-size: 1rem;
    }

    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .share-button {
        text-align: center;
        justify-content: center;
    }

    .blog-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-link {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.75rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-meta span {
        display: block;
    }
}