
:root {
  --bobo-icon-title-size: 36px;
  --bobo-icon-text-size: 18px;
  --bobo-icon-text-leading: 1.6;
  --bobo-icon-text-pt: 23px;
  --bobo-icon-pd: 90px 0;
  /* → 向右 */
--arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h14M12 6l6 6-6 6' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

/* ↓ 向下 */
--arrow-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v14M6 12l6 6 6-6' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

/* ← 向左 */
--arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H6M12 6l-6 6 6 6' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


.service-flow li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid #ddd; */
  border-radius: 12px;
}


.bobo-icon-columns {
  padding: var(--bobo-icon-pd);
}

.bobo-icon-columns h3 {
  font-size: var(--bobo-icon-title-size);
  color: #fff;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.bobo-icon-columns ul {
  margin-top: 42px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.bobo-icon-columns ul li {
  padding: 8px;
  cursor: pointer;
  box-sizing: border-box;
}

.bobo-icon-columns ul li .box {
  /* background: rgba(255, 255, 255, 0.8); */
  padding: 35px 15px;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.bobo-icon-columns ul li img {
  height: 52px;
}

.bobo-icon-columns ul li p {
  color: var(--text-color);
  font-size: var(--bobo-icon-text-size);
  line-height: var(--bobo-icon-text-leading);
  margin-top: var(--bobo-icon-text-pt);
}

@media screen and (min-width: 768px) {

 /* 基础 */
.service-flow li::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 第一行前三个：向右 */
.service-flow li:nth-child(1)::after,
.service-flow li:nth-child(2)::after,
.service-flow li:nth-child(3)::after {
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  background-image: var(--arrow-right);
}

/* 第4个：向下 */
.service-flow li:nth-child(4)::after {
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background-image: var(--arrow-down);
}

/* 第5个：向下 */
.service-flow li:nth-child(5)::after {
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background-image: var(--arrow-down);
}

/* 第6、7、8个：向左 */
.service-flow li:nth-child(6)::after,
.service-flow li:nth-child(7)::after,
.service-flow li:nth-child(8)::after {
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  background-image: var(--arrow-left);
}

/* 第三行第9、10、11个：向右 */
.service-flow li:nth-child(9)::after,
.service-flow li:nth-child(10)::after,
.service-flow li:nth-child(11)::after {
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  background-image: var(--arrow-right);
}

/* 最后一个不显示 */
.service-flow li:last-child::after {
  display: none;
}


  .bobo-icon-columns ul li:hover .box {
    /* background: var(--color-primary);
    transform: scale(1.05);
    -webkit-transform: scale(1.05); */
  }

  .bobo-icon-columns ul li:hover p {
    /* color: #fff; */
  }
}

@media screen and (max-width: 1500px) {
  :root {
    --bobo-icon-title-size: 32px;
    --bobo-icon-text-size: 17px;
    --bobo-icon-text-leading: 1.4;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --bobo-icon-title-size: 28px;
    --bobo-icon-text-size: 16px;
  }
}

@media screen and (max-width: 992px) {
  :root {
    --bobo-icon-title-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --bobo-icon-title-size: 28px;
    --bobo-icon-text-size: 14px;
    --bobo-icon-pd: 30px 0;
    --bobo-icon-text-leading: 1.3;
    --bobo-icon-text-pt: 20px;
  }

  .bobo-icon-columns ul {
    margin: 25px -8px 0;
  }

  .bobo-icon-columns ul li .box {
    padding: 20px 10px;
  }

  .bobo-icon-columns ul li img {
    height: 48px;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --bobo-icon-title-size: 24px;
  }
}
