.site-shared-footer {
    background-color: var(--portal-surface-footer, #0066cc);
    border-top: 4px solid var(--portal-surface-footer-border, #0066cc);
    color: var(--portal-surface-footer-contrast, #ffffff);
    padding: 2rem 0;
}

.site-shared-footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.site-shared-footer-top{
    margin: 0rem 0 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.site-shared-footer-summary {
    flex: 1 1 auto;
}

.site-shared-footer-wechat {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 132px;
    text-align: center;
}

.site-shared-footer-wechat span {
    font-size: 14px;
    font-weight: 500;
}

footer.site-shared-footer .site-shared-footer-wechat img,
footer.site-shared-footer .site-shared-footer-wechat-image,
.site-shared-footer .site-shared-footer-wechat img,
.site-shared-footer .site-shared-footer-wechat-image {
    width: 112px !important;
    height: 112px !important;
    min-width: 112px !important;
    min-height: 112px !important;
    max-width: 112px !important;
    max-height: 112px !important;
    border-radius: 10px;
    background: #ffffff;
    padding: 6px;
    object-fit: contain !important;
    display: block;
    flex: 0 0 112px !important;
}
.site-shared-footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.site-shared-footer-section h4 {
    color: var(--portal-surface-footer-contrast, #ffffff);
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 1rem;
}

.site-shared-footer-section p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 0.5rem;
    opacity: 0.9;
}

.site-shared-footer a {
    color: var(--portal-surface-footer-contrast, #ffffff);
    text-decoration: none;
}

.site-shared-footer a:hover {
    text-decoration: underline;
}

.site-shared-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.85;
    padding-top: 1rem;
    text-align: center;
}

.site-shared-footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .site-shared-footer-container {
        padding: 0 1rem;
    }

    .site-shared-footer-top {
        flex-direction: column;
    }

    .site-shared-footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
