.blog-section {
    margin: 100px 0;
}

.blog-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 738px;
    width: 100%;
    margin: 0 auto 50px;
    text-align: center;
}

.blog-header h2 {
    margin-bottom: 25px;
    text-transform: uppercase;
}

.blog-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.large-post {
    grid-row: span 2;
}

.small-post {
    max-height: 206px;
}

.blog-post {
    max-width: 100%;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.blog-post-link {
    display: flex;
    max-width: 100%;
    width: 100%;
    height: 100%;
    min-height: 206px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: inherit;
}

.blog-post-thumbnail {
    display: flex;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-post-thumbnail img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .blog-section {
        margin: 52px 0;
    }
    .blog-header {
        margin: 0 auto 22px;
    }
    .blog-header h2 {
        margin-bottom: 18px;
    }
    .blog-posts {
        display: flex!important;
        flex-direction: row!important;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 22px;
    }
    .blog-post-link {
        min-height: 100%;
    }
    .small-post {
        max-width: 46% !important;
    }
    .small-post,
    .blog-post {
        height: 161px;
    }
    .large-post {
        grid-row: span 1;
        grid-column: span 2;
        height: 343px;
    }
}