.comparison {
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  padding-bottom: 32px;
}

.comprasion-title {
  display: flex;
  justify-content: flex-start;
}
.comprasion-title h2 {
  font-weight: 600;
  font-size: 36px;
  line-height: 43px;
  color: #787880;
}

.comparison__content {
  display: flex;
  flex-direction: column;
  margin-bottom: 188px;
}

.comparison__cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-bottom: 77px;
}
.comparison__cards-card {
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.01), 0px 4px 8px rgba(0, 0, 0, 0.02), 0px 1px 12px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  width: 270px;
  display: flex;
  flex-direction: column;
  height: auto;
  margin-bottom: 8px;
}
.comparison__cards-card-number {
  display: flex;
  justify-content: flex-start;
}
.comparison__cards-card-number-item {
  color: #787880;
}
.comparison__cards-card-img {
  display: flex;
  justify-content: center;
}
.comparison__cards-card-name {
  display: flex;
  justify-content: center;
}
.comparison__cards-card-name-item {
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
}

.comparison__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.comparison-charact {
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.01), 0px 4px 8px rgba(0, 0, 0, 0.02), 0px 1px 12px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 32px 24px;
}
.comparison-charact__block {
  position: relative;
  gap: 0 30px;
  min-width: 100%;
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.comparison-charact__block:last-child {
  margin-bottom: 0;
}
.comparison-charact__block:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: -25px;
  right: -25px;
  height: 1px;
  border-bottom: 1px solid #DCDCDC;
}
.comparison-charact__heading {
  grid-area: heading;
  margin-bottom: 24px;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #787880;
}
.comparison-charact__info {
  width: 270px;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
}
.comparison-charact__box {
  display: flex;
  flex-wrap: nowrap;
}

.comparison-charact__heading {
  text-align: center;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 19px;
}

@media (max-width: 768px) {
  .comprasion-title h2 {
    font-size: 32px;
    line-height: 36px;
  }
  .comparison__cards-card-name-item {
    font-size: 14px;
    line-height: 17px;
  }
  .comparison__cards-card-number-item {
    font-size: 14px;
  }
  .comparison__cards-card {
    padding: 12px;
  }
}
@media (max-width: 576px) {
  .comprasion-title h2 {
    font-size: 20px;
    line-height: 24px;
  }
  .comparison {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .comparison__content {
    margin-bottom: 136px;
  }
  .comparison-charact__heading {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 19px;
  }
  .comparison-charact__block {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .comparison-charact {
    padding: 12px 12px;
  }
  .comparison__cards-card {
    width: 170px;
  }
  .comparison-charact__info {
    width: 170px;
  }
  .comparison-charact__block:not(:last-child)::after {
    bottom: 0px;
    left: -11px;
    right: -10px;
    height: 1px;
  }
}