.potansiel-latest-posts-widget {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.potansiel-latest-posts-widget .latest-post-box {
    position: relative;
    width: 33.33%;
    height: 228px;
}

.potansiel-latest-posts-widget .latest-post-box .img-container {
    width: 100%;
    height: 100%;
}

.potansiel-latest-posts-widget .latest-post-box .img-container img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.potansiel-latest-posts-widget .latest-post-box .img-overlay {
    background: rgb(2,0,36);
    background: linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 0%,rgba(0,0,0,.7) 100%);
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%;
    border-radius: 20px
}

.potansiel-latest-posts-widget .latest-post-box .title {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    z-index: 2;
    width: 100%
}

.potansiel-latest-posts-widget .latest-post-box .title a {
    display: flex;
}

.potansiel-latest-posts-widget .latest-post-box .title h3 {
    margin: 0
}

.potansiel-latest-posts-widget .latest-post-box .title h3 a {
    color: #FFF;
    font-size: 16px;
    display: block;
    line-height: normal;
    text-decoration: initial
}

.potansiel-latest-posts-widget .latest-post-box a.overlay {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 10;
}

@media (max-width: 575.98px) {
    .potansiel-latest-posts-widget {
        flex-wrap:wrap
    }
    
    .potansiel-latest-posts-widget .latest-post-box {
        width: 100%;
    }
}
