/* 移动端适配样式 */
/* 基础移动端设置 */
@media screen and (max-width: 767px) {
    /* 基础样式调整 */
    body {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* 容器宽度调整 */
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    /* 头部导航移动端优化 */
    .top1 {
        display: none !important;
    }
    
    .top2 {
        display: block !important;
        height: 60px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .top2 .logo {
        width: 120px;
        height: 30px;
        margin-top: 15px;
    }
    
    .menuph {
        margin-top: 15px;
    }
    
    /* 移动端菜单按钮优化 */
    .menuph .point {
        width: 30px;
        height: 30px;
    }
    
    .menuph .navbtn {
        width: 24px;
        height: 2px;
    }
    
    .menuph .navbtn::before,
    .menuph .navbtn::after {
        width: 24px;
        height: 2px;
    }
    
    /* 下拉菜单移动端优化 */
    .xialaph {
        top: 60px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .xialaph .titleTwo .tp a {
        font-size: 16px;
        line-height: 50px;
        padding: 0 20px;
    }
    
    .xialaph .ul2 {
        padding: 0 20px;
    }
    
    .xialaph .ul2 li h5 a {
        font-size: 14px;
        line-height: 40px;
    }
    
    /* 搜索框移动端优化 */
    .xialaph .searchP {
        margin: 20px 20px 0;
        height: 40px;
    }
    
    .xialaph .searchP .searchLeft .Iminput {
        height: 38px;
        font-size: 14px;
    }
    
    .xialaph .searchP button {
        width: 25px;
        height: 25px;
        margin: 7px 15px 0 0;
    }
    
    /* Banner区域移动端优化 */
    .pz_banner {
        margin-top: 60px;
        min-height: 300px;
    }
    
    .pz_banner.home {
        min-height: 300px;
    }
    
    .joinBanBox {
        padding: 40px 20px;
    }
    
    .joinBanBox .banLeft h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .joinBanBox .banLeft h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .pz_SideLayer {
        margin-top: 30px;
    }
    
    .pz_SideLayer li {
        margin: 0 10px 10px 0;
    }
    
    .pz_SideLayer li a {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* 主要内容区域移动端优化 */
    .pz_main-wrap {
        padding: 40px 0;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
    }
    
    /* 关于我们区域移动端优化 */
    .homeAbout {
        padding: 40px 0;
    }
    
    .homeAboutLeft {
        width: 100%;
        padding: 0 0 30px 0;
    }
    
    .homeAboutRight {
        width: 100%;
        /* height: 300px; */
    }
    
    .homeAboutTitle .aboutEng {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .homeAboutTitle h2 {
        font-size: 20px;
        line-height: 1.4;
    }
    
    .homeAboutTitle .aboutLine span {
        width: 30px;
        height: 3px;
    }
    
    .homeAboutSlick .abTop .abText {
        font-size: 14px;
        line-height: 1.8;
        height: auto;
        /* min-height: 120px; */
    }
    
    /* 产品展示区域移动端优化 */
    .homePro {
        margin: 0 -15px;
    }
    
    .homePro ul .proLI {
        padding: 0 8px;
    }
    
    .homePro ul .proLI .proWhite {
        padding: 15px;
    }
    
    .homePro ul .proLI .proWhite h3 {
        font-size: 16px;
        padding: 15px 0 0 0;
    }
    
    .homePro ul .proLI .proWhite .tit {
        font-size: 13px;
        line-height: 18px;
    }
    
    .homePro .slick-prev,
    .homePro .slick-next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    /* 新闻区域移动端优化 */
    .homeNew {
        padding: 40px 0;
    }
    
    .homeNewDown {
        padding: 20px 0;
        margin: 0 -10px;
    }
    
    .homeNewDown ul li {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .homeNewDown ul li .newDown {
        padding: 15px 0;
    }
    
    .homeNewDown ul li .newDown .ndLeft {
        width: 60px;
    }
    
    .homeNewDown ul li .newDown .ndLeft .time {
        font-size: 20px;
    }
    
    .homeNewDown ul li .newDown .ndLeft .smallTime {
        font-size: 12px;
    }
    
    .homeNewDown ul li .newDown .ndRight {
        padding-left: 70px;
    }
    
    .homeNewDown ul li .newDown .ndRight h3 {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .homeNewDown ul li .newDown .ndRight .nTxt {
        height: 60px;
        font-size: 13px;
        line-height: 20px;
        margin-top: 10px;
    }
    
    .homeNewDown ul li .newDown .ndRight .nBtn {
        padding-top: 60px;
    }
    
    /* 页脚移动端优化 */
    .pz_down {
        padding: 20px 0;
    }
    
    .footAddBox {
        padding: 20px 0;
    }
    
    .footAddBox .container > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }
    
    /* Logo和社交媒体图标移动端优化 */
    .logo-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .logo-wrap .logo2 {
        width: 120px;
        height: auto;
        margin-bottom: 15px;
    }
    
    .social-icon-wrapper {
        position: relative;
        margin: 0 10px 15px 10px;
        display: inline-block;
    }
    
    .social-icon-wrapper .icon {
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    
    .social-icon-wrapper .qr-code {
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        display: none;
        z-index: 1000;
        margin-bottom: 10px;
        min-width: 120px;
        text-align: center;
    }
    
    .social-icon-wrapper:hover .qr-code,
    .social-icon-wrapper:active .qr-code {
        display: block;
    }
    
    .social-icon-wrapper .qr-code img {
        width: 100px;
        height: 100px;
        margin-bottom: 8px;
    }
    
    .social-icon-wrapper .qr-code p {
        font-size: 12px;
        color: #666;
        margin: 0;
    }
    
    /* 联系信息移动端优化 */
    .footAdd {
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footAdd .addLi {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footAdd .addLi .b {
        display: none;
    }
    
    .footAdd .addLi .bPad {
        padding-left: 0;
        text-align: center;
        width: 100%;
    }
    
    .footAdd .addLi .bPad .bptop {
        font-weight: bold;
        margin-bottom: 8px;
        font-size: 14px;
        /* color: #333; */
    }
    
    .footAdd .addLi .bPad .bpd {
        font-size: 13px;
        line-height: 1.6;
        color: #666;
    }
    
    /* 导航链接移动端优化 */
    .nav-warp {
        text-align: center;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .nav-warp:before {
        content: "";
        display: block;
        width: 30px;
        height: 2px;
        background: #007bff;
        margin: 0 auto 15px;
    }
    
    .nav-warp:first-letter {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        display: block;
        margin-bottom: 15px;
    }
    
    .nav-warp ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .nav-warp ul li {
        margin-bottom: 10px;
    }
    
    .nav-warp ul li a {
        color: #666;
        text-decoration: none;
        font-size: 13px;
        line-height: 1.6;
        transition: color 0.3s ease;
    }
    
    .nav-warp ul li a:hover {
        color: #007bff;
    }
    
    /* 版权信息移动端优化 */
    .footCopy {
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid #eee;
        margin-top: 20px;
    }
    
    .copyright p {
        font-size: 12px;
        line-height: 1.6;
        color: #999;
        margin: 0;
    }
    
    .copyright a {
        color: #999;
        text-decoration: none;
    }
    
    .copyright a:hover {
        color: #007bff;
    }
    
    /* 新闻页面移动端优化 */
    .news-grid {
        margin: 0 -10px;
    }
    
    .news-item {
        margin: 0 10px 20px 10px;
        padding: 15px;
    }
    
    .news-item h3 {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .news-item .news-meta {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .news-item .news-excerpt {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    .news-detail .newTitle .newTit {
        font-size: 20px;
        line-height: 1.4;
    }
    
    .news-detail .newSub .newSub_1 {
        font-size: 14px;
    }
    
    .news-detail .moveIn p {
        font-size: 14px;
        line-height: 1.8;
        margin: 15px 0;
    }
    
    .news-detail .moveIn img {
        max-width: 100%;
        height: auto;
    }
    
    /* 按钮移动端优化 */
    .homeProBtn,
    .homeNewDownBtn {
        padding: 20px 0;
    }
    
    .homeProBtn a,
    .homeNewDownBtn a {
        padding: 0 15px 0 20px;
        height: 40px;
        line-height: 40px;
    }
    
    .homeProBtn a span,
    .homeNewDownBtn a span {
        font-size: 12px;
        line-height: 40px;
    }
    
    .homeProBtn a b,
    .homeNewDownBtn a b {
        width: 12px;
        height: 12px;
        margin: 14px 0 0 10px;
    }
    
    /* 移动端隐藏地图 */
    .map-container,
    .map-wrapper,
    .map-area,
    .map-section,
    .contact-map,
    .location-map,
    .google-map,
    .baidu-map,
    .amap-container,
    .mapbox-container,
    [class*="map"],
    [id*="map"],
    iframe[src*="map"],
    iframe[src*="google"],
    iframe[src*="baidu"],
    iframe[src*="amap"] {
        display: none !important;
    }
}

/* 超小屏幕优化 */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .joinBanBox {
        padding: 30px 15px;
    }
    
    .joinBanBox .banLeft h1 {
        font-size: 28px;
    }
    
    .joinBanBox .banLeft h2 {
        font-size: 20px;
    }
    
    /* 超小屏幕下主要内容区域高度自适应 */
    .pz_main-wrap {
        padding: 25px;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
    }
    
    .pz_SideLayer li a {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .homeAboutTitle .aboutEng {
        font-size: 24px;
    }
    
    .homeAboutTitle h2 {
        font-size: 18px;
    }
    
    .homeAboutSlick .abTop .abText {
        font-size: 13px;
        line-height: 1.7;
    }
    
    .news-item {
        margin: 0 5px 15px 5px;
        padding: 12px;
    }
    
    .news-item h3 {
        font-size: 15px;
    }
    
    .news-detail .newTitle .newTit {
        font-size: 18px;
    }
    
    .news-detail .moveIn p {
        font-size: 13px;
        line-height: 1.7;
    }
    
    /* 超小屏幕下页脚进一步优化 */
    .pz_down {
        padding: 15px 0;
    }
    
    .footAddBox {
        padding: 15px 0;
    }
    
    .logo-wrap .logo2 {
        width: 100px;
        margin-bottom: 12px;
    }
    
    .social-icon-wrapper .icon {
        width: 35px;
        height: 35px;
        margin: 0 8px 12px 8px;
    }
    
    .social-icon-wrapper .qr-code {
        min-width: 100px;
        padding: 8px;
    }
    
    .social-icon-wrapper .qr-code img {
        width: 80px;
        height: 80px;
    }
    
    .footAdd .addLi {
        margin-bottom: 15px;
    }
    
    .footAdd .addLi .bPad .bptop {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .footAdd .addLi .bPad .bpd {
        font-size: 12px;
    }
    
    .nav-warp {
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .nav-warp ul li {
        margin-bottom: 8px;
    }
    
    .nav-warp ul li a {
        font-size: 12px;
    }
    
    .footCopy {
        padding: 15px 0;
        margin-top: 15px;
    }
    
    .copyright p {
        font-size: 11px;
    }
    
    /* 超小屏幕下隐藏地图 */
    .map-container,
    .map-wrapper,
    .map-area,
    .map-section,
    .contact-map,
    .location-map,
    .google-map,
    .baidu-map,
    .amap-container,
    .mapbox-container,
    [class*="map"],
    [id*="map"],
    iframe[src*="map"],
    iframe[src*="google"],
    iframe[src*="baidu"],
    iframe[src*="amap"] {
        display: none !important;
    }
}

/* 横屏模式优化 */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .pz_banner {
        min-height: 250px;
    }
    
    .pz_banner.home {
        min-height: 250px;
    }
    
    .joinBanBox {
        padding: 30px 20px;
    }
    
    .homeAbout {
        padding: 30px 0;
    }
    
    .homeAboutRight {
        height: 250px;
    }
    
    /* 横屏模式下页脚优化 */
    .pz_down {
        padding: 15px 0;
    }
    
    .footAddBox {
        padding: 15px 0;
    }
    
    .logo-wrap {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .logo-wrap .logo2 {
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .social-icon-wrapper {
        margin: 0 5px;
    }
    
    .footAdd {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footAdd .addLi {
        width: auto;
        margin: 0 15px 15px 15px;
        min-width: 120px;
    }
    
    .nav-warp {
        display: inline-block;
        margin: 0 15px 20px 15px;
        vertical-align: top;
    }
    
    /* 横屏模式下隐藏地图 */
    .map-container,
    .map-wrapper,
    .map-area,
    .map-section,
    .contact-map,
    .location-map,
    .google-map,
    .baidu-map,
    .amap-container,
    .mapbox-container,
    [class*="map"],
    [id*="map"],
    iframe[src*="map"],
    iframe[src*="google"],
    iframe[src*="baidu"],
    iframe[src*="amap"] {
        display: none !important;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .news-item:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .homePro ul .proLI:hover .proWhite {
        transform: none;
    }
    
    .homePro ul .proLI:hover .proWhite h3 {
        color: #333;
    }
    
    .homeNewDown ul li:hover .newDown .ndRight h3 {
        color: #3e3e3e;
    }
    
    .homeNewDown ul li:hover .newDown .ndRight .nBtn span {
        border-color: #8e8e8e;
        color: #8e8e8e;
        background-color: transparent;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .top2 .logo img,
    .top1 .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 打印样式 */
@media print {
    .top1,
    .top2,
    .xialaph,
    .phonemeng,
    .pz_SideLayer,
    .homePro .slick-prev,
    .homePro .slick-next,
    .homePro .slick-dots,
    .homeNewDownBtn,
    .homeProBtn {
        display: none !important;
    }
    
    .pz_banner {
        margin-top: 0;
    }
    
    .news-item {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}
