/* Infobanknews Pagination Styles */
.infobank-pagination {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: space-between;
    margin: 20px 0;
    gap: 10px;
}

.infobank-pagination .fa{
    margin: 0 6px !important;
    font-family:"Font Awesome 5 Free" !important;
}

.prev-page, .next-page {
    display: flex;
    align-items: center;
    background-color: #ec1c24;
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 3px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.prev-page:hover, .next-page:hover {
    background-color: #cf2e2e;
    text-decoration: none;
    color: #fff;
}

.prev-page .dashicons, .next-page .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.page-numbers-wrap {
    display: flex;
    align-items: center;
    background-color: #f2f2f2;
    padding: 5px 10px;
    border-radius: 3px;
}

.page-label {
    margin-right: 10px;
    color: #555;
}

.page-number {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 0 3px;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
}

.page-number:hover {
    background-color: #e0e0e0;
    text-decoration: none;
}

.page-number.active {
    background-color: #ec1c24;
    color: #fff;
    font-weight: 500;
}

.show-all {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #f0f0f0;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.show-all:hover {
    background-color: #e0e0e0;
    text-decoration: none;
}

/* Responsive styles */
@media (max-width: 600px) {
    .infobank-pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-numbers-wrap {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
    }
    
    .prev-page, .next-page {
        width: 100%;
        justify-content: center;
    }
}