[class^="fancybox__"] {
    transition: none;
}
.marks-gallery {
    position: relative;
}
.marks-gallery__innner {
    position: relative;
    max-height: 600px;
    overflow: hidden;
    transition: height 0.2s;
}
.marks-gallery__innner:after {
    content: '';
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 90%,rgba(255,255,255,1) 100%);
}
.marks-gallery__innner.show {
    max-height: unset;
}
.marks-gallery__innner.show:after {
    display: none;
}
.marks-gallery__container {
    position: relative;
    width: 100%;
    display: flex;
    gap: 10px;
    padding: 60px 0;
}
.marks-gallery__container .column {
    flex:1;
    display: flex;
    flex-direction: column;
    gap:10px;
}
.marks-gallery__container .post {
    position: relative;
    overflow: hidden;
    width:100%;
}

.marks-gallery__container img {
    display: block;
    width: 100%;
    border-radius: 5px;
    height: 100%;
}

.marks-gallery__container .overlay {
    position: absolute;
    top:0;
    left: 0;
    width:100%;
    height:100%;
    background:#161616;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity:0;
    transition:0.5s;
    border-radius: 5px;
}

.marks-gallery__container .post:hover .overlay{
    opacity: 0.5;
    cursor: pointer;
}
.marks-gallery__marks-show {
    position: relative;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .marks-gallery__container .post {
        position: relative;
        overflow: hidden;
        height: 30vw;
    }
    .marks-gallery__container img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}
