.indexsolution-ul-1 .card {
  list-style: none;
  padding: 0;
  border: 1px solid #f0efef;

  overflow: hidden;

  transition: box-shadow 0.3s ease;
  width: 23% !important;
  margin: 8px !important;
  cursor: pointer !important;
}
.indexsolution-ul-2 .card {
  list-style: none;
  padding: 0;
  border: 1px solid #f0efef;

  overflow: hidden;

  transition: box-shadow 0.3s ease;
  margin: 8px !important;
  cursor: pointer !important;
}
.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.indexsolution-ul-1 .card-image img {
  width: 255px;
  height: 100px;
  display: block;
  opacity: 0.5;
}

.card-content {
  padding: 16px;
  height: 200px;
}

.card-title {
  font-size: 15px;
  margin-bottom: 8px;
  position: relative;
  top: -90px;
  font-weight: 600;
}

.card-description {
  font-size: 13px;
  color: #666;
  margin-top: -80px;
}

.card-actions {
  padding: 0 16px 16px;
  text-align: center;
}

.card-button {
  background: #fff;
  border: 1px solid #0066cc;
  color: #0066cc;

  padding: 3px 77px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.card-button:hover {
  background-color: #0066cc;
  color: #fff;
}

/* 合作伙伴 */
/* 合作伙伴容器 */
.partners-section {
  padding: 0px 0;
  /* background-color: rgb(251, 251, 251); */
  position: relative;
}

/* 标题样式 */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

/* logo滚动容器 */
.logos-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* logo列表 */
.logos-scroll {
  display: flex;
  align-items: center;
  padding: 8px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* 隐藏滚动条 */
.logos-scroll::-webkit-scrollbar {
  display: none;
}

/* 单个logo样式 */
.logo-item {
  flex: 0 0 auto;
  margin: 0 8px;
  opacity: 0.7;
  box-shadow: 0 0px 2px rgba(251, 251, 251, 0.2);
  border-radius: 10px;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  height: 52px;
  width: auto;
  max-width: 250px;
}

.logo-item:hover img {
  filter: grayscale(0%);
}

/* 左右渐变遮罩 */
.logos-container::before,
.logos-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logos-container::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 249, 250, 1) 0%,
    rgba(248, 249, 250, 0) 100%
  );
}

.logos-container::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(248, 249, 250, 1) 0%,
    rgba(248, 249, 250, 0) 100%
  );
}

.ibm-col-1-2 {
  background: rgb(243, 245, 249);
  width: 100vw; /* 视口宽度 */
  position: relative;
  left: 50%; /* 向左移动50% */
  transform: translateX(-50%); /* 再向左移动自身宽度的一半 */
  color: white;

  box-sizing: border-box;
  margin-top: 50px;
  padding-bottom: 70px;
  box-shadow: inset 0 4px 10px 0 rgba(155, 176, 212, 0.2);
}
.ibm-col-1-2 ul li {
  width: 48%;
  height: 150px !important;
}
.ibm-col-1-2 .card-image {
  width: 450px;
  height: 150px !important;
  opacity: 1 !important;
  background-color: #fff;
}
.ibm-col-1-2 ul li img {
  opacity: 1 !important;
  float: right;
  width: 200px;
  height: 123px;
  margin-top: 30px;
}

.ibm-col-1-2 ul {
  width: 940px;
  margin: auto;
  float: none;
}
.ibm-col-1-2 .card-title {
  top: -130px !important;
  left: 20px;
}

.ibm-col-1-2 .card-detail {
  top: -126px !important;
  font-size: 12px;

  position: relative;
  top: -90px;

  padding: 5px 35px 0px 35px;
  margin: 0 !important;
  font-weight: 500;
}
/* 定义列表项容器样式 */

/* 使用伪元素添加蓝色打勾图标  */
.ibm-col-1-2 .card-detail::before {
  content: '✔';
  color: #0066cc;
  position: absolute;
  left: 20px;
}
.indexsolution-ul-2 li.oneLi {
  float: left;
}
.card-detail {
  text-decoration: none !important;
}
/* 背景容器 */
.container {
  position: relative;
  min-height: 75vh;
  width: 100vw;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}

/* 虚化背景层 */
.bg-layer {
  position: absolute;
  width: 100vw;
  height: 100%;
  z-index: 200 !important;
  background: url('/images/spotlight/bac_product.JPG') center/cover;
}

/* .bg-layer::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(10px);
    } */

/* 正方形矩阵 */
.grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0px;

  z-index: 300 !important;
  /* 提升至最前 */

  /* 抵消标题底部间距 */
  padding-top: 60px;
}

