/* ==================== 党建页脚组件样式（红色主题） ==================== */

/* === 页脚基础样式 === */
.footer {
    width: 100%;
    position: relative;
    color: var(--color-white); /* 党建页脚白色文字 */
}

.footer .overlap-5 {
    position: relative;
    width: 100%;
    padding: 1.875rem 7.5rem 2.5rem; /* 30px 120px 40px - 精确还原 */
}

/* === 背景处理 === */
.footer .background-5 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    background-color: var(--color-party-red); /* 党建红色背景覆盖层 */
}

.footer .background-wrapper {
    width: 100%;
    height: 100%;
}

.footer .background-6 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
}

/* === 页脚顶部区域（导航+社交） === */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem; /* 20px - 精确还原 */
}

.footer-top-nav {
    display: flex;
    align-items: center;
    gap: 2rem; /* 32px - 精确还原 */
}

.footer-top-nav .nav-item {
    font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    color: var(--color-white); /* 党建页脚白色文字 */
    font-size: var(--font-sm); /* 14px */
    text-decoration: none;
    transition: var(--transition-base);
    padding-bottom: var(--space-0_5); /* 2px */
    border-bottom: var(--space-0_5) solid transparent;
}

.footer-top-nav .nav-item.active,
.footer-top-nav .nav-item:hover {
    color: var(--color-white); /* 党建页脚保持白色 */
    border-bottom-color: var(--color-white); /* 党建页脚白色下划线 */
}

.media-mode {
    display: flex;
    align-items: center;
    gap: 0.9375rem; /* 15px - 精确还原 */
}

.media-label {
    font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    color: var(--color-white); /* 党建页脚白色文字 */
    font-size: var(--font-sm); /* 14px */
}

.social-icons-container {
    display: flex;
    gap: 0.9375rem; /* 15px - 精确还原 */
}

.social-icons-container img {
    max-width: 2.25rem; /* 36px - 精确还原 */
    max-height: 2.25rem;
    transition: var(--transition-base);
}

.social-icons-container svg {
    width: 2rem; /* 32px - 内联SVG尺寸 */
    height: 2rem;
    transition: var(--transition-base);
}

.social-icons-container a:hover img,
.social-icons-container a:hover svg {
    opacity: 0.8;
}

/* === 分割线 === */
.footer-separator {
    height: var(--space-px); /* 1px - 精确还原 */
    background-color: rgba(255, 255, 255, 0.2); /* 精确还原颜色 */
    margin: 0; /* 精确还原，无边距 */
}

/* === 页脚底部（联系信息） === */
.footer-bottom {
    padding-top: 1.875rem; /* 30px - 精确还原距离 */
}

.contact-information {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* 16px - 精确还原 */
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 1rem; /* 16px - 精确还原 */
    height: 1rem;
    margin-right: 0.75rem; /* 12px - 精确还原 */
    margin-top: 0.1875rem; /* 3px - 精确还原 */
    flex-shrink: 0;
    filter: brightness(0) invert(1); /* 党建页脚白色图标 */
}

.contact-label {
    font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    color: var(--color-white); /* 党建页脚白色文字 */
    font-size: var(--font-sm); /* 14px */
    margin-right: var(--space-2); /* 8px - 精确还原 */
    white-space: nowrap;
}

.contact-text {
    font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    color: var(--color-white); /* 党建页脚白色文字 */
    font-size: var(--font-sm); /* 14px */
}

/* === 版权区域 === */
.footer .footer-copyright {
    width: 100%;
    height: 2.5rem; /* 40px - 精确还原高度 */
    background-color: var(--color-party-red); /* 党建页脚红色背景 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .ICP {
    font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    color: var(--color-white); /* 党建页脚白色文字 */
    font-size: 0.8125rem; /* 13px - 精确还原 */
    text-align: center;
    letter-spacing: 0.0325rem; /* 0.52px - 精确还原 */
    white-space: nowrap;
}

.footer-copyright .ICP span {
    line-height: 1.25rem; /* 20px - 精确还原 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-copyright .ICP a {
    color: var(--color-white); /* 党建页脚白色链接 */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer-copyright .ICP img {
    margin-right: var(--space-2_5); /* 5px - 精确还原 */
    height: var(--font-sm); /* 14px - 精确还原 */
    vertical-align: -0.15em;
    margin-bottom: var(--space-px); /* 1px - 精确还原 */
}

/* === 响应式调整（保持原版比例） === */
@media (max-width: 1200px) {
    .footer .overlap-5 {
        padding: 1.875rem 3rem 2.5rem; /* 减少左右内边距但保持比例 */
    }
}

@media (max-width: 768px) {
    .footer .overlap-5 {
        padding: 1.5rem 1rem 2rem; /* 移动端适配 */
    }
    
    .footer-top {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-bottom: 1rem;
    }
    
    .footer-top-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .contact-information {
        align-items: center;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-copyright .ICP {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
}