.container {
    padding-top: 100px;
}

/* 页面标题样式 */
.page-title {
    height: 300px;
    background-image: url('./image/news-top.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
    position: relative;
    margin-top: 80px; /* 为固定导航栏留出空间 */
}

.page-title h1 {
    position: relative;
    z-index: 1;
    font-size: 36px;
    letter-spacing: 2px;
    font-weight: normal;
}

/* 资讯列表样式 */
.news-container {
    width: 76%;
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 18px 15px;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #3066e4;
}

.news-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-date {
    font-size: 12px;
    color: #999;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 50px 0 70px;
    gap: 8px;
    align-items: center;
    list-style-type: none;
}

.pagination a, .pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    min-width: 38px;
    height: 38px;
    font-size: 14px;
    border-radius: 2px;
}

.pagination a:hover {
    background-color: #f5f5f5;
}

.pagination .active {
    background-color: #3066e4;
    color: white;
    border-color: #3066e4;
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}

