/* ========================================
   TIXGO GRIDS
======================================== */

.tixgo-locations-grid,
.tixgo-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .tixgo-locations-grid,
  .tixgo-events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .tixgo-locations-grid,
  .tixgo-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tixgo-locations-grid,
  .tixgo-events-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   LOCATION CARD
======================================== */

.tixgo-location-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tixgo-location-image {
  position: relative;
  width: 100%;
  padding-top: 66%; /* consistent met events */
  overflow: hidden;
  border-radius: 16px;
}

.tixgo-location-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tixgo-location-content {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tixgo-location-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.tixgo-location-badge {
  background: #22c55e;
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ========================================
   EVENTS
======================================== */

.tixgo-event-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tixgo-event-image {
  position: relative;
  width: 100%;
  padding-top: 66%;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 10px;
}

.tixgo-event-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tixgo-event-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.event-date {
  display: block;
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}

/* ========================================
   DETAIL GRID
======================================== */

.tixgo-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .tixgo-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CONTAINER
======================================== */

.tixgo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   TIXGO SLIDERS
======================================== */

.tixgo-events-slider,
.tixgo-locations-slider {
  margin: 30px 0;
}

.tixgo-events-slider .splide__track,
.tixgo-locations-slider .splide__track {
  overflow: visible;
}

.tixgo-events-slider .splide__slide,
.tixgo-locations-slider .splide__slide {
  padding: 6px;
  height: auto;
}

/* ========================================
   SLIDER CARDS
======================================== */

.tixgo-events-slider .tixgo-event-card,
.tixgo-locations-slider .tixgo-location-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tixgo-events-slider .tixgo-event-card:hover,
.tixgo-locations-slider .tixgo-location-card:hover {
  transform: translateY(-4px);
}

/* ========================================
   SPLIDE NAVIGATION
======================================== */

.splide__arrow {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.splide__arrow svg {
  fill: #111;
}

.splide__pagination__page {
  background: #ccc;
}

.splide__pagination__page.is-active {
  background: #111;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {
  .tixgo-events-slider .splide__slide,
  .tixgo-locations-slider .splide__slide {
    padding: 4px;
  }
}
