@media only screen and (max-width: 765px) {
    
.related-insights-sidebar {
    height: 100%!important;
    flex-direction: unset!important;
    flex-wrap: wrap!important;
    justify-content: space-around!important;
}
.related-post {
width:250px!important;
}
}
.related-insights-sidebar {
    height: 80%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0;
}

.related-post {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 200px;
    min-width:200px;
    max-width:350px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}
.related-post.slide-in {
    opacity: 1!important;
    transform: translateX(0)!important;
}
.related-post-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    width: 100%;
    height: 110px;
 
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #DD6E42;
    color: #fff;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.related-post-title {
    font-size: 18px;
    margin: 8px 0;
}

.related-post-description {
    font-size: 14px;
    color: #666;
}

.related-post-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 10px;
    background-color: #DD6E42!important;
    color: #fff!important;
    text-decoration: none;
    border-radius: 8px!important;
}

.related-post-cta:hover {
    background-color: #4F6D7A!important;
}
