.cpp-trombi {
	margin: 20px 0;
}

/* Barre d'outils : recherche + tri */
.cpp-trombi-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}
.cpp-trombi-toolbar input[type="search"] {
	flex: 1 1 220px;
	min-width: 0;
	padding: 10px 16px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	outline: none;
	transition: border-color .2s;
}
.cpp-trombi-toolbar input[type="search"]:focus {
	border-color: #c00;
}

/* Boutons de tri */
.cpp-trombi-sort {
	display: flex;
	gap: 0;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #ddd;
	flex-shrink: 0;
}
.cpp-trombi-sort button {
	background: #fff;
	border: none;
	padding: 9px 16px;
	font-size: 13px;
	font-weight: 500;
	color: #555;
	cursor: pointer;
	transition: background .15s, color .15s;
	border-right: 1px solid #ddd;
}
.cpp-trombi-sort button:last-child {
	border-right: none;
}
.cpp-trombi-sort button:hover {
	background: #f5f5f5;
}
.cpp-trombi-sort button.active {
	background: #c00;
	color: #fff;
}

/* Compteur */
.cpp-trombi-count {
	font-size: 13px;
	color: #888;
	margin-bottom: 16px;
}

/* Grille */
.cpp-trombi-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
@media (max-width: 1024px) {
	.cpp-trombi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
	.cpp-trombi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Carte membre */
.cpp-trombi-card {
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 10px;
	padding: 20px 16px 16px;
	text-align: center;
	transition: box-shadow .2s, transform .2s;
}
.cpp-trombi-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
	transform: translateY(-2px);
}

/* Photo */
.cpp-trombi-photo {
	width: 96px;
	height: 96px;
	margin: 0 auto 14px;
	border-radius: 50%;
	overflow: hidden;
	background: #f0f0f0;
	border: 3px solid #eee;
}
.cpp-trombi-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.cpp-trombi-no-photo {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cpp-trombi-no-photo svg {
	width: 64px;
	height: 64px;
	opacity: .4;
}

/* Infos */
.cpp-trombi-nom {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #222;
	margin-bottom: 4px;
	line-height: 1.3;
}
.cpp-trombi-numero {
	display: inline-block;
	font-size: 11px;
	color: #fff;
	background: #c00;
	border-radius: 20px;
	padding: 2px 9px;
	margin-top: 2px;
	letter-spacing: .03em;
}

/* Message vide */
.cpp-trombi-empty {
	text-align: center;
	color: #888;
	font-style: italic;
	padding: 40px 0;
}

/* Pagination */
.cpp-trombi-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 32px;
	flex-wrap: wrap;
}
.cpp-trombi-pagination button {
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	color: #333;
	font-size: 14px;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.cpp-trombi-pagination button:hover:not(:disabled) {
	border-color: #c00;
	color: #c00;
}
.cpp-trombi-pagination button.active {
	background: #c00;
	border-color: #c00;
	color: #fff;
	font-weight: 600;
}
.cpp-trombi-pagination button:disabled {
	opacity: .35;
	cursor: default;
}
.cpp-page-ellipsis {
	color: #999;
	font-size: 14px;
	padding: 0 4px;
}
