﻿/* ===================== 移动端自适应样式 (仅屏幕宽度≤1299px生效) ===================== */
@charset "utf-8";

/* ==============================================
   全局基础样式
   ============================================== */

/* ==============================================
   1. 全局移动端适配（≤1299px）
   ============================================== */
@media (max-width: 1299px) {
    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body {
        font-size: 14px !important;
        background: #F9F9F9 !important;
        max-width: 100vw !important;
    }
    * {
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    a {
        text-decoration: none !important;
        color: inherit !important;
    }
    ul, li {
        list-style: none !important;
    }
    .visually-hidden {
        display: none !important;
    }
    .clear {
        clear: both !important;
    }

    /* 手机端隐藏客户logo */
    .huaxu-client-wrapper,
    .yh-trust-footer.huaxu-client-inner,
    .yh-client-tagline,
    .yh-client-logos.huaxu-client-logos {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }

    /* 手机端隐藏文章列表 */
    .content-list-wrapper,
    .content-list-container,
    .content-grid,
    .content-card,
    .card-title,
    .content-list,
    .article-top-img,
    .article-img,
    .article-top-title,
    .article-top-desc {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }

    #hd {
        height: auto !important;
        background: #F9F9F9 !important;
        padding: 10px 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: visible !important;
        position: relative !important;
    }
    #header {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        position: relative !important;
        max-width: 100vw !important;
        background: #F9F9F9 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .logo {
        width: 80vw !important;
        max-width: 320px !important;
        height: auto !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        position: relative !important;
        background: transparent !important;
        margin: 10px 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        min-height: 80px !important;
    }
    .logo a {
        width: 100% !important;
        height: 100% !important;
        min-height: 80px !important;
        padding: 10px 0 !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        display: block !important;
        box-sizing: border-box !important;
        line-height: 1 !important;
        background-color: transparent !important;
    }

    #nav_all, 
    #nav-onhoo, 
    .text, 
    .textwz {
        display: none !important;
    }

    #hotall {
        width: 100% !important;
        padding: 0 15px !important;
        margin: 0 !important;
        max-width: 100vw !important;
    }
    .yh-trust-section {
        padding: 20px 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    .yh-trust-container {
        width: 100% !important;
        padding: 0 15px !important;
        max-width: 100vw !important;
    }
    .yh-section-title {
        font-size: 17px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        white-space: nowrap !important;
        padding: 0 3px !important;
        letter-spacing: 0.2px !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .yh-trust-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 5px !important;
    }
    .yh-trust-badge {
        max-width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        padding: 10px 8px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .yh-badge-icon {
        height: 40px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    .yh-badge-icon svg {
        width: 36px !important;
        height: 36px !important;
    }
    .yh-badge-number {
        font-size: 28px !important;
        line-height: 1 !important;
        margin-bottom: 5px !important;
    }
    .yh-badge-label {
        font-size: 16px !important;
        line-height: 1.2 !important;
        margin-bottom: 5px !important;
        width: 100% !important;
    }
    .yh-badge-desc {
        font-size: 12px !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
        width: 100% !important;
        word-wrap: break-word !important;
        word-break: break-all !important;
        padding: 0 2px !important;
    }

    .four-images-wrapper {
        width: 100% !important;
        padding: 10px 0 !important;
        margin: 0 !important;
        max-width: 100vw !important;
    }
    .four-images-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 5px !important;
    }
    .four-images-list .biz-card {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    .biz-img {
        height: 120px !important;
        width: 100% !important;
    }
    .biz-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .biz-content {
        padding: 10px !important;
    }
    .biz-content h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    .biz-desc {
        font-size: 12px !important;
        height: auto !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 10px !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .biz-links {
        justify-content: center !important;
    }
    .link-case, .link-price {
        padding: 4px 15px !important;
        font-size: 11px !important;
    }

    .video-case-module {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 0 !important;
        margin: 10px 0 !important;
        max-width: 100vw !important;
    }
    .video-case-module .tab-nav-wrapper {
        padding: 0 10px !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    .video-case-module .tab-nav {
        display: flex !important;
        justify-content: space-between !important;
        overflow-x: hidden !important;
        padding: 5px 0 !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    .video-case-module .tab-nav li:nth-child(5) {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
    }
    .video-case-module .tab-nav li {
        padding: 8px 0 !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        text-align: center !important;
        width: 25% !important;
        flex: none !important;
    }
    .video-case-module .case-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 5px !important;
    }
    .video-case-module .case-content:nth-child(5) {
        display: none !important;
        visibility: hidden !important;
    }
    .video-case-module .case-item {
        width: 100% !important;
        max-width: 100% !important;
    }
    .video-case-module .case-item img {
        height: 110px !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    .video-case-module .case-title {
        font-size: 12px !important;
        padding: 6px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .video-case-module .more-case-link {
        width: 100% !important;
        max-width: 300px !important;
        padding: 10px !important;
        font-size: 14px !important;
    }

    #process-section-wrapper {
        width: 100% !important;
        padding: 10px 0 !important;
        max-width: 100vw !important;
    }
    .process-container {
        width: 100% !important;
        padding: 0 15px !important;
        max-width: 100vw !important;
    }
    .process-header h2 {
        font-size: 20px !important;
    }
    .huaxu-container {
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
        max-width: 100vw !important;
    }
    .huaxu-video-wrapper {
        width: 100% !important;
        height: auto !important;
        max-width: 100vw !important;
    }
    .huaxu-video {
        width: 100% !important;
        height: auto !important;
        max-height: 250px !important;
        max-width: 100vw !important;
    }

    .service-section {
        width: 100% !important;
        flex-direction: column !important;
        padding: 15px 0 !important;
        gap: 10px !important;
        max-width: 100vw !important;
    }
    .service-nav {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        overflow-x: auto !important;
        max-width: 100vw !important;
    }
    .nav-item {
        height: 50px !important;
        width: calc(33.33% - 5px) !important;
        font-size: 14px !important;
        margin: 0 !important;
    }
    .service-content {
        width: 100% !important;
        height: auto !important;
        padding: 15px !important;
        max-width: 100vw !important;
    }
    .panel-btn {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 15px !important;
        text-align: center !important;
        max-width: 100vw !important;
        padding: 0 5px !important;
        box-sizing: border-box !important;
    }
    .panel-btn ul {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        box-sizing: border-box !important;
    }
    .panel-btn li {
        flex: 1 1 0 !important;
        max-width: calc(33.333% - 6px) !important;
        min-width: 80px !important;
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .more-btn {
        padding: 0 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        width: 100% !important;
        height: 100% !important;
        text-align: center !important;
        line-height: 60px !important;
        border-radius: 4px !important;
        text-decoration: none !important;
        color: inherit !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .content-panel {
        padding-right: 0 !important;
        height: auto !important;
    }
    .panel-inner {
        flex-direction: column !important;
        height: auto !important;
        gap: 15px !important;
        width: 100% !important;
    }
    .panel-img {
        width: 100% !important;
        max-width: 100vw !important;
    }
    .panel-img img {
        height: auto !important;
        max-height: 200px !important;
        width: 100% !important;
    }
    .panel-text {
        max-width: 100% !important;
    }
    .panel-text h2 {
        font-size: 18px !important;
        text-align: center !important;
    }
    .panel-text li {
        font-size: 13px !important;
        padding: 8px !important;
    }

    #box1, .box1, .thumbnailwrapper2 {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }

    /* ========== 移动端页脚 ========== */
    #foot {
        width: 100% !important;
        margin-top: 10px !important;
        max-width: 100vw !important;
        background: #000 !important;
        padding-bottom: 0 !important;
    }
    #foot_980 {
        width: 100% !important;
        height: auto !important;
        padding: 10px 15px !important;
        max-width: 100vw !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
    }
    .footer-main {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .footer-wechat {
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .wechat-title {
        color: #ffffff !important;
        margin: 0 0 8px 0 !important;
        font-size: 14px !important;
        padding: 0 !important;
    }
    .wechat-img {
        width: 80px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .footer-contact {
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
    }
    .contact-phone {
        margin: 0 0 8px 0 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        color: #ff0 !important;
    }
    .contact-address {
        margin: 0 0 8px 0 !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        color: #fff !important;
    }
    .contact-map {
        display: inline-block !important;
        margin: 5px 0 !important;
        padding: 0 !important;
    }
    .map-img {
        width: 80px !important;
        height: auto !important;
    }
    .company-name {
        margin: 5px 0 0 0 !important;
        font-size: 12px !important;
        line-height: 1 !important;
        color: #fff !important;
    }
    .company-name a {
        color: #fff !important;
        text-decoration: none !important;
    }

    /* ========== 移动端 彻底隐藏 footer-links ========== */
    .footer-links,
    .foot_ba {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }

    .hot_all_footer.container {
        padding: 10px !important;
        max-width: 100vw !important;
    }
    .yb_conct {
        display: none !important;
    }
}

/* ==============================================
   5. 小屏手机（≤480px）额外适配
   ============================================== */
@media (max-width: 480px) {
    .video-case-module .case-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .yh-trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .yh-trust-badge {
        padding: 8px 5px !important;
    }
    .yh-badge-desc {
        font-size: 11px !important;
    }
    .four-images-list {
        gap: 8px !important;
    }
    .biz-img {
        height: 100px !important;
    }
    .biz-content h3 {
        font-size: 14px !important;
    }
    .video-case-module .tab-nav li {
        font-size: 12px !important;
    }
    .video-case-module .case-item img {
        height: 90px !important;
    }
    .huaxu-client-logos {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    #nav-onhoo li a {
        font-size: 11px !important;
    }
    
    /* 面板按钮适配 */
    .panel-btn ul {
        gap: 5px !important;
    }
    .panel-btn li {
        max-width: calc(33.333% - 4px) !important;
        height: 50px !important;
    }
    .more-btn {
        font-size: 14px !important;
        line-height: 50px !important;
    }
    .logo {
        min-height: 60px !important;
    }
    .logo a {
        min-height: 60px !important;
        padding: 8px 0 !important;
    }

    .wechat-img {
        width: 70px !important;
    }
    .contact-phone {
        font-size: 13px !important;
    }
    .contact-address {
        font-size: 11px !important;
    }
    .map-img {
        width: 70px !important;
    }
    .company-name {
        font-size: 11px !important;
    }
}

/* ==============================================
   6. 兜底（≥1300px）
   ============================================== */
@media (min-width: 1300px) {
    #box1, .box1, .thumbnailwrapper2 {
        display: block !important;
        visibility: visible !important;
    }
    .huaxu-client-wrapper,
    .yh-trust-footer.huaxu-client-inner,
    .yh-client-tagline,
    .yh-client-logos.huaxu-client-logos {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
    }
    .content-list-wrapper,
    .content-list-container,
    .content-grid,
    .content-card {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
    }
    .four-images-list {
        display: flex !important;
        grid-template-columns: none !important;
    }
    .video-case-module .tab-nav li:nth-child(5) {
        display: block !important;
        visibility: visible !important;
        width: auto !important;
        height: auto !important;
    }
    .video-case-module .case-content:nth-child(5) {
        display: block !important;
        visibility: visible !important;
    }
    .logo {
        width: 180px !important;
        height: 40px !important;
        min-height: auto !important;
    }
    .logo a {
        min-height: auto !important;
        padding: 0 !important;
        height: 40px !important;
    }
    .panel-btn li {
        height: auto !important;
    }
    .more-btn {
        font-size: 12px !important;
        line-height: normal !important;
        padding: 8px 10px !important;
    }
}

/* ==============================================
   7. 全局兜底
   ============================================== */
* {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
html {
    width: 100% !important;
    overflow-x: hidden !important;
}
body {
    position: relative !important;
    width: 100% !important;
    overflow-x: hidden !important;
}