/* Blog List Paginated Styles */

.edgtf-blog-pagination {
	margin-top: 40px;
	text-align: center;
	clear: both;
}

.edgtf-blog-pagination ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 10px;
}

.edgtf-blog-pagination li {
	display: inline-block;
	margin: 0;
}

.edgtf-blog-pagination a,
.edgtf-blog-pagination span.current,
.edgtf-blog-pagination span.dots {
	display: inline-block;
	padding: 10px 15px;
	border: 1px solid #e5e5e5;
	background: #fff;
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
	min-width: 45px;
	text-align: center;
}

.edgtf-blog-pagination a:hover {
	background: #333;
	color: #fff;
	border-color: #333;
}

.edgtf-blog-pagination .current {
	background: #333;
	color: #fff;
	border-color: #333;
}

.edgtf-blog-pagination .dots {
	border: none;
	background: transparent;
	cursor: default;
}

/* Les flèches ne doivent pas avoir de styles supplémentaires */
.edgtf-pagination-prev,
.edgtf-pagination-next {
	display: inline;
	padding: 0;
	border: none;
	background: none;
	font-size: 18px;
	line-height: 1;
}

/* Load More Button */
.edgtf-blog-load-more {
	margin-top: 40px;
	text-align: center;
	clear: both;
}

.edgtf-blog-load-more button {
	cursor: pointer;
	position: relative;
}

.edgtf-blog-load-more button.loading {
	opacity: 0.6;
	pointer-events: none;
}

.edgtf-blog-load-more button.loading:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid #fff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Responsive */
@media only screen and (max-width: 768px) {
	.edgtf-blog-pagination a,
	.edgtf-blog-pagination span {
		padding: 8px 12px;
		min-width: 40px;
		font-size: 14px;
	}
	
	.edgtf-blog-pagination ul {
		gap: 5px;
	}
}
