.asptt-recent-posts{
    display: flex;
}

.asptt-recent-posts--has-section-posts{
    display: flex;
}

.asptt-recent-posts{
    color: var(--e-global-color-primary);
    padding-top: 70px;
    padding-bottom: 48px;
}

.asptt-recent-posts.asptt-recent-posts--has-section-posts .asptt-title{
    text-align: center;
    margin-right: 34px;
}

.asptt-recent-posts .asptt-title-label{
    margin-right: 12px;
}

.asptt-recent-posts__section-posts__container{
    max-width: 256px;
    width: 100%;
    background-color: #ececec;
    font-size: 16px;
    font-weight: bold;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
}

.asptt-recent-posts__section-posts{
    padding-left: 50px;
}

.asptt-recent-posts__section-posts__header{
    background-color: var(--e-global-color-primary);
    padding: 16px;
    text-transform: uppercase;
    color: #FFF;
    margin: 0;
    font-size: inherit;
}

.asptt-recent-posts__posts-wrapper{
    display: flex;
    justify-content: center;
    gap: 20px;
}
 
.asptt-recent-posts.asptt-recent-posts--has-section-posts .asptt-recent-posts__posts-wrapper{
    justify-content: space-between;
}

.asptt-recent-posts__section-post{
    padding: 16px;
    text-decoration: underline;
    text-decoration: none;
    display: block;
}

.asptt-recent-posts__section-name{
    color: var(--e-global-color-primary);
    margin-bottom: 5px;
}

.asptt-recent-posts__posts{
    width: 100%;
    display: flex;
    flex-direction: column; 
    gap: 46px;
}

.asptt-recent-posts__section-post:hover .asptt-recent-posts__section-name{
    text-decoration:underline;
}

.asptt-recent-posts--has-section-posts .asptt-recent-posts__posts{
    width: calc(100% - 306px);
}

.asptt-recent-posts__section-post-title{
    color: #231f20;
}

.asptt-recent-posts__section-post + .asptt-recent-posts__section-post{
    border-top: 1px #cdcdcd solid;
}

.asptt-recent-posts__section-post-title{
    font-size: 14px;
    text-transform: none;
    margin: 0;
}

.asptt-recent-posts .asptt-posts__item .asptt-posts__item-image-wrapper{
    width: 100%;
    height: 190px;
}
.asptt-recent-posts .asptt-posts__item .asptt-posts__item-image{
    height:100%;
    background-size:cover;    
    background-repeat:no-repeat;
    background-position: center;
}

.asptt-recent-posts .asptt-posts__item{
    align-items: flex-start;
    width: calc(100% / 3);
    text-decoration:none;
}

.asptt-recent-posts .asptt-posts__item .asptt-posts__item-title{
    color: var(--e-global-color-primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.asptt-recent-posts .asptt-posts__item .asptt-posts__item-date{
    color: #231f20;
}

@media screen and (max-width: 1224px) {    
    .asptt-recent-posts .asptt-posts__item{
        width: 100%; 
    }
    .asptt-recent-posts--has-section-posts .asptt-recent-posts__posts{
        width: calc(100% - 281px);
    }
    .asptt-recent-posts__posts-wrapper{
        gap: 25px;
    }
    .asptt-recent-posts__section-posts {
        padding-left: 25px;
    }
}

@media screen and (max-width:950px) {
    .asptt-recent-posts {
        padding-bottom: 0;
    }

    .asptt-recent-posts__posts-wrapper {
        flex-direction: column;
    }
    .asptt-recent-posts .asptt-posts__item .asptt-posts__item-image-wrapper{
        height: 160px;
    }
    .asptt-recent-posts.asptt-recent-posts--has-section-posts .asptt-title {
        margin-right: 0;
    }
}

@media screen and (max-width: 630px) {
    .asptt-recent-posts {
        flex-direction: column;
        gap: 35px;
        padding-top: 55px;
    }
    .asptt-recent-posts--has-section-posts .asptt-recent-posts__posts {
        width: 100%;
    }
    .asptt-recent-posts__section-posts {
        width: 100%;
        padding-left: 0;
    }

    .asptt-recent-posts__posts {
        gap: 15px;
    }

    .asptt-recent-posts .asptt-title-label {
        margin: 0;
    }
    .asptt-recent-posts.asptt-recent-posts--has-section-posts .asptt-title {
        flex-direction: column;
    }

    .asptt-recent-posts__posts-wrapper {
        gap: 20px;
    }

    .asptt-recent-posts .asptt-posts__item .asptt-posts__item-title,
    .asptt-recent-posts .asptt-posts__item .asptt-posts__item-date {
        text-align: center;
    }

    .asptt-recent-posts .asptt-posts__item .asptt-posts__item-title {
        margin-top: 11px;
        margin-bottom: 4px;
    }

    .asptt-recent-posts__section-posts__container {
        max-width: unset;
    }
} 