/* 新闻详情页样式 */
.news-content-container {
    margin: 10px auto 20px;
    max-width: 1270px;
    min-height: calc(100vh - 402px);
}

.news-content-container .container {
    display: flex;
    gap: 30px;
}

.news-content-main {
    flex: 1;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.news-content-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.news-content-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
}

.news-content-info {
    display: flex;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.news-content-info span {
    margin: 0 15px;
}

.news-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-content-body p {
    text-indent: 2em;
}
.news-content-body img {
    max-width: 90%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.news-content-body video {
    max-width: 90%;
    height: auto;
}
.news-content-body iframe {
      max-width: 90%;
    height: auto;
}
.news-content-body table {
	
	max-width: 95%;
    margin: 20px auto; /* 居中显示 */
    border-collapse: collapse;
    border-spacing: 0;
    display: table; /* 标准表格布局 */
    width: auto; /* 内容驱动宽度 */
    table-layout: auto;
    white-space: normal; /* 允许自动换行，避免溢出 */
}
.news-content-body table p{
		 text-indent: 0em;
}

.news-content-image {
    margin: 25px 0;
    text-align: center;
}

.news-content-image img {
    max-width: 100% !important;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-content-footer {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.news-content-share {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.news-content-share span {
    margin-right: 10px;
    color: #666;
}

.share-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.share-icon.weixin {
    background-image: url('../images/icon-weixin.png');
}

.share-icon.weibo {
    background-image: url('../images/icon-weibo.png');
}

.share-icon.qq {
    background-image: url('../images/icon-qq.png');
}

.news-content-nav {
    line-height: 1.8;
}

.news-content-prev, .news-content-next {
    color: #666;
    margin: 5px 0;
}

.news-content-nav a {
    color: #0056b3;
    text-decoration: none;
}

.news-content-nav a:hover {
    text-decoration: underline;
}




/* 响应式调整 */
@media (max-width: 992px) {
    .news-content-container .container {
        flex-direction: column;
    }
    
    .news-content-sidebar {
        width: 100%;
    }
    
    .news-content-title {
        font-size: 24px;
    }
    
    .news-content-info {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .news-content-main {
        padding: 20px 15px;
    }
    
    .news-content-title {
        font-size: 20px;
    }
    
    .news-content-info span {
        margin: 0 8px;
        font-size: 12px;
    }
    
    .news-content-body {
        font-size: 14px;
    }
}
