/* ========== 内容页（文章详情）样式 ========== */
/* 复用 list.css 的 nyMain / nyContainer 基础布局 */

/* nyContainer 白色背景 */
.nyMain .nyContainer {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* mainContent 在 nyContainer 内居中 */
.mainContent {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 40px;
}

/* ========== 面包屑（内容页版，放标题上方） ========== */
.nyBreadcrumbTop {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    color: #999;
    padding-top: 10px;
    padding-bottom: 10px;
}

.nyBreadcrumbTop a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.nyBreadcrumbTop a:hover {
    color: var(--primary-color);
}

.nyBreadcrumbTop .sep {
    margin: 0 6px;
    color: #ccc;
}

/* ========== 文章标题区 ========== */
.article-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 50px 0 26px 0;
    line-height: 1.5;
}

/* ========== 文章元信息 ========== */
.article-info {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 16px;
}

.article-info .article-info-item {
    display: inline-block;
    margin: 0 12px;
}

.article-info .article-info-item i {
    margin-right: 4px;
}

/* ========== 分割线 ========== */
.article-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0 0 24px 0;
}

/* ========== 正文内容区 ========== */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 16px;
    text-indent: 2em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.article-content table td,
.article-content table th {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: center;
}

.article-content table th {
    background: #f5f5f5;
    font-weight: 600;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--secondary-color);
}

/* VSB CMS 正文兼容 */
.article-content .v_news_content,
.article-content .Section0 {
    font-size: 16px;
    line-height: 1.8;
}

/* ========== 上下篇导航 ========== */
.article-nav {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
}

.article-nav p {
    font-size: 14px;
    color: var(--text-light);
    margin: 8px 0;
    text-indent: 0;
}

.article-nav a {
    color: var(--text-dark);
    text-decoration: none;
}

.article-nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ========== 返回列表 ========== */
.article-back {
    margin-top: 24px;
    text-align: center;
}

.article-back a {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.article-back a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 768px) {
    .article-title {
        font-size: 20px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-info .article-info-item {
        display: block;
        margin: 4px 0;
    }
}
