.latest-posts-title {
    color: #984A4A;
    padding: 15px 28px 17px 28px;
    background-color: #FFFFFF;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    border: 1px solid #984A4A;
    width: fit-content;
    margin: 0 auto;
    letter-spacing: 1px;
}

.latest-posts {
    display: flex;
    flex-wrap: wrap;
}

.latest-posts .single-post {
    width: 31%;
    margin-right: 3.5%;
    position: relative;
    margin-top: 55px;
}

.latest-posts .single-post:last-child {
    margin-right: 0;
}

.latest-posts .single-post .thumbnail-container {
    height: 300px;
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 1;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}

.latest-posts .single-post .thumbnail-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-posts .single-post .post-content {
    padding: 15px;
    background-color: #FFFFFF;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.latest-posts .single-post .post-content .date {
    font-size: 14px;
}

.latest-posts .single-post .post-content .post-title {
    margin-top: 3px;
}

.latest-posts .single-post .post-content .post-desc {
    font-size: 14px;
}

.latest-posts .single-post .post-content .post-link {
    font-weight: 500;
    position: relative;
    margin-top: 20px;
    display: block;
    width: fit-content;
}

.latest-posts .single-post .post-content .post-link::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -35px;
    width: 20px;
    height: 20px;
    background-image: url('../img/arrow-up-blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%) rotate(45deg);
}

.all-posts-link {
    background-color: #4A6898;
    color: #FFFFFF !important;
    margin: 0 auto;
    width: fit-content;
    margin-top: 30px;
    padding: 10px 20px;
    display: block;
    border-radius: 10px;
}

.all-posts-link:hover {
    text-decoration: none !important;
}

@media screen and (max-width: 1024px) {
    .latest-posts {
        justify-content: space-between;
    }
    
    .latest-posts .single-post {
        width: 47%;
        margin-right: 0;
    }
}

@media screen and (max-width: 767px) {
    .latest-posts .single-post {
        width: 100%;
    }

    .latest-posts-title {
        font-size: 22px;
    }
}