.stats .cta--text-link {
  width: -moz-max-content;
  width: max-content
}
@media (min-width:768px) {
  .stats--4 .stats__item {
    flex: 1 1 calc(50% - var(--sm-1))
  }
}
@media (min-width:992px) {
  .stats--4 .stats__item {
    /*     flex: 1 1 calc(25% - var(--sm-1)); */
    /*     flex: 0 0 calc(0% - var(--sm-1)); */
    max-width: calc(25% - var(--sm-1)); 
  }
  .stats--3 .stats__item {
    flex: 1 1 calc(33% - var(--sm-1))
  }
  .stats--2 .stats__item {
    flex: 1 1 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) {
  .text-media-stats .stat-wrap {
    margin-top:var(--sm-1);
  }
  .stats-signpost .stats-signpost__wrap{
    margin-bottom:var(--lg-1);
  }

  .stats-text__content {
    margin-bottom: var(--md-3)
  }
}
.image-text-stats__image img {
  max-height: 24rem
}
.image-text-stats .stats .stat {
  max-width: 49%
}
.image-text-stats .stats .stat__title {
  margin-bottom: 0;
  font-weight: 700;
}
@media (min-width:768px) {
  .image-text-stats__image img {
    max-height: 48rem
  }
}
@media (min-width:992px) {
  .image-text-stats__image img {
    max-height: 100%
  }
  .stats-signpost .text-image__content h4,.vertical-accordion__accordion-content h4{
    font-size: 3.4rem;
    line-height:4rem;
    text-transform: math-auto !important;
    text-wrap: auto;
  }
}



/* text-and-media-stats */
.text-media-stats h2{
  margin-bottom:var(--sm-1);
}
.text-media-stats .config-text__cta-wrapper {
  margin-top:var(--sm-1);
}
.text-media-stats .stat {
  margin-bottom:var(--md-3);
}
.text-media-stats .caption{
  clip-path: polygon(0 0, 100% 0, 100% 49%, 92% 100%, 0 100%, 0 35%);
  padding: var(--sm-2) 0 var(--sm-2) var(--sm-2);
}

.text-media-stats .caption__title{
  color: var(--base-1);
}

.text-media-stats .action-button {
  background-color: var(--primary-2);
  bottom: auto;
  right: var(--sm-2);
  font-size: 1.6rem;
  padding: var(--sm-3);
  color: var(--primary-1);
  position: absolute;
  top: var(--sm-3)
}

.text-media-stats .action-button:hover{
  background-color: var(--secondary-5);
}
.text-media-stats .action-button:focus-visible{
  background-color: var(--base-1);
  color:var(--base-5);
}

/* 3 Stats Signpost CSS start */
.stats-signpost--intro-text .config-text__content{
  margin-top:2rem;
  margin-bottom:3rem;
}
.stats-signpost--intro-text .shadow-xxl{
  box-shadow: 0px 14px 64px 0px rgba(0, 0, 0, 0.15);
  clip-path: polygon(100% 0, 100% 85%, 95% 100%, 0% 100%, 0 49%, 0 0);
}

.stats-signpost--intro-text .drop-shadow{
  filter: drop-shadow(0px 14px 64px #00000026);
  padding: 0 2rem;
}
.stats-signpost--intro-text{
  margin-top:-9rem;
}
.stats-signpost--intro-text .pattern-right-50::before{
  content:none;
}
@media (min-width:768px) {


  .stats-signpost--3 .stats-signpost__item {
    flex: 1 1 calc(33% - var(--sm-1))
  }
}
.stats-signpost .stat__icon{
  position:relative;
  z-index:9;
  left: -4.7rem;
  margin-bottom: var(--sm-1);

}
.stats-signpost .stat__icon img{
  border-radius:6px;
}
.stats-signpost .stat__second-icon{
  position: absolute;
  right: -2.5rem;
  bottom: 27%;
  z-index: 99;
  margin-bottom: var(--sm-1);
}
.stats-signpost .stat__icon{
  position:relative;
}
.stats-signpost .stat__icon::before{
  content: url("../~/media/Images/I/inchcape/Corp/body-content/stats/stats-signpost-dots");
  position: absolute;
  right: -2rem;
  z-index: -1;
  top: -1.2rem;
}
@media (max-width:767px) {
  .stats-signpost--intro-text .shadow-xxl{
    clip-path: polygon(0% 0%, 100% 0, 100% 86%, 89% 100%, 0% 100%);
  }
  .stats-signpost .stat__icon::before{
    right: 1rem;
  }
  .stats-signpost .stat__second-icon{
    right: -1.2rem;
    bottom: 19%;
  }
  .stats-signpost .text-image .cta {
   /* width:52%;
    */
    padding: 0.9rem;
  }

}
.stats-signpost .stat__number{
  color:var(--primary-4);
  font-weight:275;
}




/*Key stats variation starts */
.stats--key-bg-wrapper{
  background: #D6F2FA;
}
.key-stats-pattern{
  clip-path: polygon(0 0, calc(100% - 11rem) 0, 100% 10.5rem, 100% 100%, 0 100%);
}

@media (min-width:767px) and (max-width:991px){

  .stats-signpost--intro-text .shadow-xxl{
    clip-path: polygon(100% 0, 100% 89%, 92% 100%, 0% 100%, 0 49%, 0 0);
  }
  .stats-signpost .stat__second-icon{
    max-width: 13rem;
    height: 16rem;
    bottom: 55%;
    right: -0.5rem;
  }
  .stats--key-bg-wrapper .stats__wrap{
    flex-direction: column;
  }
}
.stats--key-wrapper .stat__number {
  font-weight:275;
  color:var(--primary-1);
}
.stats--key-wrapper .stat__title {
font-weight: 700;
}

@media (min-width:992px) and (max-width:1024px){
  .stats-signpost .stat__second-icon{
    max-width:15rem;
    height:16rem;
    bottom:49%;
    right:2.5rem;
  }

}

.image-text-stats .flex-wrap{
  flex-wrap: nowrap !important; 
}

.image-stats__text-icon-stat-data{
  color: var(--primary-4);
  position: absolute;
  z-index: 1;
  display: contents;
  font-weight: 275 !important;
}

.text-icon-stat-hidden-elements{
  max-height: none;
}

@media (min-width: 1200px) {
  .icon-signpost-card--small:focus-within .icon-signpost-card__text-icon-stat-image, .icon-signpost-card--small:hover .icon-signpost-card__text-icon-stat-image {
    max-height: none;
    opacity: 1;
    overflow: hidden;
    transition: all .25s ease-out;
  }
}

@media (max-width:767px) {
  .icon-signpost-card{
    min-height: 25rem !important;
  }
}
@media (max-width:991px) {
  .icon-signpost-card{
    min-height: 35rem !important;
  }
}
