
/* =========================================
   Blog Grid & Pagination
   ========================================= */
.liangji-blog-grid-wrapper {
    margin-bottom: 300px !important; /* Increased to approx 3 rows height as requested */
    display: block;
    width: 100%;
    clear: both;
}

/* Pagination Styling */
.liangji-pagination-wrapper {
    margin-top: 100px; /* Increased space between grid and pagination */
    text-align: center;
    width: 100%;
    clear: both;
}

.liangji-pagination-info {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.liangji-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 20px;
}

.liangji-pagination a,
.liangji-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.liangji-pagination a:hover {
    background-color: #00558c;
    border-color: #00558c;
    color: #fff;
}

.liangji-pagination span.current {
    background-color: #00558c;
    border-color: #00558c;
    color: #fff;
    cursor: default;
}

/* Disabled State for Next/Prev Buttons */
.liangji-pagination span.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9f9f9;
    color: #999;
    border-color: #eee;
}

.liangji-pagination span.disabled:hover {
    background-color: #f9f9f9;
    border-color: #eee;
    color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .liangji-blog-grid-wrapper {
        margin-bottom: 40px !important;
    }
    .liangji-pagination a,
    .liangji-pagination span {
        height: 36px;
        min-width: 36px;
        font-size: 14px;
        padding: 0 10px;
    }
}
