.ym-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}
.ym-grid .item{
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.ym-grid .item img{
    max-width: 100%;
    max-height: 100%;
}
.ym-grid .item .ym-Hover{
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1rem;
}


/*追加iphone样式*/
.ym-Clients{
    margin-top: 100px;
    min-height: 400px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 50px;
}
.ym-Clients  .swiper {
   margin: auto;
}
.ym-Clients  .swiper-slide {
    background-color: orange;
    text-align: center;
    font-size: 18px;
    height: calc((100% - 30px) / 2) !important;
    background-size: cover;
    /* Center slide text vertically */
    max-width: 310px;
    min-width: 310px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    border-radius: 50px;
    border: 10px solid #000;
    padding: 10px;
    position: relative;
}
.ym-Clients  .swiper-slide::before{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 310px;
    height: 605px;
    border-radius: 50px;
    border: 2px solid #818787;
}
.ym-Clients  .swiper-slide:hover .remove-title{
    display: block;
    display: flex;
}
.ym-Clients .remove-title{
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    color: white;
    border-radius: 40px;
    text-decoration: underline;
    animation: cardScale ease .5s;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}
@keyframes cardScale {
    0% {
      width: 0;
      height: 0;
      opacity: 0;
    }
  }
  .ym-Clients .subline{
    width: 3px;
    height: 40px;
    background: #8F8F8A;
    position: absolute;
    left: -13px;
    top: 100px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;

  }
  .ym-Clients .subline::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    background: linear-gradient(to bottom,
        #fff 0%,
        #000000 25%,
        rgba(255, 255, 255, 0.48) 75%,
        rgba(255, 255, 255, 0) 100%
        /* 这里不要有, */
      );
  }
  .ym-Clients .subs{
    top: 160px;
    height: 60px;
  }
  .ym-Clients  .ads {
    top: 240px;
  }
  .ym-Clients .rSub {
    top: 200px;
    left: 300px;
    height: 60px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .ym-Clients .rSub::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    background: linear-gradient(to bottom,
        #fff 0%,
        #000000 25%,
        rgba(255, 255, 255, 0.48) 75%,
        rgba(255, 255, 255, 0) 100%
        /* 这里不要有, */
      );
  }
  .ym-Clients .ym-camera{
    width: 100px;
    height: 30px;
    position: absolute;
    top: 20px;
    left: 50%;
    border-radius: 20px;
    transform: translateX(-50%);
    background: #000;
  }
  .ym-Clients .ym-camera .camera-item{
    width: 20px;
    height: 20px;
    background: #0a0a0a;
    border-radius: 100%;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  .ym-Clients .ym-camera .camera-item::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    width: 50%;
    height: 50%;
    background-image: repeating-radial-gradient(#0a0e19, #111d3d 10%, rgb(24, 24, 48) 20%);
    border: 1px solid #0a0e19;
  }
.y-m-b-18{
    margin-bottom: 18px;
}
.y-p-b-16{
    padding-bottom: 16px;
}
.y-t-strong{

}
@media screen and (max-width: 600px) {
  .ym-Clients {
    grid-template-columns: repeat(1,1fr);
  }
}
