.related-post {
    margin: 20px 0;
    padding: 10px;
    background: #f7f7f7;
    border-left: 5px solid red;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.related-post-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.related-post-heading {
    margin: 0 0 5px;
    color: red;
    font-weight: bold;
}

.related-post-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: block;
}

.related-post-title {
    display: block;
    margin-top: 8px;
    font-weight: bold;
}
