/* CITLE 页面头部、Banner 与底部联系区的移动端适配 */
.mobile-nav-toggle {
    display: none;
}

/* 八大主题展区面板无缝衔接 */
.zone-panel {
    border-right: 0 !important;
}

@media screen and (max-width: 900px) {
    :root {
        --header-container-height: 64px;
        --header-notice-height: 0px;
        --header-height: 64px;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .header.header-fixed {
        position: fixed;
        inset: 0 0 auto;
        width: 100%;
        background: #fff;
        box-shadow: 0 3px 18px rgba(15, 47, 67, .1);
    }

    .header .header-notice {
        display: none !important;
    }

    .header .header-wrap {
        width: 100%;
        max-width: none;
        height: 64px !important;
        padding: 0 16px !important;
    }

    .header .header-wrap .logo {
        width: auto;
        max-width: calc(100% - 68px);
        height: 38px !important;
        object-fit: contain;
        object-position: left center;
    }

    .mobile-nav-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin-left: auto;
        padding: 0;
        border: 1px solid #dce7ec;
        border-radius: 10px;
        background: #f7fbfc;
        cursor: pointer;
    }

    .mobile-nav-toggle span {
        display: block;
        width: 19px;
        height: 2px;
        border-radius: 2px;
        background: #123e58;
        transition: transform .25s ease, opacity .2s ease;
    }

    .header.is-menu-open .mobile-nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header.is-menu-open .mobile-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header.is-menu-open .mobile-nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header .menu-wrap {
        position: fixed;
        inset: 64px 0 auto;
        width: 100%;
        height: calc(100dvh - 64px) !important;
        margin: 0;
        padding: 10px 16px 28px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgba(255,255,255,.985);
        box-shadow: 0 20px 35px rgba(8, 40, 60, .12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity .22s ease, transform .25s ease, visibility 0s linear .25s;
    }

    .header.is-menu-open .menu-wrap {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity .22s ease, transform .25s ease, visibility 0s;
    }

    .header .menus {
        display: flex !important;
        width: 100%;
        height: auto !important;
        flex-direction: column;
        align-items: stretch !important;
        margin: 0;
    }

    .header .menus > li {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 50px;
        border-bottom: 1px solid #e9eff2;
    }

    .header .menus li > a,
    .header .menus li > span {
        display: flex;
        width: 100%;
        height: 50px !important;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px !important;
        color: #213d50;
        font-size: 16px !important;
        text-decoration: none !important;
    }

    .header .menus li > span::after {
        content: "+";
        color: #6f8998;
        font-family: Arial, sans-serif;
        font-size: 20px;
        font-weight: 400;
        transition: transform .2s ease;
    }

    .header .menus li.mobile-submenu-open > span::after {
        transform: rotate(45deg);
    }

    .header .menus li .menu,
    .header .menus li:hover .menu {
        position: static;
        display: none;
        min-width: 0;
        padding: 4px 0 10px;
        background: #f4f8fa;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .header .menus li.mobile-submenu-open .menu,
    .header .menus li.mobile-submenu-open:hover .menu {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .header .menus li .menu a {
        min-height: 42px;
        justify-content: flex-start;
        padding: 9px 28px !important;
        border-bottom: 0;
        color: #587080;
        font-size: 14px !important;
    }

    .header-h {
        height: 64px !important;
    }

    .inner-banner-section {
        height: 120px !important;
        min-height: 120px;
    }

    .inner-banner-section > .title {
        width: 100%;
        max-width: none;
        padding: 0 18px !important;
        font-size: clamp(20px, 5vw, 26px) !important;
        line-height: 1.45;
        white-space: normal;
    }

    body > section.ml-wrap.center-wrap.mt-24 {
        padding-right: 16px !important;
        padding-left: 16px !important;
        overflow: hidden;
    }

    .tabs-wrap {
        display: grid !important;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 5px !important;
        padding-bottom: 36px !important;
        overflow: visible;
    }

    .tabs-wrap li {
        width: auto !important;
        min-width: 0;
        height: 48px !important;
        flex: none;
    }

    .tabs-wrap li a {
        min-width: 0;
        padding: 0 6px;
        overflow: hidden;
        font-size: clamp(14px, 4vw, 18px) !important;
        line-height: 1.2;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tabs-wrap li.active::before,
    .tabs-wrap li:hover::before {
        bottom: -7px;
        border-top-width: 7px;
        border-right-width: 7px;
        border-left-width: 7px;
    }

    .footer .footer-wrap {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px !important;
        width: 100%;
        max-width: none;
        padding: 38px 20px !important;
    }

    .footer .footer-wrap .ul-item {
        width: auto !important;
        min-width: 0;
        margin: 0;
        padding: 0 !important;
        border-right: 0 !important;
    }

    .footer .footer-wrap .ul-item li,
    .footer .footer-wrap .ul-item li span {
        align-items: flex-start;
        font-size: 14px !important;
        line-height: 1.65;
    }

    .footer .footer-wrap .ul-item li span {
        width: 78px !important;
        flex: 0 0 78px;
    }

    .footer .footer-wrap .ewm-list {
        display: grid !important;
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px !important;
        width: 100% !important;
        margin: 2px 0 0 !important;
    }

    .footer .footer-wrap .ewm-item {
        min-width: 0;
        align-items: center;
        text-align: center;
    }

    .footer .footer-wrap .ewm-item > span {
        font-size: 13px !important;
        line-height: 1.4;
    }

    .footer .footer-wrap .ewm-item .ewm-wrap {
        width: 82px !important;
        height: 82px !important;
    }

    .footer .footer-copy {
        padding: 14px 18px !important;
        font-size: 12px !important;
        line-height: 1.6;
        text-align: center;
    }
}

@media screen and (max-width: 640px) {
    .zone-showcase-section {
        --mobile-zone-gutter: 16px;
        width: 100%;
        max-width: 100%;
        padding-right: var(--mobile-zone-gutter) !important;
        padding-left: var(--mobile-zone-gutter) !important;
        overflow-x: clip;
        box-sizing: border-box;
    }

    .zone-accordion,
    .special-zones,
    .special-zones__grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        box-sizing: border-box;
    }

    .zone-panel,
    .special-zone-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box;
    }

    .special-zone-card {
        box-shadow: none;
    }

    .tabs-wrap {
        gap: 3px !important;
    }

    .tabs-wrap li {
        height: 44px !important;
    }

    .tabs-wrap li a {
        padding: 0 3px;
        font-size: clamp(13px, 4.15vw, 16px) !important;
    }

    .footer .footer-wrap {
        grid-template-columns: 1fr;
        gap: 20px !important;
        padding: 32px 18px !important;
    }

    .footer .footer-wrap .ul-item {
        width: 100% !important;
        padding-bottom: 17px !important;
        border-bottom: 1px solid rgba(255,255,255,.18);
    }

    .footer .footer-wrap .ewm-list {
        grid-column: 1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px !important;
    }

    .footer .footer-wrap .ewm-item .ewm-wrap {
        width: 92px !important;
        height: 92px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav-toggle span,
    .header .menu-wrap {
        transition-duration: .01ms !important;
    }
}
