/* index-mobile.css —— 首页模板 addons/ldcms/view/ldcms2024/index.html:305 引用。
   原文件随 public/assets 丢失，本文件为重建版：
   - 「合作客户」跑马灯样式按英文模板 ldcms2024en/index.html 内联原始定义恢复；
   - 数值与区块自带 JS 的 getMarqueeConfig() 严格对应（桌面槽位 286/间距 30，移动端 120/24）。 */

/* ===== 合作客户（跑马灯） ===== */
.company_content {
  max-width: 1430px;
  height: 118px;
  margin: 0 auto 0;
  overflow: hidden;
  position: relative;
}

.company_box {
  width: 286px;
  height: 118px;
  padding-right: 30px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company_boxes {
  position: relative;
  left: -286px;
}

.company_box_img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===== 移动端（配合 JS：boxW=120, gap=24） ===== */
@media (max-width: 1024px) {
  .company_content {
    height: 64px;
  }

  .company_box {
    width: 120px;
    height: 64px;
    padding-right: 24px;
  }

  .company_boxes {
    left: -120px;
  }
}
