/* ========================================
   Events & Concerts - Frontend Styles
   ======================================== */

/* Wrapper */
.events-grid-wrapper {
  margin: 0 auto;
  padding: 0;
}

/* ---- Filters ---- */
.events-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.events-filter-btn {
  padding: 8px 16px;
  border: 2px solid #a4647b;
  background: #a4647b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: capitalize;
  border-radius: 100px;
}

.events-filter-btn:hover {
  background: #000000;
  color: #fff;
  border: 2px solid #000000;
}

.events-filter-btn.active {
  background: #000000;
  color: #fff;
  border: 2px solid #000000;
}

/* ---- Grid ---- */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ---- Single Card ---- */
.event-card {
  display: flex;
  align-items: stretch;
  background: #a4647b;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #2b2b2b;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  min-height: 90px;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 145, 154, 0.4);
}

/* Date (left) */
.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 85px;
  background: #ffffff;
  color: #2b2b2b;
  padding: 14px 0;
  border-radius: 10px 0 0 10px;
}

.event-card__day {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 40px;
  color: #000000;
  font-family: "HighriseFont", sans-serif;
  line-height: 1;
}

.event-card__month {
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 40px;
  color: #000000;
  font-family: "HighriseFont", sans-serif;
  letter-spacing: 1px;
}

/* Info (middle) */
.event-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
  align-items: flex-start;
}

.event-card__additional-info {
  font-size: 14px;
  text-transform: capitalize;
  color: #fff;
  letter-spacing: 0px;
  margin-bottom: 8px;
  font-weight: 400;
  background: #dd7882;
  border-radius: 10px;
  padding: 4px 8px;
  line-height: 18px;
}

.event-card__title {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 30px;
  color: #ffffff;
  font-family: "HighriseFont", sans-serif;
  letter-spacing: 1px;
}

.event-card__location {
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 40px;
  color: #ffffff;
  font-family: "HighriseFont", sans-serif;
  letter-spacing: 0.5px;
  margin-top: 4px;
  display: flex;
}

/* Inline flag (after country name) */
.event-card__flag-inline {
  display: inline-block;
  width: 60px !important;
  vertical-align: middle;
  margin-left: 8px;
  border-radius: 2px;
  object-fit: contain;
  margin-bottom: 0px !important;
}

/* Right side: Ticket only */
.event-card__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px 16px;
  gap: 8px;
  min-width: 130px;
}

.event-card__ticket-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #dd7882;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  text-transform: capitalize;
  text-decoration: none;
  border-radius: 100px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.event-card__ticket-btn:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

.event-card__ticket-tbd {
  display: inline-block;
  padding: 0;
  background: transparent;
  border: 0px;
  color: #ffffff;
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  font-family: "HighriseFont", sans-serif;
}

/* No results */
.events-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 16px;
}

/* Loading */
.events-grid.loading {
  opacity: 0.5;
  pointer-events: none;
}

/* ---- Hidden cards (View More) ---- */
.event-card--hidden {
  display: none !important;
}

/* ---- View More Button ---- */
.events-view-more-wrap {
  text-align: center;
  margin-top: 24px;
}

.events-view-more-btn {
  padding: 12px 32px;
  background: #a4647b;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.events-view-more-btn:hover {
  background: #000;
}

/* ---- Card entrance animation ---- */
@keyframes eventCardSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card--animate {
  opacity: 0;
  transform: translateY(20px);
}

.event-card--visible {
  animation: eventCardSlideIn 0.4s ease forwards;
}

/* ========================================
   Responsive
   ======================================== */

/* Tablet and Mobile */
@media (max-width: 991px) {
  .events-filters {
    justify-content: center;
  }

  .event-card {
    flex-direction: column;
    align-items: stretch;
  }

  /* Date in one line */
  .event-card__date {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    border-radius: 10px 10px 0 0;
    padding: 12px 16px;
    justify-content: center;
  }

  .event-card__day,
  .event-card__month {
    line-height: 1;
  }

  /* Info */
  .event-card__info {
    padding: 12px 16px;
    align-items: center;
    text-align: center;
  }

  .event-card__title,
  .event-card__location {
    white-space: normal;
    text-align: center;
  }

  /* Flag centered below location */
  .event-card__flag-inline {
    display: block !important;
    margin: 8px auto 0 !important;
  }

  .event-card__location {
    flex-direction: column;
    align-items: center;
  }

  /* Ticket button full width */
  .event-card__right {
    min-width: unset;
    width: 100%;
    padding: 0 16px 16px;
  }

  .event-card__ticket-btn,
  .event-card__ticket-tbd {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
