/* Live Events Page Styles - Figma Design */

/* Prevent horizontal overflow */
* {
  box-sizing: border-box;
}

.live-events-page {
  width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.events-hero {
  height: 362px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #111 0%, #222 100%);
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/live-events/le2/1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0) 100%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  padding: 10px;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: 'Fira Sans Condensed', sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
  display: inline-block;
}

.hero-subtitle {
  font-family: 'Fira Sans', sans-serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  max-width: 780px;
  margin: 0;
  white-space: pre-wrap;
}

/* Live Events Section */
.live-events-section {
  background: #fff;
  padding: 90px 60px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Month Filter */
.month-filter-container {
  width: 100%;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.month-filter-container::-webkit-scrollbar {
  height: 6px;
}

.month-filter-container::-webkit-scrollbar-track {
  background: transparent;
}

.month-filter-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.month-filter-container::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.month-filter {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
}

.month-filter-btn {
  background: #e5e5e5;
  color: #666;
  border: none;
  border-radius: 4px;
  padding: 12px 42px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.month-filter-btn:hover {
  background: #d5d5d5;
}

.month-filter-btn.active {
  background: #f43900;
  color: #fff;
}

/* Events Grid Container */
.events-grid-container {
  width: 100%;
  margin-top: 20px;
  max-width: 100%;
  overflow-x: hidden;
}

.events-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.events-month-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

/* Event Card */
.event-card {
  display: flex;
  border: 1px solid #ccc;
  height: 260px;
  flex: 1 0 calc(50% - 10px);
  min-width: 0;
  max-width: calc(50% - 10px);
  overflow: hidden;
  background: #fff;
}

@media (min-width: 1240px) {
  .event-card {
    min-width: 600px;
  }
}

.event-image {
  width: 260px;
  height: 260px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.event-date {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: 'wdth' 100;
  line-height: 1.6;
  color: #f43900;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.explore-more-btn {
  border: 1px solid #f43900;
  background: transparent;
  color: #f43900;
  padding: 12px 48px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  line-height: 20px;
  white-space: nowrap;
}

.explore-more-btn:hover {
  background: #f43900;
  color: #fff;
}

.explore-more-btn.filled {
  background: #f43900;
  color: #fff;
}

.explore-more-btn.filled:hover {
  background: #d63200;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .event-card {
    width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 900px) {
  .live-events-section {
    padding: 60px 30px;
  }

  .month-filter-container {
    width: 100%;
    overflow-x: auto;
  }

  .month-filter {
    width: max-content;
    min-width: 100%;
  }

  .month-filter-btn {
    padding: 10px 30px;
    font-size: 16px;
  }

  .event-card {
    flex-direction: column;
    height: auto;
    min-width: 100%;
  }

  .event-image {
    width: 100%;
    height: 200px;
  }

  .event-content {
    padding: 30px;
  }

  .event-title {
    font-size: 22px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 20px;
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  .live-events-section {
    padding: 40px 20px;
  }

  .month-filter-btn {
    padding: 8px 20px;
    font-size: 14px;
    letter-spacing: 1px;
  }

  .event-content {
    padding: 20px;
  }

  .event-date {
    font-size: 14px;
  }

  .event-title {
    font-size: 20px;
  }

  .explore-more-btn {
    padding: 2rem 3rem;
    font-size: 3rem;
    margin-top: 2rem;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .events-hero {
    height: 280px;
  }
}