/* 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;
    }


    /* 页脚调整 */
    .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;
    }


}

/* 当屏幕宽度低于505px时的额外调整 */
@media (max-width: 505px) {


    .mobile-menu-toggle {
        width: .3rem;
        height: .24rem;
        padding: .05rem;
        right: .1rem;
    }

}

/* 针对更小屏幕的调整 */
@media (max-width: 375px) {




    .mobile-menu-toggle {
        width: .28rem;
        height: .22rem;
        padding: .04rem;
    }
}