/* 新闻列表页面样式 */

/* 页面标题区域 */
.page-title-section {
    background-color: #000;
    background-image: url('https://www.szpu.edu.cn/banner/3.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 0 50px;
    margin-bottom: 30px;
    position: relative;
}


.page-title-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.page-title {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 10px;
}

.breadcrumb {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--light-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #ffbb00;
}

/* 新闻分类标签 */
.news-categories {
    margin-bottom: 30px;
}

.news-categories .nav-link {
    color: #333;
    font-weight: 500;
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.3s;
}

.news-categories .nav-link:hover {
    background-color: #e9ecef;
}

.news-categories .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* 新闻列表项样式 */
.news-item {
    transition: all 0.3s ease;
    border-radius: 5px;
    overflow: hidden;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-title a:hover {
    color: var(--primary-color) !important;
}

.news-summary {
    color: #6c757d;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    font-size: 0.85rem;
}

.news-date {
    color: #6c757d;
}

/* 右侧边栏样式 */
.sidebar-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.notice-item {
    transition: all 0.3s ease;
}

.notice-item:hover .notice-title {
    color: var(--primary-color) !important;
}

.notice-title {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-cloud a {
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 400;
}

.tag-cloud a:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* 分页导航样式 */
.pagination .page-link {
    color: #333;
    border: none;
    margin: 0 3px;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    color: var(--primary-color);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}

/* 更多链接样式 */
.more-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.more-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-title-section {
        padding: 100px 0 30px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .news-categories .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-image {
        height: 160px;
    }
    
    .sidebar-widget {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .news-title {
        font-size: 1rem;
    }
} 