/* ===========================================
   填芯微电子官网主题 — "硅精工" Silicon Precision
   配色: 深蓝(#0d2137) + 铜色(#d4782f)
   字体: PingFang SC / 微软雅黑
   =========================================== */

/* === 1. 全局基础 === */
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a2e;
    background: #fafbfc;
    -webkit-font-smoothing: antialiased;
}

/* === 2. 配色变量覆盖 === */

/* 主色调: 深蓝替代通用蓝 */
/* 影响: 标签栏选中态、按钮、hover */
.product_a a.csel,
.product_a a:hover,
.product_ul ul li:hover h2,
.news_con ul li:hover .i_about_r h3,
.news_con ul li:hover .i_about_r .news_more,
.case_ul ul li:hover .txts h2,
.honor_ul ul li:hover h2,
.job_ul ul li:hover,
.pages .pagination .page-num-current,
a:hover {
    /* 覆盖原 #409EFF, #00a1e9, #014ee7 */
}

/* 标签栏: 灰底 → 深蓝白字 */
.product_a a {
    background-color: #eef1f5;
    color: #3a4a5c;
    border-radius: 6px;
    height: 44px;
    line-height: 44px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.product_a a.csel {
    background-color: #0d2137;
    color: #fff;
}
.product_a a:hover {
    background-color: #0d2137;
    color: #fff;
    opacity: 1;
}

/* 链接hover: 通用蓝 → 铜色 */
a:hover {
    color: #d4782f;
}
.product_ul ul li:hover h2 {
    color: #d4782f;
}
.news_con ul li:hover .i_about_r h3 {
    color: #0d2137;
}
.news_con ul li:hover .i_about_r .news_more {
    background-color: #0d2137;
    color: #fff;
    border-color: #0d2137;
}
.case_ul ul li:hover .txts h2 {
    color: #d4782f;
}
.honor_ul ul li:hover h2 {
    color: #d4782f;
}
.job_ul ul li:hover {
    background-color: #0d2137;
}
.pages .pagination .page-num-current {
    background: #0d2137;
    border-color: #0d2137;
}

/* 页码hover */
.pages .pagination .page-item:hover {
    border-color: #0d2137;
    color: #0d2137;
}


/* === 3. 导航栏 === */
.header-v1 {
    background: #fff;
    box-shadow: 0 1px 0 #e2e6ea, 0 2px 8px rgba(0,0,0,0.04);
}
.top-main {
    max-width: 1300px;
    margin: 0 auto;
    width: 96%;
}
.navBar .nav > li > h3 a {
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}
.navBar .nav > li.on > h3 a,
.navBar .nav > li:hover > h3 a {
    color: #0d2137;
}
.navBar .nav > li.on > h3 a::after,
.navBar .nav > li:hover > h3 a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #d4782f;
    border-radius: 1px;
}
.navBar .sub {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 8px 0;
}
.navBar .sub a {
    color: #3a4a5c;
    font-size: 14px;
    padding: 8px 20px;
    transition: all 0.15s;
}
.navBar .sub a:hover {
    color: #d4782f;
    background: #f8f9fb;
}

/* logo区域 */
.logo-text {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #0d2137;
    line-height: 1.3;
    padding-left: 12px;
    max-width: 320px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
}
.logo-text span {
    font-size: 10px;
    font-weight: 400;
    color: #6b7280;
    padding-left: 2px;
}
.logo1 a span {
    color: #0d2137 !important;
}

/* 移动端导航 */
.touch-top {
    background: #fff;
    border-bottom: 1px solid #e2e6ea;
}
.touch-menu ul li a {
    color: #0d2137;
}
.touch-menu ul li a:hover {
    color: #d4782f;
}
.touch-menu ul li ul li a {
    color: #3a4a5c;
}
.blank_h {
    height: 75px;
}


