.mpblog-post-view .mp-blog-view > .post-view {
    display: flow-root;
}

.mpblog-post-view .mp-blog-related-posts,
.mpblog-post-view .mp-blog-related-products {
    width: 100%;
    clear: both;
}

.mpblog-post-view .mp-blog-related-posts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
}

.mpblog-post-view .mp-blog-related-posts-grid .post-list-item {
    display: flex;
    width: auto !important;
    margin: 0;
    float: none !important;
}

.mpblog-post-view .mp-blog-related-posts-grid .post-item-wraper,
.mpblog-post-view .mp-blog-related-posts-grid .post-info-wraper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.mpblog-post-view .mp-blog-related-posts-grid .post-item-wraper {
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff;
}

.mpblog-post-view .mp-blog-related-posts-grid .post-image {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
}

.mpblog-post-view .mp-blog-related-posts-grid .post-image img.img-responsive {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
    object-fit: cover;
}

.mpblog-post-view .mp-blog-related-posts-grid .post-info-wraper {
    flex: 1;
    padding: 18px;
}

.mpblog-post-view .mp-blog-related-posts-grid .mp-post-title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
}

.mpblog-post-view .mp-blog-related-posts-grid .post-link-title {
    display: -webkit-box;
    max-height: 3.75em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mpblog-post-view .mp-blog-related-products .related-content-container {
    padding: 0;
}

.mpblog-post-view .mp-blog-related-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 0;
}

.mpblog-post-view .mp-blog-related-products-grid .mp-blog-slider-item {
    display: flex;
    width: 100% !important;
    height: auto;
    margin: 0 !important;
    text-align: center;
}

.mpblog-post-view .mp-blog-related-products-grid .product-item-info {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.mpblog-post-view .mp-blog-related-products-grid .product-image-container {
    width: 100% !important;
    max-width: 240px;
}

@media (min-width: 600px) {
    .mpblog-post-view .mp-blog-related-posts-grid,
    .mpblog-post-view .mp-blog-related-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .mpblog-post-view .mp-blog-related-posts-grid,
    .mpblog-post-view .mp-blog-related-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mpblog-post-view .mp-blog-related-products-grid .product-reviews-summary {
        margin-left: auto;
        margin-right: auto;
    }
}
