.single-post .list-related-posts {
    display: inline-block;
    width: 100%;
    color: #282828;
    line-height: 1.5;
    margin: 5px 0;
    border-radius: 10px;
    background-color: #fff;
    clear: both;
    max-width: 100%;
}

.single-post .list-related-posts p {
    color: #000;
}

.single-post .list-related-posts .section-title {
    color: #3b5b75 ;
    font-weight: 700 ;
    font-size: 16px;
}

.single-post .list-related-posts a {
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.single-post .list-related-posts .col-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
}

.single-post .list-related-posts .image {
    width: 100%;
    height: auto;
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

.single-post .list-related-posts .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover; 
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.single-post .list-related-posts .image img:hover {
    transform: scale(1.05);
}

.single-post .list-related-posts .content-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.single-post .list-related-posts .title p {
    margin: 0;
    font-size: 14px !important;
    color: #282828;
    text-align: center;
}

@media (max-width: 768px) {
    .single-post .list-related-posts .col-12 {
        flex-direction: row;
        align-items: center;
    }

    .single-post .list-related-posts .image {
        width: 100px;
        height: 80px;
        margin-bottom: 0;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .single-post .list-related-posts .title {
        flex-grow: 1;
    }

    .single-post .list-related-posts .title p {
        font-size: 12px;
        text-align: left;
    }

    .single-post .list-related-posts .content-image {
        flex-direction: row;
        justify-content: start;
        text-align: left;
    }
}

@media (min-width: 769px) {
    .single-post .list-related-posts .col-12 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .single-post .list-related-posts .image {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .single-post .list-related-posts .title p {
        font-size: 14px;
        text-align: center;
    }
}
