.profile-info-container {
  background: #fff;
  border-radius: 0 0 12px 12px;
  padding: 20px;
  display: flex;
}

.profile-info-container .profile-picture {
  width: 153px;
  min-width: 153px;
  height: 153px;
  min-height: 153px;
  background: #C28A24;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -100px;
  overflow: hidden;
}
.profile-info-container .profile-picture img{
  width: 90%;
  height: 90%;
  /* width: 140px;
  min-width: 140px;
  height: 140px;
  min-height: 140px; */
  border-radius: 50%;
  object-fit: cover;
}
.profile-info-container .profile-info {
  margin-left: 20px;
  width: 100%;
}
.profile-info-container .profile-info .profile-title-box {
  display: flex;
  justify-content: space-between;
}
.profile-info-container .profile-info .profile-title-box .profile-actions {
  display: flex;
  align-items: center;
}
.profile-info-container .profile-info .profile-title-box .profile-actions a {
  display: inline-block;
  margin-left: 10px;
  position: relative;
}
.profile-info-container .profile-info .profile-title-box .profile-actions a.message-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #C28A24;
  background: url('../icons/mail-icon.svg') center no-repeat;
}
.profile-info-container .profile-info .profile-title-box .profile-actions a.follow-button {
  text-align: center;
  color: #C28A24; /* couleur du texte et du SVG par défaut */
  padding: 5px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #C28A24;
  border-radius: 8px;
}

.profile-info-container .profile-info .profile-title-box .profile-actions a.follow-button::before {
  content: '';
  width: 24px;
  height: 24px;
  display: inline-block;
  background: url('../icons/user-add.svg') center no-repeat;
  background-size: contain;
  transition: filter 0.3s ease; /* Animation de changement de couleur */
}

.profile-info-container .profile-info .profile-title-box .profile-actions a.follow-button:hover {
  color: #fff; /* Couleur du texte en survol */
}

.profile-info-container .profile-info .profile-title-box .profile-actions a.follow-button:hover::before {
  filter: brightness(0) invert(1) saturate(100%) contrast(100%) hue-rotate(0deg);
}


.profile-info-container .profile-info .profile-title-box .profile-actions a.edit-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 30px;
  background: url('../icons/icon-edit.svg') center no-repeat;
}

.profile-info-container .profile-info .profile-title-box .profile-actions .edit-button,
.profile-info-container .profile-info .profile-title-box .profile-actions .message-button {
  font-size: 0;
}
.profile-info-container .profile-info .profile-title-box .profile-actions .edit-button svg,
.profile-info-container .profile-info .profile-title-box .profile-actions .message-button svg,
.profile-info-container .profile-info .profile-title-box .profile-actions .follow-button svg {
  display: none;
}

.profile-info-container .profile-info h1 {
  padding: 0;
  margin: 0;
  font-size: 24px;
  color: #000;
}
.profile-info-container .profile-info .info-terrain {
  margin-top: 40px;
  color: #62615E;
}

.profile-tabs {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.profile-tabs ul {
  margin: 0;
  padding: 0;
  display: flex;
}

.profile-tabs ul li {
  list-style: none;
  margin-right: 30px;
}

.profile-tabs ul li a {
  position: relative;
  display: inline-block;
  transition: .3s all ease-in-out;
}
.profile-tabs ul li a:hover:after,
.profile-tabs ul li.active a:after {
  display: block;
}
.profile-tabs ul li a:after {
  content: '';
  width: 100%;
  height: 4px;
  background: #C28A24;
  position: absolute;
  bottom: -20px;
  left: 0;
  transition: .3s all ease-in-out;
  display: none;
}

.profile-content .wrap-team,
.profile-content .wrap-palmares,
.profile-content .wrap-about,
.profile-content .wrap-organisation,
.profile-content .wrap-publication,
.profile-content .wrap-club {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.profile-content .wrap-team h3,
.profile-content .wrap-palmares h2,
.profile-content .wrap-about h3,
.profile-content .wrap-organisation h2,
.profile-content .wrap-publication h2,
.profile-content .wrap-club h3,
.profile-content .wrap-club h2 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.profile-content .wrap-team .team-content .view-profil-club .views-field-field-equipe ul  {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: start;
}
.profile-content .wrap-team .team-content .view-profil-club .views-field-field-equipe ul li {
  width: calc( (100% / 3) - 20px);
  list-style: none;
  border-radius: 12px;
  position: relative;
  height: 167px;
  overflow: hidden;
  color: #fff;
  margin-right: 20px;
}
.profile-content .wrap-team .team-content .view-profil-club .views-field-field-equipe ul li .club-equipe-extra {
  position: absolute;
  bottom: 0;
}
.club-equipe-extra-desc {
  display: none;
}
.profile-content .wrap-team .team-content .view-profil-club .views-field-field-equipe ul li img {
  width: 100%;
  height: 167px;
  object-fit: cover;
}

.profile-content .wrap-palmares .slick-slider {
  padding: 0;
}

.profile-content .wrap-palmares .slick-track li {
  border: 1px solid #EDD2A3;
  border-radius: 8px;
  padding: 20px;
  height: 140px;

}
.profile-content .wrap-palmares .slick-list.draggable {
  padding-left: 40px;
}

.profile-content .wrap-palmares .slick-track li .user-palmares-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #A19E9A;
}
.profile-content .wrap-organisation,
.profile-content .wrap-publication {
  padding: 20px 0 20px 20px !important;
}
.profile-content .wrap-organisation .section-header,
.profile-content .wrap-publication .section-header  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 20px;
}

