

div.post-thumbnail {
    margin: 20px 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 300px;

    border-radius: 16px;
    overflow: hidden;
}

div.post-thumbnail .post-thumbnail-overlay {
    padding: 20px;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

div.post-thumbnail .post-thumbnail-overlay h1 {
    margin: 0;
}
