/* ---------------------------------------------------------
   文字系统优化 2026-11-21
   目标：字体统一、正文可读、配色收敛。只覆盖观感，不动结构。
   原 style.css 的 *{font-size:12px} 优先级低，这里用更具体的选择器。
   --------------------------------------------------------- */

/* 1. 字体统一：正文无衬线，兼容各系统 */
body, div, p, td, th, li, span, a, input, textarea {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

/* 2. 正文内容区字号与行距：13px / 1.8，颜色加深提升对比 */
.neirong, .detail, .content .xxsm, .cp1, .newslist li,
.ybf .neirong p, .detail p, .content p {
    font-size: 13px !important;
    line-height: 1.8 !important;
    color: #333 !important;
}

/* 3. 标题颜色收敛：橙 #fe5b22 -> 深蓝 #0b3d91，与导航同色系 */
.content .content_title h1, .brief_t, .title2 .t2t, .icompany_title .ict {
    color: #0b3d91 !important;
}

/* 4. 产品列表项文字深灰化，去掉纯黑的生硬感 */
.newslist li a, .cp1 a {
    color: #2b2b2b;
}

/* 5. 首页 H1 由灰色提升为深蓝，保持低调不突兀 */
.home-seo-h1 {
    color: #0b3d91 !important;
}

/* 6. 简介区正文行距（原 line-height:25px 偏紧） */
.ybf .about, .brief, .brief_b {
    line-height: 1.8;
}

/* 7. 页脚版权文字略缩对比 */
.copyright, .copyright a, .copyright a:visited {
    color: #888 !important;
}

/* 8. 栏目导语（分类页 H1 下方，2026-11-21 SEO 新增） */
.jc-cat-intro {
    display: block;
    margin: 12px 0;
    clear: both;
    font-size: 13px;
    line-height: 1.9;
    color: #444;
}
.jc-cat-intro p {
    margin: 0 0 8px 0 !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
    color: #444 !important;
}
.jc-cat-intro p:last-child {
    margin-bottom: 0 !important;
}
.jc-cat-intro a,
.jc-cat-intro a:visited {
    color: #0b3d91;
    text-decoration: underline;
}
.jc-cat-intro a:hover,
.jc-cat-intro a:focus {
    color: #fe5b22;
    text-decoration: underline;
}
@media screen and (max-width: 960px) {
    .jc-cat-intro {
        font-size: 13px;
        margin: 10px 0;
    }
    .jc-cat-intro p {
        font-size: 13px !important;
    }
}

/* 9. 移动端横向溢出修复（产品详情主图，2026-11-21）
   原 .cp 定宽 340px（style.css），其内 <img> 在 responsive.css 被设为
   width:100%（=340 内容宽）+ padding:5px → 总宽 350px，比 .neirong 的
   内容区（375 视口下 335px）宽 15px，实测 documentElement.scrollWidth 371 >
   clientWidth 360。此处仅改盒模型与最大宽度，不改 img 的 HTML 属性，
   且整段限定在 980px 及以下：桌面端（.cp 340px 定宽布局）完全不受影响。 */
@media screen and (max-width: 980px) {
    /* 外层：定宽改为按容器收缩，边框计入宽度 */
    .cp {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* 链接改为块级，宽度跟随 .cp，不再由内联内容撑开 */
    .cp a {
        display: block;
        max-width: 100%;
    }
    /* 图片：padding 计入最大宽度，窄屏等比缩小且不放大、不变形 */
    .cp img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
}
