/* =============================================
   Blog Grid Pagination - blog-grid-sec
   ============================================= */

.blog-grid-sec .elementor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 40px;
    padding: 10px 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0px;
    background: transparent;
}

.blog-grid-sec .elementor-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    color: var( --e-global-color-accent );
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.25s ease, color 0.25s ease;
    background: transparent;
    line-height: 1;
	width: 40px;
    height: 40px;
}
.blog-grid-sec .elementor-pagination .page-numbers.next, .blog-grid-sec .elementor-pagination .page-numbers.prev{
	width: unset;
	height: unset;
} 

.blog-grid-sec .elementor-pagination .elementor-screen-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.blog-grid-sec .elementor-pagination .page-numbers.current {
    background-color: var( --e-global-color-accent );
    color: #fff;
    font-weight: 700;
    border-radius: 3px;
	width: 40px;
    height: 40px;
}

.blog-grid-sec .elementor-pagination a.page-numbers:hover {
    background-color: var( --e-global-color-accent );
    color: #ffffff;
}

.blog-grid-sec .elementor-pagination .page-numbers.prev,
.blog-grid-sec .elementor-pagination .page-numbers.next {
    color: var( --e-global-color-accent );
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.blog-grid-sec .elementor-pagination .page-numbers.prev:hover,
.blog-grid-sec .elementor-pagination .page-numbers.next:hover {
    color: #14171C !important;
    background: transparent;
}

.blog-grid-sec .elementor-pagination span.page-numbers.prev {
    cursor: default;
    opacity: 0.5;
    pointer-events: none;
}


@media (max-width: 767px) {
	.blog-grid-sec .elementor-pagination {margin-top: 0px; padding: 5px;}
	.blog-grid-sec .elementor-pagination .page-numbers {font-size:12px; padding: 5px; width: 30px; height: 30px; margin: 0 !important;}
	.blog-grid-sec .elementor-pagination .page-numbers.current {width: 30px; height: 30px;}
	.blog-grid-sec .elementor-pagination .page-numbers.prev, .blog-grid-sec .elementor-pagination .page-numbers.next {font-size:12px;}
}