.feedbacks__list {
  --card-width: calc(100% / 3 - 15px);
  margin: 80px 0 20px 0;
  padding: 0;
  grid-gap: 80px 20px;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, var(--card-width));
  justify-content: center;
  width: 100%;
}

.feedbacks__item {
  border: 2px solid #e9ecf2;
  border-radius: 10px;
  background-color: #ffffff;
  padding: 100px 40px 55px 40px;
  position: relative;
  display: grid !important;
  justify-content: center;
  justify-items: center;
  align-items: start;
  height: min-content;
  grid-row-end: span 2;
}

.feedbacks__item:nth-child(1), .feedbacks__item:nth-child(2), .feedbacks__item:nth-child(3) {
    grid-row-end: span 2;
}

.feedbacks__item:nth-child(4), .feedbacks__item:nth-child(5), .feedbacks__item:nth-child(6) {
    grid-row-end: span 3;
}

.feedbacks__item__img {
  width: 120px;
  height: 120px;
  position: absolute;
  top: -60px;
}

.feedbacks__item__text {
  font-size: 16px;
  color: #273e5d;
  font-style: italic;
  line-height: 1.625;
  text-align: center;
}

.feedbacks__item__author {
  font-size: 22px;
  color: #273e5d;
  line-height: 1.625;
  text-align: center;
  font-weight: bold;
}

@media (max-width: 768px) {    
  .feedbacks__list {
    --card-width: calc(100% / 2 - 10px);
    grid-gap: 80px 20px;
  }
}

@media (max-width: 540px) {    
  .feedbacks__item__author {
    font-size: 18px;
    line-height: 1.325;
  }
  
  .feedbacks__item {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .feedbacks__item__img {
    width: 100px;
    height: 100px;
    top: -50px;
  }
  
  .feedbacks__list {
    grid-gap: 70px 20px;
  }
}

@media (max-width: 480px) {
  .feedbacks__list {
    grid-gap: 80px;
    --card-width: 100%;
  } 
}