/* 新闻资讯容器样式 */
.news-container {
    background-color: #e7e7e7;
    padding: 50px 200px;
}

/* 新闻内层容器 */
.news-inner {
    max-width: 1200px;
    padding: 0px;
    margin: 0 auto;

}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /*justify-content: space-between;*/
}

/* 新闻项 */
.news-item {
    flex: 0 0 calc(33.33% - 14px);
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

/* 新闻图片 */
.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* 新闻内容 */
.news-content {
    padding: 15px;
}

/* 新闻标题 */
.news-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    background: white;
    text-align: left;
}

/* 新闻右侧文字 */
.news-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #666;
    font-size: 14px;

}

.news-right::after {
    content: "→";
    margin-left: 5px;
    color: #0066cc;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .news-container {
        padding: 30px 10px;
    }
    
    .news-item {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
}

a {
    text-decoration: none;
}

/* 添加在现有CSS文件中 */
.news-right {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    padding-right: 15px; /* 为箭头留出空间 */
}

.news-right::after {
    content: "→";
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.news-item:hover .news-right {
    color: #ff6600; /* 悬停时文字变色 */
}

.news-item:hover .news-right::after {
    opacity: 1;
    transform: translateX(0);
}

/* 分页导航样式 */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
	font-size: 16px;
}
.pagination a:hover {
    background-color: #f5f5f5;
}

.page.active {
  background-color: #1E90FF; /* 蓝色背景 */
  color: white; /* 白色文字提高可读性 */
  padding: 2px 8px; /* 适当内边距 */
  border-radius: 4px; /* 圆角效果 */
}