#post-filters {
    text-align: center;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 25px;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.03);
    display: flex;
    padding: 5px 40px;
}

#post-filters button {
    margin-right: 10px;
    padding: 10px 10px;
    border: initial;
    background: white;
    background-color: rgba(255, 255, 255, 1);
}




button.filter-button:focus {
    outline: solid 1px #ffc629 !important;
    border-radius: 10px;
}


#post-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 75px;
    justify-content: center;
    align-items: center;
}

.post-item {
    width: calc(33.333% - 50px);
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: white;
    border: solid 1px #f5f4f4;
    box-shadow: 8px 6px 43px 0 rgba(66, 46, 135, 0.09);
}

.post-item.show {
    opacity: 1; /* Fade in */
    transform: translateY(0); /* Slide up */
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 10px 10px 0px 0px;
    width: 100%;
}

.post-title {
    font-size: 16px;
    margin: 10px 0;
    font-family: 'Poppins';
    font-weight: bold;
    line-height: 20px;
}

.post-content {
    text-align: center;
    padding: 15px 45px;
}

.post-category-grid{
    padding: 0 20px;
    border-radius: 11px;
    background-color: rgb(219 219 219);
    color: black;
    font-family: 'Poppins';
    font-weight: normal;
    font-size: 13px;
    margin-bottom: 10px;
    display: inline-block;
}

.post-category-grid a{
    color: black;
}

.post-excerpt {
    font-size: 12px;
    color: #999797;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Poppins';
}

.pagination {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}



#filter-buttons-wrapper {
    overflow: hidden;
    width: 90%; /* Adjust as needed to show only 5 items */
    display: flex;
    align-items: center;
    height: 50px;
}

#filter-buttons {
    display: flex;
    transition: transform 0.3s ease;
    width: max-content;
}

.filter-button {
    margin: 0 10px;
    padding: 10px 20px;
    cursor: pointer;
    flex: 0 0 auto;
}



#prev-filters {
    position: absolute;
    left: 0;
}

#next-filters {
    position: absolute;
    right: 0;
}

.button_explore a {
    background: #422e87;
    padding: 10px 30px;
    color: white;
}

.button_explore {
    width: 100%;
    text-align: center;
}