/* 印岩服务 相关样式 */
.service-container {
  display: flex;
  flex-wrap: wrap; /*自动换行*/
  justify-content: center; /*水平居中*/
  row-gap: 20px;
  column-gap: 20px;
}
.service-item {
  /* height: 360px;
    width: 430px; */
  width: 410px;
  height: 420px;
}
.service-item .item-img {
  position: relative; /* 相对定位 */
  overflow: hidden;
  height: 255px; /*图片容器高度 */
}
.service-item .item-title {
  position: absolute; /* 绝对定位 */
  bottom: 0;
  width: 100%;
  height: 48px;
  background-color: rgba(72, 72, 72, 0.8);
  color: #fff;
  padding: 0 30px;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  cursor: pointer;
}
.service-item .item-img > img {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  object-fit: cover; /* 图片会被缩放以完全覆盖容器，但保持其纵横比 */
  width: 100%;
  height: 100%;
}

.service-item .item-img > img:hover {
  -webkit-transform: scale(1.2);
  transform: scale(1.1);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.service-item .item-img .item-title span {
  line-height: 48px;
  font-size: 15px;
}
.service-item .item-text {
  height: 163px;
  background-color: #f7f7f8;
  padding: 20px 20px;
  font-size: 13px;
  font-weight: 400;
  color: #24283b;
  line-height: 21px;
}
