/**
 * wenzhang.css - 文章内容页样式
 */

/* --- 全局重置 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    color: #333;
    font-size: 14px;
    background-color: #fff;
    line-height: 1.8;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 主容器 */
.container {
    width: 72vw; /* 与面包屑保持一致 */
    margin: 0 auto;
}

/* --- 标题区域 (左对齐) --- */
h1.article-title {
    font-size: 26px;
    color: #222;
    text-align: left; 
    margin-bottom: 20px;
    font-weight: normal; 
    line-height: 1.4;
}

/* --- 信息栏 (左对齐 + 圆角) --- */
.article-meta {
    background-color: #f2f2f2; 
    padding: 10px 20px;       
    text-align: left;         
    color: #444;              
    font-size: 12px;
    margin-bottom: 40px;
    border-radius: 6px;       
}

/* --- 正文区域 --- */
.article-body {
    font-size: 17px;
    color: #333;
    line-height: 2;
}

.article-body p {
    margin-bottom: 25px;
    text-indent: 2em; 
    text-align: justify; 
}

/* 使p标签内的图片居中并添加圆角 */
.article-body p img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
}

/* 为相邻图片之间添加额外间隔 */
.article-body p img + img {
    margin-top: 15px;
}

/* 使文章内容中的视频标签响应式显示 */
.article-body video {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    margin-bottom: 25px;
}

.bold-text {
    font-weight: bold;
    text-indent: 0 !important;
    text-align: left !important;
}

/* 图片容器样式 */
.art-figure {
    background-color: #e6e6e6; 
    padding: 25px;
    margin: 40px auto 10px auto; 
    display: table; 
    max-width: 100%;
}

.art-figure img {
    display: block;
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}

.img-caption {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 50px;
    font-family: "SimSun", serif;
}

/* --- 分页 Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px 0 60px 0;
}

.pagination a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background-color: #f5f5f5;
    color: #666;
    font-size: 13px;
    border-radius: 2px;
}

.pagination a.active {
    background-color: #b62518;
    color: #fff;
}

.pagination a:hover:not(.active) {
    background-color: #e0e0e0;
}

/* --- 相关新闻 --- */
.related-section {
    margin-top: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 15px;
}

.section-header h3 {
    font-size: 20px;
    font-weight: normal;
    color: #333;
    letter-spacing: 1px;
    display: inline-block;
}

/* 针对"新闻"二字的红色下划线 */
.news-underline {
    border-bottom: 3px solid #c84a3a;
    padding-bottom: 6px;
}

/* 长黄线 */
.gold-divider {
    width: 100%;
    height: 10px;
    background-color: #fdf1e1;
    margin-bottom: 40px;
}

.news-grid-container {
    display: flex;
    justify-content: space-between;
}

.news-column {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.news-column.left-col {
    border-right: 1px dashed #ddd;
    padding-right: 40px;
}

.news-column.right-col {
    padding-left: 40px;
}

.news-item {
    margin-bottom: 40px;
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;
}

.news-date-tag {
    background-color: #f8eed8;
    color: #000;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px;
}

.news-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* 标准属性 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底部社交条 */
.social-bar { 
    text-align: center; 
    padding: 10px 0 50px 0;
}

.social-icons { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 35px; 
    margin-bottom: 0;
}

.social-icon-img { 
    height: 32px; 
    width: auto; 
    cursor: pointer; 
    transition: transform 0.2s;
    display: block;
}
.social-icon-img:hover { 
    transform: scale(1.1); 
}

/* 全屏图片显示 */
.social-full-banner { 
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
}

.social-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