.profile-content .wrap-organisation .section-header a,
.profile-content .wrap-publication .section-header a {
  font-size: 15px;
  color: #C28A24;
  font-weight: 700;
}
.profile-content .wrap-organisation .view-profil-club .field-content,
.profile-content .wrap-publication .view-profil-club .field-content,
.profile-content .wrap-organisation .view-profil-professionnel .field-content {
  display: flex;
  flex-wrap: nowrap; /* important : ne pas retourner à la ligne */
  overflow-x: auto;   /* permet le scroll horizontal */
  scroll-behavior: smooth; /* optionnel : pour un scroll fluide */
  gap: 10px; /* pour gérer l'espacement entre les blocs */
  padding-bottom: 10px; /* pour ne pas couper l'ombre ou bordure en bas */
}

.profile-content .wrap-organisation .view-profil-club .field-content .paragraph--type--portfolio,
.profile-content .wrap-publication .view-profil-club .field-content .paragraph--type--portfolio,
.profile-content .wrap-organisation .view-profil-professionnel .field-content .paragraph--type--portfolio {
  flex: 0 0 calc(100% / 2.5); /* important : largeur fixe à 2.5 blocs visibles */
  min-width: calc(100% / 2.5); /* s’assurer que le bloc ne se réduise pas */
  box-sizing: border-box;
}

.profile-content .wrap-organisation .view-profil-club .field-content .paragraph--type--portfolio img,
.profile-content .wrap-publication .view-profil-club .field-content .paragraph--type--portfolio img,
.profile-content .wrap-organisation .view-profil-professionnel .field-content .paragraph--type--portfolio img {
  width: 100%;
  height: 184px;
  object-fit: cover;
  border-radius: 8px;
}

/* .profile-content .wrap-organisation .view-profil-professionnel .field-content .paragraph--type--portfolio .field--items .field--item {} */

/* .profile-content .wrap-events .paragraph--type--evenement {
  display: flex;
} */

.profile-content .wrap-events .events-items {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}
.profile-content .wrap-events .events-items .event-photo {
  width: 35%;
}
.profile-content .wrap-events .events-items .event-details {
  width: 75%;
}
.profile-content .wrap-events .events-items .event-photo img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.profile-content .wrap-events .events-items .event-date,
.profile-content .wrap-events .events-items .event-location {
  font-size: 14px;
  color: #181A1D;
  display: block;
}
.profile-content .wrap-events .events-items .event-date {
  margin-bottom: 10px;
}
.profile-content .wrap-events .events-items .event-location {
  position: relative;
  top: -10px;
}

.profile-content .wrap-ressources .slick-track {
  padding: 0 !important;
  margin: 0 !important;
}

.profile-content .wrap-ressources .slick-track .slick-slide  {
  background: #E9E7E2;
  padding: 20px;
  border-radius: 10px;
  height: 230px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.profile-content .wrap-ressources .slick-track .slick-slide .field--name-field-picture {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}
.profile-content .wrap-ressources .slick-track .slick-slide .field--name-field-nom-complet-professionnel a {
  color: #181A1D;
  font-weight: 700 !important;
  line-height: 1.2;
}
.profile-content .wrap-ressources .slick-track .slick-slide .field--name-field-sec-activites-acc,
.profile-content .wrap-ressources .slick-track .slick-slide .field--name-field-sec-activites-fac {
  color: #62615E;
  font-size: 13px;
  line-height: 1;
}

/* Maitre de jeux */
.detail-user .player-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* espace entre les blocs */
  margin-top: 30px;
}

.detail-user .player-stats .stat-item span {
  font-size: 14px;
  line-height: 1.0;
  display: inline-block;
}
.detail-user .player-stats .stat-item span.stat-value {
  font-weight: 700;
}
.detail-user .player-stats .stat-item span.stat-label {
  color: #62615E;
}

.detail-user .player-stats .stat-item {
  display: flex;
  align-items: start; /* Centre verticalement */
  gap: 8px; /* Petit espace entre le label et la valeur */
  margin-right: 20px;
}
.stat-label,
.stat-value {
  flex: none; /* Important pour que les spans prennent juste la taille de leur contenu */
}


.wrap-club .edit-section {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 30px;
  background: url(../icons/icon-edit.svg) center no-repeat;
}

