/* Template Single cre */

:root {
    --color-main: #ddb05c; /* jaune */
    --color-second: #695DDE; /* violet */
    --color-dark: #17181B; /* noir clair */
    --color-light: #404040; /* gris foncé */
    --black: black;
    --color-txt: white;
    --pink : #FF277F;
    --blue : #07ACED;


    --main-font:"Raleway", sans-serif;
    --second-font:"Nobel Uno", sans-serif;

    --color-post-1 : #d64e36; /* rouge */
    --color-post-2 : #b460e1; /* violet */
    --color-post-3 : #63bbed; /* bleu */
    --color-post-4 : #ffb25f; /* orange */
    --color-post-5
}


/* GESTION DES ICONE CPT **/

#adminmenu div.wp-menu-image
.single .container, .archive .container{
  max-width: 1140px;
  margin: 0 auto;
}

 #adminmenu div.wp-menu-image img {
    width: 100%!important;
    height: 100%!important;
    object-fit: contain;
    padding: 0px !important;
}

.single-block {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 0 30px;
  display: flex;
  align-items: start;
  justify-content: space-around;
  gap:4em;
}

.single-block .col--right{ flex: 2;}
.single-block .col--left{ flex: 1;}

.single-block_img {max-width: 350px;}

.single-block_infos .flex {
  display: flex;
  gap: 2em;
  align-items: center;
  justify-content: flex-start;
  background: var(--color-dark);
  padding: 1em 1em 1em 1em;
  border-style: solid;
  border-width: 0px 0px 0px 1px;
  border-color: var(--color-main);
}

.single-block_infos .flex.flex--column{
 flex-direction: column;
 align-items: flex-start;
}

