/*头部适配1440px*/
@media (min-width: 1440px) and (max-width: 1919px) {
    .topbar{
        justify-content: left!important;
    }
    body.index-snap-page .topbar, body.index-snap-page .topbar-menu-group, body.index-snap-page .topnav{
        height:84px;
        line-height: 84px;
    }
    body.index-snap-page .brand-main img {
        max-height: 50px;
    }
    body.index-snap-page .topnav a {
        height: 74px;
        min-height: 0;
        font-size: 20px;
    }
    body.index-snap-page .topnav .nav_line{
        height: 74px!important;
        line-height: 74px;
    }
    body.index-snap-page .lang-switch, body.index-snap-page .utility-btn, body.index-snap-page .login-btn{
        font-size: 16px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    /*头部适配1024px*/
    .topbar{
        height: 64px;
        line-height: 64px;
        min-height: 64px;
    }
    body.index-snap-page .brand-main img{
        max-height: 36px;
    }
    body.index-snap-page .topbar{
        display: flex;
    }
    body.index-snap-page .topnav{
        flex: 0 0 70% !important;
        height: 64px;
        line-height: 64px;
        min-height: 64px;
    }
    body.index-snap-page .topnav a{
        font-size: 14px;
        height: 54px;
        line-height: 54px;
    }
    body.index-snap-page .top-actions{
        flex: 0 0 20% !important;
        width:20% !important;
    }
    body.index-snap-page .lang-switch, body.index-snap-page .utility-btn, body.index-snap-page .login-btn{
        font-size: 14px;
    }
    body.index-snap-page .topnav .nav_line{
        height: 54px!important;
        line-height: 54px!important;
    }
    body.index-snap-page .topnav a, body.index-snap-page .topnav a.active{
        font-size: 14px;
        height: 54px;
        line-height: 54px;
    }
    body.index-snap-page .topbar-menu-group{
        justify-content: space-between;
        padding-right: 20px;
    }

    /*内容区域*/
    .common-content-1200{
        width:976px!important;
    }
    .bussiness-container{
        width:976px!important;
    }
    .case-list{
        gap: 10px!important;
    }
    .environment-container{
        width:884px!important;
    }
    .environment-item{
        width:215px!important;
    }

    .service-item{
        width: 238px!important;
    }

}





@media (max-width: 991px) {
    body.index-snap-page .topbar {
        height: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
    .topnav{
        font-size: 16px;
    }

    .mobile-menu-toggle {
        position: relative;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.28rem;
        width: 2.8rem;
        height: 2.8rem;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 0.9rem;
        background: rgba(255, 255, 255, 0.12);
        justify-self: end;
        transition: border-color 0.22s ease, background-color 0.22s ease;
    }

    body.index-snap-page.on-second-screen .mobile-menu-toggle {
        border-color: rgba(208, 179, 129, 0.32);
        background: rgba(208, 179, 129, 0.12);
    }

    .mobile-menu-toggle span {
        display: block;
        width: 1.2rem;
        height: 2px;
        margin: 0 auto;
        border-radius: 999px;
        background: #fff;
        transform-origin: center;
        transition: transform 0.22s ease, opacity 0.22s ease, background-color 0.22s ease;
    }

    body.index-snap-page.on-second-screen .mobile-menu-toggle span {
        background: #D0B381;
    }

    body.index-snap-page.menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(0.4rem) rotate(45deg);
    }

    body.index-snap-page.menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.index-snap-page.menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-0.4rem) rotate(-45deg);
    }

    body.index-snap-page .topbar-menu-group {
        display: block;
        grid-column: 1 / -1;
        position: static;
        width: 100%;
        min-width: 0;
        margin-left: 0;
        padding-top: 0.35rem;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-0.8rem) scaleY(0.96);
        transform-origin: top center;
        pointer-events: none;
        visibility: hidden;
        transition: max-height 0.38s ease, opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.38s;
    }

    body.index-snap-page.menu-open .topbar-menu-group {
        max-height: 40rem;
        opacity: 1;
        overflow: visible;
        transform: translateY(0) scaleY(1);
        pointer-events: auto;
        visibility: visible;
        transition: max-height 0.38s ease, opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
    }

    body.index-snap-page .topnav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        width: 100%;
        min-height: 0;
        height: auto;
        padding: 0.4rem;
        gap: 0.35rem;
        overflow: visible;
        white-space: normal;
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 14px 28px rgba(21, 16, 10, 0.12);
    }

    body.index-snap-page .topnav a,
    body.index-snap-page .topnav a.active {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 2.75em;
        min-height: 2.75em;
        padding: 0.72em 0.85em;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 0.75em;
        color: #7a5a32;
        font-size: 0.9em;
    }

    body.index-snap-page .topnav a.active {
        background: rgba(208, 179, 129, 0.18);
        color: #b07a4b;
    }

    body.index-snap-page .topnav .nav_line {
        display: none !important;
    }

    body.index-snap-page .topbar-menu-group .top-actions {
        display: flex;
        position: static;
        width: 100%;
        height: auto;
        margin: 0.65rem 0 0;
        border-radius: 1rem;
        overflow: visible;
    }

    body.index-snap-page .top-actions-panel {
        position: relative;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.35rem;
        padding: 0.45rem;
        overflow: visible;
        width: 100%;
    }

    body.index-snap-page .top-actions-panel .lang-menu {
        position: static;
        z-index: 5;
        flex: 1 1 calc(25% - 0.27rem);
        min-width: calc(25% - 0.27rem);
        height: 2.55rem;
        margin-bottom: 0;
        overflow: visible;
    }

    body.index-snap-page .top-actions-panel .lang-switch,
    body.index-snap-page .top-actions-panel .utility-btn,
    body.index-snap-page .top-actions-panel .login-btn {
        flex: 1 1 calc(25% - 0.27rem);
        min-width: calc(25% - 2rem);
        height: 2.55rem;
        border-radius: 0.75rem;
        color: #7a5a32;
        font-size: 16px;
    }

    body.index-snap-page .top-actions-panel .lang-switch {
        width: 100%;
        justify-content: center;
        padding: 0 0.85rem;
    }

    body.index-snap-page .top-actions-panel .lang-dropdown {
        top: calc(100% + 0.35rem);
        right: 0;
        left: 0;
        z-index: 20;
        width: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        transform: translateY(0.35rem);
    }

    body.index-snap-page .top-actions-panel .lang-menu.is-open .lang-dropdown {
        transform: translateY(0);
    }

    body.index-snap-page .top-actions-panel .lang-menu + .utility-btn::before,
    body.index-snap-page .top-actions-panel .utility-btn + .utility-btn::before,
    body.index-snap-page .top-actions-panel .utility-btn + .login-btn::before {
        display: none;
    }
}

