.xlib-module-mask_profils ul{
  display: flex;
  gap: 20px;
  flex-direction: column;
}

@media only screen and (min-width: 600px) {
  .xlib-module-mask_profils ul{
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media only screen and (min-width: 600px) {
  .xlib-module-mask_profils ul li{
    width: calc(50% - 20px);
  }
}

@media only screen and (min-width: 1100px) {
  .xlib-module-mask_profils ul li{
    width: calc(25% - 20px);
  }
}

.xlib-module-mask_profils ul li a{
  display: flex;
  flex-direction: column;
  position: relative;
    color: #FFFFFF;
    overflow: hidden;
}

.xlib-module-mask_profils ul li a::after{
  content: '';
  width: 32px;
  height: 32px;
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 10px;

  background-color: currentColor;
  mask-image: url(../Icons/fleche.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url(../Icons/fleche.svg);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  transition: all .2s ease;
}

.xlib-module-mask_profils ul li a:hover::after{
  width: 40px;
  height: 40px;
}

.xlib-module-mask_profils .profil-cover{
  height: 260px;
  overflow: hidden;
}

.xlib-module-mask_profils .profil-cover img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: all .2s ease;
}

.xlib-module-mask_profils ul li a:hover img{
  transform: scale(1.1);
}

.xlib-module-mask_profils ul li .profil-nom{
  text-transform: uppercase;
  font-size: 22px;
  color: var(--bleu);
  text-align: center;
  padding-bottom: 5px;
  font-weight: 600;
  background: #FFFFFF;

}

.xlib-module-mask_profils ul li:nth-child(even){
  background: var(--bleu);
}

.xlib-module-mask_profils ul li:nth-child(odd){
  background: var(--rouge);
}


.xlib-module-mask_profils .profil-content{
  padding: var(--padding) var(--padding) calc(var(--padding) + 20px) var(--padding);
}

.xlib-module-mask_profils .profil-content h3{
  font-size: 1.25rem;
font-size: clamp(1.25rem, 1.0625rem + 0.9375vw, 2.1875rem);
  color: #FFFFFF;
  font-style: italic;
  text-transform: uppercase;
  font-weight: bolder;
}

.xlib-module-mask_profils .profil-content p{
  margin-top: 5px;
  color: #FFFFFF;
  font-size: 1.25rem;
font-size: clamp(1.25rem, 1.1875rem + 0.3125vw, 1.5625rem);
}
