/* 博客分享页面样式 */
.blog-header {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.blog-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.blog-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.blog-intro {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.blog-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
}

.blog-posts {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.blog-posts .container {
    max-width: 1200px;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-10px);
}

.post-image {
    height: 200px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

.post-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.post-date {
    background: #e6f7ff;
    color: #1890ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-category {
    background: #f0f0f0;
    color: #666;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.post-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2b2d42;
    flex-grow: 1;
}

.post-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: #4361ee;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #3a56d4;
    text-decoration: underline;
}

.blog-subscribe {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.blog-subscribe .container h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.blog-subscribe .container p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.subscribe-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.subscribe-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: #ff6b6b;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: #ff5252;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.2rem;
    }
    
    .blog-header p {
        font-size: 1.1rem;
    }
    
    .blog-posts {
        padding: 60px 0;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .blog-post-card {
        flex-direction: column;
    }
    
    .post-image {
        height: 150px;
    }
}