.event-month-filter-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.event-month-filter-container {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    background-color: white;
    padding: 8px;
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.event-month-button {
    padding: 6px 20px;
    border-radius: 999px;
    background-color: transparent;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    min-width: 100px;
}

.event-month-button:hover {
    background-color: #1e3a8a;
    color: #fff;
}

.event-month-button.active {
    background-color: #1e3a8a;
    color: #fff;
}

/*month-filter swiper*/

/* events */
/* Contenedor base */
.event-month-filter-swiper {
  width: 100%;
  overflow: hidden;
  direction: ltr;           /* evita heredar RTL o alineación rara */
}

/* Wrapper y slide */
.event-month-filter-swiper .swiper-wrapper { align-items: stretch; }
.event-month-filter-swiper .swiper-slide {
  box-sizing: border-box;
  flex-shrink: 0 !important;
}

/* ----- MODO ESTÁTICO (cuando hay <= perView) ----- */
.event-month-filter-swiper.is-static { overflow: visible; }
.event-month-filter-swiper.is-static .swiper-wrapper {
  display: flex;
  gap: 10px;                /* igual que spaceBetween del slider */
  justify-content: center;  /* centra el grupo */
  transform: none !important;
}

/* Anchos por breakpoint (funciona igual en estático y en slider) */
@media (min-width: 1101px) {
  .event-month-filter-swiper .swiper-slide { width: 24.4% !important; }
}
@media (min-width: 992px) and (max-width: 1100px) {
  .event-month-filter-swiper .swiper-slide { width: 33.33% !important; }
}
@media (min-width: 651px) and (max-width: 991px) {
  .event-month-filter-swiper .swiper-slide { width: 50% !important; }
}
@media (max-width: 650px) {
  .event-month-filter-swiper .swiper-slide { width: 100% !important; }
  .event-month-filter-swiper .swiper-slide > * { width: 98%; margin: 0 auto; }
}

/* Arregla visual del input de teléfono */
.iti {
  width: 100%;
}

.iti input.form-control {
  padding-left: 58px; /* espacio para la bandera */
  height: calc(3.5rem); /* igual al default de Bootstrap */
}

.iti--allow-dropdown input {
  padding-left: 58px;
}

.iti input:focus {
  z-index: 3;
}