/* 工厂自动化项目模块 - 优化版 */
.factry-project-fully-automation-block .feature-area {
  padding: 5px 0;
}

/* 响应式 - 中等屏幕 */
@media (max-width: 1200px) {
  .factry-project-fully-automation-block .feature-area {
    padding: 10px 0 10px;
  }
}

/* 响应式 - 小屏幕 */
@media (max-width: 767px) {
  .factry-project-fully-automation-block .feature-area {
    padding-bottom: 0;
  }
}

/* 列表布局 */
.factry-project-fully-automation-block .feature-area .list-box {
  width: 33%;
  flex: 0 0 auto;
  padding-left: 16.875px;
}

/* 响应式 - 平板 */
@media (max-width: 992px) {
  .factry-project-fully-automation-block .feature-area .list-box {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
  .factry-project-fully-automation-block .feature-area .list-box {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* 单个卡片基础样式 */
.factry-project-fully-automation-block .feature-area .single-box {
  position: relative;
  z-index: 1;
  border: 2px solid rgba(24, 24, 24, 0.05);
  padding: 20px;
  background: var(--color-primary);
  font-size: 28px;
}

/* 卡片标题样式 */
.factry-project-fully-automation-block .feature-area .single-box .single-box-title {
  font-size: 14px;
  color: #ffffff;
}

/* 标题链接 hover */
.factry-project-fully-automation-block .feature-area .single-box .single-box-title a:hover {
  color: #ffffff;
}

/* 移动端卡片内边距 */
@media (max-width: 767px) {
  .factry-project-fully-automation-block .feature-area .single-box {
    padding: 20px;
  }
}

/* 卡片背景动画 */
.factry-project-fully-automation-block .feature-area .single-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-second);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out;
}

/* 图标容器 */
.factry-project-fully-automation-block .feature-area .single-box .icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 移动端图标间距 */
@media (max-width: 767px) {
  .factry-project-fully-automation-block .feature-area .single-box .icon {
    margin-bottom: 20px;
  }
}

/* 图标装饰元素 */
.factry-project-fully-automation-block .feature-area .single-box .icon::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 5px;
  top: 10px;
  background: var(--color-primary);
  opacity: 0.1;
  width: 2px;
  height: 20px;
  border-radius: 50%;
}

/* 移动端装饰元素尺寸 */
@media (max-width: 767px) {
  .factry-project-fully-automation-block .feature-area .single-box .icon::before {
    width: 30px;
    height: 30px;
  }
}

/* 图标图片样式 */
.factry-project-fully-automation-block .feature-area .single-box .icon img {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

/* 前后图标切换基础样式 */
.factry-project-fully-automation-block .feature-area .single-box .icon .front-icon {
  display: inline-block;
  transform: scale(1);
  transition: all 0.3s ease;
}

.factry-project-fully-automation-block .feature-area .single-box .icon .back-icon {
  display: none;
  transform: scale(0);
  transition: all 0.3s ease;
}

/* 卡片 hover 动画合集 */
.factry-project-fully-automation-block .feature-area .single-box:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.factry-project-fully-automation-block .feature-area .single-box:hover .icon::before {
  background: rgba(255, 255, 255, 0.5);
}

.factry-project-fully-automation-block .feature-area .single-box:hover .icon .front-icon {
  display: none;
  transform: scale(0);
}

.factry-project-fully-automation-block .feature-area .single-box:hover .icon .back-icon {
  display: inline-block;
  transform: scale(1);
}

.factry-project-fully-automation-block .feature-area .single-box:hover .single-box-title {
  color: #ffffff;
}