.wrap-club .title-edit {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.view-profil-footballeur, .view-profil-professionnel {
  padding-top: 0 !important;
}

.wrap-club .field--name-field-nom-du-club {
  font-size: 18px;
  color: #000;
  font-weight: 700;
}

.profile-content .section-content .empty-section {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.profile-content .section-content .empty-section .empty-icon {
  width: 167px;
  height: 110px;
  background: url('../icons/icon-empty.svg') center no-repeat;
  background-size: contain;
}


/* Facilitateur */
.profile-content .wrap-experience .views-field-field-experience-professionnelle ul {
  margin: 0;
  padding: 0;
}
.profile-content .wrap-experience .views-field-field-experience-professionnelle ul li {
  list-style: none;
  border: 1px solid #D7D5D0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
}

.profile-content .wrap-experience .views-field-field-experience-professionnelle ul li .experience-pro-joueur {
  
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  /* display: flex;
  align-items: center;
  justify-content: space-between; */
  
  /* flex-direction: row-reverse;
  flex-wrap: wrap; */
}

.experience-pro-joueur-extra {
  order: 1;
}
.experience-pro-joueur-date,
.experience-pro-joueur-extra-desc,
.experience-pro-joueur-extra-categ {
  padding-left: 70px !important;
}
.experience-pro-joueur-extra-desc p {
  padding: 0;
  margin: 0;
}
/* .experience-pro-joueur > :nth-child(1),
.experience-pro-joueur > :nth-child(2) {
  flex: 1 1 auto; 
}
.experience-pro-joueur > :nth-child(2) {
  text-align: right;
  
} */
/* .experience-pro-joueur-date {
  justify-content: end !important;
} */
/* Le 3e enfant (description) prend toute la ligne */
/* .experience-pro-joueur > :nth-child(3) {
  flex: 0 0 100%;
  padding-left: 70px;
} */

.profile-content .wrap-experience .views-field-field-experience-professionnelle ul li .experience-pro-joueur-extra-image .field--name-field-photo .field--item {
  height: 47px;
  width: 47px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}
.profile-content .wrap-experience .views-field-field-experience-professionnelle ul li .experience-pro-joueur-extra-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.profile-content .wrap-experience .views-field-field-experience-professionnelle ul li .experience-pro-joueur-date {
  padding: 0;
  margin: 0;
}

.profile-content .wrap-experience .experience-pro-joueur .experience-pro-joueur-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 0.5rem;
}
.experience-pro-joueur-extra > :nth-child(1) {
  order: 1;
  flex: 0 0 auto; /* Laisse sa taille naturelle */
}
.experience-pro-joueur-extra > :nth-child(2) {
  order: 2;
  flex: 1 1 auto;
}
/* Troisième bloc : catégorie (doit passer en dessous du club) */
.experience-pro-joueur-extra > :nth-child(3) {
  order: 3;
  width: 100%;
  margin-top: 0.25rem; /* Réduit l'espace au-dessus */
  margin-top: -30px;
  color: #62615E;
  font-size: 14px;
}
.experience-pro-joueur-date .field--name-field-date-de-debut,
.experience-pro-joueur-date .field--name-field-date-de-fin {
  color: #62615E !important;
  font-size: 14px !important;
}

.profile-content .wrap-experience .experience-pro-joueur .experience-pro-joueur-extra .field--name-field-nom-du-club {
  color: #181A1D !important;
  font-size: 16px;
}


.profile-content .wrap-experience .views-field-field-experience-professionnelle ul li .experience-pro-joueur-extra-desc .field--name-field-missions {
  padding: 0 !important;
  color: #62615E;
  font-size: 14px;
}
.profile-content .wrap-formation .views-field-field-formation .field-content .paragraph--type--formation {
  display: flex;
  flex-direction: column-reverse;
}
.profile-content .wrap-formation .views-field-field-formation .field-content .paragraph--type--formation .field--name-field-diplome {
  font-weight: 700;
}
.profile-content .wrap-formation .views-field-field-formation .field-content .paragraph--type--formation .field--type-yearonly,
.profile-content .wrap-formation .views-field-field-formation .field-content .paragraph--type--formation .field--name-field-titre-diplome {
  color: #62615E;
  font-size: 14px;
}
.profile-content .wrap-formation .views-field-field-formation .paragraph--type--formation {
  border: 1px solid #D7D5D0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
}

.user-profil .layout--with-complementary {
  margin-top: 20px;
}

.user-profil .main-container {
  padding: 160px 0;
}

.user-profil .main-container #hero {
  display: none;
}

.user-profil .main-container #hero {
  background-color: white;
  padding: 24px;
  border-radius: 12px;
}

.user-profil .main-container #hero .profile--type--profile {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  font-weight: 700;
  gap: 8px;
}

.user-profil .stream-content .layout__region--content {
  margin-bottom: 20px;
  grid-template-columns: 1fr;
}

