.sticky-posts .container-img{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f7f7;
    width: 120px;
    height: 120px;
}

.sticky-posts .block-post:first-child .container-img{
    width: 100%;
    height: auto;
}

.sticky-posts .block-post:first-child {
    flex-direction: column;
}

.sticky-posts .block-post:first-child .content-post {
    padding: 10px 0 0 0;
    width: 100%;
}

.sticky-posts{
    padding: 20px 0;
}

.sticky-posts .block-post img{
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-posts .rowline .block-post{
    width: 100%;
    position: relative;
    display: flex;
    flex: 0 0 91.666667%;
    margin-right: 15px;
}

.sticky-posts .rowline .block-post:first-child::before {
    content: '';
    border-radius: 8px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, rgba(20, 20, 20, 0)), color-stop(0, rgba(20, 20, 20, 0)), color-stop(100%, #141414), to(#141414));
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0) 1%, rgba(20, 20, 20, 0) 0, #141414 100%, #141414 100%);
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}

.sticky-posts .rowline .block-post:not(:last-child) {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--paletteColor5);
    padding-bottom: 20px;
}

.sticky-posts .block-post .content-post {
    width: calc(100% - 140px);
    padding-left: 20px;
}

.sticky-posts .title-post{
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
    width: calc(100% - 15px);
    margin: 0;
}

.sticky-posts .block-post:first-child .title-post {
    color: #fff;
    text-shadow: 2px 2px 2px rgb(0 0 0);
}

.sticky-posts .category-post{
    display: none;
    color: #fff;
    font-size: 12px;
    line-height: 12px;
    text-transform: uppercase;
    background-color: var(--paletteColor1);
    padding: 5px;
    border-radius: 3px;
}

.sticky-posts .block-post:not(:first-child) .category-post {
    margin-left: 10px;
}

.sticky-posts .block-post:first-child .content-post {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
}

.sticky-posts .cta-post {
    display: inline-block;
    background-color: var(--paletteColor1);
    padding: 15px 20px;
    border-radius: 15px;
    color: #fff;
    font-size: 16px;
    line-height: 16px;
    margin-top: 20px;
}

.sticky-posts .cta-post:hover{
    color: #ffffff;
}

@media screen and (min-width: 768px){

    .sticky-posts .draggable-post {
        display: block;
    }

    .sticky-posts .container-img{
        aspect-ratio: 16 / 9;
        width: auto;
        height: auto;
    }

    .sticky-posts .rowline{
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
    }

    .sticky-posts .display-2-posts .block-post,
    .sticky-posts .display-3-posts .block-post,
    .sticky-posts .display-4-posts .block-post{
        margin: 0 10px;
        display: block;
        position: relative;
    }

    .sticky-posts .rowline .block-post:not(:last-child) {
        margin-bottom: 0;
    }

    .sticky-posts .rowline .block-post::before{
        opacity: 0;
    }

    .sticky-posts .rowline > .block-post{
        margin-right: 0;
    }

    .sticky-posts .block-post:first-child .title-post {
        text-shadow: none;
        color: var(--headings-color);
    }

    .sticky-posts .category-post{
        display: inline-block;
    }

    .sticky-posts .content-post{
        position: relative;
        bottom: 16px;
    }

    .sticky-posts .block-post:first-child .content-post {
        position: relative;
        bottom: 16px;
        padding: 0;
    }

    .sticky-posts .block-post:first-child .category-post {
        background-color: var(--paletteColor1);
        padding: 5px;
        border-radius: 3px;
    }

    .sticky-posts .display-2-posts .block-post{
        flex: 0 0 calc(50% - 20px);
        margin: 0 10px;
    }

    .sticky-posts .display-3-posts .block-post{
        flex: 0 0 calc(33.33% - 20px);
        margin: 0 10px;
    }

    .sticky-posts .display-4-posts .block-post{
        flex: 0 0 calc(50% - 20px);
        margin: 0 10px;
    }

    .sticky-posts .display-3-posts .block-post img{
        max-height: 230px;
        height: 100%;
    }

    .sticky-posts .display-2-posts .block-post img{
        max-height: 350px;
    }

    .sticky-posts .block-post .content-post {
        width: 100%;
        padding-left: 0;
    }

    .sticky-posts .title-post{
        font-size: 20px;
        line-height: 22px;
        text-shadow: none;
        color: var(--headings-color);
        margin: 5px 0 0;
    }

    .sticky-posts .rowline .block-post:not(:last-child) {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

}


@media screen and (min-width: 992px) {

    .sticky-posts .display-4-posts .block-post img{
        max-height: 170px;
        height: 100%;
    }

    .sticky-posts .display-4-posts .block-post{
        flex: 0 0 calc(25% - 20px);
    }

}