/* 单个方块 */
.square {
  border: 0.5px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;

  aspect-ratio: 3/2;
  /* 核心比例控制 */
  border-width: 0.8px;
  /* 更细边框 */
  padding: 25px;
  width: 250px;
  /* 精确宽度控制 */
  height: 180px;
  /* 固定高度设定 */
  border: 1px solid #777;
  /* 细线灰边 */
  transition: all 0.3s ease;
  /* 平滑过渡动画 */
}

.square .footer {
  font-size: 12px;
  color: #fff;
}

/* 悬停特效 */
.square:hover {
  border-color: #007bff;
  /* 华为蓝标准色 */
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
  cursor: pointer;
  border: 1px solid #007bff;
  /* 光晕增强效果 */
}

/* 标题区域 */
.title {
  color: white;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* 内容区域 */
.content {
  flex-grow: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7em;
}

.page-header {
  position: relative;
  z-index: 250;
  /* 降低层级 */
  margin-bottom: -40px;
  border-bottom: none !important;
  margin-top: 60px;
  /* 消除下方空白 */
}

.page-header h1 {
  font-size: 2.8rem;
  /* 桌面端字号 */
  color: #fff;
  font-weight: 500;
  text-align: center;
  padding-bottom: 10px;
  letter-spacing: 1.5px;
  /* 字间距优化 */
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

/* 轮播轨道 */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* 卡片组样式 */
.card-group {
  flex: 0 0 100%;
  display: flex;
  gap: 15px;
  padding: 30px;
  box-sizing: border-box;
  margin: 0 auto;
}

/* 单个卡片样式 */
.card-group .card {
  flex: 1;
  background: white;
  padding: 25px;
  /* border-radius: 8px; */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 260px;
  position: relative;
}

/* 卡片内容布局 */
.card-group .card-logo {
  width: 150px;
  height: 55px;
  margin-bottom: 0px;
}

.card-group .card-description {
  margin: 20px 0 30px 0;
  color: #000;
  line-height: 25px;
}

.card-group .company-info {
  position: absolute;
  bottom: 15px;
  color: #000;
  font-size: 13px;
}

/* 导航按钮 */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  /* background: rgba(0, 0, 0, 0.5); */
  color: #000;
  padding: 10px 0px;
  border: none;
  cursor: pointer;
  border-radius: 0px;
}

.carousel-nav i {
  font-size: 25px;
}

.prev {
  left: 0px;
}

.next {
  right: 0px;
}
html {
  overflow-x: auto; /* 触发横向滚动条 */
  min-width: 1280px; /* 设置最小显示宽度（根据实际需求调整） */
}

/* 移动端 */
@media (max-width: 640px) {
  html {
    min-width: 100%; /* 移动端恢复响应式 */
    overflow-x: hidden;
  }
  .carousel-container {
    width: 90%;
    padding: 0;
    margin: 20px auto;
  }

  .card-group {
    gap: 15px;
    /* 缩小卡片间距 */
    padding: 10px !important;
    width: 100%;
  }

  .card-group .card {
    min-width: calc(100% - 20px);
    /* 增加边距保留 */
    margin: 0 10px;
  }
  .logos-container {
    max-width: 90%;
  }

  .logo-item {
    margin: 0 0px;
  }

  .logo-item img {
    height: 30px;
  }

  .logos-container::before,
  .logos-container::after {
    width: 50px;
  }
  .ibm-col-4-1 {
    width: 470px !important;
  }
  .grid {
    grid-template-columns: 2fr !important;
    /* 强制单列 */
  }

  .square {
    aspect-ratio: 5/2;
    width: 100% !important;
    margin: 5px 0px;
    /* 移动端更宽比例 */
  }

  .page-header {
    margin: 15px 0 25px;
    /* 必须高于bg-layer的z-index */
  }

  .page-header h1 {
    font-size: 1.8rem;
    /* 缩小字号 */
    padding-bottom: 0px;
  }
}

/* 平板/电脑 */

@media (min-width: 641px) and (max-width: 1140px) {
  html {
    overflow-x: auto; /* 触发横向滚动条 */
    min-width: 1280px; /* 设置最小显示宽度（根据实际需求调整） */
  }
  .ibm-col-1-2 {
    width: 100% !important;
  }
  .ibm-col-1-1 {
    width: unset !important;
  }
  .container {
    overflow: unset !important;
  }
  .bg-layer {
    width: 1100px !important;
  }
  .yi-shangqiao {
    display: none;
  }
  .ibm-landing-page #ibm-content,
  .ibm-landing-page #ibm-related-content {
    width: 100%;
  }
  .indexsolution-ul-1 li.oneLi {
    width: 23% !important;
  }
  .indexsolution-ul-1 li.oneLi.card {
    margin: 10px 10px !important;
  }
}

/* 美化滚动条（现代浏览器） */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
