/* 页脚样式 */

.footer {
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    background-color: var(--footer-bg);
    padding: 30px 0;
    margin-top: auto;
}

.footer > div {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 0 20px;
}

.footer ul {
    display: block !important;
    width: auto !important;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer ul img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.footer ul li {
    font-size: 13px;
    color: #cfd5dc;
    margin-top: 8px;
    list-style: none;
}

/* 页脚多列布局 */
.footer-col {
    text-align: left;
    min-width: 0;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px;
    padding-bottom: 10px;
    position: relative;
    letter-spacing: 1px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: var(--gold, #c8a24c);
}

.footer-about { width: 320px; }

.footer-about p {
    font-size: 13px;
    color: #cfd5dc;
    line-height: 1.9;
    margin: 0;
}

.footer-links { width: 150px; }

.footer-contact { width: 320px; }

.footer-links ul,
.footer-contact ul {
    text-align: left;
}

.footer-col ul li {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
    line-height: 1.7;
}

.footer-links ul li a {
    color: #cfd5dc;
    transition: color .2s;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact ul li { color: #cfd5dc; }

.footer-qr { width: 150px; }

.footer-qr ul {
    text-align: center;
}

.footer-qr ul li {
    text-align: center;
    margin-bottom: 0;
}

/* 版权信息 */
.footera {
    color: #fff;
    width: 100%;
    font-size: 13px;
    text-align: center;
    background: var(--footer-bg);
    padding: 12px 10px;
    line-height: 1.9;
}

.footera a {
    color: #bcd4f2;
}

.footera a:hover {
    color: #fff;
}

.footera a.record-link {
    color: #fff;
}

.footera img {
    vertical-align: middle;
    height: 18px;
}

/* 响应式 */
@media (max-width: 768px) {
    .footer > div {
        flex-direction: column !important;
        align-items: center;
        gap: 20px;
    }

    .footer ul img {
        width: 100px;
        height: 100px;
    }

    .footer-col { width: auto !important; text-align: center; }
    .footer-links ul,
    .footer-contact ul { text-align: center; }
    .footer-col ul li { text-align: center; }
    .footer-about p { text-align: center; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer > div {
        gap: 30px;
    }

    .footer ul img {
        width: 100px;
        height: 100px;
    }
}
