.image-stats__info-box {
 /* position: absolute; */
  position: relative;
  background-color: var(--primary-2);
  padding: var(--sm-2);
  max-width: 400px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .8s ease-in-out;
  
}
.image-stats__card-wrapper {
  display: flex;
  gap: 0;
  transition: all .4s ease-in-out
}
@media (max-width:767.98px) {
  .image-stats__card-wrapper {
    flex-direction: column
  }
}
.image-stats__card {
  flex: 1;
  height: 50rem;
  position: relative;
  transition: all .5s ease-in-out;
  overflow: hidden;
  cursor: pointer
}
.image-stats__card .action-button {
  position: absolute;
  opacity: 0;
  z-index: -1
}
.image-stats__card.active {
  flex: 2.09
}
.image-stats__card.active .image-stats__collaps-img-wrapper {
/*   display: none; */ 
}
.image-stats__card.active .image-stats__info-box {
  opacity: 1;
}
.image-stats__card.active iframe {
  width: 185%;
  transition: all .5s ease-in-out
}
@media (min-width:768px) {
  .image-stats__card.active iframe {
    width: 325%
  }
}
@media (min-width:992px) {
  .image-stats__card.active iframe {
    width: 240%
  }
}
@media (min-width:1200px) {
  .image-stats__card.active iframe {
    width: 185%
  }
}
@media (max-width:767.98px) {
  .image-stats__card.active {
    overflow: hidden;
    height: 38rem;
    flex: unset
  }
  .image-stats__card.active .image-stats__card-content {
    opacity: 1
  }
}
@media (max-width:767.98px) {
  .image-stats__card {
    height: 13rem;
    flex: unset
  }
}
.image-stats__card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all .5s ease-in-out;
  position: relative;
  overflow: hidden
}
.image-stats__card-bg iframe {
  pointer-events: none;
  width: 100%;
  transition: all .5s ease-in-out
}

.image-stats__card:focus-visible {
  border: 2px solid var(--primary-5);
  outline: none;
}

@media (min-width:768px) {
  .image-stats__card-bg iframe {
    width: 675%
  }
}
@media (min-width:992px) {
  .image-stats__card-bg iframe {
    width: 500%
  }
}
@media (min-width:1200px) {
  .image-stats__card-bg iframe {
    width: 380%
  }
}
.image-stats__card-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%);
  z-index: 1
}
.image-stats__card-content {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0
}
@media (min-width:767.98px) {
.image-stats__card-bg::before{
  background: linear-gradient(204deg, rgba(0, 0, 0, 0.00) 53.14%, rgba(0, 0, 0, 0.57) 77.13%);
  }

}
@media (max-width:767.98px) {
  .image-stats__card-content {
    opacity: 0;
    transition: opacity .3s ease
  }
  
}
.image-stats__stat-data {
  color: var(--primary-4);
  position: absolute;
  bottom: var(--sm-1);
  left: var(--sm-1);
  z-index: 1
}
@media (max-width:575.98px) {
  .image-stats__card.active iframe {
    width: 250%
  }
}