/* ============================
   STYLES DES CARTES FILTRÉES ACF
   Aligné avec le design Avada Post Cards
   ============================ */

/* Conteneur des cartes */
.acf-ajax-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Carte individuelle */
.acf-ajax-cards li {
  flex: 1 1 calc(48% - 4%);
  max-width: calc(48% - 4%);
  background-color: #051a47; /* Fond bleu foncé */
  border: 2px solid #69c689;  /* Vert clair */
  border-radius: 2px;
  padding: 50px;
  box-sizing: border-box;
  color: white;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Titre de la ressource */
.acf-ajax-cards li .fusion-column-wrapper .fusion-title h2 {
  font-family: 'Stolzl', sans-serif;
  font-size: 36px!important;
  margin: 0 0 20px 0;
  color: white!important;
}

/* Ligne de métadonnées (thème, durée, lieu, participants) */
.acf-meta {
  color: #69c689;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  white-space: normal;
}

/* Contenu textuel (extrait) */
.acf-content {
  flex-grow: 1;
}

/* Zone flèche */
.acf-arrow {
  text-align: right;
  margin-top: 20px;
}

/* Flèche SVG */
.acf-arrow img {
  width: 37px;
  height: 25px;
}

/* Responsive : 1 colonne en dessous de 640px */
@media screen and (max-width: 640px) {
  .acf-ajax-cards li {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/* Corrige l'affichage en ligne des cartes filtrées */
.acf-ajax-cards .fusion-column-wrapper {
  display: block !important; /* rétablit un flux vertical classique */
}
/* Aligner le contenu des cartes filtrées en haut de la carte */
.acf-ajax-cards li {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}
.acf-meta-line p{
	color: #69c689;
}
.pipe {
  color: #fff;
  padding: 0 0.3em;
  font-weight: normal;
}
/* Style de base pour les labels */
.acf-filter-group label {
  display: block;
  align-items: center;
  gap: 15px; /* espace entre le texte et la flèche */
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 16px;
  color: white;
}

/* Flèche blanche après le texte */
.acf-filter-group label::after {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url('https://noleby.fabrikacom.be/wp-content/uploads/2025/04/tiny-white-arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  margin-left: 10px;
}

.acf-filter-group {
	margin-bottom:30px;
}
.acf-filter-group select{
	 border-radius: 25px!important;
    padding: 0 15px!important;
	height: 40px;
}
#acf-filters-form .acf-filter-buttons{
	margin-top:50px;
}
#acf-filters-form .acf-filter-buttons button {
  /* style général commun */
  color: #fff;
  border:#ef8371 2px;
  padding: 13px 29px;
  border-radius: 25px;
  font-size: 18px;
  font-family: 'Libre Franklin', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right:20px;
      font-family: ibarra-real-nova;
    font-weight: 700;
    font-style: italic;
}
#acf-filters-form .acf-filter-buttons button:hover {
  background-color: #ef8371;
}
#acf-filters-form .acf-filter-buttons button[type="submit"]{
	  background-color: #ef8371;
	  margin-bottom:20px;
}
#acf-filters-form .acf-filter-buttons button[type="reset"]{
	background-color: #07225F;
}