}
/* END: Main Page CSS */
/* 3x3 grid */
.caption {
position: relative;
overflow: hidden;
}
.caption__media {
display: block;
min-width: 100%;
max-width: 100%;
height: auto;
}
.caption__overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 10px;
color: white;
transform: translateY(100%);
transition: transform .35s ease-out;
}
.caption:hover .caption__overlay {
transform: translateY(0);
}