.user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-experience-pro img {
  width: 100px;
  height: 100px;
  border-radius: 100px;
  object-fit: cover;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom article .layout--onecol:first-child {
  margin-bottom: 20px;
  display: grid;
  gap: 20px;
  background-color: white;
  border-radius: 12px;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom article .layout--onecol:nth-child(2) .layout__region--content {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  background-color: white;
  border-radius: 12px;
  padding: 24px;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom article .layout--onecol:first-child .layout__region--content {
  grid-template-columns: 1fr;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom article .layout--onecol:first-child .layout__region--content img {
  aspect-ratio: 16/6;
  object-fit: cover;
  width: 100%;
  /*max-width: 784px;*/
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom article .layout--onecol:first-child .layout__region--content .field--name-field-photo-couverture img {
  border-radius: 16px;
  height: 220px;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom .layout__region--content .block-field-blockuseruserfield-a-propos .field--label {
  display: block;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom .layout__region--content .block-field-blockuseruserfield-a-propos,
.user-profil .stream-content #block-socialbase-content .grid-container-custom .layout__region--content .block-views {
  display: grid;
  gap: 20px;
  background-color: white;
  padding: 24px;
  border-radius: 12px;
}

.user-profil.user-logged-in .stream-content #block-socialbase-content .grid-container-custom .block-social-private-message {
  text-align: right;
}

.user-profil.user-logged-in .stream-content #block-socialbase-content .grid-container-custom .block-social-private-message .btn,
.user-profil.user-logged-in .stream-content #block-socialbase-content .grid-container-custom .user-info-wrapper .btn {
  grid-column: 1/2;
  display: inline-block;
  text-align: center;
  background-color: var(--m-color-v4);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
}

.user-profil.user-logged-in .stream-content #block-socialbase-content .grid-container-custom .dropdown-toggle {
  padding: 8px;
  background: transparent;
  border: 1px solid var(--m-color);
}

.user-profil.user-logged-in .stream-content #block-socialbase-content .block-extra-field-blockuseruserflag-following .grid-container-custom .btn {
  background-color: transparent;
  border: 1px solid black;
  border-radius: 50px;
}
.user-profil.user-logged-in .stream-content #block-socialbase-content .block-extra-field-blockuseruserflag-following .grid-container-custom .btn:hover {
  background-color: var(--m-color);
  color: white;
  border: none;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom .action-unflag {
  color: red;
  background-color: white;
  border: 1px solid red
}

.user-profil .user-form .help-block {
  display: none;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom .field--name-field-nom-complet-professionnel {
  margin-bottom: 4px;
}

.user-profil .stream-content #block-socialbase-content  .block-field-blockuseruserfield-poste .grid-container-custom .field {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0;
  background-color: white;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom .button {
  border: 1px solid var(--black);
  border-radius: 8px;
  margin: 4px 0;
}

.user-profil .stream-content #block-socialbase-content .user-info-wrapper .block-field-blockuseruserfield-poste .grid-container-custom .field {
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom .field--name-field-picture  img {
  width: 150px !important;
  height: 150px;
  border-radius: 150px;
  object-fit: contain !important;
  aspect-ratio: unset;
}
.user-profil .stream-content #block-socialbase-content .grid-container-custom #user-form .field--name-field-picture img {
  width: unset !important;
  height: unset !important;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom .block-field-blockuseruserfield-nom-club {
  font-weight: 700;
}

.user-profil #palmares .layout__region--content {
  grid-template-columns: 1fr;
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom .field .field--label {
  color: var(--gray)
}

.user-profil .stream-content #block-socialbase-content .grid-container-custom .field .field--item {
  font-weight: 600;
  /* display: none; */
}

.user-profil .grid-container-custom .view-id-inbox .view-header {
  display: flex;
  justify-content: flex-end;
  margin: 14px 0 24px;
  /* border: 1px solid var(--m-color-v4); */
  border-radius: 8px;
  /* padding: 6px; */
  /* background-color: white; */
}

.user-profil .grid-container-custom .view-id-inbox .card__block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: white;
  border-radius: 8px;
  margin-top: 24px;
  text-align: center;
}

.user-profil .grid-container-custom .view-id-inbox .unread-thread .card__block {
  background-color: transparent;
}

.user-profil .grid-container-custom .view-header a {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 8px;
  background-color: var(--m-color-v4);
  font-weight: 600;
}

.user-profil .block-views-blocktemoignages-block-temoignages .grid-container-custom {
  /*max-width: calc(360px - 2rem);*/
  margin: auto;
  text-align: center;
}


.user-profil .block-views-blocktemoignages-block-temoignages {
  width: 100%;
  position: unset;
  left: unset;
  right: unset;
  margin-left: unset;
  margin-right: unset;
  padding: 80px 0;
  text-align: unset;
}

.user-profil .block-views-blocktemoignages-block-temoignages .grid-container-custom {
  /* min-width: 600px !important; */
}

.user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club .view-id-profil_club {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club .view-id-profil_club ul {
  list-style: none;
}

.user-profil .stream-content .layout__region--content .block-views .slick-slide  {
  border: 1px solid var(--m-color-v4);
  border-radius: 8px;
  padding: 12px;
}

.user-profil .stream-content .layout__region--content .block-views ul {
  padding-left: 0;
}

.user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club,
.user-profil .stream-content .layout__region--content .block-field-blockuseruserfield-a-propos,
.user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-equipe-club,
.user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-club-actuel,
.user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-experience-pro,
.user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-bio,
.user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-portfolio {
  grid-column: 1/2
}

.block-views-blockprofil-footballeur-block-portfolio .views-field-field-portfolio ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(410px, 1fr));
  gap: 20px
}

