/* style-eventos.css — Part eventos (BEM). Bootstrap utilities para layout/responsive */

.ark-eventos {
  --gap: 1.5rem;
}

/* Item base - side by side (derecha) */
.ark-eventos__item {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.ark-eventos__item:not(:last-child) {
  margin-bottom: 20px;
}

.ark-eventos__item:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Item principal (izquierda) - stacked layout */
.ark-eventos__item--main {
  flex-direction: column;
}

.ark-eventos__item--main .ark-eventos__item-image-wrapper {
  flex: none;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.ark-eventos__item--main .ark-eventos__item-image {
  height: 280px;
  min-height: 280px;
}

.ark-eventos__item--main .ark-eventos__item-content {
  justify-content: flex-start;
}

.ark-eventos__item-image-wrapper {
  flex: 0 0 120px;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

.ark-eventos__item-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.ark-eventos__item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
  justify-content: space-between;
  min-width: 0;
}

.ark-eventos__item-title {
  font-size: 18px;
  font-weight: 600;
  color: #3a3c39;
  text-transform: uppercase;
  line-height: 1.3;
}

/* .ark-eventos__item-info removed - descriptions eliminated */

.ark-eventos__item-date {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.375rem;
  font-size: 16px;
  font-weight: 300;
  color: #3a3c39;
}

.ark-eventos__item-date i {
  font-size: 16px;
  color: #3a3c39;
}

/* Social icons - ocultos por defecto, visibles en hover del item */
.ark-eventos__item-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    height 0.2s ease,
    margin 0.2s ease;
  pointer-events: none;
}

.ark-eventos__item:hover .ark-eventos__item-social {
  opacity: 1;
  height: auto;
  transform: translateY(0);
  pointer-events: auto;
}

.ark-eventos__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4a5565;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.ark-eventos__social-link:first-child:hover {
  background: #1877f2;
}

.ark-eventos__social-link:last-child:hover {
  background: #25d366;
}

.ark-eventos__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 14px;
  background: #19248b;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.ark-eventos__add-btn i {
  font-size: 14px;
}

/* --- Layout slider (layout="slider") --- */
.ark-eventos--slider {
  padding-bottom: 60px;
}

.ark-eventos__slide {
  height: auto;
}

.ark-eventos--slider .ark-eventos__item {
  margin-bottom: 0;
  height: 100%;
}

.ark-eventos--slider .ark-eventos__item--main .ark-eventos__item-image {
  height: 350px;
  min-height: 350px;
}

/* Controles internos del slider (flechas + dots) */
.ark-eventos__controls {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ark-eventos--arrows-only .ark-eventos__controls {
  justify-content: flex-end;
}

.ark-eventos--dots-only .ark-eventos__controls {
  justify-content: center;
}

.ark-eventos__pagination {
  position: static;
  width: auto;
  display: flex;
  gap: 0;
  justify-content: flex-start;
}

.ark-eventos .swiper-pagination-bullet {
  width: 40px;
  height: 6px;
  border-radius: 0;
  background: #e0e0e0;
  opacity: 0.4;
  margin: 0 !important;
  transition:
    opacity 0.2s ease,
    background 0.2s ease;
}

.ark-eventos .swiper-pagination-bullet-active {
  opacity: 1;
  background: #3a3c39;
}

.ark-eventos__nav {
  display: flex;
  gap: 8px;
}

.ark-eventos__nav-btn {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #3a3c39;
  font-size: 18px;
  line-height: 1;
  margin: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.ark-eventos__nav-btn:hover {
  background: #3a3c39;
  color: #fff;
}

.ark-eventos__nav-btn i {
  font-size: var(--ark-et-nav-icon-size, 18px);
}

.ark-eventos .swiper-button-prev::after,
.ark-eventos .swiper-button-next::after {
  display: none;
}

/* Controles externos reutilizados ([entretenimiento_slider_nav]/[entretenimiento_slider_pagination])
   en el carrusel de eventos, para que funcionen sin el part entretenimiento-slider */
.ark-entretenimiento-slider__nav--external {
  display: flex;
  gap: 8px;
}

.ark-entretenimiento-slider__nav--external
  .ark-entretenimiento-slider__nav-btn {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ark-et-nav-color, #3a3c39);
  font-size: 18px;
  line-height: 1;
  margin: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.ark-entretenimiento-slider__nav--external
  .ark-entretenimiento-slider__nav-btn:hover {
  background: var(--ark-et-nav-color, #3a3c39);
  color: #fff;
}

.ark-entretenimiento-slider__nav--external
  .ark-entretenimiento-slider__nav-btn
  i {
  font-size: var(--ark-et-nav-icon-size, 26px);
}

.ark-entretenimiento-slider__pagination--external {
  display: flex;
  gap: 0;
}

.ark-entretenimiento-slider__pagination--external .swiper-pagination-bullet {
  width: 40px;
  height: 6px;
  border-radius: 0;
  background: #e0e0e0;
  opacity: 0.4;
  margin: 0 !important;
  transition:
    opacity 0.2s ease,
    background 0.2s ease;
}

.ark-entretenimiento-slider__pagination--external
  .swiper-pagination-bullet-active {
  opacity: 1;
  background: #3a3c39;
}

/* Responsive: stack en mobile (< 768px) */
@media (max-width: 767.98px) {
  .ark-eventos__nav-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .ark-eventos .swiper-pagination-bullet,
  .ark-entretenimiento-slider__pagination--external .swiper-pagination-bullet {
    width: 24px;
  }

  .ark-eventos--slider .ark-eventos__item--main .ark-eventos__item-image {
    height: 300px;
    min-height: 300px;
  }

  .ark-eventos__item {
    flex-direction: column;
  }

  .ark-eventos__item-image-wrapper {
    flex: none;
    width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .ark-eventos__item-image {
    height: 180px;
    min-height: 180px;
  }

  .ark-eventos__item--main .ark-eventos__item-image {
    height: 180px;
    min-height: 180px;
  }

  .ark-eventos__item-content {
    padding: 1rem;
  }
}
