.items-block {
  gap: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
}

.item-block {
  width: calc((100% - (3 * 10px)) / 4);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 4px 4px 18px rgba(0, 0, 0, 0.15);
}

.item-block img {
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.items-block h1 {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 600;
  text-decoration: none;
}

.item-block .content {
  padding: 20px 15px;
}
.item-block-text {
  margin: 0;
  text-decoration: none;
}

.item-block-text {
  margin: 0;
  line-height: 21px;
}

.img-wrap {
  display: block;
  position: relative;
  padding: 76% 0 0 0;
}

@media (max-width: 1100px) {
  .item-block {
    width: calc((100% - (1 * 10px)) / 2);
  }
}

@media (max-width: 520px) {
  .item-block {
    width: 100%;
  }
}
