#vF38O6A.is-media-grid {
column-count: 4;
column-gap: 10px;
padding: 10px;
}
#vF38O6A .gallery-item {
position: relative;
break-inside: avoid;
border-radius: 0px;
margin-bottom: 10px;
line-height: 0; /* Eliminate extra space */
cursor: pointer;
overflow: hidden;
/* box-shadow: 5px 5px 0px #00000012;*/
}
#vF38O6A .gallery-item img {
width: 100%;
height: auto;
transition: .8s all;
margin: 0;
}
#vF38O6A .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;
}
#vF38O6A .gallery-item .caption h4 {
font-weight: 300;
font-size: 1.1em;
margin: 0 0 0.1em;;
}
#vF38O6A .gallery-item:hover .caption {
opacity: 1;
}
#vF38O6A.is-media-grid:hover img { opacity: 0.7; }
#vF38O6A.is-media-grid img:hover { opacity: 1; }
#vF38O6A .gallery-item .caption {
transform: translateY(100%);
transition: transform 0.5s ease, opacity 0.5s ease;
}
#vF38O6A .gallery-item:hover .caption {
transform: translateY(0%);
opacity: 1;
}
#vF38O6A .gallery-item .caption {
background-color: #fff;
color: #000;
}
#vF38O6A .gallery-item .caption * {
color: #000;
}
@media (max-width: 800px) {
#vF38O6A.is-media-grid {column-count: 3;}
}
@media (max-width: 600px) {
#vF38O6A.is-media-grid {column-count: 2;}
}
@media (max-width: 400px) {
#vF38O6A.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;
}