.wordpress-posts {
    margin: 20px 0;

}

.wp-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
}

.wp-post-item {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease-out 0s;
}
.wp-post-item:hover{
    transform: translate(0,-4px);
  }
.wp-post-image {
    width: 100%;
    overflow: hidden;
    border-radius: 26px;
}

.wp-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.wp-post-category {
    display: inline-block;
    padding: 1px 15px;
    margin: 15px;
    margin-top: 25px;
    background-color: #ffc700;
    color: #000000;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 400;
    font-family: "Poppins";
    text-align: center;
    text-decoration: none;
}

.wp-post-category:hover {
    color: #000000;
}

.wp-post-title {
    margin: 0 15px 10px;
    font-size: 20px;
    line-height: 1.4;
    padding: 0 15px;
}

.wp-post-title a {
    color: #000000;
    text-decoration: none;
    text-align: center;
    display: block;
}

.wp-post-excerpt {
    margin: 0 15px 20px;
    color: #000000;
    font-size: 13px;
    line-height: 22px;
    font-weight: 400;
    font-family: "Poppins";
    text-align: center;
    padding: 0 15px;
}

.wp-posts-footer {
    text-align: center;
    margin-top: 30px;
}

.wp-posts-footer .btn {
    border-radius: 23px;
    background-color: #ffc700;
    color: #000 !important;
    padding: 10px 28px;
    font-size: 15px;
    letter-spacing: 1px;
    filter: drop-shadow(.5px .866px 21.5px rgba(12,25,46,.09));
    text-decoration: none;
}

.wp-posts-footer .btn:hover {
    color: #000;
}

@media (max-width: 991px) {
    .wp-post-item {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .wp-post-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .wp-post-title {
        font-size: 16px;
    }
}
