/* 底部信息 */
/* ==================== 脚部模块 ==================== */
.footer {
    background-color: #f5f5f5;
    color: #333;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部搜索栏 */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.footer-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.home-link {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.home-link:hover {
    color: var(--primary);
}

.search-separator {
    width: 1px;
    height: 20px;
    background-color: #ccc;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.search-input {
    padding: 13px 35px 13px 12px;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
    width: 522px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-icon {
    position: absolute;
    width: 38px;
    height: 27px;
    cursor: pointer;
    right: 16px;
    top: 7px;
    border: 0px;
    border-left: 1px solid #e3e3e3;
    padding: 0px 0 0 15px;
    background: none;
}
.search-icon img{
    width: 22px;
}
/* 主要导航区域 */
.footer-main {
}

.footer-nav {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 20px 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin: 20px 0;
}

.footer-links .view-more {
    color: #999;
    font-style: italic;
}

/* 中间区域 */
.footer-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.left-but{
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 44px;
}

.portal-buttons {
    display: flex;
    gap: 15px;
}

.portal-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.play-icon {
    color:  var(--primary);
    font-size: 12px;
}
.play-icon img{
    width: 8px;
}
.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.report-platform {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.service-phone {
    font-size: 14px;
    color: #666;
}
.service-phone a{
    display: inline;
}
.info-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.info-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.info-icon:hover {
    opacity: 0.7;
}

.social-media {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 32px;
    height: 32px;
}


/* 底部信息 */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: #e4e4e5;
    width: 100%;
    box-sizing: border-box;

}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    width: 100%;
    padding: 0 20px;
}

