/*!********************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/sort-menu/style.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/* =========================================================
   FILTER DROPDOWN (WRAPPER)
   ========================================================= */
.filter-dropdown {
  position: relative;
  display: inline-flex;
  z-index: 99999;
  align-items: flex-start;
}

.ituContainer [data-span="2"] {
  display: grid;
}

.ituContainer [data-span="2"] .filter-dropdown {
  justify-self: end;
}

/* Avec Clear visible : on revient en mode normal */
.filter-dropdown:has(.filter-dropdown__clear-inline:not([hidden])) {
  justify-content: flex-end;
}

/* =========================================================
   CONTROLS ROW (Filter by + Clear filter)
   ========================================================= */
.filter-dropdown__controls {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

/* =========================================================
   TOGGLE BUTTON (Filter by)
   ========================================================= */
.filter-dropdown__toggle {
  align-items: center;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  font-family: inherit;
  unicode-bidi: isolate;
  white-space: nowrap;
  text-align: left;
}

/* =========================================================
   CLEAR FILTER (INLINE)
   ========================================================= */
.filter-dropdown__clear-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #009cd6;
  background: #fff;
  color: #009cd6;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.filter-dropdown__clear-inline:hover {
  background: #eef8fc;
}

/* Caché = vraiment inexistant */
.filter-dropdown__clear-inline[hidden] {
  display: none !important;
}

.filter-dropdown__sep {
  color: #009cd6;
  font-weight: 600;
}

/* =========================================================
   DROPDOWN PANEL
   ========================================================= */
.filter-dropdown__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  max-height: min(60vh, 420px);
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  display: none;
  z-index: 999999;
}

.filter-dropdown__checkbox {
  accent-color: #009cd6;
}

/* =========================================================
   OPEN STATE
   ========================================================= */
.filter-dropdown.is-open .filter-dropdown__panel {
  display: block;
  position-area: right;
  display: block;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin-top: 70px;
}

/* =========================================================
   LIST
   ========================================================= */
.filter-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-dropdown__item {
  margin-bottom: 6px;
  white-space: nowrap;
}

.filter-dropdown__item:last-child {
  margin-bottom: 0;
}

/* =========================================================
   SCROLLBAR (BLUE ITU STYLE)
   ========================================================= */
.filter-dropdown__panel::-webkit-scrollbar {
  width: 10px;
}

.filter-dropdown__panel::-webkit-scrollbar-track {
  background: #eef8fc;
}

.filter-dropdown__panel::-webkit-scrollbar-thumb {
  background: #009cd6;
  border: 2px solid #eef8fc;
}

.filter-dropdown__panel::-webkit-scrollbar-thumb:hover {
  background: #007fb0;
}

/* Firefox */
.filter-dropdown__panel {
  scrollbar-width: thin;
  scrollbar-color: #009cd6 #eef8fc;
}

/* =========================================================
   HIDE FILTERED CARDS
   ========================================================= */
.ituCard.is-hidden {
  display: none !important;
}

/* =========================================================
   SAFETY (containers that were clipping dropdown)
   ========================================================= */
.cards-grid,
.wp-block-group,
.section-wrapper {
  overflow: visible !important;
}

/* =========================================================
   Optional breathing room for long dropdowns
   ========================================================= */
.digital-impact-section,
.cards-section {
  padding-bottom: 420px;
}

/* =========================================================
   RESPONSIVE — FILTER DROPDOWN
   A mettre en bas du CSS
   ========================================================= */
/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .filter-dropdown__toggle {
    font-size: 20px;
  }
  .filter-dropdown__panel {
    min-width: 200px;
    max-height: 50vh;
  }
}
/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  /* le wrapper prend toute la largeur */
  .filter-dropdown {
    width: 100%;
  }
  .ituContainer [data-span="2"] .filter-dropdown {
    justify-self: stretch;
  }
  .filter-dropdown__controls {
    width: 100%;
    justify-content: space-between;
  }
  /* bouton Filter by */
  .filter-dropdown__toggle {
    font-size: 18px;
    margin: 0;
  }
  /* Clear filter plus compact */
  .filter-dropdown__clear-inline {
    font-size: 13px;
    padding: 5px 8px;
  }
  /* PANEL → devient un vrai drawer */
  .filter-dropdown__panel {
    position: fixed;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 70vh;
    padding: 18px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
    animation: filterSlideUp 0.25s ease;
  }
  .filter-dropdown__item {
    white-space: normal;
    margin-bottom: 10px;
  }
  /* checkbox plus facile au doigt */
  .filter-dropdown__checkbox {
    transform: scale(1.2);
    margin-right: 6px;
  }
  /* évite le giga padding */
  .digital-impact-section,
  .cards-section {
    padding-bottom: 120px;
  }
}
/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .filter-dropdown__toggle {
    font-size: 16px;
  }
  .filter-dropdown__panel {
    padding: 16px;
    max-height: 75vh;
  }
}
/* =========================================================
   Animation mobile
   ========================================================= */
@keyframes filterSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.filter-dropdown.is-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  z-index: 999998;
}

/*# sourceMappingURL=style-index.css.map*/