.single-block_info p i{margin-right:5px; color:  var(--color-main); }
.single-block_info p {
  margin: 0;
  display: inline-block;
  font-family: var(--second-font);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

.single-block_info p a {
  color: white;
  text-decoration: underline;
  position: relative;
  font-family: var(--second-font);
}

.single-block_follow a.follow-link {
  z-index: 2;
  font-size: 20px;
  background: var(--color-main);
  color:black;
  padding: 12px;
  border-radius: 100%;
  display: inline-block;
  font-size: 20px;
  line-height: 0;
  color: black ;
  position: relative;
  transition: 0.5s;
  margin-left: 15px;
  transition: 0.5s;
  z-index: 9999;
}

a.follow-link:hover{
  background: var(--color-dark);
  color: var(--main-color);
}

.single-block_info:not(.flex--column) p:not(:last-child)::after{
  content: "";
  border-color: white;
  width: auto;
  left: auto;
  right: calc(-30px / 2);
  position: relative;
  height: 100%;
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
  border-left-width: 1px;
  border-style: solid;
  border-color: white;
}

.single-block_affiliated {
  max-height: 300px;
  overflow: auto;
  padding: 1em 1em;
}

.single-block_affiliated::-webkit-scrollbar {
    width: 3px; /* Largeur de la scrollbar */
}

/* Style de la piste de défilement */
.single-block_affiliated::-webkit-scrollbar-track {
    background: #f0f0f0; /* Couleur de fond de la piste */
    border-radius: 5px;
}

/* Style de la poignée de défilement */
.single-block_affiliated::-webkit-scrollbar-thumb {
    background: var(--color-main); /* Couleur de la poignée */
    border-radius: 5px;
}

/* Changement de couleur au survol */
.single-block_affiliated::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.single-block_affiliated ul{padding: 0;}
.single-block_affiliated li {
  color:white;
  font-family: var(--second-font);
  display: flex;
  gap:10px;
  align-items: center;
  padding: 0;
  padding: 14px 0;
}

.single-block_affiliated li:not(:last-child){ border-bottom: 1px solid rgba(255,255,255,0.4);}

.single-block_affiliated li i{ color:var(--color-main); transition: 0.5s;}

.single-block_affiliated li a{ color:white;}


.affiliated-creators li{ justify-content: space-between;  font-weight: 600;}
.affiliated-creators li a {
  color: var(--color-main);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 8px;
  line-height: 1.5;
 }

 .affiliated-creators li a:hover i {
   transform:translateX(6px);
  }



/***** GESTION TITRE ****/

.title_line {
  font-weight:  600!important;
  font-size: 24px!important;
  color:var(--color-main);
  text-transform: uppercase !important;
  text-align: center;
  margin: 50px 0;
}

  /* Gestion des grid */

.match-item {  flex: 1; }


    /* EVENEMENTS ACCUEIL */
    .event-grid{
      display: flex;
      gap: 20px;
      width: 100%;
      justify-content: center;
      align-items: stretch;
    }
    .bloc-event {  background: rgba(93, 91, 87, 27%);}
    .event-grid .event-info {width: 50%;}
    .event-info--courant .bloc-date_title h4{color: white!important;}
    .event-info--courant .bloc-event {border-top: 3px solid white;}
    .event-info--prochain .bloc-event {border-top: 3px solid var(--color-main);}

    .bloc-event_img {
      max-height: 200px;
      overflow: hidden;
      height: 200px;
    }

    .bloc-event_img img {
      object-fit: cover;
      height: 100% !important;
      width: 100%;
      object-position: bottom;
    }
    .bloc-event_content {
      padding: 1em 1em;
      padding-bottom: 0;
      text-align: center;
      line-height: 1em;
    }

    .bloc-event_title span {
      color: var(--color-main);
      font-family: var(--second-font)!important;
      font-weight: 800;
      margin: 10px 0;
      display: inline-block;
      position: relative;
    }

    .bloc-event_rebour {
      color: var(--color-main);
      font-family: var(--main-font);
      font-size: 12px;
      font-weight: 800;
      margin-top: 24px;
    }

    .event-info--courant .bloc-event_title{ color:white;}
    .bloc-event_date p{
      color: var(--color-main);
      font-family: var(--second-font)!important;
      font-size: 14px;
      font-weight: 800;
    }
    .bloc-event_date i{color:var(--color-main); }

    .bloc-event_time .countdown > span:last-child{display: none;}
    .bloc-event_time .countdown,
    .bloc-event_date .countdown {
      display: flex;
      justify-content: center;
      gap: 0.3em;
      width: 97%;
      min-height: 66px;
      margin: 0 auto;
      position: relative;
      top: 23px;
      padding: 0 42px;
    }

    .bloc-event_time .countdown span,
    .bloc-event_date .countdown span{
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      background: var(--color-main);
      flex: 1;
      text-align: center;
      padding: 0.5em 0.5em;
      line-height: 0;
      min-width: 60px;
    }

    .count-bloc{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .count-number {
      font-family: var(--second-font)!important;
      font-weight:800;
      font-size: 20px;
    }
    .count-unit{
      font-family: var(--second-font)!important;
      font-weight:600;
      font-size: 12px;
    }

  .event-info--courant .bloc-event_time .countdown span,
  .event-info--courant .bloc-event_date .countdown span { background: white; color:var(--color-main);}


  /* AFFICHAGE MATCHS DU JOUR */

  .matches-section {display: flex; flex-direction: column; gap:3em;}

  .match-item { position: relative;}
  .match-item_grid{
    padding: 3em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 55px;
    text-align: center;
  }

 .match-item_grid .match-item_crea { order: 1; }

 .match-item_grid .match-item_adv { order: 3;}

.match-item_grid .match-item_infos { order: 2; gap:1em; align-self: center}

 .match-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

 .match-item .match-item_logo img {
    object-fit: contain;
    height: 100%;
    width: 100%;
  }

.match-item .match-item_name {
    font-family: var(--color-second), sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 1.2;
    color: var(--color-txt)!important;
    text-transform: uppercase;
    margin-top: 27px;
    font-family: var(--second-font)!important;
  }

 .match-item .match-item_datetime  {
    color:var(--color-main)!important;
    font-family: var(--second-font)!important;
    font-weight: 800;
    font-style: normal;
    font-size: 20px;
    line-height: 1.2;
    color: var(--color-main);
    text-transform: uppercase;
  }

  .match-item_crea-media{position: relative;}


  .match-item_agent, .match-item_agence {
    color: var(--color-main);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    flex-direction: column;
  }


  .match-item_vs{
    font-family:var(--font-second), sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 30px;
    line-height: 1.2;
    color: var(--color-main);
    text-transform: uppercase;
  }

  .match-item_boost{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.match-item_boost p{
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
}


.match-item_boost span.pink{
  color:var(--pink);
  font-weight: 800;
}
.match-item_boost span.grey{
  color:grey;
  font-weight: 800;
}

/**** GESTION DES LIENS *****/

.link-titok {
  position: absolute;
  top: 0;
  transform: translateY(-90%);
  top: 90%;
  left: -18px;
}

span.link-titok a {
  text-decoration: none;
  z-index: 2;
  font-size: 20px;
  background: var(--color-main); /* Remplacer par la couleur de $color-main */
  padding: 12px;
  border-radius: 100%;
  display: inline-block;
  color: black !important;
  position: relative;
  transition: 0.5s;
  line-height: 0;
  width: 44px;
height: 44px;
display: flex;
justify-content: center;
align-items: center;
}

span.link-titok a::after {
  content: "";
  background: var(--color-main); /* Remplacer par la couleur de $color-main */
  opacity: 0.5;
  position: absolute;
  height: 50px;
  width: 50px;
  border-radius: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: bounce 2.5s infinite ease-in-out;
}

span.link-titok a:hover {
  background: black;
  color: black; /* Remplacer par la couleur de $color-main */
}

span.link-titok a:hover i{
  color: white;
}


.link--row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin-top: auto; /* Cela va pousser les liens vers le bas si nécessaire */
}



.link--row .link-titok{
  position: relative;
  transform:none;
  top: auto;
  left: auto;
}


/* GESTION DES LOGOS/IMAGE****/
.rounded-img--s{
    width: 150px;
    height: 150px;
    border-radius: 100%;
    overflow: hidden;
  }
  .rounded-img--s img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.rounded-img--m{
  width: 200px;
  height: 200px;
  border-radius: 100%;
  overflow: hidden;
}
.rounded-img--m img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rounded-img--l{
    width: 270px;
    height: 270px;
    border-radius: 100%;
    overflow: hidden;
  }
  .rounded-img--l img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

/***** GESTION DE L'EQUIPE ******/

/* Membres Grid */
.membres_grid {
  display: flex;
  gap: 3em;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.membres_grid--home.membres_grid {
    justify-content: space-evenly;
}

.membres_grid .membre_box {
  display: flex;
  flex-direction: column;
  width: 25%;
  align-items: center;
}


.membres_grid .membre_box .col--left .membre_link {
  display: flex;
  justify-content: flex-end;
  gap: 2em;
  margin: 0 24px;
  transform: translateY(-24px);
}


.membres_grid .membre_box .col--right .membre_txt {
  font-family: "Raleway", sans-serif; /* Remplacer par la valeur de $font-main */
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
  line-height: 1.5;
  color: #333333; /* Remplacer par la couleur de $color-txt */
  text-transform: none;
  text-align: center;
}

.membres_grid .membre_box .col--right .membre_txt .membre_name {
  font-family: "Raleway", sans-serif; /* Remplacer par la valeur de $font-main */
  font-weight: 800;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  color: #000000; /* Remplacer par la couleur de $color-main */
  text-transform: uppercase;
  margin: 10px 0;
}

.membres_grid .membre_box .col--right .membre_txt .membre_poste {
  font-family: "Raleway", sans-serif; /* Remplacer par la valeur de $font-main */
  font-weight: 800;
  font-style: italic;
  font-size: 18px;
  line-height: 1;
  color: #333333; /* Remplacer par la couleur de $color-txt */
  text-transform: uppercase;
}

.member-contain .membre_box {
  border-top: 4px solid var(--color-main);
  padding: 30px 20px;
  background: var(--color-dark);
}

.post--Direct .poste_titre {color: var(--color-post-1);}
.post--Mediat .poste_titre {color: var(--color-post-2);}
.post--Ambass .poste_titre {color: var(--color-post-3);}
.post--Manage .poste_titre {color: var(--color-post-4);}

.post--Direct .membre_box{border-color:  var(--color-post-1);}
.post--Mediat .membre_box{border-color:  var(--color-post-2);}
.post--Ambass .membre_box{ border-color: var(--color-post-3);}
.post--Manage .membre_box{border-color:  var(--color-post-4);}
.post--Agent .membre_box{}



/************* TOP MATCHS ******/


.top-match-item-video {

}

.top-match-iframe {
  height: 440px;
  overflow: hidden;
  width: 327px;
  border-radius: 18px;
}

.top-match-iframe iframe {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.top-match-iframe iframe img{
  height: 300px;
  width: 400px;
}

.top-match-iframe img{
  height: 100%;
  width: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.top-match-item {display: flex;}
.top-match-item:nth-child(even) .match-item_grid{
  flex-direction: row-reverse;
}

  .top-match-item-createur {
    width: 100%;
  }

  .top-match-item-createur .col--right {
    flex: 60%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

    .top-match-item-createur .col--left {
      flex:40%;
      min-height: 400px;
      height: 400px;
    }




/****** GESTION PARTENAIRES *****/


.partenaire-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}

.partenaire-section .part-item {
    display: inline-flex;
    flex-direction: column;
    min-width: 30%;
    border-top: 4px solid var(--color-main);
    padding: 20px;
    background: #110f0f;
}

h3.part-item_name {font-size: 18px!important; margin-top: 18px;}
span.part-item_prix {
  font-family: "Raleway", sans-serif; /* Remplacer par la valeur de $font-main */
  font-weight: 800;
  color: white;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 18px ;
  display: inline-block;
}

.partenaire-section .col--left, .partenaire-section .col--right {
    display: flex;
    flex: 1; /* Permet à chaque colonne de prendre toute la hauteur disponible */
}

.partenaire-section .col--right {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Permet de répartir le contenu verticalement */
}

.partenaire-section .membre_txt {
    flex-grow: 1; /* Permet au texte de prendre toute la hauteur restante */
}


/**** FIltre ****/

select {
  border: none;
  border-bottom: 2px solid var(--color-main);
  background: none;
  display: inline-block;
  width: auto;
}

.filter-form{
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

select { color: var(--color-main); }
select option {color: #000; }

.filter-form .filter-field{
  width: auto;
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
}

.filter-form .filter-field i{
  color: var(--color-main);
  transform: translateX(-18px);
  font-size: 20px;
}


/**** BOUTON REJOINDRE AGENCE EN FONCTION DES PAYS *****/

button#btn-rejoindre-agence {
  border:none;
  display: inline-flex;
  align-items: center;
  gap:28px;
}


/*** ANIMATION ***/

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}
