.block-categories-wrapper {
  margin-top: 40px;
}

.block-categories-wrapper .item {
  background-color: #fff;
  height: max-content;
}

.block-categories-wrapper .item .title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: #30393c;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative;
}

.block-categories-wrapper .item .title::before {
  z-index: 1;
  content: " ";
  display: block;
  position: absolute;
  width: 40px;
  height: 4px;
  background-color: #3a93bc;
  left: 0;
  bottom: -16px;
}

.block-categories-wrapper .description {
  font-size: 16px;
  color: #30393c;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.block-categories-wrapper .left .item-info {
  padding: 40px;
}

.block-categories-wrapper .right .item-info {
  padding: 36px 36px 0 36px;
}

.block-categories-wrapper .right .item-link {
  display: flex;
}

.block-categories-wrapper .right .item:not(:first-child) {
  margin-top: 32px;
}

.block-categories-wrapper .right .description {
  -webkit-line-clamp: 4;
}

@media(min-width:768px) {
  .block-categories-wrapper .right {
    padding-left: 32px;
  }

  .block-categories-wrapper .right .image-wrapper {
    width: 55%;
  }

  .block-categories-wrapper .right .item-info {
    width: 45%;
  }
}

@media(max-width:767.98px) {
  .block-categories-wrapper .left {
    margin-bottom: 32px;
  }

  .block-categories-wrapper .left .item-info,
  .block-categories-wrapper .right .item-info {
    padding: 28px 24px;
  }

  .block-categories-wrapper .right .item-link {
    flex-wrap: wrap;
  }

  .block-categories-wrapper .right .image-wrapper {
    width: 100%;
  }
}
