#Uz81c8D.is-media-grid {
column-count: 6;
column-gap: 30px;
padding: 30px;
}
#Uz81c8D .gallery-item {
position: relative;
break-inside: avoid;
border-radius: 8px;
margin-bottom: 30px;
line-height: 0; /* Eliminate extra space */
cursor: pointer;
overflow: hidden;
/* box-shadow: 5px 5px 0px #00000012;*/
}
#Uz81c8D .gallery-item img {
width: 100%;
height: auto;
transition: .8s all;
margin: 0;
}
#Uz81c8D .gallery-item .caption {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.4);
color: #fff;
padding: 12px 15px;
opacity: 0;
transition: all 0.8s ease;
overflow: hidden;
text-overflow: ellipsis;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: .9em;
font-weight: 200;
line-height: 1.2;
}
#Uz81c8D .gallery-item .caption h4 {
font-weight: 300;
font-size: 1.1em;
margin: 0 0 0.1em;;
}
#Uz81c8D .gallery-item:hover .caption {
opacity: 1;
}
#Uz81c8D .gallery-item img {
transform-origin: center;
transition: transform 0.4s ease, opacity 0.5s ease;
}
#Uz81c8D .gallery-item:hover img {
transform: scale(1.04);
}
#Uz81c8D .gallery-item .caption {
transform: translateY(100%);
transition: transform 0.5s ease, opacity 0.5s ease;
}
#Uz81c8D .gallery-item:hover .caption {
transform: translateY(0%);
opacity: 1;
}
#Uz81c8D .gallery-item .caption {
background-color: rgba(0, 0, 0, 0.4);
color: #fff;
}
#Uz81c8D .gallery-item .caption * {
color: #fff;
}
@media (max-width: 800px) {
#Uz81c8D.is-media-grid {column-count: 3;}
}
@media (max-width: 600px) {
#Uz81c8D.is-media-grid {column-count: 2;}
}
@media (max-width: 400px) {
#Uz81c8D.is-media-grid {column-count: 1;}
}
.gallery-item .gallery-video-overlay {
width: 100%;
height: 100%;
position: absolute;
top: 0; left: 0;
background: rgba(255,255,255,0.000001);
}
.gallery-item video {
height: auto;
width: 100%;
object-fit: cover;
}