/* .ids-services {
  margin-top: 70px;
} */

.ids-services>div {
  display: flex;
  gap: 20px;
  max-width: 1280px;
  margin: 34px auto;
}

.ids-services .newpar {
  display: none;
}

.ids-services .teaser {
  width: 25%;
}

.ids-services .teaser:nth-child(odd) {
  margin-top: 58px;
}

.ids-services .teaser .cmp-teaser {
  height: 469px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.ids-services .cmp-teaser__image {
  height: 100%;
}

.ids-services .cmp-image {
  height: 100%;
}

.ids-services .teaser .cmp-image__image {
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.ids-services .cmp-teaser__content {
  position: absolute;
  bottom: -272px;
  height: 100%;
  text-align: center;
  background: linear-gradient(0,rgba(0,0,0,0.63) 50%,rgba(0,0,0,0.00) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 156px 30px 40px;
  cursor: default;
  border-radius: 10px;
  cursor: pointer;
}

/* .ids-services .teaser .cmp-teaser:hover .cmp-teaser__content {
  bottom: 0;
  transition: 0.5s all ease-in-out;
  border-radius: 10px;
  background: linear-gradient(0,rgba(0,0,0,0.63) 100%,rgba(0,0,0,0.00) 100%);
} */

.ids-services .cmp-teaser__pretitle {
  color: #FFF;
  font-family: Lato;
  font-size: 22px;
  font-weight: 700;
  line-height: 28.6px;
  margin-bottom: 10px;
}

.ids-services .cmp-teaser__description {
  margin-bottom: auto;
}

.ids-services .cmp-teaser__description p {
  color: #FFF;
  text-align: center;
  font-family: Lato;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  margin-bottom: auto;
}

.ids-services .cmp-teaser__action-container {
  margin-top: auto;
}

.ids-services .cmp-teaser__action-container a::before {
  content: url('../../../../content/dam/asianpaintsbeautifulhomes/ap-beautiful-homes/emi--banner/arrow-round.png');
  cursor: pointer;
}

.ids-services .slick-dots li button {
  display: none;
}

@media (max-width: 768px) {
  .ids-services {
    margin-top: 0px;
  }

  .ids-services.container.responsivegrid {
    padding-left: 20px;
    /* padding-right: 0;
    margin-left: -20px;
    margin-right: -40px; */
  }

  .ids-services .cmp-teaser__pretitle {
    font-size: 20px;
    line-height: 31px;
    margin-bottom: 8px;
    /* margin-top: auto; */
  }

  /* .ids-services .cmp-teaser__action-container {
    margin-top: 36px;
  } */

  .ids-services .teaser {
    width: 100%;
    margin-right: 10px;
  }

  .ids-services .teaser:nth-child(odd) {
    margin-top: 0px;
  }
  .ids-services .teaser .cmp-image__image {
    object-fit: initial;
  }
  .ids-services .cmp-teaser__content {
    bottom: 0;
    background: linear-gradient(0,rgba(0,0,0,0.63) 100%,rgba(0,0,0,0.00) 100%);
    padding: 167px 30px 40px;
    justify-content: flex-start;
  }

  .ids-services .teaser .cmp-teaser {
    height: 442px;
  }

  .ids-services .slick-dots li {
    background-color: #7345B2;
    height: 4px;
    width: 8px;
    border-radius: 50px;
    margin: 0 3px;
  }

  .ids-services .slick-dots li.slick-active {
    width: 30px;
  }

  .ids-services .slick-dots {
    text-align: center;
    bottom: -50px;
    right: 20px;
  }

  .ids-services .cmp-teaser__description {
    margin-bottom: unset;
  }
}

.ids-services.magazine-teaser .teaser .cmp-teaser:hover .cmp-image__image{
  transform: scale(1.05);
}

.ids-services.magazine-teaser .teaser .cmp-image__image {
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
  opacity: 1;
  transform: scale(1);
}

.ids-services.magazine-teaser .cmp-teaser__content {
  position: absolute;
  /* bottom: -272px; */
  bottom: 0;
  height: 100%;
  text-align: center;
  /* background: linear-gradient(0,rgba(0,0,0,0.63) 50%,rgba(0,0,0,0.00) 100%); */
  background: linear-gradient(179.92deg, rgba(0, 0, 0, 0) 49.89%, rgba(0, 0, 0, 0.4) 99.93%);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 0px;
  cursor: default;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
}

 .ids-services.magazine-teaser .teaser .cmp-teaser:hover .cmp-teaser__content {
  bottom: 0;
  transition: none !important;
  border-radius: 0 !important;
  background: none !important;
}

.ids-services.magazine-teaser .cmp-teaser__pretitle {
  margin-bottom: 18px;
}
.ids-services.magazine-teaser .cmp-teaser__action-container {
  /* margin-top: auto; */
  display: none;
}
.ids-services.magazine-teaser .cmp-teaser__content .cmp-teaser__action-container{
  display: none;
}
/* complain and warranty CTA */
.view-warranty-btn{
  display: flex;
  justify-content: center;

}
.view-warranty-btn .popup-btn{
    background-color: #7345B2;
  color: #FDFEFF;
  font-family: Lato;
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  text-align: center;
  border-radius: 999px;
  padding: 16px 23px 16px 32px;
  display: inline-block;
}
.view-warranty-btn .popup-btn::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../../../../content/dam/asianpaintsbeautifulhomes/complaint-warranty/right-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 8px; 
  vertical-align: middle;
  margin-bottom: 2px;
}
@media screen and (max-width:768px) {

  .ids-services.magazine-teaser .cmp-teaser__pretitle {
    font-size: 20px;
    line-height: 31px;
    /* margin-bottom: 8px; */
    /* margin-top: auto; */
  }
   .ids-services.magazine-teaser .cmp-teaser__content {
    bottom: 0;
    /* background: linear-gradient(0,rgba(0,0,0,0.63) 100%,rgba(0,0,0,0.00) 100%); */
    background: linear-gradient(179.92deg, rgba(0, 0, 0, 0) 49.89%, rgba(0, 0, 0, 0.4) 99.93%);
    padding: 0px;
    /* justify-content: flex-start; */
    justify-content: end;
  }

  .ids-services.magazine-teaser .slick-dots {
    text-align: center;
    bottom: -40px;
    right: 6px;
  }
 .slick-dotted.slick-slider{
  margin-bottom: 70px;
}
.view-warranty-btn .popup-btn{
  padding: 6.5px 17px 6.5px 26px;
}
}