/* ==========================================================
   EN-TÊTE DE LA SECTION
   ========================================================== */

.home-participants .section-header {
	max-width: 760px;
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}




/* PORTFOLIO PARTICIPANTS */ 
/* ==========================================================
   HOME — PARTICIPANTS
   ========================================================== */

#participants {padding: clamp(4.5rem, 8vw, 8rem) 0;
background-color: var(--color-white);
}



/*
.home-participants .sup-title {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.25rem;
	color: var(--color-primary, #b43e20);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-transform: uppercase;
}
	*/

	/*
.home-participants .sup-title::before {
	width: 2.5rem;
	height: 1px;
	background-color: currentColor;
	content: "";
}

*/
/*
.home-participants .section-header h2 {
	max-width: 850px;
	margin: 0;
	font-family: var(--font-heading, "Playfair Display", serif);
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.025em;
}
	*/

	/*

.home-participants .section-header > p {
	max-width: 680px;
	margin: 1.25rem 0 0;
	color: rgb(36 23 17 / 72%);
	font-size: 1rem;
	line-height: 1.7;
}

*/

/* ==========================================================
   GRILLE
   ========================================================== */

.participants-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 2.5vw, 2rem);
}
#participants  div.center {display: none!important;}

/* ==========================================================
   CARTE
   ========================================================== */

.participant-card {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
}


/* ==========================================================
   VISUEL — FORMAT HORIZONTAL OBLIGATOIRE
   ========================================================== */

.participant-card__media {
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background-color: #d8d0c5;
	isolation: isolate;
}

/*
 * L’image est toujours recadrée dans un format 16/9.
 * Une photo verticale sera donc coupée en haut et en bas,
 * sans jamais modifier la hauteur de la carte.
 */
.participant-card__image,
.participant-card__media > img,
.participant-card__media > video,
.participant-card__iframe {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	object-fit: cover;
	object-position: center;
}

.participant-card__iframe {
	position: absolute;
	inset: 0;
}


/* ==========================================================
   BOUTON VIDÉO
   ========================================================== */

.participant-card__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	appearance: none;
}

.participant-card__video::after {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 10%);
	content: "";
	transition: background-color 180ms ease;
}

.participant-card__video:hover::after {
	background: rgb(0 0 0 / 22%);
}

.participant-card__video:focus-visible {
	outline: 3px solid var(--color-primary, #b43e20);
	outline-offset: 3px;
}

.participant-card__play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: block;
	width: 68px;
	height: 48px;
	border: 0;
	border-radius: 12px;
	background-color: #f00;
	color: transparent;
	font-size: 0;
	line-height: 0;
	filter: drop-shadow(0 6px 14px rgb(0 0 0 / 40%));
	transform: translate(-50%, -50%);
	transition:
		filter 250ms ease,
		transform 250ms ease;
}

.participant-card__play::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 9.6px solid transparent;
	border-bottom: 9.6px solid transparent;
	border-left: 19px solid #fff;
	content: "";
	transform: translate(-35%, -50%);
}

.participant-card__video:hover .participant-card__play,
.participant-card__video:focus-visible .participant-card__play {
	filter: drop-shadow(0 8px 18px rgb(0 0 0 / 55%));
	transform: translate(-50%, -50%) scale(1.08);
}


/* ==========================================================
   VISUEL PAR DÉFAUT AVEC INITIALES
   ========================================================== */

.participant-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	background-color: #d7c6b4;
	color: var(--color-text, #241711);
	font-family: var(--font-heading, "Playfair Display", serif);
	font-size: clamp(2rem, 5vw, 3.5rem);
	letter-spacing: 0.05em;
	place-items: center;
}


/* ==========================================================
   CONTENU DE LA CARTE
   ========================================================== */

.participant-card__content {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	/*
	display: grid;
	flex: 1;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto auto 1fr auto;
	column-gap: 0.7rem;
	padding-top: 1.15rem;
	*/
}

.participant-card__title {
	width: 100%;
	min-width: 0;
	
	overflow-wrap: anywhere;
	color: var(--color-text-dark);
	font-family: var(--font-body, "Outfit", sans-serif);
	font-size: 1.3rem;
	font-weight: 600;
	padding:20px 0 0 0;
	line-height: 1.4;
	/*
	grid-column: 1;
	margin: 0;
	
	*/
}
.participant-card__instruments,
.participant-card__styles {
	width: 100%;
	max-width: none;
	margin: 0 0 00;
	text-align: left;
	white-space: normal;
	overflow-wrap: anywhere;
}
.participant-card__styles  {
	font-style: italic;
    margin-top: 0px;
    font-style: italic;
    line-height: 17px;
    font-size: 13px;
}

