@media (min-width:1199.98px) {
  .flip-card__with-pattern .flip-cards-section__right-bottom::after{
    content: url("../~/media/Images/I/inchcape/Corp/custom-components/flip-cards/flip-cards-pattern.svg");
    position: absolute;
    bottom: 24.9rem;
    right: 13.8rem;
    top: -1.3rem;
    left: 45rem;
    z-index: -1;
  }
  .flip-card__with-pattern .flip-cards-section__right{
    position: unset;
  }
  .flip-card__with-pattern .flip-cards-section__right::after{
    content: unset;
  }
  .flip-card__with-pattern .flip-cards-section__right-bottom{
    z-index: 1;
    position: relative;
  } 


}


.flip-card__with-pattern .flip-cards-section__title-wrap  {
  max-width: 39.6rem;
}

/* Downloads Hub module CSS  */

.download-hub__clippath {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 0 100%, calc(100% - 3rem) 100%, 100% calc(100% - 4.5rem), 100% 0);
  z-index: 0;
  background: var(--base-4);
}
.downloads-hub .cta__pattern-wrapper:before{
  content: url(../~/media/Images/I/inchcape/Corp/body-content/standard-text/dots-pattern-primary-1.scg);
  position: absolute;
  bottom: -7.8rem;
  z-index: 0;
  right: -5.1rem;
}

.downloads-hub .cta__icon {
  color: var(--primary-2);
}

.strategy-overview__card{
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease;
}
.strategy-overview__wrapper .card-content {
  position: relative;
  z-index: 1;
  height: 100%
}
.strategy-overview__card .desc{
  position: absolute;
  color: var(--base-5);
  padding: var(--sm-1);
  display: flex;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px); 
  transition: 
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
    top: 0;
  left: 0;
  transform: none;
  padding-top: 40px;
  width: 100%;
}

.strategy-overview__card.active {
  background: #1A3154;
  color: var(--base-5);
  padding-left:0;
}

.strategy-overview__card.active .card-content {
  display:none;
}

.strategy-overview__card.active .desc.active  {
  opacity: 1;
  visibility: visible;
  background: #1A3154;
  color: var(--base-5);
  transform: translateY(0);
  pointer-events: auto;
}

.strategy-overview__card .icon-close{
  position:absolute;
  top: var(--sm-2);
  right: var(--sm-1);
  width:4.8rem;
  height:4.8rem;
  border-radius:50%;
  border:none;
  background: var(--base-5);
  color: var(--primary-2);
  font-size:18px;
  cursor:pointer;
  display:none;
  padding: var(--xs-1);
}
.strategy-overview__card.active .icon-close{
  display:block;

}

.strategy-overview-full-block-1__wrapper .card-content .config-text__content{
  width: 50%;
}


@media (max-width:991px) {
  .strategy-overview__card{
    margin-bottom: var(--sm-1);
  }
  .strategy-overview-full-block-1__wrapper .card-content .config-text__content{
    width: 100%;
  }
  .strategy-overview__card .cta__wrapper
  {
    flex-direction: column;
    padding-top: 20px;
    width : max-content;
  }
  .module-content-blocks .stat__suffix {
    margin-left: -0.9rem;
}
.strategy-overview-full-block-1__wrapper{
height: 37.4rem;
}

}
@media (min-width: 992px) and (max-width:1024px) {

  .strategy-overview__card .cta__wrapper {
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (min-width:1200px) {
  .flip-card__with-pattern .flip-cards-section__right-top .flip-card:nth-child(1),.flip-card__with-pattern .flip-cards-section__left-inner .flip-card:nth-child(1){
    z-index: 1;
  }

  .strategy-overview__card .desc{
    inset:0;
  }
.strategy-overview-full-block-1__wrapper {
  height: 28.4rem;
}
}
.strategy-overview__wrapper .rte img{
  margin-top:0;
}
.text-media-stats .stat:last-child {
  margin-bottom: 0;
}
.custom-news-feed__wrapper.news-listings .tag-text:first-child{
  display: none !important;
}
.custom-news-feed__wrapper.news-listings .mb-md-4 .d-md-flex.align-items-center {
  align-items: end !important;
}


.stats--key-bg-wrapper .stats__wrap {
  gap: 8rem 0;
}
.strategy-overview__card .card-content {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.bottom--stat-wrapper.stats__wrap{
gap: 8rem 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
.custom-news-feed__wrapper .carousel-lines span{
width : 2.8rem;
}
.module-content-blocks .stat__suffix {
    margin-left: -1.2rem;
}
}
.flip-card__with-pattern .flip-card__image-wrapper:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  pointer-events: none;
}

/* Wrap both elements together at the bottom */
.flip-card__front-title {
  position: static; /* Remove absolute */
  z-index: 1;
  font-size: 26px;
  font-weight: 600;
  line-height: 32.5px;
  letter-spacing: -0.26px;
}

.flipped-card__front-content {
  position: static; /* Remove absolute */
  z-index: 1;
}

/* Create a single overlay container for both */
.flip-card__card-front {
  position: relative;
}

.flip-card__text-overlay {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width:1199.98px) {
.flip-card__with-pattern .flip-card__card-front{
  display: flex;
  align-items: center;
}
.module-content-blocks .stat__suffix {
    margin-left: -1.4rem;
}
}

.flip-card__with-pattern .flip-card__flipped-content{
justify-content: end;
background-color: var(--primary-2);
color: var(--primary-1);
}

.flip-card__with-pattern .flip-card__flipped-content .flipped-description{color: var(--primary-1);}

.flip-card__with-pattern .flip-card__flipped-title {color : var(--primary-1); font-size:26px; font-weight: 600;}

@media (max-width:1025px) {
.flip-card__with-pattern .flip-card__card-front {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
} } 

 .flip-cards-section__title-wrap {
  max-width: 39.6rem;
} 

@media (max-width:767px) {
.bottom--stat-wrapper.stats__wrap {
  gap: 1rem 0;
}}

/* key stat variation css for alignment  */
@media (min-width: 992px) {
.stats--key-wrapper .stats__item {
    flex: 0 1 calc(33% - var(--sm-1));
  }
  .strategy-overview-full-block-1__wrapper .desc .description__wrapper p{
  max-width: 93.2rem;
  }
}


#ip3-annual-report-new .display-md{text-transform: inherit !important;}

.custom-news-feed__wrapper .custom-news__title {
text-wrap: unset;
}

