﻿/* 株洲集成 - 打印机新闻系统样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #f0f4f8; color: #2d3748; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* 顶部导航 */
.nc-header { background: #fff; border-bottom: 1px solid #dce3eb; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(26,54,93,0.06); }
.nc-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nc-logo { display: flex; align-items: center; gap: 12px; }
.nc-logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, #1a365d, #2c5282); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #c9a961; font-size: 20px; }
.nc-logo-text h1 { font-size: 20px; font-weight: 700; color: #1a365d; letter-spacing: 0.5px; }
.nc-logo-text .nc-logo-title { font-size: 20px; font-weight: 700; color: #1a365d; letter-spacing: 0.5px; margin: 0; padding: 0; }
.nc-logo-text p { font-size: 12px; color: #718096; margin-top: 2px; letter-spacing: 0.2px; text-align: justify; text-align-last: justify;}
.nc-nav { display: flex; gap: 8px; }
.nc-nav a { padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #4a5568; transition: all 0.2s; }
.nc-nav a:hover { background: #ebf4ff; color: #1a365d; }
.nc-nav a.active { background: #1a365d; color: #fff; }
.nc-nav a i { margin-right: 6px; }

/* Banner */
.nc-banner { background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%); color: #fff; padding: 36px 24px 36px 24px; position: relative; overflow: hidden; }
.nc-banner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,169,97,0.12) 0%, transparent 70%); border-radius: 50%; }
.nc-banner::after { content: ''; position: absolute; bottom: -60%; left: -5%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); border-radius: 50%; }
.nc-banner-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.nc-banner-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; letter-spacing: 1px; }
.nc-banner-title i { color: #fff; margin-right: 10px; }
.nc-banner-service { font-size: 16px; color: rgba(255,255,255,0.9); margin-bottom: 14px; letter-spacing: 0.5px; }
.nc-banner-service span { color: #fff; font-weight: 600; margin: 0 4px; }
.nc-banner-tags { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.nc-banner-tags span { margin: 0 6px; }
.nc-banner-highlight { display: inline-flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nc-banner-highlight span { background: rgba(201,169,97,0.2); border: 1px solid rgba(201,169,97,0.4); color: #f0d98a; padding: 6px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; }

/* 主内容 */
.nc-main { max-width: 1200px; margin: 0 auto; padding: 40px 24px 60px; }

/* 分类标签 */
.nc-cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.nc-cat-tab { padding: 10px 24px; border-radius: 10px; font-size: 14px; font-weight: 500; color: #4a5568; background: #fff; border: 1px solid #dce3eb; transition: all 0.2s; }
.nc-cat-tab:hover { border-color: #2b6cb0; color: #2b6cb0; }
.nc-cat-tab.active { background: #1a365d; color: #fff; border-color: #1a365d; }
.nc-cat-tab i { margin-right: 6px; }

/* 文章卡片 */
.nc-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nc-news-card { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid #dce3eb; transition: all 0.3s; position: relative; overflow: hidden; }
.nc-news-card::after { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg, #c9a961, #1a365d); opacity: 0; transition: opacity 0.3s; }
.nc-news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(26,54,93,0.12); border-color: #c3d4e8; }
.nc-news-card:hover::after { opacity: 1; }
.nc-news-cat { display: inline-block; padding: 4px 12px; background: #ebf4ff; color: #1a365d; border-radius: 6px; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.nc-news-title { font-size: 18px; font-weight: 700; color: #2d3748; line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.nc-news-card:hover .nc-news-title { color: #1a365d; }
.nc-news-desc { font-size: 14px; color: #718096; line-height: 1.7; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-news-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid #edf2f7; }
.nc-news-meta-left { display: flex; align-items: center; gap: 18px; font-size: 13px; color: #a0aec0; }
.nc-news-meta-left i { margin-right: 5px; color: #c9a961; }
.nc-news-readmore { font-size: 13px; font-weight: 600; color: #2b6cb0; display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.nc-news-card:hover .nc-news-readmore { gap: 10px; }

/* 分页 */
.nc-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.nc-page-btn { min-width: 42px; height: 42px; padding: 0 16px; border-radius: 10px; background: #fff; border: 1px solid #dce3eb; color: #4a5568; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; transition: all 0.2s; cursor: pointer; }
.nc-page-btn:hover { border-color: #2b6cb0; color: #2b6cb0; }
.nc-page-btn.active { background: #1a365d; color: #fff; border-color: #1a365d; }
.nc-page-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.nc-page-info { font-size: 14px; color: #718096; margin: 0 12px; }

/* 空状态 */
.nc-empty { text-align: center; padding: 80px 20px; background: #fff; border-radius: 16px; border: 1px solid #dce3eb; }
.nc-empty-icon { font-size: 64px; color: #cbd5e0; margin-bottom: 20px; }
.nc-empty-text { font-size: 18px; color: #718096; }

/* 底部 */
.nc-footer { background: #1a365d; color: rgba(255,255,255,0.75); padding: 48px 0 0; margin-top: 30px; }
.nc-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nc-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 36px; }
.nc-footer-col .nc-footer-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.nc-footer-col ul { list-style: none; }
.nc-footer-col li { font-size: 14px; line-height: 2.2; color: rgba(255,255,255,0.7); }
.nc-footer-col li i { width: 20px; color: #c9a961; margin-right: 8px; }
.nc-footer-col li a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.nc-footer-col li a:hover { color: #c9a961; }
.nc-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; text-align: center; }
.nc-footer-copy { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.nc-footer-links { font-size: 13px; color: rgba(255,255,255,0.45); }
.nc-footer-links a { color: rgba(255,255,255,0.45); margin: 0 8px; transition: color 0.2s; }
.nc-footer-links a:hover { color: #c9a961; }
@media (max-width: 768px) {
    .nc-footer-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* 详情页 */
.nc-breadcrumb { font-size: 14px; color: #718096; margin-bottom: 24px; }
.nc-breadcrumb a { color: #718096; transition: color 0.2s; }
.nc-breadcrumb a:hover { color: #1a365d; }
.nc-breadcrumb i { margin: 0 10px; font-size: 11px; }
.nc-detail-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.nc-article { background: #fff; border-radius: 16px; padding: 40px; border: 1px solid #dce3eb; }
.nc-article h1 { font-size: 28px; font-weight: 700; color: #2d3748; line-height: 1.4; margin-bottom: 20px; }
.nc-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid #edf2f7; margin-bottom: 32px; font-size: 14px; color: #718096; }
.nc-article-meta i { color: #c9a961; margin-right: 6px; }
.nc-article-meta a { color: #1a365d; font-weight: 500; }
.nc-article-content { font-size: 16px; line-height: 1.9; color: #4a5568; }
.nc-article-content h3 { font-size: 20px; font-weight: 700; color: #1a365d; margin: 28px 0 14px; padding-left: 12px; border-left: 4px solid #c9a961; }
.nc-article-content h4 { font-size: 17px; font-weight: 600; color: #2d3748; margin: 22px 0 10px; }
.nc-article-content p { margin-bottom: 14px; }
.nc-article-content ul, .nc-article-content ol { margin: 14px 0 14px 24px; }
.nc-article-content li { margin-bottom: 8px; }
.nc-article-content table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 14px; }
.nc-article-content table th { background: #f7fafc; border: 1px solid #dce3eb; padding: 10px; text-align: left; font-weight: 600; color: #1a365d; }
.nc-article-content table td { border: 1px solid #dce3eb; padding: 10px; }
.nc-article-content strong { color: #2d3748; }
.nc-keywords { margin-top: 40px; padding-top: 24px; border-top: 1px solid #edf2f7; }
.nc-keywords-label { font-size: 14px; color: #718096; margin-right: 10px; }
.nc-keyword-tag { display: inline-block; padding: 4px 12px; background: #ebf4ff; color: #1a365d; border-radius: 6px; font-size: 13px; margin-right: 8px; margin-bottom: 8px; }
.nc-widget { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid #dce3eb; margin-bottom: 24px; }
.nc-widget-title { font-size: 18px; font-weight: 700; color: #1a365d; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #edf2f7; display: flex; align-items: center; gap: 8px; }
.nc-widget-title-bar { width: 4px; height: 20px; background: linear-gradient(180deg, #c9a961, #1a365d); border-radius: 2px; display: inline-block; }
.nc-related-list { display: flex; flex-direction: column; gap: 16px; }
.nc-related-item { display: block; padding-bottom: 16px; border-bottom: 1px solid #f0f4f8; transition: all 0.2s; }
.nc-related-item:last-child { border-bottom: none; padding-bottom: 0; }
.nc-related-title { font-size: 14px; font-weight: 500; color: #4a5568; line-height: 1.6; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.nc-related-item:hover .nc-related-title { color: #1a365d; }
.nc-related-date { font-size: 12px; color: #a0aec0; }
.nc-related-date i { margin-right: 5px; color: #c9a961; }
.nc-related-empty { text-align: center; padding: 20px; color: #a0aec0; font-size: 14px; }
.nc-contact-card { background: linear-gradient(135deg, #1a365d, #2c5282); border-radius: 16px; padding: 28px; color: #fff; position: sticky; top: 80px; z-index: 10; }
.nc-contact-card .nc-contact-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.nc-contact-card .nc-contact-title i { margin-right: 8px; color: #c9a961; }
.nc-contact-card p { font-size: 14px; opacity: 0.85; margin-bottom: 20px; line-height: 1.7; }
.nc-contact-phone { display: block; background: #c9a961; color: #1a365d; text-align: center; padding: 14px; border-radius: 10px; font-size: 18px; font-weight: 700; transition: all 0.2s; }
.nc-contact-phone:hover { background: #d4b571; }
.nc-contact-phone i { margin-right: 8px; }

/* 列表页标题 */
.nc-list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.nc-list-title { font-size: 22px; font-weight: 700; color: #1a365d; display: flex; align-items: center; gap: 10px; }
.nc-list-title-bar { width: 4px; height: 24px; background: linear-gradient(180deg, #c9a961, #1a365d); border-radius: 2px; display: inline-block; }
.nc-list-count { font-size: 14px; color: #718096; }
.nc-list-count strong { color: #1a365d; }

@media (max-width: 900px) {
    .nc-detail-wrap { grid-template-columns: 1fr !important; }
    .nc-contact-card { position: static; }
}
@media (max-width: 768px) {
    .nc-news-grid { grid-template-columns: 1fr; }
    .nc-nav { display: none; }
    .nc-header-inner { height: 60px; }
    .nc-logo-text h1 { font-size: 17px; }
    .nc-logo-text p { font-size: 10px; }
    .nc-banner { padding: 24px 16px; }
    .nc-banner-title { font-size: 20px; }
    .nc-banner-service { font-size: 14px; }
    .nc-banner-tags { font-size: 12px; }
    .nc-banner-highlight span { font-size: 12px; padding: 5px 12px; }
    .nc-article { padding: 24px; }
    .nc-article h1 { font-size: 22px; }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #1a365d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 0 0 2px #fff;
    transition: all 0.3s;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    font-size: 16px;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 2px #fff;
}

/* 移动端底部电话栏 */

@media (max-width: 768px) {
.back-to-top {
        bottom: 70px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 14px;
    }
}

/* ========== 故障搜索 ========== */
.nc-fault-search-form { display: flex; gap: 8px; margin-bottom: 12px; }
.nc-fault-search-input { flex: 1; min-width: 0; padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; outline: none; transition: border-color 0.2s; }
.nc-fault-search-input:focus { border-color: #2563eb; }
.nc-fault-search-btn { padding: 8px 14px; background: #2563eb; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; transition: background 0.2s; }
.nc-fault-search-btn:hover { background: #1d4ed8; }
.nc-fault-search-results { border-top: 1px solid #f3f4f6; padding-top: 12px; }
.nc-fault-search-count { font-size: 12px; color: #6b7280; margin-bottom: 10px; }
.nc-fault-search-item { display: block; padding: 8px 0; border-bottom: 1px dashed #e5e7eb; text-decoration: none; transition: background 0.2s; }
.nc-fault-search-item:hover { background: #f9fafb; }
.nc-fault-search-item:last-child { border-bottom: none; }
.nc-fault-search-title { font-size: 13px; color: #374151; line-height: 1.5; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-fault-search-item:hover .nc-fault-search-title { color: #2563eb; }
.nc-fault-search-date { font-size: 11px; color: #9ca3af; }
.nc-fault-search-date i { margin-right: 4px; }
.nc-fault-search-empty { font-size: 13px; color: #9ca3af; text-align: center; padding: 16px 0; }

/* ========== 列表页搜索框 ========== */
.nc-cat-search-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.nc-cat-search-row .nc-cat-tabs { margin: 0; flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nc-list-search-form { display: flex; gap: 8px; flex-shrink: 0; }
.nc-list-search-input { width: 220px; padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; outline: none; transition: border-color 0.2s; }
.nc-list-search-input:focus { border-color: #2563eb; }
.nc-list-search-btn { padding: 8px 16px; background: #2563eb; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; transition: background 0.2s; }
.nc-list-search-btn:hover { background: #1d4ed8; }
@media (max-width: 768px) {
    .nc-cat-search-row { flex-direction: column; align-items: stretch; }
    .nc-list-search-form { width: 100%; }
    .nc-list-search-input { flex: 1; width: auto; }
}
/* ---------- banner电话按钮 ---------- */
.nc-banner-phone {
    margin-top: 20px;
    margin-bottom: 0;
    text-align: center;
}
.nc-banner-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 10px 28px;
    background: rgba(201, 169, 97, 0.15);
    border: 1px solid rgba(201, 169, 97, 0.5);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 15px;
    line-height: 1;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}
.nc-banner-phone-btn:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: rgba(201, 169, 97, 0.7);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}
.nc-banner-phone-btn i {
    font-size: 16px;
    color: #fff;
    margin-right: 6px;
    animation: nc-phone-ring 1.5s ease-in-out infinite;
}
.nc-banner-phone-btn span {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}
@keyframes nc-phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}
@media (max-width: 768px) {
    .nc-banner-phone-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    .nc-banner-phone-num {
        font-size: 17px;
    }
}
/* ---------- 温馨提醒 ---------- */
.nc-warm-reminder {
    margin-top: 24px;
    padding: 14px 18px;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    font-size: 13px;
    color: #92400e;
    line-height: 1.7;
}
.nc-warm-reminder i {
    color: #f59e0b;
    margin-right: 8px;
}

/* ========== 分享功能样式 ========== */
.nc-share-wrap { position: relative; display: inline-block; }
.nc-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #c9a961 0%, #b8943f 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}
.nc-share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}
.nc-share-btn i { color: #fff !important; margin-right: 0 !important; }

.nc-share-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #edf2f7;
    z-index: 9999;
    
    animation: shareFadeIn 0.2s ease;
}
.nc-share-menu.show { display: block; }
@keyframes shareFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
.nc-share-title {
    padding: 12px 16px 8px;
    font-size: 12px;
    color: #a0aec0;
    font-weight: 500;
    border-bottom: 1px solid #f7fafc;
}
.nc-share-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
}
.nc-share-item:hover {
    background: #f7fafc;
    color: #1a365d;
}
.nc-share-item i { width: 18px; text-align: center; margin-right: 0 !important; }

.nc-wechat-qr {
    padding: 12px;
    border-top: 1px solid #edf2f7;
    text-align: center;
}
.nc-qr-title {
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}
.nc-qr-tip {
    font-size: 11px;
    color: #a0aec0;
    margin-top: 6px;
}

/* 复制成功提示 */
.nc-copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 99999;
    animation: toastFade 0.3s ease;
}
@keyframes toastFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nc-share-wrap { margin-left: 0 !important; width: 100%; margin-top: 10px; }
    .nc-share-btn { width: 100%; justify-content: center; }
    .nc-share-menu { right: auto; left: 0; width: 100%; }
}

/* ========== 移动端显示优化（仅 <=768px 生效，不影响电脑端） ========== */
@media (max-width: 768px) {
    /* 兜底：防止任何元素撑出整页横向滚动 */
    html, body { max-width: 100%; overflow-x: hidden; }

    /* 正文长英文/数字型号自动断行 */
    .nc-article-content,
    .nc-article-content p,
    .nc-article-content li,
    .nc-article-content td,
    .nc-article-content th,
    .nc-related-title { overflow-wrap: anywhere; word-break: break-word; }

    /* 正文容器作为横向滚动安全区，超宽表格/代码在其内部滑动，不撑破页面 */
    /* min-width:0 解决 grid 子项被 nowrap 表格撑开导致 overflow 失效的问题 */
    .nc-article { min-width: 0; }
    .nc-article-content { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* 多列表格保持自然列宽（不压缩竖排），超出时在正文容器内横向滑动 */
    .nc-article-content table {
        width: auto;
        max-width: none;
        font-size: 13px;
    }
    .nc-article-content table th,
    .nc-article-content table td { white-space: nowrap; }

    /* 正文图片自适应屏宽 */
    .nc-article-content img { max-width: 100%; height: auto; }

    /* 侧边栏标题、卡片内文字断行 */
    .nc-widget, .nc-contact-card { overflow-wrap: anywhere; word-break: break-word; }
}



/* 上一篇/下一篇 */
.nc-prev-next {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.nc-prev, .nc-next {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nc-next {
    text-align: right;
    align-items: flex-end;
}
.nc-pn-label {
    font-size: 12px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nc-next .nc-pn-label {
    flex-direction: row-reverse;
}
.nc-pn-link {
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nc-pn-link:hover {
    color: #2c5282;
}
.nc-pn-none {
    font-size: 14px;
    color: #a0aec0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nc-prev-next {
        flex-direction: column;
        gap: 16px;
    }
    .nc-next {
        text-align: left;
        align-items: flex-start;
    }
    .nc-next .nc-pn-label {
        flex-direction: row;
    }
    .nc-pn-link {
        font-size: 14px;
    }
}

/* "保存到桌面"按钮：默认隐藏，仅电脑端(>=769px)显示 */
.nc-save-desktop { display: none; margin-right: -5px; }
@media (min-width: 769px) {
    .nc-save-desktop { display: inline-flex; }
}

/* 移动端：隐藏关键词、上一篇/下一篇、联系卡片 */
@media (max-width: 768px) {
    .nc-keywords, .nc-prev-next, .nc-contact-card { display: none !important; }
}

/* 移动端：隐藏底部核心服务/服务区域/联系方式三列，只保留版权 */
@media (max-width: 768px) {
    .nc-footer-cols { display: none !important; }
}
