.pe-16-container {
	width: 100%;
}

.pe-16-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 30px;
	justify-content: center;
}

.pe-16-filter-btn {
	background-color: transparent;
	border: 1px solid #ccc;
	color: #333;
	padding: 10px 24px;
	border-radius: 50px;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
}

.pe-16-filter-btn:hover {
	background-color: #f5f5f5;
}

.pe-16-filter-btn.active {
	color: #fff;
	/* Background color and border are handled by Elementor settings */
}

.pe-16-filter-btn.active:hover {
	opacity: 0.9;
}

.pe-16-grid {
	display: grid;
	gap: 20px;
	/* Grid columns are handled by Elementor responsive settings */
}

.pe-16-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	padding: 30px 20px;
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	min-height: 160px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	border: 1px solid transparent; /* Epaisseur 1 rajoutée pour la transition */
}

.pe-16-tile:hover, .pe-16-tile:focus {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px rgba(0,0,0,0.15);
	outline: none;
	text-decoration: none !important;
	/* border-color handled by Elementor */
}

.pe-16-tile-content {
	text-align: center;
	color: inherit;
}

.pe-16-tile-icon {
	margin-bottom: 15px;
	font-size: 36px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none !important;
}

/* We let inline styles set color, and ensure SVG inherits it correctly */
.pe-16-tile-icon svg {
	width: 36px;
	height: 36px;
	fill: currentColor;
}

.pe-16-tile-icon i {
	color: inherit;
}

.pe-16-tile-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: inherit;
	text-decoration: none !important;
}

/* Fallback default grid if Elementor styles fail to load immediately */
@media (min-width: 1025px) {
	.pe-16-grid:not([style*="grid-template-columns"]) {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 1024px) and (min-width: 768px) {
	.pe-16-grid:not([style*="grid-template-columns"]) {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 767px) {
	.pe-16-grid:not([style*="grid-template-columns"]) {
		grid-template-columns: repeat(2, 1fr);
	}
}
