.bp-home-eventos {
  position: relative;
  padding: 12px 8px 8px;
  background: transparent;
  overflow: hidden;
}

.bp-home-eventos__overlay {
  display: none;
}

.bp-home-eventos__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.bp-home-eventos__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;
}

.bp-event-card {
  width: 240px;
  max-width: 240px;
  background: #f7f7f7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.20);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bp-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.bp-event-card__link {
  display: flex;
  flex-direction: column;
  height: 360px;
  text-decoration: none;
}

.bp-event-card__body {
  flex: 1;
  padding: 12px 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bp-event-card__logo {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: #f0f0f0;   /* fondo suave mientras carga */
  border-radius: 8px;
}

.bp-event-card__logo img {
  max-width: 160px !important;
  max-height: 110px !important;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.bp-event-card__info {
  width: 100%;
  text-align: center;
  margin: 0 0 6px;
}

.bp-event-card__info h3 {
  margin: 0 0 6px;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 700;
  color: #2c3138;

  text-transform: none !important;
  font-family: inherit !important;

  display: -webkit-box;
  -webkit-line-clamp: 2;   /* máximo 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: 42px;  /* altura fija */
  max-height: 42px;
}

.bp-event-card__info p {
  margin: 0;
  font-size: 13px !important;
  line-height: 1.3;
  font-weight: 500;
  color: #8a8f98;
}

.bp-event-card__badge {
  margin-top: auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
}

.bp-event-card__badge img {
  max-width: 50px !important;
  max-height: 50px !important;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.bp-event-card__footer {
  margin-top: auto;
  background: #e31b23;
  color: #ffffff;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 10px 8px;
  transition: background 0.3s ease;
}

.bp-event-card__link:hover .bp-event-card__footer {
  background: #b8141b;
}

.bp-home-eventos__more {
  text-align: center;
  margin-top: 12px;
}

.bp-home-eventos__more a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.bp-home-eventos__more a:hover {
  color: #ffffff !important;
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .bp-home-eventos__inner {
    max-width: 820px;
  }

  .bp-home-eventos__grid {
    gap: 16px;
  }

  .bp-event-card {
    width: 225px;
    max-width: 225px;
  }

  .bp-event-card__link {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .bp-home-eventos {
    padding: 10px 8px 8px;
  }

  .bp-home-eventos__inner {
    max-width: 100%;
  }

  .bp-home-eventos__grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .bp-event-card {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
  }

  .bp-event-card__link {
    height: 320px;
  }

  .bp-event-card__body {
    padding: 12px 10px 6px;
  }

  .bp-event-card__logo {
    height: 50px;
  }

  .bp-event-card__logo img {
    max-width: 86px;
    max-height: 42px;
  }

  .bp-event-card__info h3 {
    font-size: 10px;
    min-height: 36px;
    max-height: 36px;
  }

  .bp-event-card__info p {
    font-size: 10px;
  }

  .bp-event-card__badge img {
    max-width: 46px !important;
    max-height: 46px !important;
  }

  .bp-event-card__footer {
    font-size: 11px;
    padding: 10px 8px;
  }

  .bp-home-eventos__grid::-webkit-scrollbar {
    height: 6px;
  }

  .bp-home-eventos__grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
  }
}