.footer-legal {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-legal a {
    font-size: 12px;
    line-height: 1.4;
}
.cyberspace-logo {
    display: flex;
    align-items: center;
}

.cyberspace-logo img {
    height: 40px;
    max-width: 200px;
}

/* 脚部模块响应式设计 */
@media (max-width: 1200px) {
    .footer-container {
        max-width: 1000px;
        padding: 0 15px;
    }
    
    .footer-nav {
        gap: 30px;
    }
    
    .footer-middle {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-nav {
        gap: 25px;
    }
    
    .footer-title {
        font-size: 15px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .search-input {
        width: 250px;
    }
}

/* ==================== 移动端底部折叠菜单 ==================== */
/* 桌面端隐藏移动端底部菜单 */
.mobile-bottom-menu {
    display: none;
}

/* 移动端底部折叠菜单样式 */
@media (max-width: 768px) {
    .mobile-bottom-menu {
        display: block;
        background-color: #f8f9fa;
        border-top: 1px solid #e9ecef;
        position: relative;
    }
    
    
    .mobile-bottom-menu-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: #fff;
    }
    
    .mobile-bottom-menu-content.active {
        max-height: 1000px;
    }
    
    .mobile-bottom-menu-grid {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .mobile-bottom-menu-section {
        background-color: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
    }
    
    .mobile-bottom-menu-section .section-title {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #e9ecef;
    }
    
    .mobile-bottom-menu-section .menu-links {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .mobile-bottom-menu-section .menu-link {
        font-size: 13px;
        color: #666;
        text-decoration: none;
        padding: 4px 0;
        transition: color 0.2s ease;
        line-height: 1.4;
    }
    
    .mobile-bottom-menu-section .menu-link:hover {
        color: #007bff;
    }
    
    .mobile-bottom-menu-section .menu-link:active {
        color: #0056b3;
    }
    
    /* 响应式调整 */
    @media (max-width: 480px) {
        .mobile-bottom-menu-grid {
            grid-template-columns: 1fr;
            gap: 15px;
            padding: 15px;
        }
        
        .mobile-bottom-menu-section {
            padding: 12px;
        }
        
        .mobile-bottom-menu-section .section-title {
            font-size: 13px;
            margin-bottom: 8px;
        }
        
        .mobile-bottom-menu-section .menu-link {
            font-size: 12px;
        }
    }
    
    /* 第二个移动端底部折叠菜单样式 */
    .mobile-bottom-menu-second {
        border-top: 1px solid #e9ecef;
        margin-top: 0;
    }
    
    
    .mobile-bottom-menu-second .mobile-bottom-menu-content {
        background-color: #f8f9fa;
    }
    
    .mobile-bottom-menu-second .mobile-bottom-menu-section {
        background-color: #fff;
        border: 1px solid #e9ecef;
    }
    
    /* 第二个移动端折叠菜单样式 */
    .mobile-collapse-menu-second {
        display: block;
        /* background-color: #f8f9fa;
        border-top: 1px solid #e9ecef; */
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transition: none;
    }
    
    .mobile-collapse-menu-second.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-collapse-menu-second .mobile-menu-content {
        background-color: #f8f9fa;
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        box-shadow: none;
    }
    
    .mobile-collapse-menu-second .mobile-menu-category {
        background-color: #fff;
        border-bottom: 1px solid var(--bg-gray-light);
    }
    
    .mobile-collapse-menu-second .mobile-menu-item {
        background-color: var(--bg-gray-light);
    }
    
    .mobile-collapse-menu-second .mobile-menu-item:hover {
        background-color: var(--bg-gray-light);
    }
    
    .mobile-collapse-menu-second .mobile-submenu {
        background-color: var(--bg-gray-light);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border: 0;
    }
    
    .mobile-collapse-menu-second .mobile-submenu.active {
        max-height: 70vh !important;
        overflow-y: auto !important;
    }
    
    /* 确保第二个菜单中的三级子菜单active样式也能正确应用 */
    .mobile-collapse-menu-second .mobile-menu-category .mobile-submenu .mobile-menu-category .mobile-submenu.active {
        max-height: 70vh !important;
        overflow-y: auto !important;
    }
    
    .mobile-collapse-menu-second .mobile-submenu-link {
        background-color: #fff;
        border-bottom: 1px solid #e9ecef;
    }
    
    .mobile-collapse-menu-second .mobile-submenu-link:hover {
        background-color: #e9ecef;
    }
    
    .mobile-collapse-menu-second .mobile-menu-divider {
        /* background-color: #e9ecef; */
        display:none
    }
    
    /* 确保第二个移动端菜单在移动端正确显示 */
    .mobile-collapse-menu-second {
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        background-color: #f8f9fa;
        display: block;
        visibility: visible;
        opacity: 1;
    }
    
    .mobile-collapse-menu-second.active {
        display: block;
        visibility: visible;
        opacity: 1;
    }
    
    .mobile-collapse-menu-second .mobile-menu-content {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        box-shadow: none;
    }
}


.search-input {
    padding: 13px 35px 13px 12px;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
    width: 524px;
    outline: none;
    transition: border-color 0.3s 
ease;
}
.search-icon {
    position: absolute;
    width: 44px;
    /* height: 16px; */
    cursor: pointer;
    right: 16px;
    border-left: 1px solid #e3e3e3;
    padding: 0px 0 0 18px;
}
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: #e4e4e5;
    width: 100%;
    box-sizing: border-box;

}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    width: 100%;
    padding: 0 20px;
}

.footer-legal {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.cyberspace-logo {
    display: flex;
    align-items: center;
}

.cyberspace-logo img {
    height: 40px;
    max-width: 200px;
}

/* 桌面端隐藏移动端底部信息 */
.mobile-bottom-info {
    display: none;
}



.media-content{
    position: relative;
}
.media-content img{
    width: 32px;
    height: 32px;
    overflow: hidden;
}
.media-content .hover-container{
    position: absolute;
    width: 150px;
    height: 150px;
    top: -160px;
    left: 50%;
    margin-left: -75px;
}
.media-content .hover-container img{
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    /* 隐藏PC端脚部模块 */
    .footer,
    .footer-bottom,
    div.footer-bottom {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* 移动端底部信息 */
    .mobile-bottom-info {
        display: block !important;
        background-color: var(--bg-gray-light);
        padding: 4vh 0 0 0;
        text-align: center;
        position: relative;
        z-index: 9;
    }
    
    /* 社交媒体图标区域 */
    .mobile-social-media {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .mobile-social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 8vw;
        height: 8vw;
        min-width: 40px;
        min-height: 40px;
        max-width: 50px;
        max-height: 50px;
        border-radius: 8px;
        transition: transform 0.2s ease;
    }
    
    .mobile-social-icon:hover {
        transform: scale(1.1);
    }
    .media-content img{
    width: 40px;
    height: 40px;
    overflow: hidden;
}
    .mobile-social-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    /* 举报平台信息 */
    .mobile-report-info {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px auto;
        gap: 20px;
        font-size: 14px;
    }
    
    .mobile-report-platform {
        color: #333;
        font-weight: 500;
    }
    
    .mobile-service-phone {
        color: #333;
        font-weight: 500;
    }
    
    /* 门户按钮 */
    .mobile-portal-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 16px;
    }
    
    .mobile-portal-btn {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 4px 8px;
        border: 1px solid #333;
        text-decoration: none;
        color: #333;
        font-size: 12px;
        font-weight: 500;
        transition: all 0.2s ease;
        border-radius: 4px;
    }
    
    .mobile-portal-btn:hover {
        background-color: #f5f5f5;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
    
    .mobile-play-icon {
        color: #ff6b6b;
        font-size: 3vw;
    }
    .mobile-play-icon img{
        width: 5px;
    }
    /* 底部法律信息 */
    .mobile-footer-bottom {
        background-color: var(--bg-gray);
    }
    
    .mobile-cyberspace-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2vw;
    }
    
    .mobile-cyberspace-logo {
        display: flex;
        align-items: center;
    }
    
    .mobile-cyberspace-logo img {
        width:  40vw;
        height: auto;
    }
    
    .mobile-cyberspace-text {
        font-size: 2.8vw;
        color: #666;
        line-height: 1.4;
    }
    
    .mobile-footer-legal {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 11px;
        padding: 0 0 20px 0;
    }
    
    .mobile-cyberspace-logo {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px 0 8px 0;
    }

    .mobile-legal-row {
        display: flex;
        justify-content: center;
        gap: 0 12px;
        flex-wrap: wrap;
    }
    
    .mobile-footer-legal span {
        font-size: 2.5vw;
        color: #666;
        line-height: 1.4;
    }
}