/**
 * La Venganza Será Terrible - Estilos Frontend para Presentaciones y Carrusel
 * Reproducción de máxima fidelidad visual basada en Elementor Kit 33 / Page 14.
 */

:root {
  --lvst-color-primary: #C59B68;
  --lvst-color-secondary: #2F2F2F;
  --lvst-color-text: #666666;
  --lvst-color-text-muted: #999999;
  --lvst-color-white: #FFFFFF;
  --lvst-color-bg-dark: #181818;
  --lvst-color-bg-panel: #202020;
  
  --lvst-font-primary: "Playfair Display", Georgia, serif;
  --lvst-font-classic: "Old Standard TT", Georgia, serif;
  --lvst-font-sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --lvst-container-width: 1140px;
}

/* ==========================================================================
   Filas de Presentaciones (3 Columnas: 20% / 55% / 25%)
   ========================================================================== */
.lvst-presentations-wrapper {
  width: 100%;
  box-sizing: border-box;
}

.lvst-presentation-row {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 1.2em 0;
  transition: background-color 0.25s ease;
}

/* Columna 1: Fecha (20%) */
.lvst-col-date {
  flex: 0 0 20%;
  width: 20%;
  max-width: 20%;
  box-sizing: border-box;
  border-right: 1px solid var(--lvst-color-secondary);
  padding: 0.5em 1.5em 0.5em 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lvst-date-day {
  font-family: "Old Standard TT", Sans-serif;
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  color: var(--lvst-color-primary);
  
  margin: 0 0 4px 0;
  padding: 0;
}

.lvst-date-month {
  font-family: "Old Standard TT", Sans-serif;
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: var(--lvst-color-primary);
  
  margin: 0;
  padding: 0;
  
}

/* Columna 2: Información del Show y Teatro (55%) */
.lvst-col-info {
  flex: 0 0 55%;
  width: 55%;
  max-width: 55%;
  box-sizing: border-box;
  padding: 0.5em 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Etiqueta para shows alternativos */
.lvst-show-tag {
  font-family: var(--lvst-font-primary, "Playfair Display", Georgia, serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--lvst-color-primary, #C59B68);
  line-height: 1.3;
  letter-spacing: 0.3px;
  margin: 0 0 6px 0;
}

.lvst-venue-title {
  font-family: var(--lvst-font-primary);
  font-size: 22px;
  font-weight: 600;
  color: var(--lvst-color-white);
  line-height: 1.35;
  margin: 0;
  padding: 0;
}

/* Metadatos (Iconos en línea) */
.lvst-icon-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0;
}

.lvst-icon-list-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Old Standard TT", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: var(--lvst-color-primary);
  line-height: 1.2;
}

.lvst-icon-list-item .lvst-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--lvst-color-primary);
}

.lvst-icon-list-item .lvst-meta-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--lvst-color-primary);
  transition: fill 0.3s;
}

.lvst-icon-list-text {
  color: var(--lvst-color-primary);
}

/* Columna 3: Botón / Estado de Entrada (25%) */
.lvst-col-action {
  flex: 0 0 25%;
  width: 25%;
  max-width: 25%;
  box-sizing: border-box;
  padding: 0.5em 0 0.5em 1em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

/* Píldora Dorada (Botón y Badges) */
.lvst-button,
.lvst-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background-color: var(--lvst-color-primary);
  color: var(--lvst-color-white) !important;
  font-family: var(--lvst-font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--lvst-color-primary);
  border-radius: 100px;
  padding: 11px 26px;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

/* Botón con enlace activo (Entradas) */
.lvst-button {
  cursor: pointer;
}

.lvst-button:hover,
.lvst-button:focus {
  background-color: var(--lvst-color-secondary);
  border-color: var(--lvst-color-secondary);
  color: var(--lvst-color-white) !important;
}

.lvst-button .lvst-button-text {
  order: 1;
}

.lvst-button .lvst-button-icon {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lvst-button .lvst-button-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--lvst-color-white);
  transition: transform 0.2s ease;
}

.lvst-button:hover .lvst-button-icon svg {
  transform: translateX(3px);
}

/* Badges estáticos ('Entrada Libre' / 'Venta en boletería') */
.lvst-badge {
  cursor: default;
  user-select: none;
}

