/* Site footer — shared by PHP includes/footer.php and Nuxt SiteFooter */

.footer {
    background: var(--primary, #1d1d1f) !important;
    color: rgba(255, 255, 255, 0.88) !important;
    text-align: left !important;
    margin-top: 0 !important;
    padding: 2rem 0 !important;
    border-top: none !important;
}

.footer .container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.footer-content--stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding: 0.25rem 0 1rem;
    text-align: left;
}

.footer-left {
    max-width: 48rem;
    text-align: left;
}

.footer-site-title {
    color: #fff !important;
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-site-desc,
.footer-site-desc * {
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
}

.footer-phone {
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
}

.footer-phone a {
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.footer-phone a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.footer-right.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.35rem;
    align-items: center;
    padding-top: 0.15rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff !important;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.footer-copy,
.footer-copy *,
.footer-copy span {
    color: rgba(255, 255, 255, 1) !important;
    margin: 0;
}

.footer-beian {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-beian__row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-beian__link,
.footer-beian__link span {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-beian__link:hover,
.footer-beian__link:hover span {
    color: #fff !important;
    text-decoration: underline;
}

.footer-beian__icon {
    height: 14px;
    width: 14px;
    vertical-align: middle;
}

.footer-beian__sep {
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0 0.25rem;
}

.footer-left p,
.footer-left p *,
.footer-bottom p,
.footer-bottom p * {
    color: rgba(255, 255, 255, 1) !important;
}

@media (max-width: 768px) {
    .footer-content--stack {
        text-align: center;
        padding: 0.9rem 0;
    }

    .footer-left {
        max-width: 100%;
        text-align: center;
    }

    .footer-right.footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-site-title {
        font-size: 1rem;
    }

    .footer-site-desc {
        font-size: 0.8rem;
    }

    .footer-links a {
        font-size: 0.82rem;
    }
}
