.widget-snippet .home-gallery {
  max-width: 1440px;
  margin: 0 auto;
  margin-top: -178px;
margin-bottom: 100px;
}
.widget-snippet .inner-gallery  {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 20px;
  padding-left: 20px;
}
.widget-snippet .inner-gallery .gallery-item {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  position: relative
}

 .inner-gallery .gallery-item.one {
  grid-column: 1 / span 1;
    grid-row: 1 / span 3; 

}

.inner-gallery .gallery-item.two {
  grid-column: 2 / span 1;
      grid-row: 1 / span 2; 

}

 .inner-gallery .gallery-item.three  {
  grid-column: 3 / span 1;
  grid-row: 1 / span 1; 

}

.widget-snippet .inner-gallery .gallery-item.four  {
  grid-column: 2 / span 1;
    grid-row: 3 / span 1; 
}
.inner-gallery .gallery-item.five  {
  grid-column: 3 / span 1;
    grid-row: 2 / span 2; 
}

.widget-snippet .gallery-item a{
width: 100%;
  height:100%;
  display:block;
  position: relative;
  overflow: hidden
}
.widget-snippet .gallery-item a:after{
  content: "";
   position: absolute;
  left: 0;
  bottom: 0;
 background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%); 
  width: 100%;
  height: 100%;
}
.widget-snippet .gallery-item a h3{
 position: absolute;
  left: 0;
  bottom: 0;
  padding:50px 60px;
 color: #fff;
 z-index: 1;
 font-family: 'Suisse Int l';
 font-size: 30px;
 line-height: 46px;
 width: 100%;
}
.widget-snippet .gallery-item img {
width: 100%;
margin: 0 10px 10px 0;
  height:100%;
  object-fit: cover;
transition: transform .5s ease;
    transition: width 2s, height 2s, transform 2s;
}

.widget-snippet .gallery-item:hover img {
  transform: scale(1.03) rotate(1deg);
}
.widget-snippet .gallery-item:hover a h3{
  color: #AB8F09;
}

body.widget-snippet .home-gallery {
  max-width: 1440px;
  margin: 0 auto;
  margin-top:0px;
margin-bottom: 0px;
}

body.widget-snippet .gallery-item a:after{
  display: none;
}

body.widget-snippet .gallery-item a h3{
  z-index: unset; 
}