.user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club .views-view-responsive-grid--horizontal {
  grid-template-columns: 1fr;
}

/* Modifier profil  */
.user-profil .user-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.user-profil .user-form::before {
  display: none;
}

.user-profil .user-form .field--type-entity-reference-revisions td {
  padding: 16px;
}

.user-profil .user-form .form-item .clearfix {
  color: transparent;
}

.user-profil .user-form .form-item .clearfix > * {
  color: transparent;
}

.user-profil .user-form .form-item .clearfix .paragraphs-dropbutton-wrapper {
  color: black;
}

.user-profil .user-form .field--type-entity-reference,
.user-profil .user-form .field--type-entity-reference-revisions,
.user-profil .user-form .field-group-fieldset,
.user-profil .user-form .field--type-image {
  background-color: white;
  padding: 16px;
  border-radius: 8px;
}

.user-profil .user-form #edit-actions .button {
  padding: 16px 24px !important;
}

.user-profil .user-form #edit-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 36px;
}

.user-profil .user-form #edit-actions #edit-delete {
  background-color: white !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  font-weight: 600;
}

.user-profil .user-form .button--danger {
  border: 1px solid red;
  background-color: white !important;
  color: red;
}

.video-embed-field-responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video-embed-field-responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.user-profil .field--type-datetime fieldset .card__title {
	margin-bottom: 0;
}

.user-profil .field--type-datetime fieldset .card__block {
	padding-bottom: 0;
}

.user-profil .field--type-datetime fieldset .card__block .form-inline {
  margin-bottom: 0;
  display: flex;
  gap: 3px;
}
.user-profil .field--type-datetime fieldset .card__block .form-inline .form-item  {
  min-width: 85px;
}


.user-profil .field--type-datetime fieldset .card__title span {
	display: inline-block;
  max-width: 100%;
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.user-profil[data-once='form-single-submit social_popover'] .user-form {
	gap: 16px;
	background-color: white;
	padding: 24px;
	border-radius: 16px;
}

.user-profil.user-logged-in .edit-button {
  /* position: absolute; */
  /* top: 30px; */
  /* right: 30px; */
  padding: 10px 20px;
  background-color: #cc9b45;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 16px;
  z-index: 200;
}
/*.user-profil.user-logged-in .edit-button::after {
  content: " Modifier mon profil"
}*/

.user-profil.user-logged-in .edit-button i {
  font-size: 16px;
}

/* Vidéo */
.user-profil .stream-content #block-socialbase-content .grid-container-custom .layout__region--content .block-views-blockvideo-de-presentation-block-video-presentation {
  grid-column: 1/4;
}

.user-profil fieldset .card__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 10px;
}

.user-profil #edit-field-date-de-naissance-wrapper {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
}

.user-profil #edit-field-date-de-naissance-wrapper .card__block {
  grid-template-columns: 1fr;
}

.user-profil #edit-field-date-de-naissance-wrapper .card__block .form-inline {
  grid-template-columns: 1fr 1fr 1fr;
}

.user-profil fieldset .card__block .field--name-field-autre-poste {
  grid-column: 1/3;
}

.user-profil fieldset legend span {
  border-radius: 40px;
  padding: 8px 16px;
  background-color: white;
  border: 1px solid var(--m-color-v4)
}

.user-profil #edit-social-auth {
  grid-column: 1/3;
}

fieldset tr th:first-child {
  border-radius: 12px 0 0 0;
}

.user-profil table .paragraphs-subform {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

/* .form-actions form-group js-form-wrapper form-wrapper {
} */

.user-profil #user-form #edit-field-video-de-presentation-wrapper .js-form-submit {
  margin-top: 10px;
}

.user-profil .user-form #edit-field-sec-activites-fac-wrapper .select-wrapper,
.user-profil .user-form #edit-field-type-sport-wrapper .select-wrapper {
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  margin-bottom: 8px;
  max-width: 100%;
}

.user-profil .user-form .field--type-entity-reference .js-form-type-cshs {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  align-items: flex-end;
  gap: 20px;
}

