*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}


.blog-post-card {
    margin: 5rem auto;
    width: min(100% - 2rem, 430px);
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
}

.post-img {
    display: block;
    width: 100%;
    border-bottom: 1px solid #ddd;

}

.post-content {
    padding: 1rem;
}

.post-title {
    color: #333;
    font-size: 1.5rem;
}

.post-excerpt {
    color: #58585d;
    font-size: 1.1rem;
    line-height: 1.5;
}

.post-title,
.post-excerpt {
    margin: 1rem;
}

.read-more {
    display: inline-block;
    margin: 1rem;
    padding: .5em 1em;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.read-more:hover,
.read-more:focus-visible {
    background-color: #010101;
}