.wp-block-group:has(> .related-posts-wrapper) .wp-block-cover{
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.related-posts-wrapper{
    margin-top: 0 !important;
    border-radius: 0 0 10px 10px;
    position: relative;
    max-width: 1321px !important;
}

.related-posts-wrapper .arrow{
    background: #00AC45;
    border: 2px solid #FFFFFF;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width:27px;
    height: 27px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-15px, -50%);
    cursor: pointer;
    z-index: 1;
}

.related-posts-wrapper .arrow:hover{
    background: #008D38;
}

.related-posts-wrapper .arrow-right{
    right: 0;
    left: auto;
    transform: translate(15px, -50%);
}

.related-posts{
    margin-top: 2px !important;
}

.related-posts-wrapper .arrow-left svg{
    transform: rotate(180deg);
}

.related-posts .slick-list{
    margin: 0 -2px;
    border-bottom-left-radius: 10px;

    border-bottom-right-radius: 10px;
}

.related-posts .slick-track{
    display: flex;
    align-items: stretch;
    background: #F2F7F7;
}

.related-posts .slick-track .slick-slide{
    height: inherit !important;
    /*margin: 0 1px;*/
    border-left: 2px solid #fff;
}

.related-posts .related-post{
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: #F2F7F7 0% 0% no-repeat padding-box;
    padding:12px 30px;
}

.related-posts .related-post.home{
    padding: 12px 30px 12px 44px;
}

.related-posts:not(:has(.arrow-left)) .related-post.home{
    padding: 12px 30px 12px 30px;
}

.related-posts .related-post a{
    font-size:14px;
    font-weight: 500;
    text-align: center;
    color:#00312D;
}

.related-posts .related-post a[href="#"]{
    pointer-events: none;
}

.related-posts .related-post:not(.active):hover{
    background: #E2EAEA;
}

.related-posts .related-post:not(.active):hover a{
    color: #00AC45;
}

.related-posts .related-post:not(.home) a{
    width: 200px;
}

.related-posts .related-post.active a{
    color:#00AC45 !important;
    font-weight: bold;
}

.related-posts .related-post.active{
    position: relative;
}

.related-posts .related-post.active::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display : inline-block;
    height : 0;
    width : 0;
    border-right : 18px solid transparent;
    border-bottom : 19px solid #fff;
    border-left : 19px solid transparent;
}

@media screen and (max-width: 992px){
    .related-posts .slick-list{
        margin: 0 0px 0 -2px;
    }
}

@media screen and (min-width: 992px){
    .related-posts{
        margin-top: 3px !important;
    }
}