/* 800px及以下移动端样式 */
@media (max-width: 800px) {

    /* 基础样式调整 */
    body {
        overflow-x: hidden;
        /* 防止侧边菜单导致横向滚动 */
    }

    .container {
        max-width: 100%;
        position: relative;
        /* 为绝对定位的汉堡菜单按钮提供参考 */
    }

    /* 顶部样式调整 */
    .top-header .slhdbdh {
        width: 100%;
    }

    .top-header .tq>div>div {
        width: 100%;
        padding-right: .1rem;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .welcome-text {
        width: 100%;
        text-align: center;
        margin-bottom: .1rem;
    }

    .social-icons {
        margin-top: .1rem;
    }

    .top-header {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    /* 汉堡菜单按钮样式 - 放在hero-banner右侧中间 */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: .35rem;
        height: .28rem;
        cursor: pointer;
        z-index: 100;
        padding: .06rem;
        border-radius: .04rem;
        position: absolute;
        right: .15rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: .03rem;
        background-color: #232323;
        border-radius: .015rem;
        transition: all 0.3s ease;
    }

    /* 汉堡菜单按钮动画效果 */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(.075rem) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-.075rem) rotate(-45deg);
    }

    /* 侧边导航菜单样式 */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -50%;
        width: 50%;
        height: 100%;
        background-color: #fff;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .15rem;
        background-color: #af0b0b;
        color: white;
    }

    .mobile-logo {
        font-weight: bold;
        line-height: 1.3;
        flex: 1;
        text-align: center;
    }

    .mobile-menu-close {
        cursor: pointer;
        padding: 0 .08rem;
    }

    .mobile-search {
        display: flex;
        padding: .1rem;
        border-bottom: .01rem solid #eee;
    }

    .mobile-search input {
        flex: 1;
        padding: .08rem;
        border: .01rem solid #ddd;
        border-right: none;
        font-size: .16rem;
        width: 50%;
    }

    .mobile-search button {
        padding: 0 .12rem;
        background-color: #af0b0b;
        color: white;
        border: none;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-link {
        padding: .15rem;
        border-bottom: .01rem solid #eee;
        color: #333;
    }

    .mobile-nav-link:hover {
        background-color: #f5f5f5;
    }

    /* 遮罩层样式 */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* 导航菜单调整 - 在移动端隐藏原导航 */
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;
        /* 隐藏原导航链接 */
        width: 100%;
        flex-wrap: wrap;
    }

    .nav-link {
        padding: .1rem 0;
        width: 33.33%;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .search-box {
        display: none;
        /* 隐藏原搜索框 */
        width: 100%;
        padding: .1rem 0 .1rem .3rem;
        margin-top: .1rem;
        background-position: left center;
    }

    .search-input {
        width: 60%;
    }

    /*内容*/
    .cont {
        width: 100% !important;
    }

    .main {
        width: 98% !important;
        flex-direction: column;
        /* 垂直堆叠 */
        display: flex;
    }

    /* 移动端栏目左侧样式调整 */
    .list-left {
        width: 100% !important;
        float: none !important;
        margin: .1rem 0;
        border: .01rem solid #d3d3d3;
        order: 1;
        /* 确保在上方 */
    }

    .list-right {
        width: 100% !important;
        float: none !important;
        margin: .1rem 0;
        border: none;
        order: 2;
        /* 确保在下方 */
    }

    .list-right-con {
        padding: 0 !important;
    }

    /* 移动端折叠菜单样式 */
    .mobile-accordion-header {
        position: relative;
        cursor: pointer;
        padding: .15rem;
        background: #af0b0b;
        color: #fff;
        font-size: .18rem;
        font-weight: bold;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: background-color 0.3s ease;
    }


    .accordion-arrow {
        position: absolute;
        right: .15rem;
        font-size: .16rem;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .mobile-accordion-header.active .accordion-arrow {
        transform: rotate(180deg);
    }

    .mobile-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 .18rem;
        background: #fff;
    }

    .mobile-accordion-content.active {
        max-height: 20rem;
        /* 足够大的高度以适应内容 */
        padding: .1rem .18rem .2rem .18rem;
    }

    /* 二级栏目链接样式优化 */
    .mobile-accordion-content ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-accordion-content ul li {
        margin: .08rem 0;
        border-bottom: .01rem solid #f0f0f0;
        padding-bottom: .08rem;
    }

    .mobile-accordion-content ul li:last-child {
        border-bottom: none;
    }

    .mobile-accordion-content ul li a {
        display: block;
        padding: .12rem .15rem;
        color: #333;
        text-decoration: none;
        border: .01rem solid #e0e0e0;
        border-radius: .04rem;
        background: #fafafa;
        transition: all 0.3s ease;
        font-size: .14rem;
        text-align: center;
    }

    /* 清除浮动样式在移动端不需要 */
    .main div[style*="clear"] {
        display: none;
    }

    .list-left-con {
        min-height: auto;
    }

    .accordion-arrow {
        display: inline-block;
    }

    /* 页脚调整 */
    .footer {
        height: auto;
        padding: .1rem 0 1rem;
        background-repeat: repeat;
    }

    footer table {
        width: 100% !important;
    }

    footer table tr {
        display: flex;
        justify-content: center;
    }

    footer table tr:first-child td:first-child,
    footer table tr:first-child td:last-child,
    footer table tr:last-child td:last-child {
        position: absolute;
        bottom: -.8rem;
    }

    footer table tr:first-child td:first-child {
        left: 8%;
    }

    footer table tr:first-child td:last-child {
        left: 46%;
        bottom: -.9rem;
    }

    footer table tr:last-child td:last-child {
        right: 8%;
        bottom: -.7rem;
    }

    .hero-banner .container img {
        width: 100% !important;
    }

    .fwl-list-box {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    .fwlist-content {
        width: 98% !important;
        margin: 0 auto;
        padding: 0 !important;
    }

}

/* 当屏幕宽度低于505px时的额外调整 */
@media (max-width: 505px) {


    .mobile-menu-toggle {
        width: .3rem;
        height: .24rem;
        padding: .05rem;
        right: .1rem;
    }

    .units-content {
        flex-direction: column;
        border: none;
        margin-top: .1rem;
    }

}

/* 针对更小屏幕的调整 */
@media (max-width: 375px) {




    .mobile-menu-toggle {
        width: .28rem;
        height: .22rem;
        padding: .04rem;
    }
}

@media (min-width: 801px) {
    .accordion-arrow {
        display: none;
    }

}