.flex-content.related-posts {
    background-color: #F2F2F2;
}

.flex-content.related-posts .main-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 37px;
    letter-spacing: 0px;
    margin: 0 0 58px;
}

.flex-content.related-posts .post-image {
    position: relative;
}

.flex-content.related-posts .post-image img {
    width: 100%;
    aspect-ratio: calc(470/250);
    object-fit: cover;
}

.flex-content.related-posts .inner a {
    text-decoration: none;
    color: #000;
}

.flex-content.related-posts .post-image span {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0px;
    position: absolute;
    top: 0px;
    background: #FEE000 0% 0% no-repeat padding-box;
    padding: 5px 10px;
}

.flex-content.related-posts .inner a p {
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;
    letter-spacing: 0px;
    padding-top: 20px;
}

@media only screen and (max-width: 991px) {
    .flex-content.related-posts {
        padding: 30px 0 !important;
    }

    .flex-content.related-posts .main-title {
        margin-bottom: 0;
    }

    .flex-content.related-posts .inner {
        margin-top: 50px;
    }

}
