
/* 产业资讯整体样式 */
#news {
    width: 100%;
    margin: auto;
    padding: 20px;
    background-color: #fff;
}

.exhibition-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.exhibition-title img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.project-one .project-two {
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.project-one .project-three {
    font-size: 14px;
    color: #999;
    margin-top: 2px;
}

/* 产业资讯区域样式 */
.content-section {
    margin-bottom: 30px;
    padding: 20px;
}

.exhibition-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.exhibition-title img {
    margin-right: 10px;
}

.project-ones {
    display: flex;
    color: #486c8c;
}

.project-twos {
    font-size: 32px;
    margin-bottom: 5px;
    color: #486c8c;
}

.project-threes {
    font-size: 18px;
    color: #486c8c;
    margin-top: 6px;
    margin-top: 4%;
    margin-left: 3px;
}

/* 新闻列表样式 - 改为左右两列布局 */
.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 一行两列 */
    gap: 20px;
    /* 调整间距 */
}

/* 新闻条目容器 */
.news-item {
    display: flex;
    gap: 10px;
    /* 新增：为子元素的绝对定位提供参考 */
    position: relative; 
    /* 可根据需要设置宽度，比如适应父容器宽度 */
    width: 100%; 
    /* 可选：添加边框等样式便于查看布局，实际可删除 */
    border: 1px solid #eee; 
    border-radius: 4px;
    padding: 10px;
    box-sizing: border-box;
}

/* 新闻信息容器，用于包裹标题、描述、日期 */
.news-info {
    display: flex;
    flex-direction: column;
    /* 让日期可以绝对定位到右下角，需要父元素有一定高度 */
    position: relative; 
    flex: 1;
}

/* 新闻日期样式 */
.news-date {
    /* 绝对定位到右下角 */
    position: absolute; 
    right: 10px;
    bottom: 10px; 
    font-size: 15px;
    color:#666 ;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item img {
    width: 284px;
    height: 195px;
}

.news-title{
    margin-bottom: 7px;
}

.news-info-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.news-desc {
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 5px;
    justify-content: right; 
    margin-top: 80px;
}

/* 通用按钮样式，包括上一页、下一页、尾页、页码 */
.pagination button {
    padding: 4px 12px;
    cursor: pointer;
    border-radius: 0px;
    transition: all 0.2s ease;
    background-color: white;
    color: #333; 
    border: 1px solid #999; 
    /* 新增 flex 相关属性 */
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中（可选，让文字在按钮内水平也居中） */
  }

/* 页码按钮（非 active 状态） hover 效果 */
.pagination button.page-btn:hover:not(.active) {
    border-color: #486c8c;
    color: #486c8c; 
    border-style: solid;
}

/* 高亮（active）状态的页码按钮样式 */
.pagination button.active {
    background-color: #486c8c;
    color: white; 
    border: 1px solid #486c8c; /* 实线边框 */
}

/* 上一页、下一页、尾页等按钮可单独调整样式（如果需要区别于页码按钮），这里简单示例 */
.pagination button.prev-page,
.pagination button.next-page {
    /* 可以根据需求设置不同的边框、颜色等，比如保持虚线边框 */
    border: 1px solid #999; 
}
.pagination button.prev-page:hover,
.pagination button.next-page:hover {
    border-color: #486c8c;
    color: #486c8c;
    border-style: solid;
}