.masonry__block {
  display: block;
  column-gap: 2rem;
  column-count: 3;
}

.photos-masonry {
  height: auto;
  max-height: 810px;
  overflow: hidden;
}

.masonry__block .masonry-item {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .masonry__block {
    column-count: auto;
    column-gap: auto;
  }
	.photos-masonry {
	  max-height: 100%;
	}
}

.masonry__block__link {
  color: #000000;
  font-size: .95rem;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  margin-top: .5rem;
}

.masonry-item__picture {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.masonry-item__picture a {
  display: block;
  line-height: 0;
}

.masonry-item__description {
  position: absolute;
  bottom: 0;
  height: auto;
  background-image: linear-gradient(to top, #ef413f 0%, rgba(239, 65, 63, 0.74) 100%);
  padding: 20px 10px;
  overflow: hidden;
  color: #ffffff;
  width: 100%;
  opacity: 0;
  transition: opacity .2s;
}

.masonry-item .masonry-item__description {
  line-height: 1.2;
}

.masonry-item:hover .masonry-item__description {
  opacity: 1;
}

.masonry-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
