.ids-process-comp .cmp-contentfragment__element-value img {
  width: 165px;
  height: 165px;
}

.ids-process-comp .cmp-contentfragmentlist {
  display: flex;
  gap: 35px;
  justify-content: space-between;
  max-width: 1220px;
  margin: 34px auto;
}

.ids-process-comp dl dd {
  margin-left: 0;
}

.ids-process-comp .cmp-contentfragment__element--mainTitle dd {
  color: #323232;
  text-align: center;
  font-family: Lato;
  font-size: 22px;
  font-weight: 700;
  line-height: 28.6px;
  margin-bottom: 16px;
}

.ids-process-comp .cmp-contentfragment__element--description .cmp-contentfragment__element-value {
  color: #323232;
  text-align: center;
  font-family: Lato;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
}

.ids-process-comp dl.cmp-contentfragment__elements {
  max-width: 186px;
}

.ids-process-comp article {
  position: relative;
}

.ids-process-comp article::before {
  position: absolute;
  right: -55%;
  top: 90px;
  z-index: -1;
}

.ids-process-comp article:nth-child(1)::before {
  content: url("../../../../content/dam/asianpaintsbeautifulhomes/ap-beautiful-homes/emi--banner/process-1.png");
}

.ids-process-comp article:nth-child(2)::before {
  content: url("../../../../content/dam/asianpaintsbeautifulhomes/ap-beautiful-homes/emi--banner/process-2.png");
}

.ids-process-comp article:nth-child(3)::before {
  content: url("../../../../content/dam/asianpaintsbeautifulhomes/ap-beautiful-homes/emi--banner/process-3.png");
}

.ids-process-comp article:nth-child(4)::before {
  content: url("../../../../content/dam/asianpaintsbeautifulhomes/ap-beautiful-homes/emi--banner/process-4.png");
}

@media (max-width: 992px) {
  .ids-process-comp .cmp-contentfragmentlist {
    padding: 20px;
    flex-direction: column;
    margin: 0;
    padding-top: 0;
  }

  .ids-process-comp article {
    min-height: 160px;
  }

  .ids-process-comp .cmp-contentfragment__element-value img {
    height: 120px;
    width: 120px;
  }

  .ids-process-comp dl.cmp-contentfragment__elements {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: max-content;
  }

  .ids-process-comp .cmp-contentfragment__element--visualImage {
    position: absolute;
    left: 0;
    margin-right: auto;
  }

  .ids-process-comp .cmp-contentfragment__element--mainTitle {
    max-width: 100%;
  }

  .ids-process-comp .cmp-contentfragment__element--mainTitle dd {
    max-width: calc(100% - 140px);
    margin-left: auto;
    text-align: left;
  }

  .ids-process-comp .cmp-contentfragment__element.cmp-contentfragment__element--description {
    max-width: calc(100% - 140px);
  }

  .ids-process-comp .cmp-contentfragment__element.cmp-contentfragment__element--mainTitle {
    width: 100%;
  }

  .ids-process-comp .cmp-contentfragment__element--description .cmp-contentfragment__element-value {
    text-align: left;
  }

  .ids-process-comp article::before {
    right: auto;
    left: -10px;
    top: 160px;
    transform: rotate(90deg);
  }
}

@media screen and (max-width : 439.9px){
  .ids-process-comp article:nth-child(3)::before {
    top: 177px;
}
}
@media screen and (max-width : 372.9px){
  .ids-process-comp article:nth-child(3) .cmp-contentfragment__elements {
    margin-bottom: unset;
}
}
@media screen and (max-width : 367.9px){
  .ids-process-comp article:nth-child(5) .cmp-contentfragment__elements {
    margin-top: 2px;
}
}
@media screen and (max-width : 360.9px){
  .ids-process-comp article:nth-child(4) .cmp-contentfragment__elements {
    margin-top: -4px;
}
.ids-process-comp article:nth-child(3) .cmp-contentfragment__elements {
  margin-top: 9px;
}
.ids-process-comp article:nth-child(5) .cmp-contentfragment__elements {
  margin-top: 22px;
}
}