.user-profil .user-form .field--type-entity-reference .js-form-type-cshs .select-wrapper {
  margin-right: 0;
}

.user-profil .user-form .field--type-entity-reference .select-wrapper  select,
.user-profil .user-form #edit-field-role-wrapper .select-wrapper  select,
.user-profil .user-form #edit-field-sec-activites-fac-wrapper .select-wrapper  select,
.user-profil .user-form #edit-field-type-sport-wrapper .select-wrapper  select {
  height: 48px;
  border-radius: 8px;
  border: 1px solid #979692;
  padding-left: 8px;
  width: 100%;
}

.user-profil .user-form .field--type-entity-reference .select-wrapper--level-0  > label,
.user-profil .user-form #edit-field-sec-activites-fac-wrapper .select-wrapper--level-0  > label,
.user-profil .user-form #edit-field-type-sport-wrapper .select-wrapper--level-0  > label {
  /* display: none; */
}

.user-profil .user-form .field--type-entity-reference .control-label,
.user-profil .user-form #edit-field-role-wrapper .control-label,
.user-profil .user-form #edit-field-type-sport-wrapper .control-label {
  display: none;
}



.user-profil .user-form #edit-field-sec-activites-fac-wrapper select-wrapper--level-1 > label {
  display: unset;
}

.user-profil .user-form #edit-group-locale-settings > legend {
  display: none;
}

.user-profil .user-form #edit-field-type-sport-wrapper > legend {
  display: none;
}

.user-profil .user-form #edit-group-locale-settings  legend {
  margin-top: -37px;
  margin-bottom: 0;
}

.user-profil .user-form #edit-field-type-sport-wrapper {
  grid-column: 1/3;
}

.user-profil .user-form #edit-field-role-wrapper .form-item,
.user-profil .user-form #edit-field-type-sport-wrapper .form-item {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
}


.user-profil .user-form #edit-field-type-sport-wrapper .select-wrapper  {
  width: unset;
  padding: 0;
}


.user-profil .user-form #edit-field-type-sport-wrapper .select-wrapper  .select-wrapper--level-0::after {
  top: 48px;
}

#edit-group-locale-settings #edit-group-information  #edit-account {
  grid-column: 1/3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

#edit-group-locale-settings #edit-group-information #edit-account #edit-pass {
  grid-column: 1/3;
  display: grid;
  gap: 20px;
}

#edit-group-locale-settings #edit-group-information  #edit-account #edit-pass .form-item {
  max-width: 100%;
}

#edit-group-locale-settings #edit-group-information  #edit-account #edit-pass .password-strength,
#edit-group-locale-settings #edit-group-information  #edit-account #edit-pass #edit-pass--description {
  display: none;
}

#edit-group-locale-settings  #edit-group-locale-settings {

}

#edit-group-locale-settings #edit-group-locale-settings {

}

.user-profil .user-form #edit-field-picture-wrapper {
  /* border: 1px solid #eee; */
  margin-top: 20px;
  padding: 0;
}

.user-profil .user-form .file--image {
  display: none;
}
.user-profil .user-form #edit-field-photo-couverture-wrapper .image-widget-data > .form-type-textfield {
  display: none;
}

.user-profil .user-form #edit-field-picture-wrapper .preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.user-profil .layout--onecol .field--name-field-poste {
  /* background-color: white; */
  padding: 16px;
  border-radius: 8px;
}

.user-profil .layout--onecol .field--name-field-sec-activites-acc {
  background-color: white;
  padding: 16px;
  border-radius: 8px;
}

.user-profil .user-form #edit-field-role-wrapper .select-wrapper--level-0::after,
.user-profil .user-form #edit-field-sec-activites-fac-wrapper .select-wrapper--level-0::after,
.user-profil .user-form #edit-field-type-sport-wrapper .select-wrapper--level-0::after,
.user-profil .user-form #edit-field-sec-activites-fac-wrapper .select-wrapper--level-1::after,
.user-profil .user-form #edit-field-type-sport-wrapper .select-wrapper--level-1::after {
  right: 0 !important;
  top: 48px;
}

@media screen and (max-width: 768px) {

  .user-profil fieldset .card__block {
    grid-template-columns: 1fr;
  }

  .user-profil table .paragraphs-subform {
    grid-template-columns: 1fr;
  }

}
@media screen and (max-width: 768px) {

  .user-profil .main-container {
    padding: 104px 16px 16px 16px;
  }

}


@media screen and (min-width: 540px) and (max-width: 768px) {

  .user-profil .stream-content #block-socialbase-content .grid-container-custom,
  .user-profil .stream-content #block-socialbase-content .grid-container-custom .layout__region--content {
    grid-template-columns: repeat(2, 1fr);
  }

  .user-profil .stream-content #block-socialbase-content .grid-container-custom .btn {
    grid-column: 1/3;
  }

  .user-profil .stream-content .layout__region--content {
    grid-template-columns: 1fr 1fr;
  }

  .user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club .view-id-profil_club {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club .view-id-profil_club ul {
    list-style: none;
  }

  .user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club,
  .user-profil .stream-content .layout__region--content .block-field-blockuseruserfield-a-propos,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-equipe-club,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-club-actuel,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-experience-pro,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-bio,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-portfolio {
    grid-column: 1/3
  }

  .user-profil .block-views-blocktemoignages-block-temoignages .grid-container-custom {
    /*max-width: calc(700px - 2rem);*/
    margin: auto;
    text-align: center;
  }

}

