@layer components {
  .stats .cta--text-link {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
  .stats .swiper-slide-next {
    opacity: 0.6 !important;
  }
  .stats .swiper-slide-active {
    opacity: 1 !important;
  }
  .stats .color-body p:last-child{
    margin-bottom:0;
  }
  @media (min-width: 768px) {
    .stats--4 .stats__item {
      flex: 0 0 calc(50% - var(--sm-1));
    }
    .stats .swiper-slide-next {
      opacity: 1 !important;
    }
  }
  @media (min-width: 768px) { 
     .stats--4 .stats__item {
      flex: 0 0 calc(51% - var(--sm-1));
    } 
    .stats-3 .stats__item {
      flex: 1 1 calc(33% - var(--sm-1));
    }
    .stats-2 .stats__item {
      flex: 0 0 calc(50% - var(--sm-1));
    }
  }
  .stats-text__image {
    height: 4.8rem;
    width: 4.8rem;
  }
  .stats-text .four-stats .stat {
    max-width: 45%;
  }
  @media (max-width: 991.98px) {
    .stats-text__content {
      margin-bottom: var(--md-3);
    }
  }
  /*   .image-text-stats__image img {
  max-height: 24rem;
} */ 
  .stats--4 .stats__item {
    min-height: 30rem;
  }
  .stats-3 .stats__item {
    min-height: 34.9rem;
  }
  .stats-2 .stats__item {
    min-height: 37.6rem;
  }
  .image-text-stats .stats .stat {
    max-width: 45%;
  }
  .image-text-stats .stats .stat__title {
    margin-bottom: 0;
  }
  @media (max-width: 767.98px) {
    .image-text-stats__image img {
      max-height: 24rem;
    }
    .stats--4 .stats__item, .stats-3 .stats__item, .stats-2 .stats__item {
      flex: 0 0 100%;
      min-height:24.8rem;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .image-text-stats__image img {
      max-height: 48rem;
    }
    .stats--4 .stats__item, .stats-3 .stats__item, .stats-2 .stats__item {
      min-height:26.4rem;
    }
  }
  @media (min-width: 992px) {
    .image-text-stats__image img {
      min-height: 73.8rem;
    }
  }
}

.stats .stats__item.green{ 
  background-color: var(--secondary-1-500);
}
.stats .stats__item.purple{
  background-color: var(--primary-1-500);
}
.stats .stats__item.orange{
  background-color: var(--primary-2-500);
}
.stats .stats__item.deep-teal{
  background-color: var(--secondary-2-500);
}
.stats .stats__item.orange .color-stats,.stats .stats__item.green .color-stats,.stats .stats__item.green .color-body,.stats .stats__item.orange .color-body {
  color: var(--base-1);
}
.stats .stats__item.purple .color-stats,.stats .stats__item.deep-teal .color-stats,.stats .stats__item.deep-teal,.stats .stats__item.deep-teal .cta__label,.stats .stats__item.deep-teal .cta__icon,.stats .stats__item.purple .cta__icon,.stats .stats__item.purple .cta__label{
  color: var(--base-10);
}
@media (min-width: 1024px) {
  .stats--4 .stats__item {
    flex: 1 1 288px;
    min-width: 0;
    max-width: 288px;
  }

}
@media (max-width: 1024px) {
  .stats-4,.stats-2,.stats-3{
    flex-wrap: wrap !important;
  }
}

.image-text-stats .stats .stat {
  flex: 0 0 calc(50% - var(--sm-2) / 2);
  max-width: none;
}

 @media (orientation: landscape) {
    .image-text-stats__image img {
      max-height: 57rem;
    }
}


 