/* 博客页面样式 */
.blog-main {
    padding: 120px 0 60px;
}

.blog-main h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 36px;
}

.article-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-card h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.article-card h2 a {
    color: #333;
    text-decoration: none;
}

.article-card h2 a:hover {
    color: #1890ff;
}

.article-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.article-meta span {
    margin-right: 20px;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more {
    display: inline-block;
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* SEO优化相关样式 */
article {
    margin-bottom: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .blog-main h1 {
        font-size: 28px;
    }

    .article-card h2 {
        font-size: 20px;
    }

    .category-list {
        gap: 10px;
    }
    
    .category-item {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* 文章分类样式 */
.blog-categories {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.blog-categories h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-item {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #1890ff;
    color: white;
} 