/* Fixed height posts media mode */
.post-media img{
    object-fit: cover; /* Do not scale the image */
    width: 100%;
    max-height: $heightpx;
}

.post-media video{
    width: 100%;
    max-height: $heightpx;
}

.posts-wrapper .locked-media{
    max-height: $heightpx;
}

.posts-wrapper .mySwiper {
    height: $heightpx!important;
}
.posts-wrapper .mySwiper>img {
    height: $heightpx!important;
}
