.pagination {
    margin-top: 30px;
    text-align: center;
    justify-content: center;
}
.pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
}
.pagination li {
    margin: 0 5px;
}
.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 12px;
    background: #f2f2f2;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}
.pagination li .current {
    background: #334862;
    color: #fff;
    font-weight: bold;
    pointer-events: none;
}

.post-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.post-box {
    background: #fff;
    border-radius: 45px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 605px;
    margin-bottom: 25px;
}

.post-box:hover {
    transform: scale(1.05);
}

.post-image {
    height: 50%;
    width: 100%;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divider {
    width: 70%;
height: 6px;
background: #c3375e;
margin: 0 auto;
transition: width 0.3s ease;
}

.post-box:hover .divider {
    width: 100%;
}

.post-content {
    padding: 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 50%;
}

.post-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 20px;
    color: #000000;
    text-align: left;
    margin-top: 15px;
}


.post-date {
    font-size: 16px;
color: #334862;
margin-bottom: 20px;

}

.post-box-link {
    width: calc(33.333% - 20px);
    display: block;
    text-decoration: none;
}
/* .post-box-link:hover .post-box {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional hover effect */
} */

.post-author {
    font-size: 18px;
    color: #334862;
    font-weight: bold;
}

.post-desc {
    font-size: 16px;
    text-align: left;
    color: #333333;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.see-more {
    cursor: pointer;
    font-size: 20px;
    color: #334862;
    text-decoration: underline;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding-bottom: 2px;
    text-underline-offset: 6px;
}

.post-box:hover .see-more {
    opacity: 1;
}

.catrgory-post-list {
    padding: 120px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .post-box {
        width: 100%;
        min-height: 590px;
    }

    .post-box-link {
        width: 100%;
    }
}