/* 列表页面样式（通知公告、教育教学、加盟合作） */

/* 右侧列表区域 */
.list-main {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.list-title {
    font-size: 28px;
    color: #d32f2f;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d32f2f;
}

/* 文章列表 */
.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list li {
    border-bottom: 1px dashed #e0e0e0;
    transition: background 0.3s;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list li:hover {
    background: #f5f7fa;
}

.article-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.article-list li:hover a {
    padding-left: 20px;
}

.article-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.article-title::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #1e88e5;
    font-size: 12px;
}

.article-list li:hover .article-title {
    color: #1e88e5;
}

.article-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

.article-date {
    color: #999;
    font-size: 14px;
}

.article-dept {
    color: #666;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f7fa;
    border-radius: 4px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.page-btn,
.page-number {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    background: white;
}

.page-btn:hover:not(.disabled),
.page-number:hover:not(.active) {
    background: #1e88e5;
    color: white;
    border-color: #1e88e5;
}

.page-number.active {
    background: #1e88e5;
    color: white;
    border-color: #1e88e5;
    font-weight: bold;
}

.page-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f5f5f5;
}

.page-ellipsis {
    padding: 8px 5px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .list-main {
        padding: 20px;
    }
    
    .list-title {
        font-size: 24px;
    }
    
    .article-list li a {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .article-meta {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .list-title {
        font-size: 20px;
    }
    
    .article-title {
        font-size: 14px;
    }
    
    .article-date,
    .article-dept {
        font-size: 12px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .page-btn,
    .page-number {
        padding: 6px 10px;
        font-size: 14px;
    }
}

