/* ====================================
   西梅故事 - 现代化页脚设计
   与导航栏风格统一的扁平化设计
   ==================================== */

footer, .page-footer {
    background: #fff !important;
    color: #666 !important;
    padding: 60px 0 30px !important;
    margin-top: 80px !important;
    width: 100% !important;
    position: relative !important;
    clear: both !important;
    border-top: 1px solid #f0f0f0 !important;
    box-shadow: none !important;
    font-size: initial !important;
    line-height: initial !important;
}

/* 移除旧的装饰性元素 */
footer::before, .page-footer::before {
    display: none !important;
}

/* 页脚容器 */
footer .container,
.page-footer .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    display: block !important;
}

/* 移除页脚装饰元素 */
.footer-decoration {
    display: none !important;
}

/* 页脚主体内容 - 现代化网格布局 */
footer .footer-main,
.page-footer .footer-main {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 60px !important;
    margin-bottom: 50px !important;
    text-align: left !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding-bottom: 40px !important;
    border-bottom: 1px solid #f5f5f5 !important;
}

/* 页脚版块 */
.footer-section {
    padding: 0 !important;
}

/* 页脚版块标题 - 简洁设计 */
footer .footer-section h4,
.page-footer .footer-section h4 {
    color: #1a1a1a !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    background: none !important;
    display: block !important;
    width: 100% !important;
    position: relative !important;
    transition: none !important;
    padding-left: 0 !important;
}

/* 移除图标 */
footer .footer-section h4::before,
.page-footer .footer-section h4::before {
    display: none !important;
}

/* 移除悬停效果 */
footer .footer-section:hover h4,
.page-footer .footer-section:hover h4 {
    color: #1a1a1a !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* 列表样式 */
.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-section li {
    margin-bottom: 12px !important;
}

.footer-section li:last-child {
    margin-bottom: 0 !important;
}

/* 链接样式 - 简洁扁平 */
.footer-section a {
    color: #666 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    padding: 0 !important;
    font-size: 14px !important;
    border-left: none !important;
    position: relative !important;
    line-height: 1.6 !important;
}

/* 移除箭头图标 */
.footer-section a::before {
    display: none !important;
}

.footer-section a:hover {
    color: #ff6600 !important;
    border-left-color: transparent !important;
    padding-left: 0 !important;
    background-color: transparent !important;
    transform: translateX(3px) !important;
}

/* 页脚底部 - 简洁版权信息 */
.footer-bottom {
    padding-top: 30px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
}

.footer-copyright {
    color: #999 !important;
    font-size: 13px !important;
    text-align: center !important;
    width: 100% !important;
}

.footer-copyright p {
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.8 !important;
}

.footer-copyright a {
    color: #999 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-copyright a:hover {
    color: #ff6600 !important;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    footer .footer-main,
    .page-footer .footer-main {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
}

@media (max-width: 768px) {
    footer, .page-footer {
        padding: 40px 0 25px !important;
        margin-top: 60px !important;
    }
    
    footer .footer-main,
    .page-footer .footer-main {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
        margin-bottom: 35px !important;
        padding-bottom: 30px !important;
    }
    
    footer .footer-section h4,
    .page-footer .footer-section h4 {
        font-size: 16px !important;
        margin-bottom: 16px !important;
    }
    
    .footer-section a {
        font-size: 14px !important;
    }
    
    .footer-section li {
        margin-bottom: 10px !important;
    }
    
    .footer-bottom {
        padding-top: 25px !important;
    }
    
    .footer-copyright {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    footer, .page-footer {
        padding: 35px 0 20px !important;
        margin-top: 50px !important;
    }
    
    footer .footer-main,
    .page-footer .footer-main {
        gap: 30px !important;
        margin-bottom: 30px !important;
        padding-bottom: 25px !important;
    }
    
    footer .footer-section h4,
    .page-footer .footer-section h4 {
        font-size: 15px !important;
        margin-bottom: 14px !important;
    }
    
    .footer-section a {
        font-size: 13px !important;
    }
    
    .footer-bottom {
        padding-top: 20px !important;
    }
    
    .footer-copyright {
        font-size: 11px !important;
    }
}