@media (max-width: 640px) {
    html,
    body {
        overflow-x: hidden;
    }

    body.index-snap-page #main {
        overflow: visible;
    }

    body.index-snap-page .topbar {
        min-height: 0;
        padding: 0.75rem 0.8rem 0.7rem;
    }
    .brand-main img {
        width: auto;
        max-height: none;
        height: 44.8px;
    }


    body.index-snap-page .hero-center {
        top: 56%;
        bottom: auto;
        width: min(100% - 1rem, 42rem);
        transform: translate(-50%, -50%);
    }

    body.index-snap-page .hero-center.search-open {
        top: 10px;
    }
    body.index-snap-page #second-screen .wrap,
    body.index-snap-page #second-screen .main-page,
    body.index-snap-page #second-screen .main-content-wrap01,
    body.index-snap-page #second-screen .main-content-box01,
    body.index-snap-page #second-screen .main-content-inner01 {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body.index-snap-page #second-screen .main-content-inner01 {
        padding: 1.4rem 0 10px !important;
    }

    body.index-snap-page #second-screen .main-content-inner01 .cont,
    body.index-snap-page #second-screen .main-content-inner01 .cont .swiper-inner01-01,
    body.index-snap-page #second-screen .main-content-inner01 .cont .swiper-inner01-02,
    body.index-snap-page #second-screen .main-content-inner01 .cont .swiper-wrapper {
        height: auto !important;
        min-height: 0 !important;
    }

    body.index-snap-page #second-screen .main-content-inner01 .cont .swiper-slide,
    body.index-snap-page #second-screen .main-content-inner01 .cont .swiper-slide a {
        height: auto !important;
        min-height: 0 !important;
    }

    .policy-platform-inner,
    .gov-disclosure-inner,
    .gov-service-inner {
        width: min(100% - 1rem, 42rem);
        margin-left: auto;
        margin-right: auto;
    }

    .policy-platform-left,
    .policy-platform-right,
    .gov-service-left,
    .gov-service-right {
        min-width: 0;
    }

    .gov-service-module-inner {
        width: min(100% - 1rem, 42rem);
        padding-left: 0;
        padding-right: 0;
    }

    .gov-service-stage,
    .gov-service-scene,
    .gov-service-side {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .gov-service-side::after,
    .gov-service-switch::after {
        display: none;
    }

    .gov-service-panel {
        min-height: 0;
        padding-bottom: 4.4rem;
    }

    .gov-service-panel::before {
        width: 10rem;
        height: 10rem;
        opacity: 0.16;
        display: none;
    }

    .gov-service-topic-grid,
    .gov-service-cards,
    .gov-left-links,
    .gov-feed-track {
        grid-template-columns: 1fr;
    }
    .gov-service-cards{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gov-service-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gov-service-audience {
        gap: 0.8rem 1rem;
    }

    .gov-service-more {
        bottom: 0.9rem;
    }

    .gov-left-note {
        margin: 0 0 0.8rem;
    }

    .gov-feed,
    .gov-feed-track {
        overflow: visible;
        max-height: none;
    }

    .footer-site-links {
        font-size: 0.78rem;
    }

    .footer-site-links-list {
        justify-content: flex-start;
        gap: 0.75rem 1.2rem;
    }

    .footer-site-links-list > li {
        width: calc(50% - 0.6rem);
        min-width: 0;
    }

    .footer-site-links .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .footer-site-links .dropdown-menu {
        left: 0;
        right: auto;
        bottom: calc(100% + 0.55rem);
        width: min(18rem, calc(100vw - 1.6rem));
        max-height: 14rem;
    }

    .footer-site-links-list > li:nth-child(even) .dropdown-menu {
        left: auto;
        right: 0;
    }

    .site-footer-badges {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-badge {
        height: 3.2em;
        min-height: 3.2em;
        align-items: center;
        justify-content: center;
    }
}