@media screen and (min-width: 769px) {

  #edit-group-locale-settings #edit-group-information  #edit-account #edit-pass {
    grid-template-columns: 1fr 1fr;
  }

  .user-profil .user-form #edit-field-picture-wrapper {
    border: none;
    margin-top: 0;
    padding: 0;
    grid-column: 2/3;
  }

  .user-profil .stream-content #block-socialbase-content .grid-container-custom article,
  .user-profil .stream-content #block-socialbase-content .grid-container-custom .layout__region--content {
    grid-template-columns: repeat(3, 1fr);
  }

  .user-profil .stream-content #block-socialbase-content .grid-container-custom .btn,
  .user-profil .stream-content #block-socialbase-content .grid-container-custom article .layout--onecol {
    grid-column: 1/4;
  }

  .user-profil .layout--with-complementary .stream-content {
    margin-left: 20px;
  }

  .user-profil .stream-content .layout__region--content {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club .view-id-profil_club {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club .view-id-profil_club ul {
    list-style: none;
  }

  .user-profil .block-field-blockuseruserfield-picture {
    grid-column: 1/2;
  }

  .user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-portfolio-club,
  .user-profil .stream-content .layout__region--content .block-field-blockuseruserfield-a-propos,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-club-block-equipe-club,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-club-actuel,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-experience-pro,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-bio,
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-portfolio {
    grid-column: 1/4
  }
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-experience-pro .field-content ul li {
    margin-bottom: 24px;
  }

  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-bio .layout__region--first {
    margin-bottom: 24px;
  }
  .user-profil .stream-content .layout__region--content .block-views-blockprofil-footballeur-block-bio .layout__region--second {
    padding-left: 20px;
  }

  .user-profil #palmares .layout__region--content {
    grid-template-columns: 1fr !important;
    gap: 60px;
  }

  .user-profil .block-views-blocktemoignages-block-temoignages .grid-container-custom {
    max-width: calc(820px - 2rem);
    margin: auto;
    text-align: center;
  }

  .user-profil .user-form {
    grid-template-columns: 1fr 1fr;
  }

  .user-profil .user-form #edit-group-locale-settings {
    order: 1;
  }

  .user-profil .user-form > * {
    order: 2;
  }

  .user-profil .user-form #edit-actions,
  .user-profil .user-form .field-group-fieldset,
  .user-profil .user-form .field--type-image,
  .user-profil .user-form .field--type-entity-reference,
  .user-profil .user-form .field--type-entity-reference-revisions {
    grid-column: 1/3;
    order: 3;
  }

  .user-profil .user-form #edit-field-picture-wrapper {
    grid-column: 1/2;
  }

  .user-profil .user-form #edit-field-photo-couverture-wrapper {
    grid-column: 2/3;
  }

}


@media screen and (max-width: 700px) {
  .user-profil #cover .layout__region--content .user-info-wrapper {
    margin-top: 16px;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
	}
  .user-profil #cover .layout__region--content .user-info-wrapper .field {
    margin-bottom: 8px;
  }

	.user-profil #cover .layout__region--content {
    padding: 24px !important;
	}

	.user-profil .block-extra-field-blockuseruserflag-following {
    float: unset;

	}

  .user-profil.user-logged-in .stream-content #block-socialbase-content .grid-container-custom .block-social-private-message {
    text-align: center;
  }
}

@media screen and (min-width: 460px) and (max-width: 700px) {

	.user-profil .block-extra-field-blockuseruserflag-following {
		margin: 20px 0;
	}

}

