/* 响应式补丁：原主题为固定 1200px PC 模板，这里补齐平板/手机断点 */
@media (max-width: 1199px) {
    body {
        min-width: 0;
    }

    .container {
        width: 100%;
        box-sizing: border-box;
        padding-left: 12px;
        padding-right: 12px;
    }

    /* 头部 */
    .header-title {
        height: auto;
        padding: 10px 12px;
    }

    .header-title ul {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        overflow: visible;
    }

    .header-title li,
    .header-title .header-title-right {
        float: none;
        width: auto;
        padding: 0;
    }

    .header-title .logo {
        position: static;
        transform: none;
        width: auto;
        height: auto;
        margin-right: 16px;
    }

    .header-title .logo img {
        max-height: 56px;
        width: auto;
    }

    .header-title li:nth-child(2) h2 {
        width: auto;
        margin: 0;
        font-size: 14px;
    }

    .header-title li:nth-child(2) p {
        height: auto;
        font-size: 13px;
    }

    .header-title .header-title-right {
        margin-left: auto;
        padding-left: 0;
    }

    .header-title .header-title-right img:first-child {
        display: none;
    }

    /* 导航：换行排列，取消固定 10% 宽度 */
    .header-nav .nav ul {
        display: flex;
        flex-wrap: wrap;
    }

    .header-nav .nav .navroot,
    .header-nav .nav .navgap {
        float: none;
        width: auto;
        flex: 0 0 auto;
        margin-right: 0;
    }

    .header-nav .nav .navroot a {
        padding: 0 14px;
        background-image: none !important;
    }

    .nav .navsub {
        display: none !important;
    }

    /* 首页轮播 */
    .yunu-slideBox .bd li {
        height: 320px;
        background-size: cover;
        background-position: center;
    }

    /* 首页产品区：侧栏与列表上下堆叠 */
    .yunu-pro .sd,
    .yunu-pro .mn {
        float: none;
        width: auto;
    }

    .yunu-pro .sd {
        margin-bottom: 16px;
    }

    .yunu-pro .mn li {
        width: 50%;
    }

    /* 内页两栏：上下堆叠 */
    .ct2-sd,
    .ct2-mn {
        float: none !important;
        width: auto;
    }

    .ct2-sd {
        margin-bottom: 20px;
    }

    /* 列表 */
    .list-2 li {
        width: 50%;
    }

    /* 页脚 */
    .yunu-footer-nav,
    .yunu-footer-info,
    .yunu-footer-ewm {
        float: none;
        width: auto;
        margin: 0 0 20px;
    }

    .yunu-footer-ewm ul {
        display: flex;
        gap: 20px;
    }

    .yunu-footer-ewm li {
        float: none;
        margin: 0;
    }

    /* 小屏隐藏右侧客服浮窗，避免遮挡正文 */
    .kefu {
        display: none;
    }

    /* 关于我们：固定两栏改为上下堆叠，避免 660px 固定宽度溢出 */
    .in-about dt {
        float: none;
        width: auto;
    }

    .in-about dt img {
        max-width: 100%;
        height: auto;
    }

    .in-about dd {
        margin-left: 0;
        padding: 24px 0 0;
    }
}

@media (max-width: 767px) {
    .header-title li:nth-child(2) {
        display: none;
    }

    .header-title .header-title-right {
        margin-left: auto;
    }

    .header-title .header-title-right span {
        font-size: 16px !important;
    }

    .header-title .header-title-right span span {
        font-size: 18px !important;
    }

    .yunu-slideBox .bd li {
        height: 220px;
    }

    .section {
        padding: 30px 0;
    }

    .section-title strong,
    .section-title p span {
        font-size: 20px !important;
    }

    /* 标题装饰线：小屏隐藏左右装饰线，避免伪元素外扩导致横向溢出 */
    .section-title span {
        padding: 0 8px;
        font-size: 18px;
    }

    .section-title span:before,
    .section-title span:after {
        display: none;
    }

    .yunu-sou .hot,
    .yunu-sou .hform {
        float: none;
        margin-bottom: 8px;
    }

    .yunu-sou .hform input {
        width: calc(100% - 60px);
    }

    .yunu-pro .mn li,
    .list-2 li {
        width: 100%;
    }

    /* 首页服务卡片：4 列改 2 列，避免卡片过窄导致内部图标溢出 */
    .in-yin li {
        width: 50%;
    }

    .in-yin li .wrap {
        padding: 50px 16px 0;
    }

    .in-yin li .wrap i {
        width: 48px;
        height: 48px;
    }

    .in-yin li .wrap h4 {
        line-height: 54px;
        font-size: 20px;
    }

    .in-yin li .tit {
        font-size: 16px;
        line-height: 60px;
    }

    .list-2 {
        margin-left: 0;
    }

    .list-2 li a {
        margin-left: 0;
    }

    .list-5 li .m {
        float: none;
        width: auto;
        margin-bottom: 10px;
    }

    .list-5 li .text {
        margin-left: 0;
    }

    .list-5 li .text h4 {
        white-space: normal;
        line-height: 1.5;
    }

    .yunu-curmbs {
        line-height: 1.8;
        word-break: break-all;
    }

    .yunu-showcase .yunu-showcase-info,
    .yunu-showcase .pc-slide {
        float: none !important;
        width: auto !important;
        margin: 0 0 16px !important;
    }

    .yunu-footer-ewm ul {
        flex-wrap: wrap;
    }
}
