/* 首页英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* 特色文章网格 */
.featured-posts {
    margin-bottom: 3rem;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.post-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.post-card h3 {
    margin-bottom: 1rem;
}

.post-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.post-card .read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

/* 网站信息网格 */
.site-info {
    background: #f8f9fa;
    padding: 3rem 0;
    border-radius: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.info-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* 文章列表页样式 */
.posts-list {
    max-width: 800px;
    margin: 0 auto;
}

.post-item {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-item h2 {
    margin-bottom: 1rem;
}

.post-item h2 a {
    color: #2c3e50;
    text-decoration: none;
}

.post-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta span {
    margin-left: 1rem;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}