/* 联系/搜索展示型：可输入，不可提交 */
.contact-form-display .btn,
.search-form-display button {
    cursor: default;
}

/* ========== 手机三线导航（自绘汉堡，不依赖 meanmenu） ========== */
@media (max-width: 991.98px) {
    .itpart-main-menu,
    .itpart-main-menu.one_page,
    .em40_header_area_main .itpart_nav_area {
        display: none !important;
    }

    .mobile_logo_area.theme10-mobile-bar {
        display: block !important;
        /* 与 PC 顶栏 .itpart-header-top 同色 */
        background: #ff3d00;
        border-bottom: 0;
        position: relative;
        z-index: 10050;
    }

    .theme10-mobile-bar .mobile_menu_logo {
        padding: 12px 0;
        text-align: left !important;
    }

    .theme10-mobile-bar .mobile_menu_logo img {
        max-height: 37px;
        width: auto;
        max-width: min(150px, 42vw);
        object-fit: contain;
    }

    .theme10-nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        gap: 6px;
        width: 44px;
        height: 44px;
        margin: 8px 0;
        padding: 10px 6px;
        border: 0;
        background: transparent;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
    }

    .theme10-nav-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        border-radius: 1px;
        background: #fff;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .theme10-nav-toggle.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .theme10-nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .theme10-mobile-panel {
        display: block !important;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 10040;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        padding-top: 64px;
    }

    .theme10-mobile-panel.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .theme10-mobile-list {
        list-style: none;
        margin: 0;
        padding: 0.5rem 0 1.5rem;
        background: #fff;
        max-height: calc(100vh - 64px);
        overflow: auto;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .theme10-mobile-list li a {
        display: block;
        padding: 0.9rem 1.25rem;
        color: #222;
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        font-size: 15px;
        font-weight: 600;
    }

    .theme10-mobile-list li a:hover,
    .theme10-mobile-list li a:focus {
        color: #ff3d00;
        background: rgba(255, 61, 0, 0.04);
    }

    .theme10-mobile-list .theme10-mobile-cta a {
        color: #ff3d00;
    }

    /* 旧 meanmenu 容器若残留则隐藏 */
    .header_area.main-menu-area,
    .home-2.mbm.main-menu-area,
    .mobile-menu,
    .mean-container .mean-bar {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile_logo_area,
    .theme10-mobile-bar,
    .theme10-mobile-panel,
    .header_area.main-menu-area,
    .home-2.mbm.main-menu-area,
    .mobile-menu {
        display: none !important;
    }

    .itpart-main-menu.d-lg-block {
        display: block !important;
    }
}

html.theme10-nav-open,
html.theme10-nav-open body {
    overflow: hidden;
}

header img.lozad[data-src],
footer img.lozad[data-src] {
    background-color: transparent !important;
    background-image: none !important;
}

/* 轮播：避免 Bootstrap col/row 与 slick 抢布局；lozad 未灌图时也有占位 */
.itpart_brand_area .carousel_imagess_area,
.testimonial_area .testimonial_active,
.itpart_team_area .team_active,
.itpart_blog_area .blog_active {
    overflow: hidden;
}

.brand_active .brand-slide,
.brand_active .slick-slide,
.testimonial_active .testimonial-slide,
.testimonial_active .slick-slide,
.team_active .team-slide,
.team_active .slick-slide,
.blog_active .blog-slide,
.blog_active .slick-slide {
    padding: 0 10px;
    box-sizing: border-box;
}

.itpart_brand_area .slide_items {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itpart_brand_area .slide_items img {
    display: block;
    max-height: 64px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.em_test_thumb img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: cover;
}

.witr_team_section img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 360px;
    height: auto;
    object-fit: cover;
}
