/* custom-homepage.css */

@media only screen and (max-width: 767px) {
    .post-list .row {
        display: grid !important;
        gap: 20px !important;
        grid-template-rows: auto auto !important;
        grid-template-columns: 1fr !important;
        grid-auto-columns: 3fr !important;
    }
    .post-item {
        margin: 20px 0px !important;
    }
    .post-item .image {
        box-shadow: none !important;
    }
    .post-item img {
        height: auto !important;
    }
    .container {
        width: 100vw !important;
    }
}

@media only screen and (max-width: 1025px) and (min-width: 768px) {
    .post-list .row {
        display: grid !important;
        gap: 20px !important;
        grid-template-rows: auto auto !important;
        grid-template-columns: 1fr 1fr !important;
        grid-auto-columns: 3fr !important;
    }
}

.container {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    justify-items: center;
    max-width: 1100px;
    width: 90vw;
    margin: auto;
    padding-top: 40px;
}

.post-list .row {
    display: grid;
    gap: 20px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 3fr;
}

.post-item img {
    object-fit: contain;
    width: 100%;
    height: 220px;
}

.post-item {
    text-align: center;
    font-weight: 700;
    font-size: large;
}

.post-list {
    padding-bottom: 100px;
}

.post_title a {
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
}

.post-item .image {
    box-shadow: 5px 2px 4px rgba(0, 0, 0, 0.1);
}

.post_content {
    padding: 15px 0px;
}