@media screen and (max-width: 460px) {
  .profile-content .wrap-events .events-items,
  .profile-content .wrap-organisation .view-profil-club .field-content, .profile-content .wrap-publication .view-profil-club .field-content, .profile-content .wrap-organisation .view-profil-professionnel .field-content {
    display: block;
  }
  .profile-content .wrap-events .events-items .event-photo,
  .profile-content .wrap-events .events-items .event-details {
    width: 100%;
  }
  .profile-content .wrap-events .events-items .event-photo {
    margin-bottom: 20px;
  }
  .profile-content .wrap-organisation .view-profil-club .field-content .paragraph--type--portfolio, .profile-content .wrap-publication .view-profil-club .field-content .paragraph--type--portfolio, .profile-content .wrap-organisation .view-profil-professionnel .field-content .paragraph--type--portfolio {
    width: 100%;
  }
  .user-profil .stream-content > div {
    height: auto !important;
  }
  .profile-info-container .profile-picture {
    width: 80px;
    min-width: 80px;
    height: 80px;
    min-height: 80px;
    top: -60px;
  }
  .profile-tabs ul {
    overflow-x: auto;
    white-space: nowrap;
  }
  .profile-tabs ul li {
    flex: 0 0 auto;
    margin-right: 20px;
  }
  .profile-tabs ul li a {
    display: block;
    padding: 10px 5px;
  }
  .profile-tabs ul::-webkit-scrollbar {
    display: none;
  }

  .profile-content .wrap-team .team-content .view-profil-club .views-field-field-equipe ul,
  .profile-content .wrap-organisation .view-profil-club .field-content, .profile-content .wrap-publication .view-profil-club .field-content {
    display: block;
  }
  .profile-content .wrap-organisation .view-profil-club .field-content .paragraph--type--portfolio, .profile-content .wrap-publication .view-profil-club .field-content .paragraph--type--portfolio {
    margin-bottom: 20px;
    width: 100%;
  }
  .profile-content .wrap-organisation, .profile-content .wrap-publication {
    padding: 20px !important;
  }
  .profile-content .wrap-team .team-content .view-profil-club .views-field-field-equipe ul li {
    width: 100%;
    margin-bottom: 20px;
  }
  .user-profil .block-extra-field-blockuseruserflag-following {
    /* padding: 12px 0; */
    text-align: center;
  }

  .user-profil .block-extra-field-blockuseruserflag-following .btn  {
    margin: 48px 0 0 0;
  }

  .user-profil #cover .layout__region--content .user-info-wrapper {
    margin-top: 0;
  }

  .user-profil .block-field-blockuseruserfield-picture {
    top: 27%;
    left: calc(50% - 75px);
	}
  .user-profil .block-extra-field-blockuseruserflag-following {
    padding-top: 0;
  }

}

@media screen and (min-width: 768px) and (max-width: 900px) {
  .user-profil .block-field-blockuseruserfield-picture {
    /* top: 27%; */
    /* left: calc(50% - 75px); */
	}

  .user-profil #cover .layout__region--content .user-info-wrapper {
    left: 170px;
  }
}

@media screen and (min-width: 460px) and (max-width: 700px) {

  .user-profil .block-extra-field-blockuseruserflag-following {
    /* position: absolute; */
    /* right: 24px; */
    /* top: 250px */
  }
  .user-profil .block-field-blockuseruserfield-picture {
    top: 27%;
    left: calc(50% - 75px);
	}
  .user-profil .block-extra-field-blockuseruserflag-following {
    padding: 12px 0;
    margin: 48px 0 0 0;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {

  .path-demandes .stream-content {
    width: 100%;
  }

}

@media screen and (max-width: 600px) {

  .user-profil[data-once='form-single-submit social_popover'] .user-form .form-wrapper {
    padding: 0;
  }
  .user-profil[data-once='form-single-submit social_popover'] .user-form .form-wrapper .form-item {
    margin-top: 16px;
  }

  .user-profil[data-once='form-single-submit social_popover'] .user-form > .form-wrapper {
    padding: 0 16px;
  }

  .user-profil[data-once='form-single-submit social_popover'] .user-form {
    padding: 0;
  }

  #edit-group-locale-settings #edit-group-information  #edit-account {
    grid-template-columns: 1fr;
  }

  #edit-group-locale-settings #edit-group-information  #edit-account > * {
    grid-column: 1/3;
  }

}

@media screen and (min-width: 1200px) {

  /* .user-profil .main-container #hero {
    margin-top: 96px;
  } */

  .user-profil #content {
    margin-top: 60px !important;
  }

}

@media  screen and (max-width: 600px)  {

  .user-profil table .paragraphs-subform {
    grid-template-columns: 1fr;
  }

  .user-profil.user-logged-in .edit-button {
    /* display: block; */
    /* margin-bottom: 20px; */
    /* position: unset; */
  }

}

@media  screen and (max-width: 768px)  {

  .user-profil #user-form {
    display: unset;
  }

  .user-profil #user-form fieldset,
  .user-profil #user-form #edit-field-type-sport-wrapper,
  .user-profil #user-form > .field--type-string,
  .user-profil #user-form .field--name-field-poste,
  .user-profil #user-form #edit-field-picture-wrapper,
  .user-profil #user-form .field--type-entity-reference-revisions,
  .user-profil #user-form .field--type-entity-reference {
    margin: 16px 0;
    grid-column: 1/3;
  }

  .user-profil #user-form #edit-field-video-de-presentation-wrapper {
    margin-top: 16px;
  }


	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	/* tr { border: 1px solid #ccc; } */

	td {
		/* Behave  like a "row" */
		border: none;
		/* border-bottom: 1px solid #eee;  */
		position: relative;
		padding-left: 50%;
	}

	td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}

}
