/* -------------------- 尾部样式 (Footer) -------------------- */

.footer {
    width: 100%;
    height: 212px;
    background: url("../images/index/5.png") no-repeat center top;
    background-size: 100% 212px;
    position: relative;
    padding: 0;
    margin: 20px auto 0;
}

.footer .container {
    width: 1420px;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    border-top: solid 1px #e8e8e8;
}

.footer_nav {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #333;
    z-index: 20;
    pointer-events: auto;
}

.footer_nav a {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
    position: relative;
    z-index: 30;
    cursor: pointer;
}

.footer_nav a:not(:last-of-type)::after {
    content: "|";
    margin-left: 20px;
    color: #333;
}

.footer_main {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.footer_left {
    position: absolute;
    left: 10%;
    bottom: 62px;
    width: 52px;
    height: 65px;
    z-index: 15;
    pointer-events: auto;
}

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

.footer_center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 62px;
    width: 1000px;
    text-align: center;
    z-index: 15;
    pointer-events: auto;
}

.footer_center p {
    margin: 4px 0;
    font-size: 14px;
    color: #333;
    line-height: 24px;
}

.footer_center .copyright p a {
    color: #333;
    position: relative;
    z-index: 30;
    cursor: pointer;
}

.footer_left a {
    display: block;
    position: relative;
    z-index: 30;
    cursor: pointer;
}

.footer_right a {
    display: block;
    position: relative;
    z-index: 30;
    cursor: pointer;
}

.footer_right {
    position: absolute;
    right: 0;
    bottom: 80px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 15;
    pointer-events: auto;
}

.footer_right img {
    width: 116px;
    height: 52px;
    display: block;
}

.footer_center .copyright p img {
    vertical-align: middle;
    margin-right: 5px;
    height: 20px;
}

/* -------------------- 移动端尾部响应式样式 -------------------- */
@media screen and (max-width:768px) {
    div.footer div.container {
        width: 100%;
        box-sizing: border-box;
    }

    div.footer {
        margin: 0;
        padding: 0;
    }

    div.footer .container {
        padding: 0;
    }

    .footer {
        height: auto;
        background: #f8f8f8; /* 移动端给个浅色背景 */
        padding: 20px 0;
        margin-top: 30px !important; /* 增加与上方内容的间距 */
    }
    
    .footer .container {
        width: 100%;
        border: none;
    }

    .footer_nav {
        position: static;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer_nav a {
        font-size: 14px;
        margin: 0 10px;
    }

    .footer_nav a::after {
        display: none; /* 移动端去掉竖线分割，或者用更小的间距 */
    }

    .footer_main {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        pointer-events: auto; /* 恢复点击 */
    }

    .footer_left, .footer_right {
        position: static;
        width: 48%; /* 每排显示两个图标 */
        text-align: center;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer_right span {
        margin: 0 5px;
    }

    .footer_center {
        position: static !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 10px !important;
        left: auto !important; /* 清除 PC 端的 left: 50% */
        bottom: auto !important; /* 清除 PC 端的 bottom: 62px */
        transform: none !important; /* 清除 PC 端的 transform: translateX(-50%) */
    }

    .copyright {
        position: static;
        width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .copyright p {
        font-size: 12px;
        line-height: 1.8;
        white-space: normal; /* 允许换行 */
    }
}
