/* Répertoire des artistes et artisans — [repertoire_artistes] */

.repertoire-artistes {
	--ra-bleu: var(--e-global-color-primary, #153B57);
	--ra-bleu-moyen: var(--e-global-color-0cc5c14, #275676);
	--ra-bleu-pale: var(--e-global-color-154f9b4, #C8D9E1);
	--ra-vert: var(--e-global-color-secondary, #009286);
	--ra-orange: var(--e-global-color-accent, #D88413);
	--ra-fond: #f0f0f0;
	color: var(--ra-bleu);
	width: 100%;
}

/* Filtres */
.repertoire-artistes .ra-filtres {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	gap: 20px;
	align-items: end;
	padding: 30px;
	margin-bottom: 20px;
	background-color: var(--ra-fond);
	border-radius: 10px;
}

.repertoire-artistes .ra-filtre label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 0.9em;
}

.repertoire-artistes .ra-filtre select {
	width: 100%;
	min-height: 44px;
	padding: 8px 36px 8px 12px;
	border: 1px solid var(--ra-bleu-pale);
	border-radius: 6px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23153B57' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 12px center;
	-webkit-appearance: none;
	appearance: none;
	color: var(--ra-bleu);
	font: inherit;
	cursor: pointer;
}

.repertoire-artistes .ra-filtre select:focus-visible,
.repertoire-artistes button:focus-visible,
.repertoire-artistes a:focus-visible {
	outline: 3px solid var(--ra-orange);
	outline-offset: 2px;
}

.repertoire-artistes .ra-reinitialiser {
	min-height: 44px;
	padding: 8px 20px;
	border: 2px solid var(--ra-bleu);
	border-radius: 6px;
	background: transparent;
	color: var(--ra-bleu);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.repertoire-artistes .ra-reinitialiser:hover {
	background: var(--ra-bleu);
	color: #fff;
}

.repertoire-artistes .ra-compte {
	margin: 0 0 20px;
	font-weight: 700;
}

/* Grille de fiches */
.repertoire-artistes .ra-grille {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.repertoire-artistes .ra-carte {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 30px;
	background: #fff;
	border: 1px solid var(--ra-bleu-pale);
	border-top: 5px solid var(--ra-vert);
	border-radius: 10px;
}

.repertoire-artistes .ra-carte[hidden] {
	display: none;
}

.repertoire-artistes .ra-entete {
	display: flex;
	gap: 16px;
	align-items: center;
}

.repertoire-artistes .ra-photo {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	display: block;
}

.repertoire-artistes .ra-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.repertoire-artistes .ra-photo--initiales {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ra-bleu-pale);
	color: var(--ra-bleu);
	font-size: 1.8em;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.repertoire-artistes .ra-nom {
	margin: 0 0 6px;
	font-size: 1.25em;
	line-height: 1.2;
	color: var(--ra-bleu);
}

.repertoire-artistes .ra-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: 0;
	font-size: 0.9em;
}

.repertoire-artistes .ra-niveau {
	font-weight: 700;
	color: var(--ra-vert);
}

.repertoire-artistes .ra-domaines {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.repertoire-artistes .ra-domaines li {
	margin: 0;
	padding: 4px 10px;
	border-radius: 20px;
	background: var(--ra-bleu-pale);
	font-size: 0.8em;
	font-weight: 700;
	line-height: 1.3;
}

.repertoire-artistes .ra-description p {
	margin: 0 0 0.6em;
}

.repertoire-artistes .ra-description p:last-child {
	margin-bottom: 0;
}

.repertoire-artistes .ra-bloc h4 {
	margin: 0 0 4px;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ra-bleu-moyen);
}

.repertoire-artistes .ra-bloc p,
.repertoire-artistes .ra-bloc ul {
	margin: 0;
}

.repertoire-artistes .ra-bloc ul {
	padding-left: 1.2em;
}

.repertoire-artistes .ra-galerie {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.repertoire-artistes .ra-galerie img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

.repertoire-artistes .ra-contact {
	margin: auto 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--ra-bleu-pale);
	list-style: none;
}

.repertoire-artistes .ra-contact li {
	display: flex;
	gap: 10px;
	align-items: baseline;
	margin: 0 0 6px;
	overflow-wrap: anywhere;
}

.repertoire-artistes .ra-contact i {
	flex: 0 0 1em;
	color: var(--ra-vert);
}

.repertoire-artistes .ra-contact a {
	color: var(--ra-bleu);
	text-decoration: underline;
}

.repertoire-artistes .ra-reseaux {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.repertoire-artistes .ra-reseaux a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ra-bleu);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s;
}

.repertoire-artistes .ra-reseaux a:hover {
	background: var(--ra-vert);
}

.repertoire-artistes .ra-vide {
	padding: 30px;
	background: var(--ra-fond);
	border-radius: 10px;
	text-align: center;
}

.repertoire-artistes .ra-reinitialiser-lien {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ra-bleu);
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 1366px) {
	.repertoire-artistes .ra-filtres {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.repertoire-artistes .ra-reinitialiser {
		justify-self: start;
	}
	.repertoire-artistes .ra-grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.repertoire-artistes .ra-filtres {
		grid-template-columns: 1fr;
		padding: 20px;
	}
	.repertoire-artistes .ra-grille {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.repertoire-artistes .ra-carte {
		padding: 20px;
	}
}

@media print {
	.repertoire-artistes .ra-filtres,
	.repertoire-artistes .ra-reseaux {
		display: none;
	}
	.repertoire-artistes .ra-carte {
		break-inside: avoid;
	}
}

/* Protection contre les styles globaux .elementor-widget-text-editor (si le shortcode est placé dans un widget Éditeur de texte) */
.repertoire-artistes ul.ra-contact,
.repertoire-artistes ul.ra-reseaux,
.repertoire-artistes ul.ra-domaines,
.repertoire-artistes ul.ra-galerie {
	padding-inline-start: 0 !important;
	margin-bottom: 0 !important;
}
.repertoire-artistes h3.ra-nom,
.repertoire-artistes .ra-bloc h4 {
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
}
.repertoire-artistes .ra-reseaux a,
.repertoire-artistes .ra-reseaux a:hover {
	color: #fff !important;
}
.repertoire-artistes .ra-reseaux a::after,
.repertoire-artistes .ra-contact a::after,
.repertoire-artistes .ra-photo::after,
.repertoire-artistes .ra-galerie a::after {
	content: none !important;
}
.repertoire-artistes .ra-contact a {
	color: var(--ra-bleu) !important;
}
