/* Footer 重新设计样式 - 4列布局 */
/* 使用更高的特异性选择器，避免过度使用 !important */

.footer .footer_links {
    display: flex;
    justify-content: space-between;
    gap: 9rem;
    margin-top: 2rem;
    min-width: 100%;
    margin-bottom: 2rem;
}

.footer .footer_column {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.footer .footer_title {
    color: #2A6CFF; /* 蓝色标题 */
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer .footer_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer_list li {
    margin-bottom: 1.3rem;
}

.footer .footer_list li {
    color: #fff;
    font-size: 1.7rem;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
    font-weight: 400;
}

.footer .footer_list li * {
    color: inherit;
    font-size: inherit;
    text-decoration: inherit;
}

.footer .footer_link:hover {
    color: #4A90E2;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .footer .footer_links {
        gap: 2.5rem;
        flex-wrap: wrap;
    }

    .footer .footer_title {
        font-size: 2.2rem;
    }

    .footer .footer_link {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .footer .footer_links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer .footer_title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        margin: 0 auto;
    }

    .footer .footer_link {
        font-size: 1.1rem;
    }

    .footer .footer_list li {
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 480px) {
    .footer .footer_links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer .footer_column {
        text-align: center;
    }

    .footer .footer_title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .footer .footer_link {
        font-size: 1rem;
    }

    .footer .footer_list li {
        margin-bottom: 0.5rem;
    }
}

/* 覆盖可能的其他样式 */
.footer .footer_links,
.footer .footer_links * {
    box-sizing: border-box;
}

/* 调整footer整体布局 */
.footer .footer_content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 隐藏品牌区域（已在模板中注释） */
.footer .footer_brand {
    display: none;
}

/* 确保footer背景色正确 */
.footer {
    background: #1F2433;
    color: #fff;
}

/* Copyright区域重新设计 */
.footer_copyright {
    background: #fff;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.footer_copyright .copyright_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer_copyright .copyright_left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.footer_copyright .copyright_logo .footer_logo_img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer_copyright .copyright_text p {
    color: #666;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.4;
}

.footer_copyright .copyright_right {
    display: flex;
    align-items: center;
}

.footer_copyright .social_icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer_copyright .social_icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
}

.footer_copyright .social_icon.facebook {
    background: #1877F2;
}

.footer_copyright .social_icon.instagram {
    background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4);
}

.footer_copyright .social_icon.linkedin {
    background: #0A66C2;
}

.footer_copyright .social_icon.youtube {
    background: #FF0000;
}

.footer_copyright .social_icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer_copyright .social_icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

/* 移动端调整 */
@media (max-width: 768px) {
    .footer .footer_brand {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer .footer_social {
        justify-content: center;
    }

    .footer_copyright .copyright_content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer_copyright .copyright_left {
        flex-direction: column;
        gap: 1rem;
    }

    .footer_copyright .copyright_text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer_copyright .social_icons {
        gap: 0.8rem;
    }

    .footer_copyright .social_icon {
        width: 35px;
        height: 35px;
    }

    .footer_copyright .social_icon svg {
        width: 18px;
        height: 18px;
    }

    .footer_copyright .copyright_text p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}
