.case {
  padding-top: 10px;
}

.case .wrapper {
  justify-content: flex-end;
}

.case__heading {
  margin-bottom: 40px;
}

.case__item {
  position: relative;
  padding: 70px 0;
  height: auto !important;
}

.case__icon {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 44%;
  overflow: hidden;
}

.case__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.case__icon::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  max-width: 480px;
  height: 100%;
  background-image: var(--case-gradient);
}

.case__item p {
  font-size: 14px;
  line-height: 1.8;
}

.case__btn {
  margin-top: 40px;
}

.case__indicator p {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  line-height: 1.2;
  font-size: 14px;
  width: 100%;
}

.case__indicator p .case__param {
  position: relative;
  padding-right: 4px;
  margin-right: 6px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.case__indicator p .case__param::after {
  content: ':';
  position: absolute;
  top: 0;
  left: calc(100% - 4px);
}

.case__indicator p+p {
  margin-top: 36px;
}

.case__label {
  max-width: 100%;
  font-weight: 700;
  font-size: 32px;
  white-space: nowrap;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case__label_red {
  color: var(--color-case-red);
}

.case__label_green {
  color: var(--color-case-green);
}

.case__label_purple {
  color: var(--color-case-puple);
}

.case__label_blue {
  color: var(--color-case-blue);
}

.case__bank {
  align-self: stretch;
}

.case__bank img {
  position: absolute;
  right: 20px;
  bottom: -30px;
  width: 80%;
  max-width: 170px;
}

.case .swiper-container {
  padding: 0;
}

.case .swiper-button-prev,
.case .swiper-button-next {
  background-color: transparent;
  border: none;
}

.case .swiper-button-next:after,
.case .swiper-button-prev:after {
  color: var(--color-main-light);
  opacity: .5;
  font-size: 22px;
  transition: opacity .5s;
}

.case .swiper-button-next:hover::after,
.case .swiper-button-prev:hover::after {
  opacity: 1;
}

.case .swiper-button-prev[disabled],
.case .swiper-button-next[disabled] {
  opacity: 0;
}

.case .swiper-button-prev {
  left: 20px;
}

.case .swiper-button-next {
  right: 20px;
}

.case .row.wrapper::before,
.case .row.wrapper::after {
  content: none;
}

.case .swiper-wrapper {
  align-items: stretch;
}

@media (max-width: 1199px) {
  .case__icon {
    width: 50%;
  }

  .case__icon::after {
    width: 70%;
  }

  .case__icon img {
    object-position: center right;
  }

}

@media (max-width: 991px) {
  .case .wrapper {
    flex-wrap: wrap;
  }

  .case__bank img {
    position: static;
    margin-bottom: 24px;
  }

  .case__item {
    padding-top: 0;
  }

  .case__icon {
    position: relative;
    width: 100%;
    padding: 0 15px;
    height: 320px;
  }

  .case__icon::after {
    right: 15px;
    top: auto;
    bottom: -1px;
    width: 100%;
    max-width: calc(100% - 30px);
    height: 40%;
    background-image: var(--case-gradient-vertical);
  }

  .case__icon img {
    object-position: center center;
  }

  .case .swiper-button-prev {
    left: 10px;
  }

  .case .swiper-button-next {
    right: 10px;
  }
}

@media (max-width: 767px) {
  .case .wrapper {
    flex-direction: column;
  }

  .case__bank {
    order: -2;
  }

  .case__indicator {
    display: flex;
    flex-wrap: wrap;
    order: -1;
    margin: 10px 0 30px;
    width: 100%;
  }

  .case__indicator p {
    margin-top: 20px !important;
    margin-right: 20px;
  }
}

@media (max-width: 479px) {
  .case__icon {
    height: 260px;
  }

}