/* 计数器板块样式 */
.about-counter {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-counter-item {
  display: flex;
  align-items: center;
}

/* 文字内容容器 */
.about-counter-item .counter-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0; /* 允许在flex容器中缩小 */
}

/* 数字和单位在同一行 */
.about-counter-item .counter-numbers {
  display: flex;
  align-items: center;
  gap: 2px;
}

.about-counter-item h3 {
  color: #191728;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  margin: 0;
}

.about-counter-item span {
  top: 0;
  font-size: 30px;
  font-weight: 700;
  color: #191728;
  margin-left: 5px;
  position: relative;
}

/* 单位文字样式 */
.about-counter-item .unit-text {
  font-size: 2rem;
  font-weight: 600;
  color: #191728;
  top: 0;
  margin-left: 0;
  position: relative;
}

.about-counter-item p {
  color: #3c4b62;
  margin: 0;
  margin-top: 5px;
  margin-left: 5px;
}

/* 图标背景样式 */
.about-counter-item img {
  width: 150px;
  height: 150px;
  padding: 12px;
  object-fit: contain;
}

.about-counter-item:last-child:after {
  display: none;
}

/* 响应式样式 - 平板端 (max-width: 991px) */
@media screen and (max-width: 991px) {
  .about-counter {
    margin-top: 60px;
    margin-bottom: 30px;
    padding: 0 20px;
    gap: 12px;
  }

  .about-counter-item {
    gap: 10px;
    flex: 1;
  }

  .about-counter-item img {
    width: 100px;
    height: 100px;
    padding: 8px;
  }

  .about-counter-item h3 {
    font-size: 32px;
  }

  .about-counter-item span {
    font-size: 22px;
  }

  .about-counter-item .unit-text {
    font-size: 1.6rem;
  }

  .about-counter-item p {
    font-size: 14px;
    margin-top: 4px;
  }
}

/* 响应式样式 - 移动端 (max-width: 767px) */
@media screen and (max-width: 767px) {
  .about-counter {
    padding: 0 10px;
    gap: 8px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .about-counter-item {
    gap: 8px;
    flex: 1 1 0;
    justify-content: flex-start;
    min-width: 0;
    max-width: 33.33%;
  }

  .about-counter-item .counter-text {
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    overflow: visible;
  }

  .about-counter-item .counter-numbers {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
  }

  .about-counter-item img {
    width: 60px;
    height: 60px;
    padding: 5px;
    flex-shrink: 0;
    flex-grow: 0;
  }

  .about-counter-item h3 {
    font-size: 22px;
    white-space: nowrap;
    line-height: 1;
  }

  .about-counter-item span {
    font-size: 14px;
    white-space: nowrap;
    margin-left: 2px;
  }

  .about-counter-item .unit-text {
    font-size: 1.2rem;
    white-space: nowrap;
    margin-left: 2px;
  }

  .about-counter-item p {
    font-size: 11px;
    margin-top: 4px;
    text-align: left;
    margin-left: 0;
    word-break: keep-all;
    line-height: 1.3;
    width: 100%;
  }
}

/* 响应式样式 - 小屏幕移动端 (max-width: 480px) */
@media screen and (max-width: 480px) {
  .about-counter {
    padding: 0 8px;
    gap: 6px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .about-counter-item {
    gap: 0px;
    flex: 1 1 0;
    justify-content: flex-start;
    min-width: 0;
    max-width: 33.33%;
  }

  .about-counter-item .counter-text {
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    overflow: visible;
  }

  .about-counter-item .counter-numbers {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
  }

  .about-counter-item img {
    width: 50px;
    height: 50px;
    padding: 4px;
    flex-shrink: 0;
    flex-grow: 0;
  }

  .about-counter-item h3 {
    font-size: 0.9rem;
    white-space: nowrap;
    line-height: 1;
  }

  .about-counter-item span {
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 0px;
  }

  .about-counter-item .unit-text {
    font-size: 1rem;
    white-space: nowrap;
    margin-left: 2px;
  }

  .about-counter-item p {
    font-size: 10px;
    margin-top: 3px;
    text-align: left;
    margin-left: 0;
    word-break: keep-all;
    line-height: 1.3;
    width: 100%;
  }
}

/* 响应式样式 - 最小屏幕移动端 (max-width: 375px) */
@media screen and (max-width: 375px) {
  .about-counter {
    padding: 0 5px;
    gap: 4px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .about-counter-item {
    gap: 0px;
    flex: 1 1 0;
    justify-content: flex-start;
    min-width: 0;
    max-width: 33.33%;
  }

  .about-counter-item .counter-text {
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    overflow: visible;
  }

  .about-counter-item .counter-numbers {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
  }

  .about-counter-item img {
    width: 45px;
    height: 45px;
    padding: 3px;
    flex-shrink: 0;
    flex-grow: 0;
  }

  .about-counter-item h3 {
    font-size: 0.8rem;
    white-space: nowrap;
    line-height: 1;
  }

  .about-counter-item span {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .about-counter-item .unit-text {
    font-size: 0.8rem;
    white-space: nowrap;
    margin-left: 0px;
  }

  .about-counter-item p {
    font-size: 9px;
    margin-top: 2px;
    text-align: left;
    margin-left: 0;
    word-break: keep-all;
    line-height: 1.2;
    width: 100%;
  }
}
