/* -------------------- 尾部移动端响应式样式 -------------------- */
@media screen and (max-width: 767px) {
    .footer {
        height: auto;
        background: #f8f8f8;
        padding: 20px 0;
        margin-top: 30px;
        border-top: 1px solid #e0e0e0;
    }

    .footer .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .footer .footer_main {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* 顶部导航链接 */
    .footer_center .row1 {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 15px !important;
        padding-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
    }

    .footer_center .row1 a {
        font-size: 14px;
        margin: 0 8px;
    }

    .footer_center .row1 span {
        margin: 0 8px;
        color: #ccc;
    }

    /* 左侧和右侧图标 */
    .footer_left, .footer_right {
        position: static;
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        order: 1;
    }

    .footer_left {
        margin-bottom: 15px;
    }

    .footer_left img {
        width: 52px;
        height: 65px;
    }

    .footer_right {
        margin-bottom: 15px;
    }

    .footer_right span {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer_right img {
        width: 100px;
        height: auto;
        max-height: 50px;
    }

    /* 中间版权信息 */
    .footer_center {
        flex: none;
        width: 100%;
        text-align: center;
        order: 2;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .footer_center .copyright {
        width: 100%;
    }

    .footer_center .copyright p {
        font-size: 12px;
        line-height: 1.8;
        margin: 5px 0;
        white-space: normal;
        word-break: break-all;
    }

    .footer_center .row2,
    .footer_center .row3,
    .footer_center .row4 {
        margin-bottom: 8px;
    }

    .footer_center .ba-link {
        display: inline-flex;
        align-items: center;
        margin-left: 5px;
    }

    .footer_center .ba-link img {
        width: 16px;
        height: 16px;
        margin-right: 3px;
    }
}

/* 超小屏幕优化 */
@media screen and (max-width: 480px) {
    .footer {
        padding: 15px 0;
    }

    .footer .container {
        padding: 0 10px;
    }

    .footer_center .row1 a {
        font-size: 13px;
        margin: 0 5px;
    }

    .footer_center .row1 span {
        margin: 0 5px;
    }

    .footer_center .copyright p {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer_left img {
        width: 45px;
        height: 56px;
    }

    .footer_right img {
        width: 85px;
        max-height: 45px;
    }

    .footer_right {
        gap: 15px;
    }
}
