/* 新闻详情页专用样式 */
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 页面容器 */
.newsContainer {
    width: 100%;
    background-color: #f5f5f5;
}

/* 简化版顶部导航 */
.simplifiedHeader {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 0;
}

.headerContainer {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.logoArea img {
    height: 35px;
}

/* 新闻详情页主体样式 */
.newsDetailPage {
    width: 100%;
    background-color: #f7f7f7;
    padding: 20px 0 60px;
    display: flex;
    justify-content: center;
}

.newsDetailWrapper {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* 左侧内容区域 */
.newsLeftSide {
    width: 830px;
    display: flex;
    flex-direction: column;
}

.newsDetailTags {
    background-color: #fff;
    padding: 15px 20px;
    margin-bottom: 0;
}

.tagNav {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tagItem {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.tagSeparator {
    margin: 0 8px;
    color: #999;
}

.tagItem.active {
    color: #e60012;
}

.newsDetailTitle {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.newsPublishDate {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 14px;
}

.newsPublishDate .timeIcon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
}

.newsDetailMain {
    background-color: #fff;
    padding: 20px;
}

.newsImageBox {
    width: 100%;
    margin-bottom: 20px;
}

.newsDetailMainImage {
    width: 100%;
    display: block;
    object-fit: cover;
}

.newsContent {
    margin-bottom: 20px;
}

.newsContent p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.newsNavigator {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.prevNews, .nextNews {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.prevNews:hover, .nextNews:hover {
    color: #e60012;
}

/* 右侧区域样式 - 从news.css复制 */
.newsRightSide {
    width: 330px;
}

/* 右侧推荐区域样式 */
.newsRecommend {
    width: 330px;
    margin-left: 0;
    margin-top: 0;
}

.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: no-repeat;
    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);
}

.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;
}

/* 推荐项链接样式 */
.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;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .headerContainer,
    .newsDetailWrapper {
        width: 100%;
        padding: 0 15px;
    }
    
    .newsLeftSide {
        width: 65%;
    }
    
    .newsRightSide {
        width: 33%;
    }
}

@media screen and (max-width: 768px) {
    .newsDetailWrapper {
        flex-direction: column;
    }
    
    .newsLeftSide, .newsRightSide {
        width: 100%;
    }
    
    .newsRightSide {
        margin-top: 20px;
    }
} 