@charset "utf-8";
/*
 * mobile.css - 响应式补充样式
 * 只覆盖 PC 样式，不修改原文件
 * 断点：768px（平板/大手机）、480px（手机）
 */

/* =====================================
   基础：防止图片/媒体溢出
   ===================================== */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* 隐藏移动端才用的元素（PC 上不可见） */
.menu-toggle,
.mobile-only {
    display: none;
}


/* =====================================
   768px 及以下：平板 / 大手机
   ===================================== */
@media (max-width: 768px) {

    /* 全局容器：取消固定最小宽度 */
    html, body {
        overflow-x: hidden;
    }
    .wrap, .content, .hsercers, .homeCase, .hAboutus, .footer, .banner, #header {
        min-width: auto !important;
    }

    /* 头部 */
    #header {
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }
    .banner {
        margin-top: 70px;
    }
    .plTitle4.pc,
    .plTitle6.pc,
    .plslogan.pc {
        display: block;
    }
    .plistContent {
        padding-top: 87px;
        min-width: auto !important;
        padding: 30px 0px 0;
        box-sizing: border-box;
    }
    .plistContent .plTitle4 img {
        max-width: 120px;
        height: auto;
    }
    .plistContent .plTitle6 {
        font-size: 20px;
        line-height: 1.4;
        margin: 10px 0;
    }
    .plistContent .plslogan {
        font-size: 14px!important;
        line-height: 1.6;
        color: #666;
        margin-top: 10px;
        padding: 0 10px;
    }
    .plistContent .plslogan br {
        display: none;
    }
    .content_more {
        width: 100%;
        margin-top: 15px;
        text-align: center;
        box-sizing: border-box;
    }


    #header .topNav {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    #header .homeLogo {
        float: none;
        display: block;
        width: 160px;
        height: auto;
        margin: 10px 0;
    }
    #header .homeLogo img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* 汉堡菜单按钮 */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 8px;
        width: 32px;
        height: 32px;
        cursor: pointer;
        z-index: 10000000;
        background: transparent;
        border: 0;
        padding: 0;
    }
    .menu-toggle span {
        display: block;
        width: 26px;
        height: 3px;
        background: #e83828;
        margin: 5px auto;
        transition: all 0.3s ease;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* 导航：默认收起，展开后下拉 */
    #header .navList {
        float: none;
        width: 100%;
        height: auto;
        margin: 0;
        display: none;
        background: #fff;
        border-top: 1px solid #eee;
        padding-bottom: 10px;
    }
    #header .navList.active {
        display: block;
    }
    #header .navList li {
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
        background: #fff;
    }
    #header .navList li a {
        display: block;
        padding: 12px 0;
        font-size: 15px;
        color: #e83828;
    }
    #header .navList li:hover,
    #header .navList li.active {
        border-bottom: 1px solid #f0f0f0;
    }

    /* 顶部电话/QQ 在 768 以下改小 */
    #header .topTel,
    #header .topQQ,
    #header .topweibo {
        display: none;
    }

    /* Banner */
    .banner {
        height: auto;
        min-width: auto;
    }
    .banner-swiper {
        height: 200px;
        overflow: hidden;
    }
    .banner-swiper .swiper-slide,
    .banner-swiper .swiper-slide a {
        display: block;
        height: 100%;
    }
    .banner-swiper .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .banner-swiper .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.6;
    }
    .banner-swiper .swiper-pagination-bullet-active {
        background: #e83828;
        opacity: 1;
    }

    /* 首页服务区域 */
    .hsercers {
        height: auto;
        padding: 20px 0;
    }
    .hserversList {
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .hserversList li {
        float: none;
        width: 33.333%;
        padding: 15px 0;
        border: 0;
        box-sizing: border-box;
        text-align: center;
    }
    .hserversList .hsline {
        display: none;
    }
    .hserversList .hserver1,
    .hserversList .hserver2,
    .hserversList .hserver3,
    .hserversList .hserver4,
    .hserversList .hserver5,
    .hserversList .hserver6 {
        width: 80px;
        height: auto;
        line-height: 1.4;
        margin: 0 auto 10px;
    }
    .hserversList .hserver1 img,
    .hserversList .hserver2 img,
    .hserversList .hserver3 img,
    .hserversList .hserver4 img,
    .hserversList .hserver5 img,
    .hserversList .hserver6 img {
        display: block;
        width: 80px;
        height: 45px;
        margin: 0 auto 4px;
        object-fit: cover;
        object-position: top;
    }
    .hserversList .hserver1:hover img,
    .hserversList .hserver2:hover img,
    .hserversList .hserver3:hover img,
    .hserversList .hserver4:hover img,
    .hserversList .hserver5:hover img,
    .hserversList .hserver6:hover img {
        object-position: bottom;
    }
    .hserversList .hsltxt {
        padding-top: 0;
    }
    .hserversList .hsltxt span {
        display: block;
        line-height: 1.8;
    }

    /* 首页产品中心：隐藏电脑端版，显示手机端版 */
    .homeCase {
        display: none;
    }
    .homeCase-mobile {
        display: block;
        background-color: #EEEEEE;
        padding: 20px 0;
    }
    .hcase_mobile_wrapper {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .hcase_mobile_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .hcase_mobile_list li {
        width: 48%;
        margin-bottom: 15px;
        background-color: #fff;
        box-shadow: rgba(0,0,0,.05) 0 5px 2px;
    }
    .hcase_mobile_list li a {
        display: block;
        color: #323232;
    }
    .hcase_mobile_list li a:hover {
        color: #E83828;
    }
    .hcase-mobile-image-box {
        width: 100%;
        height: 0;
        padding-bottom: 50%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .hcase_mobile_list h3 {
        font-size: 15px;
        line-height: 1.4;
        margin: 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #E3E3E3;
    }

    /* 标题字号 */
    .htitle1, .htitle4 {
        font-size: 28px;
        height: auto;
        padding: 15px 0;
        text-align: center;
    }
    .htitle2 {
        font-size: 20px;
        padding-bottom: 15px;
    }

    /* 荣誉资质 */
    /* 荣誉资质：隐藏电脑端版，显示手机端版 */
    .homeClient {
        display: none;
    }
    .homeClient-mobile {
        display: block;
        padding: 20px 15px;
        box-sizing: border-box;
    }
    .hclient_mobile_wrapper {
        width: 100%;
    }
    .hclient_mobile_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .hclient_mobile_list li {
        width: 48%;
        margin-bottom: 15px;
        text-align: center;
        background-color: #fff;
        box-shadow: rgba(0,0,0,.05) 0 5px 2px;
    }
    .hclient_mobile_list li a {
        display: block;
        padding: 10px;
    }
    .hclient_mobile_list li img {
        width: auto;
        max-width: 100%;
        height: auto;
    }

    /* 关于我们 + 新闻 */
    .hAboutus .hAboutwrap {
        width: 100%;
        height: auto;
        padding: 0 15px 30px;
        display: block;
        box-sizing: border-box;
    }
    .hAboutwrap .habout,
    .hnews_b {
        width: 100%;
        float: none;
        padding: 0;
        border: 0;
        margin: 20px 0;
    }
    .hnews_b ul,
    .hnews_b ul li {
        width: 100%;
        float: none;
    }
    .hnews_b ul li a {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .hnews_b ul li .hntime {
        float: none;
        display: block;
        color: #999;
        font-size: 12px;
    }

    /* 友情链接 */
    .links {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
        flex-wrap: wrap;
        line-height: 2;
    }
    .links a {
        margin: 0 8px 0 0;
    }

    /* 底部 */
    .footer {
        height: auto;
        padding: 20px 0 30px;
    }
    .footer .flink,
    .footer .footerWrap {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .footer .fContact,
    .footer .footerNav {
        width: 100%;
        float: none;
    }
    .footer .footerNav {
        margin-top: 20px;
    }
    .footerNav li.fNav {
        float: none;
        margin: 0 0 15px 0;
    }
    .footerNav li.fNav ul li {
        display: inline-block;
        margin-right: 10px;
    }
    .flink .fr {
        float: none;
        display: block;
        line-height: 1.6;
    }

    /* 产品/案例列表：手机端一行 1 个 */
    #casecon,
    .caselist {
        width: 100% !important;
        min-width: auto !important;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .caselist {
        margin-bottom: 15px;
    }
    .caselist .case_li {
        width: 100%;
        height: auto;
        margin: 15px 0 0;
        background: #fff;
    }
    .caselist .case_li img,
    .caselist .case_li .blackbg {
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .caselist .case_txt {
        display: block;
        width: 100%;
        height: auto;
        padding: 10px;
        box-sizing: border-box;
    }
    .caselist .case_li p {
        font-size: 14px;
        padding-bottom: 2px;
    }
    .caselist .case_li span {
        font-size: 12px;
        line-height: 1.4;
    }
    #casecon .casenav {
        width: 100% !important;
        height: auto;
        padding: 0 10px;
        box-sizing: border-box;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        margin-bottom: 10px;
    }
    #casecon .casenav li {
        float: none;
        display: block;
        padding: 4px 8px;
        height: auto;
        border-right: 0;
        font-size: 14px;
        white-space: nowrap;
    }
    a.case_moreline {
        width: 100% !important;
        margin-left: 0;
    }

    /* 文章详情页 */
    .newsdetailcon {
        width: 100% !important;
        min-width: auto !important;
        padding: 20px 15px 0;
        box-sizing: border-box;
    }
    .newsdetail {
        width: 100% !important;
        float: none;
        padding: 15px;
        box-sizing: border-box;
        margin-bottom: 20px;
    }
    .news_title {
        margin-top: 50px;
       
       
    }
    .newstime {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    .news_rwrap {
        width: 100% !important;
        float: none;
        padding: 15px;
        box-sizing: border-box;
    }
    .news_rfix {
        width: 100% !important;
        height: auto;
        padding: 15px;
        box-sizing: border-box;
    }
    .ncontent .sharebtn {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 产品/案例详情页 */
    .dcaseContent {
        width: 100% !important;
        min-width: auto !important;
        padding: 20px 15px 10px;
        box-sizing: border-box;
    }
    .dcaseContent .ncontent img {
        max-width: 100%;
        height: auto;
        width: auto;
        display: block;
        margin: 10px auto;
    }

    /* 隐藏一些不适合移动端的元素 */
    .page_rnav, .page_rnav2, .on-contact, .scrollhide {
        display: none !important;
    }
}


/* =====================================
   480px 及以下：手机竖屏
   ===================================== */
@media (max-width: 480px) {

    #header .homeLogo {
        width: 140px;
        height: auto;
    }

    /* 服务区域 2 列 */
    .hserversList li {
        width: 50%;
        padding: 10px 0;
    }
    .hserversList .hserver1,
    .hserversList .hserver2,
    .hserversList .hserver3,
    .hserversList .hserver4,
    .hserversList .hserver5,
    .hserversList .hserver6 {
        width: 70px;
        height: auto;
        line-height: 1.4;
    }
    .hserversList .hserver1 img,
    .hserversList .hserver2 img,
    .hserversList .hserver3 img,
    .hserversList .hserver4 img,
    .hserversList .hserver5 img,
    .hserversList .hserver6 img {
        width: 70px;
        height: 40px;
    }
    .hserversList .hsltxt a {
        font-size: 12px;
    }

    /* 产品卡片单列 */
    .hcase_mobile_list li {
        width: 48%;
    }
    .hcase_mobile_list h3 {
        font-size: 14px;
    }

    /* 标题 */
    .htitle1, .htitle4 {
        font-size: 22px;
    }
    .htitle2 {
        font-size: 18px;
    }

    /* 荣誉 2 列 */
    .hclient_mobile_list li {
        width: 48%;
    }
    .hclient_mobile_list li img {
        max-width: 95%;
    }

    /* 关于我们和新闻文字 */
    .habouttxt p {
        font-size: 13px;
    }
    .hnews_b ul li a {
        font-size: 13px;
    }

    /* 底部版权字体 */
    .flink .fr {
        font-size: 12px;
    }
}
