/* container.Master 遗留页页脚 — 与 home.aspx 保持一致（home 无 zhima 等旧样式干扰） */

body.site-page > .site-footer.footer,
body.site-page > .footer.site-footer {
    text-align: left !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    position: relative;
    background: #152028 !important;
    box-sizing: border-box;
}

body.site-page > .site-footer .site-footer__main,
body.site-page > .site-footer .site-footer__bottom {
    width: 100%;
    box-sizing: border-box;
}

body.site-page > .site-footer .site-footer__cols {
    justify-items: start;
}

body.site-page > .site-footer .site-footer__col {
    width: 100%;
    min-width: 0;
    text-align: left !important;
}

body.site-page > .site-footer .site-footer__heading {
    text-align: left !important;
    margin: 0 0 14px !important;
}

body.site-page > .site-footer .site-footer__list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: left !important;
}

body.site-page > .site-footer .site-footer__list > li {
    float: none !important;
    text-align: left !important;
}

body.site-page > .site-footer .site-footer__list > li + li {
    margin-top: 10px !important;
}

body.site-page > .site-footer .site-footer__list--contact {
    line-height: 1.45;
}

body.site-page > .site-footer .site-footer__list--contact > li {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px;
    width: 100%;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    font-size: 13px;
    line-height: 1.45 !important;
}

body.site-page > .site-footer .site-footer__list--contact > li + li {
    margin-top: 10px !important;
}

body.site-page > .site-footer .site-footer__list--contact > li > span {
    display: inline !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.site-page > .site-footer .site-footer__list--contact i {
    flex-shrink: 0;
    float: none !important;
    position: static !important;
    margin: 0 !important;
}

/* 底栏背景铺满视口，消除两侧色差 */
body.site-page > .site-footer .site-footer__bottom {
    position: relative;
    isolation: isolate;
    background: transparent !important;
}

body.site-page > .site-footer .site-footer__bottom::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 0;
    pointer-events: none;
}

body.site-page > .site-footer .site-footer__bottom > .site-footer__container {
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    body.site-page > .site-footer .site-footer__bottom::before {
        width: 100%;
        left: 0;
        transform: none;
    }
}
