/* 页面标题样式 - 精美版 */
.page-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.page-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
    font-weight: 300;
    position: relative;
}

/* 资讯列表样式 - 新闻版 */
.news-list-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.news-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-img img {
    transform: scale(1.05);
}

.news-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-info h3 {
    margin-bottom: 15px;
}

.news-info h3 a {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-info h3 a:hover {
    color: #3498db;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #999;
}

.news-meta span:first-child {
    color: #3498db;
    font-weight: 500;
}

.news-meta span:last-child {
    color: #7f8c8d;
}

/* 分页样式 - 精美版 */
.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    margin: 0 5px;
    background: #fff;
    color: #3498db;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.pagination a:hover {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.pagination a.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    border-color: #3498db;
    transform: scale(1.05);
}

.pagination span {
    display: inline-flex;
    align-items: center;
    padding: 12px 8px;
    color: #7f8c8d;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .page-header p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .news-list-section {
        padding: 40px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .news-item {
        flex-direction: column;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .news-img {
        height: 180px;
    }
    
    .news-info {
        padding: 20px;
    }
    
    .news-info h3 a {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .news-desc {
        font-size: 14px;
        line-height: 1.6;
        -webkit-line-clamp: 2;
        margin-bottom: 15px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 15px;
        font-size: 12px;
    }
    
    .pagination {
        margin-top: 30px;
    }
    
    .pagination a {
        padding: 8px 12px;
        margin: 0 3px;
        font-size: 14px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h2 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .news-list-section {
        padding: 30px 0;
    }
    
    .news-grid {
        gap: 15px;
    }
    
    .news-img {
        height: 150px;
    }
    
    .news-info {
        padding: 15px;
    }
    
    .news-info h3 a {
        font-size: 16px;
    }
    
    .news-desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .pagination a {
        padding: 6px 10px;
        font-size: 12px;
    }
}
    
    .course-info {
        padding: 20px;
    }
    
    .pagination a {
        padding: 10px 15px;
        margin: 0 3px;
    }


@media (max-width: 480px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 28px;
    }
    
    .course-item {
        margin: 0 10px;
    }
}