/* 新闻中心页面样式 */
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 新闻项链接样式 */
.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    margin-bottom: 20px;
}

.news-link:hover {
    text-decoration: none;
    color: inherit;
}

/* 推荐项链接样式 */
.recommend-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 15px;
}

.recommend-link:hover {
    text-decoration: none;
    color: inherit;
}

.recommend-link:last-child {
    margin-bottom: 0;
}

/* Banner区域样式 */
.core-banner {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.banner-content h1 {
    font-size: 46px;
    color: #e60012;
    font-weight: bold;
    margin: 0;
}

/* 内容区域样式 */
.newsContainer {
    width: 100%;
    background-color: #f5f5f5;
}

.newsContent {
    width: 100%;
    background-color: #f5f5f5;
    padding: 30px 0 60px;
    display: flex;
    justify-content: center;
}

.newsWrapper {
    width: 1200px;
    display: flex;
    justify-content: space-between;
	flex-wrap: wrap;
}

/* 顶部导航样式 */
.newsNav {
    width: 830px;
    margin-bottom: 30px;
}

.newsNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.newsNav ul li {
    width: 120px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    position: relative;
    background-image: url(/assets/addons/wwh/images/news/navBg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    transition: all 0.3s;
}

.newsNav ul li.active {
    color: #fff;
    font-weight: bold;
    background: #e60012;
}

/* 移除鼠标悬停时的样式变化，仅保留点击激活状态 */
.newsNav ul li:hover:not(.active) {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* 新闻列表部分 */
.newsMainContent {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* 新闻列表样式 */
.newsList {
    width: 830px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newsItem {
    width: 100%;
    height: 180px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.newsItem:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsImage {
    width: 300px;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.newsImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsTag {
    position: absolute;
    bottom: 10px;
    left: 0px;
    padding: 3px 10px;
    font-size: 12px;
    color: #fff;
    border-radius: 4px;
    background-color: rgba(230, 0, 18, 0.8);
}

.newsTag.enterprise {
    background-color: #e60012;
}

.newsTag.product {
    background-color: #ff6600;
}

.newsTag.hot {
    background-color: #ffa500;
}

.newsInfo {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.newsTitle {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
    line-height: 1.4;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsDesc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.newsFooter {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
	position: relative;
}

.timeIcon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.newsDate {
    font-size: 14px;
    color: #999;
}

/* 分页控件样式 */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pageBtn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #222;
    color: #fff;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pageBtn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 右侧推荐区域样式 */
.newsRecommend {
    width: 330px;
    margin-left: 40px;
	margin-top: -80px;
	background-color: #fff;
}

.recommendTitle {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
}
.recommendTitle span{
	width: 6px;
	height: 20px;
	background-color: #e60012;
}
.recommendTitle h6{
	font-size: 20px;
	margin-left: 20px;
}
.recommendTitle::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-image: url(/assets/addons/wwh/images/news/leftBorder.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    position: absolute;
    bottom: 0;
    left: 0;
}

.recommendList {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommendItem {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    background-image: url(/assets/addons/wwh/images/news/leftBg.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto 100%;
}

.recommendItem:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.recommendItem:hover h4{
    color: #e60012;
}
.recommendInfo h4 {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recommendDate {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #999;
    font-size: 12px;
}

.recommendDate .timeIcon {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .newsWrapper {
        width: 90%;
        flex-direction: column;
    }
    
    .newsNav,
    .newsList {
        width: 100%;
    }
    
    .newsMainContent {
        flex-direction: column;
    }
    
    .newsRecommend {
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
    }
} 