/***********************************************
  ZONE DES FILTRES — THÈME PAR DÉFAUT
  (pour nos-realisations)
***********************************************/
#tag-filter-container {
  background-color: #7cb342; /* Vert clair */
  padding: 15px;
  text-align: center;
}

/***********************************************
  2) DEUXIÈME THÈME pour article.php
  (couleur plus “brun”)
***********************************************/
#tag-filter-container.article-theme {
  background-color: #4E342E;
  padding: 15px;
  text-align: center;
}

/***********************************************
  FORMULAIRE DES FILTRES
***********************************************/
#filters-form {
  /* On reste sur un inline-flex pour aligner
     les selects sur une même ligne */
  display: inline-flex;
  flex-wrap: wrap;        /* Retour à la ligne si trop large */
  gap: 20px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

/***********************************************
  WRAPPER POUR AFFICHER LE CHEVRON
***********************************************/
.select-wrapper {
  position: relative;
  display: inline-block; /* important pour le pseudo-élément ::after */
}

/* Personnalisation du <select> */
.select-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* fond transparent, texte blanc */
  border: none;
  background: transparent;
  color: #fff;

  /* Taille de police un peu plus modeste (1rem) */
  font-size: 1rem;
  font-family: sans-serif;
  line-height: 1.4;

  /* On évite toute largeur fixe pour ne pas tronquer */
  padding: 5px 30px 5px 8px;
  cursor: pointer;
}

/* Flèche “▼” à droite du select */
.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
}

/***********************************************
  Effet hover
***********************************************/
.select-wrapper select:hover {
  color: #000;
  background-color: #fff;
  transition: background-color 0.2s, color 0.2s;
}

/***********************************************
  RESPONSIVE
***********************************************/
@media (max-width: 600px) {
  #filters-form {
    gap: 10px;
  }
  .select-wrapper select {
    /* Sur mobile, on peut diminuer encore
       ou laisser 1rem si cela vous convient */
    font-size: 0.95rem;
  }
}
