/* 当屏幕宽度小于或等于 768px 时应用这些样式 */
@media (max-width: 768px) {

    /* --- 全局和辅助类 --- */
    body {
        font-size: 14px; /* 可适当调整基础字体大小 */
        -webkit-text-size-adjust: 100%; /* 防止iOS字体自动放大 */
        overflow-x: hidden; /* 防止不必要的水平滚动条 */
    }

    /* 移除或调整PC端常用的固定宽度容器，使其变为流式 */
    .w1200,
    .container,
    .wrapper {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        float: none !important; /* 清除浮动 */
    }

    /* 清除或减小PC端的外边距，按需调整 */
    .mt10, .mb10 { margin-top: 5px !important; margin-bottom: 5px !important; }
    .mt20, .mb20 { margin-top: 10px !important; margin-bottom: 10px !important; }
    .mt30, .mb30 { margin-top: 15px !important; margin-bottom: 15px !important; }
    .mt40, .mb40 { margin-top: 20px !important; margin-bottom: 20px !important; }
    .mt50, .mb50 { margin-top: 25px !important; margin-bottom: 25px !important; }

    img {
        max-width: 100%; /* 使图片自适应容器宽度 */
        height: auto;    /* 保持图片纵横比 */
    }

    /* --- 头部 Header --- */
    header {
        position: relative;
    }

    header .fix-top-nav {
        position: relative;
    }

    header .fix-top-nav-fixed {
        display: none;
    }

    header .nav {
        display: flex;
        justify-content: space-between; /* Logo在左，汉堡按钮在右 */
        align-items: center;
        padding: 10px 15px;
        width: 100%;
    }

    header .nav .logoTxt {
        font-size: 1.6em; /* 调整Logo文字大小 */
        text-decoration: none;
    }

    /* 隐藏PC端的导航菜单 */
    header .nav .menu {
        display: none !important;
    }

    /* 显示并设置汉堡菜单按钮样式 */
    header .hamburger-menu {
        display: block; /* 使其可见 */
        font-size: 28px; /* 图标大小 */
        color: #333;    /* 图标颜色 */
        cursor: pointer;
        padding: 5px;   /* 增加点击区域 */
        border: none;   /* 如果是button元素，移除边框 */
        background: none; /* 如果是button元素，移除背景 */
    }

    /* 移动端导航菜单样式 */
    header .mobile-nav {
        display: none; /* 默认隐藏, JS控制显示为 'block' 或 'flex' */
        position: absolute;
        top: 70px;
        left: 0;
        right: 0; /* 或者 width: 100%; */
        background-color: #ffffff;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000; /* 确保在其他内容之上 */
        border-top: 1px solid #f0f0f0; /* 可选的顶部边框 */
    }

    .mobile-nav ul.list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav ul.list li.item a {
        display: block;
        padding: 24px 20px;
        text-align: center;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
    }

    .mobile-nav ul.list li.item:last-child a {
        border-bottom: none;
    }

    .mobile-nav ul.list li.item a:hover,
    .mobile-nav ul.list li.item a.active { /* 当前页高亮 */
        background-color: #f5f5f5;
        /* color: #yourHighlightColor; */
    }

    /* 可选的菜单项分隔线 */
    .mobile-nav li.mobile-nav-divider {
        height: 1px;
        background-color: #e0e0e0;
        margin: 5px 0;
    }


    /* --- Banner (基于你的HTML结构) --- */
    .banner {
        /* 如果 .mobile-nav 正常定位，这里通常不需要 margin-top */
    }
    .banner .banner-first {
        /* 可能需要移除PC端的固定高度或调整 */
        min-height: 250px; /* 给Banner一个最小高度 */
        position: relative; /* 确保文字层可以相对于它定位 */
    }
    .banner .banner-first img.index_banner {
        width: 100%;
        height: 100%; /* 确保图片填满 .banner-first (如果设定了固定高度) */
        object-fit: cover; /* 图片会被裁剪以填充容器，保持比例 */
        min-height: 250px; /* 与父元素一致 */
        display: block;
    }
    .banner .banner-index {
        margin: 0 20px;
    }
    .banner .banner-box {
        /* 在 .banner-index 内部，通常不需要额外处理，除非有复杂布局 */
    }
    .banner .banner-box-left,
    .banner .banner-box-right {
        width: 100%;
        float: none; /* 清除PC端的浮动 */
    }
    .banner .banner-box-right {
        display: none; /* 你的右侧盒子似乎是空的，手机上可以隐藏节省空间 */
    }
    .banner .banner-box-left-content {
        /* 无需特殊处理，父级已居中 */
    }
    .banner .banner-box-left-content-title {
        font-size: 1.8em; /* 调整标题大小 */
        margin-bottom: 10px;
        line-height: 1.3;
        color: #fff;
    }
    .banner .banner-box-left-content-desc {
        font-size: 0.9em; /* 调整描述文字大小 */
        line-height: 1.6;
        margin-bottom: 15px;
        color: #f0f0f0;
    }
    .banner .banner-box-left-content-desc br {
        display: none; /* 手机上通常不需要强制换行 */
    }
    .banner .banner-box-left-content-btn {
        display: none;
    }

    .clientele .case li {
        width: 300px;
        height: 230px;
    }
    .more-fun .content .list li,
    .function .content {
        width: auto;
    }

    .more-fun .content .list .left-middle {
        margin: 15px 0px;
    }

    .more-fun .content .list .right-middle {
        margin: 15px 0px;
    }

    footer .footer-nav ul .spec {
        width: 100%;
        margin-top: 0;
    }
    footer .footer-nav {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 50px;
    }
    footer .footer-nav .des {
        width: 100%;
        text-align: center;
    }
    footer .copy-right {
        width: 100%;
    }
    footer .footer-nav .service,
    footer .footer-nav .scenes,
    footer .footer-nav .more {
        display: none;
    }

    footer .footer-nav .demo {
        width: 100%;
        text-align: center;
    }
} /* --- @media (max-width: 768px) 结束 --- */
