.elementor-location-header{
    width: 100%;
    z-index: 9999;
}
.acf-fields.-left > .acf-field > .acf-label,
.acf-fields.-left > .acf-field:before{
    width: 10% !important;
}
.acf-fields.-left > .acf-field > .acf-input{
    width: 90% !important;
}
.l-acfEdit{
    z-index: 9999;
}
.l-showacf,
.l-hideacf{
    cursor: pointer;
}
.l-acf-content{
    margin-top: 100px !important;
    max-height: calc(100vh - 200px) !important;
    min-height: calc(100vh - 200px) !important;
    border: solid #3074f1 10px;
    border-radius: 5px;
    box-shadow: 7px 7px 0 0 #000000;
    overflow: hidden !important;
    display: none !important;
    flex-direction: column;
}

.l-post-content th,
.l-post-content td{
    white-space: pre-line;
}
.l-acf-form{
    display: flex;
    flex-direction: column !important;
    height: 100%;
    overflow: hidden;
}
.l-acf-form>.elementor-widget-container{
    overflow: auto !important;
    max-height: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    
}

.xzhs {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.l-clear-tb{
    table {
        border: none;
        border-collapse: collapse;
        background: none;
        width: 100%;
        table-layout: auto;
    }
    table tbody>tr:nth-child(odd)>td,
    table tbody>tr:nth-child(odd)>th,
    table tbody tr:hover>td,
    table tbody tr:hover>th{
        background-color: transparent !important;
    }

    table td,
    table th {
        border: none;
        background: none;
        padding: 10px 10px 10px 0px;
        text-align: left;
        vertical-align: top;
    }

    table th {
        font-weight: normal;
        color: inherit;
    }
}

/* table 移动端自适应数量 */
.l-table-m-2 {
    /* 仅在移动端样式下调整布局 */
    @media (max-width: 768px) {
      table {
        width: 100%;
        height: auto !important;
        border-collapse: collapse;
        
        tbody {
          display: grid;
          grid-template-columns: 1fr 1fr; /* 每行显示 1 个单元格 */
        }
        
        tr {
          display: contents; /* tr 不占据空间，允许 td 成为 grid 的项 */
          height: auto !important;
        }
        
        td {
          text-align: center;
          width: 100% !important;
          height: auto !important;
        }

        td img {
          max-width: 100% !important;
          height: auto !important;
          display: block;
          margin: 0 auto;
        }

        td[rowspan] {
          grid-column: 1 / -1;
          order: -1;
        }
      }
    }
  }
  
  .l-table-m-1 {
    /* 仅在移动端样式下调整布局 */
    @media (max-width: 768px) {
      table {
        width: 100%;
        height: auto !important;
        border-collapse: collapse;
        
        tbody {
          display: grid;
          grid-template-columns: 1fr; /* 每行显示 1 个单元格 */
        }
        
        tr {
          display: contents;
          height: auto !important;
        }
        
        td {
          width: 100% !important;
          height: auto !important;
          text-align: left;
        }

        td img {
          max-width: 100% !important;
          height: auto !important;
          display: block;
          margin: 0 auto;
        }

        td[rowspan] {
          grid-column: 1 / -1;
          order: -1;
        }
      }
    }
  }
  
  
  /* 移动端轮播布局 */
  @media (max-width: 768px) {
    .l-single-reproduct .uc_image_carousel_title{
        position: absolute;
        top: 60px;
        width: 100%;
        left: 0;
    }
    .l-single-reproduct .uc_image_carousel_placeholder{
        margin-top: 100px;
    }
    .l-single-reproduct .uc_ts_line_lu{
        position: absolute;
        top: 0;
        width: 100%;
        left: 0;
    }
  }

.l-product-tbts {
    table {
        width: 100%;
        border-collapse: collapse;
    }

    th,
    td {
        border: 1px solid #eeeeee;
        padding: 10px;
        text-align: left;
    }
    th {
        background-color: #80808012;
        font-weight: normal;
    }

    td:first-child {
        background-color: #80808012;
    }
    td:not(:first-child) {
        background-color: #EDF5FF;
    }

    table tr:hover td:not(:first-child) {
        color: #1677FF;
    }
}

#industriesContent h1,
#industriesContent h2,
#industriesContent h3,
#industriesContent h4,
#industriesContent h5,
#industriesContent h6
{
    scroll-margin-top: 100px;
}


/*ul{*/
/*    padding-left: 20px !important;*/
/*    padding-inline-start: 20px !important;*/
/*}*/
.l-client-list .l-card-video{
    display: none;
}
.l-client-list .swiper-slide{
    display: flex !important;
    align-items: flex-end;
}
.l-client-list .swiper-slide:hover .l-card-video,
.swiper-slide-active .l-card-video{
    display: flex
}
.l-client-list .swiper-slide:hover .l-card-def,
.swiper-slide-active .l-card-def{
    display: none
}

/* 首页产品分类轮播（仅 homecat 组件，不影响顶部 Hero 轮播） */
[id^="uc_uc_menu_item_carousel_homecat_elementor_"] .img_preview {
    min-width: 45% !important;
    max-width: 45% !important;
    flex-shrink: 0 !important;
}

[id^="uc_uc_menu_item_carousel_homecat_elementor_"] .ue_product_details {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: 55% !important;
    overflow: hidden !important;
}

[id^="uc_uc_menu_item_carousel_homecat_elementor_"] .ue_product_details a {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.ue_product_details a[href=""] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

[id^="uc_uc_menu_item_carousel_homecat_elementor_"] .menu_name {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* 产品分类 OUR PRODUCT：当前分类高亮（不影响 Machine Type 筛选） */
.ue_taxonomy:not(.uc-checkbox-filter) .ue_taxonomy_item.uc-selected,
.ue_taxonomy .taxonomy-left .ue_taxonomy_item.uc-selected {
    background-color: var(--e-global-color-primary, #1A25AB) !important;
    color: #fff !important;
    border-color: var(--e-global-color-primary, #1A25AB) !important;
}
.ue_taxonomy:not(.uc-checkbox-filter) .ue_taxonomy_item.uc-selected .ue_taxonomy_item_title,
.ue_taxonomy:not(.uc-checkbox-filter) .ue_taxonomy_item.uc-selected .ue_taxonomy_item_icon,
.ue_taxonomy:not(.uc-checkbox-filter) .ue_taxonomy_item.uc-selected .ue_taxonomy_item_icon i {
    color: #fff !important;
}

/* 手机端 OUR PRODUCT 分类按钮通栏，避免右侧留白 */
@media (max-width: 767px) {
    #uc_ue_taxonomy_terms_ts_elementor_2ad1ad6 {
        display: flex !important;
        flex-direction: column;
        width: 100%;
    }
    #uc_ue_taxonomy_terms_ts_elementor_2ad1ad6 .taxonomy-left,
    #uc_ue_taxonomy_terms_ts_elementor_2ad1ad6 .taxonomy-right {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        border-left: none;
        box-sizing: border-box;
    }
    #uc_ue_taxonomy_terms_ts_elementor_2ad1ad6 .taxonomy-right:not(:has(.ue_taxonomy_item)) {
        display: none;
    }
    #uc_ue_taxonomy_terms_ts_elementor_2ad1ad6-container .ue_taxonomy_item,
    #uc_ue_taxonomy_terms_ts_elementor_2ad1ad6 .ue_taxonomy_item {
        display: flex !important;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Machine Type 筛选选中：蓝圆勾 + 蓝色文字，不要整块蓝底 */
.uc-checkbox-filter .ue_taxonomy_item.uc-selected {
    background-color: transparent !important;
    color: #2258B2 !important;
    border: none !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.uc-checkbox-filter .ue_taxonomy_item.uc-selected .ue_taxonomy_item_title,
.uc-checkbox-filter .ue_taxonomy_item.uc-selected .uc-checkbox-filter_label {
    color: #2258B2 !important;
    background-color: transparent !important;
}

/* 手机端 Mega Menu：去掉标题与下拉内容的空隙，避免透出页面内容 */
.elementor-element-9d8e9b9 .e-n-menu[data-layout="dropdown"] {
    --n-menu-title-distance-from-content: 0px;
}
.elementor-element-9d8e9b9 .e-n-menu[data-layout="dropdown"] .e-n-menu-wrapper,
.elementor-element-9d8e9b9 .e-n-menu[data-layout="dropdown"] .e-n-menu-content {
    background-color: #fff;
}
.elementor-element-9d8e9b9 .e-n-menu[data-layout="dropdown"] .e-n-menu-content > .e-con {
    margin-block-start: 0 !important;
}

/* 首页包装 Tabs：手机端隐藏空白占位条 */
@media (max-width: 1024px) {
    .l-ts-tabva .e-n-tabs-heading .e-n-tab-title.l-ts-tabva-filler,
    .l-ts-tabva .e-n-tabs-heading .e-n-tab-title:not([id]),
    .l-ts-tabva .e-n-tabs-heading .e-n-tab-title:has(.e-n-tab-title-text:empty) {
        display: none !important;
    }
}

/* 手机端 FAQ 手风琴标题：加大行距，避免换行文字重叠 */
@media (max-width: 767px) {
    .ue_heading_title {
        line-height: 1.5 !important;
    }
    .uc-heading {
        height: auto !important;
        min-height: auto !important;
        align-items: flex-start !important;
    }
    .uc-heading span.ue_accordion_icon {
        flex-shrink: 0;
        align-self: center;
    }
}

/* 曲线时间轴：左右仍各画一半，但底边和顶边叠在同一高度，避免中间错开和拐角出头 */
@media (max-width: 1024px) {
    :is(#uc_vertical_curve_timeline_elementor_0c3cc78, #uc_vertical_curve_timeline_elementor_e89b73c, [id^="uc_vertical_curve_timeline"]) .ue-card::before {
        box-sizing: border-box !important;
        width: calc(50% + 2px) !important;
    }
    :is(#uc_vertical_curve_timeline_elementor_0c3cc78, #uc_vertical_curve_timeline_elementor_e89b73c, [id^="uc_vertical_curve_timeline"]) .ue-card:nth-child(odd)::before {
        left: 0 !important;
        right: auto !important;
        border-width: 5px 0 5px 5px !important;
        border-radius: 20px 0 0 20px !important;
        top: -5px !important;
        bottom: 0 !important;
        height: auto !important;
    }
    :is(#uc_vertical_curve_timeline_elementor_0c3cc78, #uc_vertical_curve_timeline_elementor_e89b73c, [id^="uc_vertical_curve_timeline"]) .ue-card:nth-child(even)::before {
        right: 0 !important;
        left: auto !important;
        border-width: 5px 5px 5px 0 !important;
        border-radius: 0 20px 20px 0 !important;
        top: -5px !important;
        bottom: 0 !important;
        height: auto !important;
    }
    :is(#uc_vertical_curve_timeline_elementor_0c3cc78, #uc_vertical_curve_timeline_elementor_e89b73c, [id^="uc_vertical_curve_timeline"]) .ue-card:first-child::before {
        top: auto !important;
        height: 50% !important;
        bottom: 0 !important;
        border-top: 0 !important;
        border-top-left-radius: 0 !important;
    }
    :is(#uc_vertical_curve_timeline_elementor_0c3cc78, #uc_vertical_curve_timeline_elementor_e89b73c, [id^="uc_vertical_curve_timeline"]) .ue-card:last-child::before {
        top: -5px !important;
        bottom: auto !important;
        height: 50% !important;
        border-bottom: 0 !important;
    }
    :is(#uc_vertical_curve_timeline_elementor_0c3cc78, #uc_vertical_curve_timeline_elementor_e89b73c, [id^="uc_vertical_curve_timeline"]) .ue-card:last-child:nth-child(odd)::before {
        border-bottom-left-radius: 0 !important;
    }
    :is(#uc_vertical_curve_timeline_elementor_0c3cc78, #uc_vertical_curve_timeline_elementor_e89b73c, [id^="uc_vertical_curve_timeline"]) .ue-card:last-child:nth-child(even)::before {
        border-bottom-right-radius: 0 !important;
    }
    :is(#uc_vertical_curve_timeline_elementor_0c3cc78, #uc_vertical_curve_timeline_elementor_e89b73c, [id^="uc_vertical_curve_timeline"]) .ue-slno {
        z-index: 2;
    }
}

/* Dealer 政策卡片：同一行图标 / 标题 / 正文各占一轨，短文案下方留白 */
.l-ts-numHov.e-grid > .e-con {
    justify-content: flex-start !important;
    align-content: start !important;
    justify-items: stretch;
}
.l-ts-numHov.e-grid > .e-con > .elementor-widget-heading,
.l-ts-numHov.e-grid > .e-con > .elementor-widget-text-editor {
    align-self: stretch;
}
.l-ts-numHov.e-grid > .e-con > .elementor-widget-image {
    justify-self: start;
    align-self: start;
    width: auto;
    max-width: 100%;
    text-align: left;
}
.l-ts-numHov.e-grid > .e-con > .elementor-widget-image .elementor-widget-container,
.l-ts-numHov.e-grid > .e-con > .elementor-widget-image img {
    margin-left: 0;
    margin-right: auto;
    display: block;
}
.l-ts-numHov.e-grid > .e-con > .elementor-widget-text-editor {
    margin-top: 16px;
}

@supports (grid-template-rows: subgrid) {
    @media (min-width: 768px) {
        .l-ts-numHov.e-grid {
            --e-con-grid-template-rows: none !important;
            grid-template-rows: none !important;
        }
        .l-ts-numHov.e-grid > .e-con {
            display: grid !important;
            grid-template-rows: subgrid;
            grid-row: span 3;
        }
        .l-ts-numHov.e-grid > .e-con:nth-child(-n + 3) {
            grid-row: 1 / span 3;
        }
        .l-ts-numHov.e-grid > .e-con:nth-child(n + 4) {
            grid-row: 5 / span 3;
        }
    }
    /* 原列间距 50px 不动；行距 80px 改成 10px 内距 + 60px 隔条，避免 80px 套进标题和正文之间 */
    @media (min-width: 1025px) {
        .l-ts-numHov.e-grid {
            --row-gap: 10px !important;
            grid-template-rows: auto auto auto 60px auto auto auto !important;
        }
    }
    @media (min-width: 768px) and (max-width: 1024px) {
        .l-ts-numHov.e-grid {
            --row-gap: 5px !important;
            grid-template-rows: auto auto auto 0 auto auto auto !important;
        }
    }
}

@media (max-width: 767px) {
    .l-ts-numHov.e-grid {
        --e-con-grid-template-rows: none;
        --gap: 20px 12px !important;
        --row-gap: 20px !important;
        --column-gap: 12px !important;
    }
    .l-ts-numHov.e-grid > .e-con {
        min-width: 0;
        max-width: 100%;
        display: grid !important;
        grid-template-rows: subgrid;
        grid-row: span 3;
    }
    .l-ts-numHov.e-grid > .e-con > .elementor-widget {
        min-width: 0;
        max-width: 100%;
    }
    .l-ts-numHov.e-grid .elementor-heading-title,
    .l-ts-numHov.e-grid .elementor-widget-text-editor {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .l-ts-numHov.e-grid .elementor-heading-title {
        line-height: 1.3 !important;
    }
}

@supports not (grid-template-rows: subgrid) {
    .l-ts-numHov.e-grid > .e-con > .elementor-widget-heading .elementor-heading-title {
        min-height: 80px;
    }
    @media (max-width: 767px) {
        .l-ts-numHov.e-grid > .e-con > .elementor-widget-heading .elementor-heading-title {
            min-height: 3.9em;
        }
    }
}

/* 博文/指南/项目：上一篇下一篇标题被 overflow 裁切，与 NEXT 标签叠在一起 */
:is(.elementor-element-d9fe04d, .elementor-element-087e836, .elementor-element-1603a11) .elementor-post-navigation {
    overflow: visible;
}
:is(.elementor-element-d9fe04d, .elementor-element-087e836, .elementor-element-1603a11) .elementor-post-navigation__link {
    overflow: visible;
    white-space: normal;
}
:is(.elementor-element-d9fe04d, .elementor-element-087e836, .elementor-element-1603a11) .elementor-post-navigation__link__prev,
:is(.elementor-element-d9fe04d, .elementor-element-087e836, .elementor-element-1603a11) .elementor-post-navigation__link__next {
    overflow: visible;
    gap: 6px;
}
:is(.elementor-element-d9fe04d, .elementor-element-087e836, .elementor-element-1603a11) .post-navigation__prev--label,
:is(.elementor-element-d9fe04d, .elementor-element-087e836, .elementor-element-1603a11) .post-navigation__next--label,
:is(.elementor-element-d9fe04d, .elementor-element-087e836, .elementor-element-1603a11) .post-navigation__prev--title,
:is(.elementor-element-d9fe04d, .elementor-element-087e836, .elementor-element-1603a11) .post-navigation__next--title {
    overflow: visible;
    white-space: normal;
    text-overflow: unset;
    line-height: 1.35;
}

/* 询盘弹窗：遮罩接住点击；打开时禁止页头 Mega Menu / 悬浮按钮抢点击 */
.elementor-popup-modal.dialog-type-lightbox {
    pointer-events: auto !important;
    z-index: 100000 !important;
    position: fixed !important;
}
.elementor-popup-modal.dialog-type-lightbox .dialog-widget-content {
    pointer-events: auto !important;
    position: relative;
    z-index: 2;
}
.elementor-popup-modal.dialog-type-lightbox .dialog-close-button {
    pointer-events: auto !important;
    z-index: 3;
}
.hello-popup-close-shield {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: auto !important;
    background: transparent;
}
body.hello-popup-open .elementor-location-header,
body.hello-popup-open .elementor-location-footer,
body.hello-popup-open .e-n-menu-content,
body.hello-popup-open .elementor-nav-menu--dropdown,
body.hello-popup-open .trp-language-switcher,
body.hello-popup-open .elementor-element-9d8e9b9,
body.hello-popup-open .elementor-element-1fafd47,
body.hello-popup-open .elementor-element-19384e7 {
    pointer-events: none !important;
}

/* 产品详情型号切换：取消 Owl 按距离滑动，点击后立刻显示对应内容 */
#uc_uc_menu_item_carousel_elementor_d5ca9f4 .owl-stage,
#uc_uc_menu_item_carousel_elementor_d5ca9f4 .owl-item {
    transition: none !important;
    -webkit-transition: none !important;
}

/* Videos 页手机端：两栏+表单吸顶会盖住视频，视频被压成黑条 */
@media (max-width: 767px) {
    .elementor-1215 .elementor-element-3e758f7 {
        flex-direction: column !important;
        overflow: visible !important;
        --flex-direction: column;
        align-items: stretch !important;
        min-height: 0 !important;
        height: auto !important;
    }
    .elementor-1215 .elementor-element-ba3f8d9,
    .elementor-1215 .elementor-element-ca1729d {
        width: 100% !important;
        max-width: 100% !important;
        --width: 100%;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        align-self: flex-start !important;
    }
    .elementor-1215 .elementor-element-eebbe35,
    .elementor-1215 .elementor-element-eebbe35.elementor-sticky--active {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        transform: none !important;
    }
    .elementor-1215 .elementor-element-eebbe35.elementor-sticky__spacer {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .elementor-1215 .elementor-element-1fd222b .elementor-wrapper,
    .elementor-1243 .elementor-element-1fd222b .elementor-wrapper {
        aspect-ratio: 16 / 9;
        width: 100%;
    }
    .elementor-1215 .elementor-element-1fd222b .elementor-video,
    .elementor-1243 .elementor-element-1fd222b .elementor-video,
    .elementor-1215 .elementor-element-1fd222b iframe,
    .elementor-1243 .elementor-element-1fd222b iframe {
        width: 100%;
        height: 100%;
        min-height: 180px;
    }
}
