/* ILX — Boutons periode du bloc agenda de la HOME [ilx_hp_agenda].
   Reutilise les variables du theme home (--ilx-green, --ilx-border...) avec
   fallback pour rester correct meme hors de la home info-lux. */

.ilx-hp-agenda-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.ilx-hp-agenda-chip {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--ilx-border, #e2e2e2);
  background: #fff;
  color: var(--ilx-dark, #222);
  transition: background .15s, color .15s, border-color .15s;
}
.ilx-hp-agenda-chip:hover {
  border-color: var(--ilx-green, #4e8500);
  color: var(--ilx-green-dk, #3a6300);
}
.ilx-hp-agenda-chip.is-active {
  background: var(--ilx-green, #4e8500);
  border-color: var(--ilx-green, #4e8500);
  color: #fff;
}
.ilx-hp-agenda-chip:focus-visible {
  outline: 2px solid var(--ilx-green, #4e8500);
  outline-offset: 2px;
}

.ilx-hp-agenda-list[aria-busy="true"] {
  opacity: .45;
  transition: opacity .15s;
}
.ilx-hp-agenda-empty {
  padding: 18px 0;
  color: var(--ilx-gray, #777);
  font-size: 14px;
}
.ilx-hp-agenda-empty a {
  color: var(--ilx-green-dk, #3a6300);
  font-weight: 700;
  text-decoration: none;
}
.ilx-hp-agenda-empty a:hover { text-decoration: underline; }
