/* 子页面深色主题覆盖样式 - 修复版 */

/* 页面背景 */
body {
    background-color: #0a0e1a !important;
    color: #ffffff !important;
}

/* 内容区域背景 - 保留原有图片 */
.mobile-app-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

.mobile-app-1,
.mobile-app-2,
.mobile-app-3,
.mobile-app-4 {
    background-color: transparent !important;
}

/* 修复全屏下的布局问题 */
.mobile-app-1 {
    width: 100% !important;
    padding: 0 !important;
    max-width: 1400px !important;
    margin: 80px auto 0 !important;
    box-sizing: border-box !important;
}

.mobile-app-1 .new-img {
    width: 50% !important;
    max-width: 700px !important;
    height: auto !important;
    flex-shrink: 0 !important;
}

.mobile-app-1 .right-cont {
    width: 50% !important;
    min-width: auto !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
}

/* mobile-app-4 响应式修复 */
.mobile-app-4 .content {
    width: 90% !important;
    max-width: 1400px !important;
}

.mobile-app-4 .slide-li {
    width: calc(33.333% - 20px) !important;
    max-width: 350px !important;
    margin: 10px !important;
}

.mobile-app-4 .slide-li img {
    width: 100% !important;
    height: auto !important;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .mobile-app-1 {
        flex-direction: column !important;
        height: auto !important;
        padding: 40px 20px !important;
    }
    
    .mobile-app-1 .new-img,
    .mobile-app-1 .right-cont {
        width: 100% !important;
    }
    
    .mobile-app-1 .right-cont {
        align-items: center !important;
        text-align: center !important;
    }
    
    .mobile-app-4 .slide-li {
        width: calc(50% - 20px) !important;
    }
}

@media screen and (max-width: 768px) {
    .mobile-app-4 .slide-li {
        width: 100% !important;
        max-width: 350px !important;
    }
}

/* 标题样式 */
.mobile-app-1 h1,
.mobile-app-1 h3,
.mobile-app-4 .title,
.mobile-app-title h3 {
    color: #ffffff !important;
}

/* 正文样式 */
.mobile-app-1 p,
.mobile-app-1 span,
.mobile-app-4 .text {
    color: #94a3b8 !important;
}

/* 按钮样式 */
.app_lookmore {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

/* slide-li 卡片样式 */
.slide-li {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
}

.slide-li .title span {
    color: #ffffff !important;
}

.slide-li p {
    color: #94a3b8 !important;
}

/* 链接样式 - 排除导航栏和底部 */
a:not(.subpage-nav-item > a):not(.subpage-dropdown-menu a):not(.subpage-footer-column a):not(.subpage-footer-contact a) {
    color: #3b82f6 !important;
}

a:not(.subpage-nav-item > a):not(.subpage-dropdown-menu a):not(.subpage-footer-column a):not(.subpage-footer-contact a):hover {
    color: #f59e0b !important;
}

/* 隐藏旧的头部和底部 */
.header-top,
.bottom_box,
.html-footer {
    display: none !important;
}

/* 确保新导航栏和底部显示 */
.subpage-nav,
.subpage-footer {
    display: block !important;
}
