@charset "UTF-8";
/* 页面标题 */
.page-header {
    padding: 40px 0 20px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
}

/* 文章列表区域 */
.articles-section {
    padding: 20px 0 80px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF0050;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #FF0050;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-excerpt {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
    margin-top: 15px;
}

.read-more {
    display: inline-block;
    color: #FF0050;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    align-self: flex-start;
}

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

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: white;
    border: 1px solid #eee;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.page-btn.active {
    background-color: #FF0050;
    color: white;
    border-color: #FF0050;
}

.page-btn:hover:not(.active) {
    background-color: #f5f5f5;
    border-color: #ddd;
}