.participant-card__instruments {
	color: var(--color-primary, #b43e20);
	font-size: 0.76rem;
	font-weight: 500;
	    margin-top: 10px;
	    line-height: 17px;
    font-size: 13px;}
/*
.participant-card__instruments {
	grid-column: 2;
	margin: 0;
	color: var(--color-primary, #b43e20);
	font-size: 0.76rem;
	font-weight: 500;
	line-height: 1.5;
}

.participant-card__instruments::before {
	margin-right: 0.55rem;

color: var(--color-text);
	
	content: "·";
}
*/
.participant-card__bio {
	width: 100%;
	min-width: 0;
	margin-top: 1rem;
	overflow-wrap: anywhere;
	/*
	grid-column: 1 / -1;
	margin: 0.9rem 0 0;
	color: var(--color-text);

	font-size: 1rem;
	line-height: 1.65;*/
}


/* ==========================================================
   LIEN « DÉCOUVRIR »
   ========================================================== */


.participant-card__link::before {
	display: inline-block;
	margin-right: 0.35em;
	color: var(--color-primary) !important;
	font-size: 0.85em;
	line-height: 1;
	content: "\21AF";
	transform: rotate(-45deg);
	transform-origin: center;
	transition: transform 180ms ease;
}

.participant-card__link:hover::before,
.participant-card__link:focus-visible::before {
	transform: rotate(-45deg) translate(2px, -2px);
}

.participant-card__link {
	text-decoration: underline;
color: var(--color-primary)!important;
font-weight: 900;
	    position: absolute;
    right: 0;
    top: 20px;

	/*align-self: flex-start;
	margin-top: auto;
	
    height: 40px!important;
	grid-column: 1 / -1;
	justify-self: start;
	margin-top: 1.25rem;
	padding: 0.75rem 1.05rem;
	border: 1px solid rgb(36 23 17 / 16%);
	color: var(--color-text, #241711);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		color 180ms ease;
		*/
}

.participant-card__link:hover,
.participant-card__link:focus-visible {
	/*
	border-color: var(--color-primary, #b43e20);
	background-color: var(--color-primary, #b43e20);
	color: #fff;
	*/
}


/* ==========================================================
   BOUTON GÉNÉRAL SOUS LA GRILLE
   ========================================================== */

.home-participants .center {
	display: flex;
	justify-content: center;
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid rgb(36 23 17 / 8%);
}

.home-participants .center .button {
	display: none;
	/* display: inline-flex; */
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0.9rem 1.75rem;
	border: 1px solid var(--color-primary, #b43e20);
	background-color: var(--color-primary, #b43e20);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	transition:
		background-color 180ms ease,
		color 180ms ease;
}

.home-participants .center .button::after {
	margin-left: 0.75rem;
	content: "→";
}

.home-participants .center .button:hover,
.home-participants .center .button:focus-visible {
	background-color: transparent;
	color: var(--color-primary, #b43e20);
}




/* =========================================================
   TABLETTE ET MOBILE
   Jusqu’à 991.98px
   ========================================================= */

@media (max-width: 991.98px) {

	/* Participants */

	.participants-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* =========================================================
   PETITS MOBILES
   Jusqu’à 575.98px
   ========================================================= */

@media (max-width: 575.98px) {

	#agenda .home-participants .center {
		border: 0 !important;
	}

	/* Participants */

	.home-participants {
		padding: 4rem 0;
	}

	.home-participants .section-header {
		margin-bottom: 2.5rem;
	}

	.participants-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.participant-card__content {
		grid-template-columns: 1fr;
	}

	.participant-card__title,
	.participant-card__instruments {
		grid-column: auto;
	grid-row: auto;
	justify-self: auto;
		/*
		grid-column: 1;
		*/
	}

	.participant-card__instruments {
		/*margin-top: 0.25rem;*/
	}

	.participant-card__instruments::before {
		display: none;
	}

	.participant-card__link {
		justify-self: start;
	}

}