.section.posts {
    display: flex;
    flex-direction: column;
}

.section.posts .section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.section.posts .section__header .section__name h3 {
    font-weight: 100;
}

.posts__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.posts__item {
    box-shadow: var(--box-shadow);
    background-color: #fff;
    border-radius: 5px;
    color: var(--color-black);
}

.posts__item {
    width: 100%;
    height: 100%;
}

.post__thumbnail {
    width: 100%;
    height: 250px;
}

.post__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.post__body {
    height: 350px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px
}

.post__body .typo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post__title {
    text-transform: uppercase;
    font-size: 20px;
}

.post__excerpt {
    font-size: 18px;
    font-weight: 100;
    line-height: 1.5;
}

.post__permalink {
    align-self: flex-end;
    font-size: 20px;
    width: auto;
    height: auto;
    padding: 8px 24px;
}

.blog_link {
    display: block;
    align-self: center;
    margin-top: 60px;
}

.posts__list .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.posts__list .footer .date {
    font-weight: 300;
    font-size: 14px;
    color: var(--color-gray);
}

@media (max-width: 1100px) {
    .post__excerpt {
        font-size: 16px;
    }

    .post__title {
        text-transform: uppercase;
        font-size: 18px;
    }
}

@media (max-width: 1000px) {
    .posts__list {
        grid-template-columns: 1fr 1fr;
    }

    .post__body {
        height: 320px;
    }
}

@media (max-width: 700px) {
    .posts__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post__body {
        height: 300px;
        padding: 10px;
    }

    .blog_link button {
        font-size: 14px;
        width: 150px;
    }
    .blog_link {
        margin-top: 40px;
    }
}

@media (max-width: 390px) {
    .section.posts {
        padding: 40px 6px
    }

    .post__thumbnail {
        height: 200px;
    }

    .post__body {
        height: 250px;
        gap: 10px;
    }

    .post__title {
        font-size: 16px;
    }

    .post__excerpt {
        font-size: 14px;
    }
}