/* =========================================================
   底部样式（纯黑背景，宽度进一步收窄）
========================================================= */

.site-footer {
    background: #000000;
    border-top: 1px solid #333;
    padding: 40px 0 0;
    font-size: 14px;
    color: #cdd8e6;
}

/* 进一步收窄宽度：从 1100px 改为 960px */
.site-footer .container,
.footer-bottom .container {
    max-width: 960px;               /* 原1100px，现收窄 */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 四列导航 */
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.footer-col {
    flex: 1;
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #0076c8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-col ul li a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 联系我们列 - 强制工作时间不换行 */
.footer-contact .contact-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: nowrap;              /* 改为 nowrap，防止换行 */
    white-space: nowrap;            /* 强制整行不换行 */
}

.footer-contact .contact-label {
    font-weight: 500;
    color: #e0e8f0;
    white-space: nowrap;
}

.footer-contact ul li a {
    color: #66b0ff;
}

.footer-contact ul li a:hover {
    text-decoration: underline;
}

/* 底部版权区域 */
.footer-bottom {
    padding: 18px 0 20px;
    background: #000000;
    margin-top: 0;
}

.footer-copyright-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 16px;
    font-size: 13px;
    color: #9aabb8;
    line-height: 1.6;
}

.footer-copyright-horizontal .icp {
    color: #b0c4de;
}

.footer-copyright-horizontal .divider {
    color: #4a5a6a;
    font-weight: 300;
}

.footer-copyright-horizontal .copyright,
.footer-copyright-horizontal .address,
.footer-copyright-horizontal .third-party {
    color: #9aabb8;
}

.footer-copyright-horizontal .third-party {
    color: #7a8b9a;
    font-size: 12px;
}

/* 响应式 */
@media (max-width: 768px) {
    .site-footer .container,
    .footer-bottom .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }

    .footer-col {
        flex: none;
        width: 100%;
    }

    .footer-col h4::after {
        width: 40px;
    }

    /* 移动端允许换行 */
    .footer-contact .contact-row {
        flex-wrap: wrap;
        white-space: normal;
    }

    .footer-copyright-horizontal {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .footer-copyright-horizontal .divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding-top: 30px;
    }

    .footer-col h4 {
        font-size: 15px;
    }

    .footer-copyright-horizontal {
        font-size: 12px;
    }
}