/*****************************************************
 * MENU DE SELECTION ACTU ET PUBLICATION
 *****************************************************/

/*****************************************************
 * 🔄 RESET DU MODULE DIVI CODE
 *****************************************************/
.et_pb_code::before,
.et_pb_code::after {
  content: none !important;
  display: none !important;
}

.et_pb_module.et_pb_code,
.et_pb_code_inner {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

/*****************************************************
 * 🎨 BLOC FILTRE (theme-selector)
 *****************************************************/
.theme-selector {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 25px 35px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 1280px;
  margin-top: -20px !important;
  overflow: visible;
}



.theme-selector .inner {
  background: #f5f6ff;
  border-radius: 12px;
  padding: 2.5em 3em;
  margin-left: 2px;
}

/* Titre */
.theme-selector h2 {
  font-size: clamp(32px, 4vw, 45px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  color: #884081;
}
.theme-selector h2 .highlight {
  color: #000;
  font-weight: 900;
}

/* Filtres */
.theme-selector .filters {
  margin-top: 1.5em;
}
.theme-selector .filters .label {
  display: block;
  font-weight: 600;
  margin: 1em 0 0.5em 0;
}

/* Sélecteurs */
.theme-selector select {
  margin: 10px 10px 0 0;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Boutons */
.theme-selector .filter-buttons {
  margin-top: 1em;
}
.theme-selector .filter-buttons button {
  border: 1px solid #884081;
  background: white;
  color: #884081;
  border-radius: 6px;
  padding: 6px 14px;
  margin: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}
.theme-selector .filter-buttons button:hover,
.theme-selector .filter-buttons button.active {
  background: #884081;
  color: white;
}

/*****************************************************
 * 📱 RESPONSIVE (filtre)
 *****************************************************/
@media (max-width: 980px) {
  .theme-selector {
    margin: 20px auto;
    padding: 20px;
    max-width: 95%;
  }
  .theme-selector::before {
    left: 10px;
    top: 15px;
    bottom: 15px;
    width: 5px;
  }
  .theme-selector .inner {
    padding: 2em 2.2em;
  }
}
@media (max-width: 767px) {
  .theme-selector {
    margin: 10px auto 40px auto !important;
    padding: 15px;
    max-width: 94%;
  }
  .theme-selector::before {
    left: 6px;
    top: 12px;
    bottom: 12px;
    width: 4px;
  }
  .theme-selector .inner {
    padding: 1.6em 1.4em;
  }
}
/* 📱 Cacher l'image du filtre UNIQUEMENT sur mobile */
@media (max-width: 767px) {
  .selector-image {
	display: none !important;
	visibility: hidden !important;
  }
}
/* ===============================
   📱 TABLETTE – vignette filtre réduite
   =============================== */
@media (min-width: 768px) and (max-width: 980px) {

  .theme-selector .inner {
	display: flex !important;
  }

  .theme-selector .selector-image {
	flex: 0 0 294px !important;   /* 🔑 ON FORCE LE CONTENEUR */
	max-width: 294px !important;
  }

  .theme-selector .selector-image img {
	width: 100% !important;      /* 🔑 image suit le conteneur */
	max-width: 100% !important;
	height: auto !important;
	margin-left: 15px !important;
  }
}


