.custom-posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.custom-post-item {
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f3f8f3;
}

.custom-post-thumbnail {
    overflow: hidden;
}

.custom-post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-post-item:hover .custom-post-thumbnail img {
    transform: scale(1.1);
}

.custom-post-content h3 {
    color: #050327;
    font-family: "Montserrat", Sans-serif;
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 15px;
}

.custom-post-item:hover {
    transform: translateY(-10px);
}

.custom-post-content {
    display: flex;
    padding: 20px;
    flex-direction: column;
}



.custom-post-content  p {
    color: #050327;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 25px;
    letter-spacing: 0.08px;
}


@media (max-width: 767px) {
    .custom-posts-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media screen and (min-width: 820px) and (max-width: 1180px) {
    .custom-posts-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}