.lvst-badge:hover,
.lvst-badge:focus {
  background-color: var(--lvst-color-primary);
  border-color: var(--lvst-color-primary);
  color: var(--lvst-color-white) !important;
}

/* Separadores entre presentaciones */
.lvst-divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--lvst-color-secondary);
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Carrusel de Flyers (Swiper Nativo Elementor)
   ========================================================================== */
.lvst-flyers-section {
  margin-top: 3.5em;
  position: relative;
  width: 100%;
}

.lvst-flyers-carousel.swiper,
.elementor-image-carousel-wrapper.swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 45px 0;
  box-sizing: border-box;
}

.lvst-flyers-carousel .swiper-wrapper,
.elementor-image-carousel.swiper-wrapper {
  display: flex;
  align-items: center;
  box-sizing: content-box;
}

.lvst-flyers-carousel .swiper-slide,
.elementor-image-carousel .swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  box-sizing: border-box;
}

.lvst-flyers-carousel .swiper-slide-inner {
  margin: 0;
  padding: 0;
  display: inline-block;
  max-width: 100%;
}

.lvst-flyers-carousel .swiper-slide-image {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lvst-flyers-carousel .swiper-slide-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

/* Flechas de Navegación Swiper */
.lvst-flyers-carousel .elementor-swiper-button {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(24, 24, 24, 0.7);
  border: 1px solid var(--lvst-color-secondary);
  color: var(--lvst-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
}

.lvst-flyers-carousel .elementor-swiper-button:hover {
  background-color: var(--lvst-color-primary);
  border-color: var(--lvst-color-primary);
  color: var(--lvst-color-white);
}

.lvst-flyers-carousel .elementor-swiper-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: fill 0.3s ease;
}

.lvst-flyers-carousel .elementor-swiper-button-prev {
  left: 10px;
}

.lvst-flyers-carousel .elementor-swiper-button-next {
  right: 10px;
}

.lvst-flyers-carousel .elementor-swiper-button.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Paginación Swiper */
.lvst-flyers-carousel .swiper-pagination {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.lvst-flyers-carousel .swiper-pagination-bullet {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lvst-color-text);
  opacity: 0.5;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.lvst-flyers-carousel .swiper-pagination-bullet:hover {
  opacity: 0.85;
}

.lvst-flyers-carousel .swiper-pagination-bullet-active {
  background: var(--lvst-color-primary);
  opacity: 1;
  transform: scale(1.3);
}

/* ==========================================================================
   Responsive Breakpoints
   Tablet (<= 1024px) & Móvil (<= 767px)
   ========================================================================== */
@media (max-width: 1024px) {
  .lvst-presentation-row {
    padding: 1.1em 0;
  }
  
  .lvst-col-date {
    flex: 0 0 18%;
    width: 18%;
    max-width: 18%;
  }

  .lvst-col-info {
    flex: 0 0 57%;
    width: 57%;
    max-width: 57%;
    padding: 0.5em 1.5em;
  }

  .lvst-col-action {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
  }

  .lvst-venue-title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  /* Colapso vertical completo a 100% */
  .lvst-presentation-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.4em 0;
    gap: 14px;
  }

  /* Columna 1 (Fecha): 100%, sin borde derecho, disposición horizontal en línea */
  .lvst-col-date {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    border-right: none !important;
    padding: 0 !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 10px;
  }

  .lvst-date-day {
    font-size: 48px;
    margin: 0;
    
  }

  .lvst-date-month {
    font-size: 24px;
    
  }

  /* Columna 2 (Info): 100%, padding nulo, alineado a la izquierda */
  .lvst-col-info {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    gap: 8px;
  }

  .lvst-show-tag {
    font-size: 15px;
  }

  .lvst-venue-title {
    font-size: 19px;
  }

  .lvst-icon-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Columna 3 (Acción): 100%, padding nulo, alineación a la izquierda */
  .lvst-col-action {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 4px 0 0 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .lvst-button,
  .lvst-badge {
    padding: 9px 22px;
    font-size: 15px;
    gap: 12px;
  }

  .lvst-flyers-carousel .elementor-swiper-button {
    width: 36px;
    height: 36px;
  }

  .lvst-flyers-carousel .elementor-swiper-button svg {
    width: 18px;
    height: 18px;
  }
}
