/* footer.css - 页脚专属样式文件 */

/* 页脚整体样式 */
.global-footer {
    background: #000;
    color: #fff;
    padding: 80px 50px 40px;
    position: relative;
}
.global-footer-wrap {
    width: calc(100% - 120px);
    max-width: 1680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* PC端保持列布局 */
    gap: 0;
    margin-left: 20%;
    width: 80%;
}
.global-footer-wrap .logo-wrap {
    margin-bottom: 60px;
}
.global-footer-wrap .logo-wrap img {
    height: 60px;
    width: auto;
    display: block;
}
/* 核心：链接容器默认横排 */
.global-footer-wrap .link {
    display: flex;
    flex-direction: row !important; /* 强制横排 */
    gap: 24px;
    margin-bottom: 40px;
    font-size: 16px;
    flex-wrap: nowrap !important; /* 不换行 */
    white-space: nowrap !important; /* 文字不折行 */
    overflow: visible !important; /* 内容不隐藏 */
    width: 100% !important;
}
.global-footer-wrap .link a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap !important; /* 单个链接不折行 */
    display: inline-block !important; /* 行内块保证横排 */
}
.global-footer-wrap .link a:hover {
    color: #fff;
}
.global-footer-wrap .copyright {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
    padding-top: 24px;
    border-top: 1px solid #333;
    white-space: normal !important; /* 版权文字允许换行（避免溢出） */
    word-break: break-all !important;
    overflow: visible !important;
    width: 100% !important;
    margin: 0 !important;
}
.global-footer-wrap .copyright a {
    color: #888;
    text-decoration: none;
    white-space: nowrap !important;
    display: inline-block !important;
}
.global-footer-wrap .copyright img {
    display: inline-block !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    height: 14px !important;
    width: auto !important;
    margin: 0 3px 0 0 !important;
}
.global-footer-wrap .code {
    position: absolute;
    top: 80px;
    right: 50px;
}
.global-footer-wrap .code img {
    height: 120px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ==========================
   页脚响应式（强制横排+完整显示）
========================== */
@media screen and (max-width: 1200px) {
    .global-footer-wrap {
        margin-left: 10%;
        width: 90%;
    }
}
@media screen and (max-width: 1024px) {
    .global-footer {
        padding: 60px 30px 40px;
    }
    .global-footer-wrap {
        margin-left: 0;
        width: 100% !important;
        padding: 0 10px !important; /* 加内边距避免贴边 */
    }
    .global-footer-wrap .logo-wrap img {
        height: 50px;
    }
    /* iPad端：强制横排+缩小间距，保证一行 */
    .global-footer-wrap .link {
        gap: 12px !important;
        font-size: 14px !important;
        justify-content: flex-start !important; /* 左对齐 */
    }
    /* 二维码隐藏 */
    .global-footer-wrap .code {
        display: none !important;
    }
}
@media screen and (max-width: 767px) {
    .global-footer {
        padding: 40px 15px 30px !important;
    }
    .global-footer-wrap .logo-wrap {
        margin-bottom: 40px;
    }
    .global-footer-wrap .logo-wrap img {
        height: 40px;
    }
    /* 手机端：进一步缩小间距+字体，保证一行显示 */
    .global-footer-wrap .link {
        gap: 8px !important;
        font-size: 12px !important;
        justify-content: flex-start !important;
    }
    .global-footer-wrap .copyright {
        font-size: 11px;
        line-height: 1.6;
    }
}