.brnd-recepies_page_gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.brnd-recepies_page_gallery-bg-wrap {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  background-size: contain;
  align-content: stretch;
  justify-content: center;
  align-items: center;
}

.brnd-recepies_page_gallery-item-wrap:hover .brnd-recepies_page_gallery-item-img {
  top: -15px;
  right: -15px;
  bottom: -15px;
  left: -15px;
}

.brnd-recepies_page_gallery-items {
  display: flex;
  width: 100%;
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.brnd-recepies_page_gallery-item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  width: 304px;
  height: 320px;
  margin: 8px;
}
.brnd-recepies_page_gallery-item-img {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition-property: top, right, bottom, left;
  transition-duration: 300ms;
  transition-timing-function: ease-in-out;
  will-change: top, right, bottom, left;
}
.brnd-recepies_page_gallery-item-title {
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0));
  font-family: var(--brnd-secondary-font-family);
  line-height: 1.2;
  font-size: 24px;
  font-weight: 500;
  color: white;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 0 8px 8px 20%;
}

@media screen and (min-width: 1200px) {
  .brnd-recepies_page_gallery-bg-wrap {
    padding: 0 10%;
  }
}
@media screen and (min-width: 960px) {
  .brnd-recepies_page_gallery-items {
    width: 960px;
  }
}
@media screen and (min-width: 640px) and (max-width: 959px) {
  .brnd-recepies_page_gallery-items {
    width: 640px;
  }
}
@media screen and (min-width: 340px) and (max-width: 639px) {
  .brnd-recepies_page_gallery-items {
    width: 320px;
  }
  .brnd-recepies_page_gallery-item-wrap {
    margin: 8px auto;
    width: 95%;
  }
}
@media screen and (max-width: 339px) {
  .brnd-recepies_page_gallery-items {
    width: 100%;
  }
  .brnd-recepies_page_gallery-item-wrap {
    margin: 8px auto;
    width: 95%;
  }
}
