/* http://meyerweb.com/eric/tools/css/reset/ 
  v2.0 | 20110126
  License: none (public domain)
*/

/* Styles globaux pour grands écrans */

.carousel-container {
  max-width: 95%;
  overflow: hidden;
  margin-right: 0;
  margin-left: 2%;
}

/* Images des membres du jury */


/* JURY */

.jury-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 250px;
  margin: 0 auto;
  padding: 10px;
}

.jury-photo-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

/* Cercle orange coupé */
.jury-photo-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 9px solid #f77129;
  border-radius: 50%;
  clip-path: inset(0 0 20px 0); /* Ajuste la "morsure" en bas */
  box-sizing: border-box;
  z-index: 2;
}

/* Cache le bas de l’image (effet “mordu”) */
.jury-photo-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25px; /* même que clip-path */
  background-color: #f9f5f0; /* couleur de fond */
  z-index: 3;
}

/* L’image à l’intérieur */
.jury-image {
  width: 99%;
  height: 99%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  z-index: 1;
  position: relative;
  margin: auto; /* recentre l’image si elle est plus petite */
}

.jury-info {
  text-align: center;
  margin-top: -15px; /* remonte l’élément */
  position: relative;
  z-index: 4; /* passe au-dessus du ::after */
}

.jury-nom {
  font-size: 1.35rem; /* agrandi */
  font-weight: 700;
  color: #2563eb !important;
  line-height: 1.2;
  white-space: nowrap; /* empêche les sauts de ligne */
  overflow: hidden;     /* si ça dépasse, cache */
  text-overflow: ellipsis; /* ajoute des ... si besoin */
}

.jury-fonction {
  font-size: 0.9rem; /* légèrement agrandi */
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FIN JURY */

/* RESPONSIVE DESIGN, MEDIA QUERIES */

/* Styles spécifiques pour les écrans en dessous de 689px */


/* ****************************** MEDIA QUERIES ****************************** */

/* ****************************** AUTRE VERSION ****************************** */

/* ****************************** FIN MEDIA QUERIES ****************************** */