/* === 4. 产品卡片 === */
.product_ul ul li .product_b {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding-bottom: 24px;
    transition: all 0.3s ease;
}
.product_ul ul li:hover {
    box-shadow: none;
    transform: none;
}
.product_ul ul li:hover .product_b {
    border-color: #c8d0d8;
    box-shadow: 0 8px 24px rgba(13,33,55,0.10);
    transform: translateY(-4px);
}
.product_ul ul li .imgs {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.product_ul ul li h2 {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
}
.product_ul ul li p {
    color: #6b7280;
    font-size: 13px;
    line-height: 20px;
    height: 40px;
}


/* === 5. 标题层级 === */
.i_title {
    text-align: center;
    padding: 48px 0 32px;
}
.i_title h2,
.i_title .f41 {
    font-weight: 700;
    color: #0d2137;
    font-size: 36px;
    letter-spacing: 1px;
}
.i_title p,
.i_title .f24 {
    color: #6b7280;
    font-size: 16px;
    margin-top: 8px;
    font-weight: 400;
}
.about_x .show_t {
    font-weight: 600;
    color: #0d2137;
    font-size: 28px;
}
.product_a_2 h3 {
    font-weight: 700 !important;
}


/* === 6. 内页Banner === */
.o_big {
    position: relative;
}
.o_big h1 {
    font-size: 42px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}
.o_big h1 a {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-shadow: none;
    opacity: 0.8;
}
.o_big img {
    min-height: 180px;
    object-fit: cover;
}


/* === 7. 新闻列表 === */
.news_con ul li {
    border-bottom: 1px solid #e2e6ea;
    padding-bottom: 24px;
    margin-bottom: 24px;
}
.news_con ul li .i_about_r h3 {
    font-weight: 600;
    font-size: 18px;
}
.news_con ul li .i_about_r .news_more {
    background: transparent;
    border: 1px solid #c8d0d8;
    color: #6b7280;
    border-radius: 4px;
}


/* === 8. 案例卡片 === */
.case_ul ul li {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e6ea;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.case_ul ul li:hover {
    box-shadow: 0 8px 24px rgba(13,33,55,0.10);
    transform: translateY(-4px);
}
.case_ul ul li .txts h2 {
    font-weight: 600;
}


/* === 9. 页脚 === */
.f_bg {
    background: #0d2137;
    padding: 48px 0 32px;
}
.f_bg .links h2 a {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.f_bg .links ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: color 0.2s;
}
.f_bg .links ul li a:hover {
    color: #d4782f;
}
.f_div3 {
    background: #091520;
    color: rgba(255,255,255,0.5);
    padding: 16px 0;
    font-size: 13px;
}
.f_div2_r {
    color: rgba(255,255,255,0.65);
}
.f_div2_r h2 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 12px;
}
.f_div2_r a {
    color: #d4782f;
}
.f_div2_r2 {
    color: rgba(255,255,255,0.5);
}


/* === 10. 详情页内容区 === */
.news_bg {
    background: #fff;
    border-top: 1px solid #e2e6ea;
}
.about_x {
    color: #3a4a5c;
    font-size: 15px;
    line-height: 1.8;
}
.about_x .con_id {
    line-height: 1.8;
}
.prenext a {
    color: #0d2137;
}
.prenext a:hover {
    color: #d4782f;
}


/* === 11. 按钮/CTA === */
/* 通用bnts按钮 */
.bnts, .bnt1 {
    background: #0d2137;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
}
.bnts:hover {
    background: #1a3550;
}


/* === 12. 产品大banner区域(product_con) === */
.product_con .txts .pt {
    color: #0d2137;
    font-weight: 700;
}


/* === 13. 首页产品展示区域(nproduct_list2) === */
.i_product_bg {
    background: #fafbfc;
    padding: 20px 0 48px;
}
.i_title h2 {
    font-family: "PingFang SC","Microsoft YaHei",sans-serif !important;
    letter-spacing: 1px !important;
}
.i_title p {
    background: none !important;
    padding-bottom: 0;
}
/* 修正宽度: 31.5% × 3 = 94.5% + 内外边距 ≈ 100%，不再溢出 */
.wrap2 .nproduct_list2 ul li {
    width: 31.5% !important;
    margin-left: 0.8% !important;
    margin-right: 0.8% !important;
    margin-bottom: 1.5% !important;
    background: #fff !important;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.wrap2 .nproduct_list2 ul li:nth-child(3n+0) {
    margin-right: 0 !important;
}
.wrap2 .nproduct_list2 ul li:nth-child(3n+1) {
    margin-left: 0 !important;
}
.wrap2 .nproduct_list2 ul li:hover {
    border-color: #c8d0d8;
    box-shadow: 0 8px 24px rgba(13,33,55,0.10);
    transform: translateY(-4px);
}
.wrap2 .nproduct_list2 ul li .imgs {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.wrap2 .nproduct_list2 ul li .imgs img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.wrap2 .nproduct_list2 ul li:hover .imgs img {
    transform: scale(1.05);
}
.wrap2 .nproduct_list2 ul li h2 {
    font-weight: 600 !important;
    color: #1a1a2e !important;
    font-size: 17px !important;
    height: auto !important;
    line-height: 1.4 !important;
    padding: 14px 12px 6px;
    white-space: normal !important;
}
.wrap2 .nproduct_list2 ul li p {
    color: #6b7280;
    font-size: 13px;
    padding: 0 12px;
}
.i_case_bg {
    background: #f5f7fa;
    padding: 20px 0 40px;
}

/* === 13b. 首页Banner轮播 === */
#slider .bxslider li .carousel-img img {
    max-height: 520px;
    object-fit: cover;
    width: 100%;
    height: auto !important;
}

/* === 13c. 解决方案区域 === */
/* 修正宽度: 48.5% × 2 = 97% + 间距，不再溢出 */
.wrap2 .i_solution ul li {
    width: 48.5% !important;
    margin-right: 1.5% !important;
    margin-bottom: 1.5% !important;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.wrap2 .i_solution ul li:nth-child(2n+0) {
    margin-right: 0 !important;
}
.wrap2 .i_solution ul li:hover {
    border-color: #c8d0d8;
    box-shadow: 0 8px 24px rgba(13,33,55,0.10);
    transform: translateY(-4px);
}
.wrap2 .i_solution ul li .imgs {
    overflow: hidden;
}
.wrap2 .i_solution ul li .imgs img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.wrap2 .i_solution ul li:hover .imgs img {
    transform: scale(1.05);
}
/* 覆盖原覆盖层样式：改为正常图文上下布局 */
.wrap2 .i_solution ul li .txts {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 20px 24px 24px !important;
    text-align: left;
    top: auto !important;
    left: auto !important;
}
.wrap2 .i_solution ul li .txts h2 {
    font-weight: 600;
    color: #0d2137 !important;
    font-size: 20px;
    margin: 0 0 10px !important;
    line-height: 1.3;
}
.wrap2 .i_solution ul li .txts p {
    position: static !important;
    color: #6b7280 !important;
    font-size: 14px;
    line-height: 1.7;
    height: auto !important;
    max-height: none !important;
    max-width: none !important;
    margin: 0 !important;
}

/* === 13d. 合作伙伴区域 === */
.i_link ul li {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.i_link ul li:hover {
    border-color: #c8d0d8;
    box-shadow: 0 4px 12px rgba(13,33,55,0.08);
    transform: translateY(-2px);
}

/* 空flash轮播隐藏 */
.flash_div #owl-flash:empty,
.flash_div .owl-stage:empty { display: none; }

/* owl carousel 导航点 */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #0d2137;
}
.owl-theme .owl-dots .owl-dot span {
    background: #c8d0d8;
}

/* 搜索框 */
.top_search .search_con .input1 {
    border: 1px solid #e2e6ea;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.top_search .search_con .input1:focus {
    border-color: #0d2137;
}
.top_search .search_con .bnts {
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    background: #0d2137;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.top_search .search_con .bnts:hover {
    background: #1a3550;
}


/* === 14. 微交互 === */
/* 卡片悬浮 */
.product_ul ul li,
.case_ul ul li {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* 图片缩放 */
.product_ul ul li .imgs img {
    transition: transform 0.4s ease;
}
.product_ul ul li:hover .imgs img {
    transform: scale(1.05);
}


/* === 15. 响应式微调 === */
@media screen and (max-width: 780px) {
    .i_title h2 {
        font-size: 28px;
    }
    .o_big h1 {
        font-size: 28px;
    }
    .product_ul ul li h2 {
        font-size: 14px;
        height: 32px;
        line-height: 32px;
    }
    .wrap2 .nproduct_list2 ul li {
        width: 48% !important;
        margin: 0 1% 2% 1% !important;
    }
    .wrap2 .nproduct_list2 ul li:nth-child(3n+0) {
        margin-right: 1% !important;
    }
    .wrap2 .nproduct_list2 ul li:nth-child(2n+0) {
        margin-right: 0 !important;
    }
    .wrap2 .i_solution ul li {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }
}

@media screen and (max-width: 480px) {
    .i_title h2 {
        font-size: 24px;
    }
    .o_big h1 {
        font-size: 22px;
    }
    .i_title {
        padding: 32px 0 20px;
    }
    .product_a a {
        height: 36px;
        line-height: 36px;
        font-size: 13px;
        border-radius: 4px;
    }
    .wrap2 .nproduct_list2 ul li {
        width: 48% !important;
        margin: 0 1% 2% 1% !important;
    }
    .wrap2 .nproduct_list2 ul li:nth-child(2n+0) {
        margin-right: 0 !important;
    }
}
}
