/* Events index — discovery-first (V3-aligned) */

.mv-events-v0-hero {
  background: linear-gradient(135deg, #084a26 0%, #0c6b34 50%, #166534 100%);
  color: #fff;
  padding: 1.25rem 1rem 1.5rem;
}

@media (min-width: 768px) {
  .mv-events-v0-hero {
    padding: 1.5rem 1rem 1.75rem;
  }
}

.mv-events-v0-hero__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.mv-events-v0-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .mv-events-v0-hero__title {
    font-size: 2.125rem;
  }
}

.mv-events-v0-hero__subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1rem;
  max-width: 36rem;
  line-height: 1.5;
}

.mv-events-v0-filters {
  position: sticky;
  top: 4.5rem;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--mv-border, #e7e5e4);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.mv-events-v0-rail-wrap {
  position: relative;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  padding: 0.15rem 0.25rem 0.5rem;
}

.mv-events-v0-rail-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.mv-events-v0-rail-track > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(100%, 280px);
}

@media (min-width: 640px) {
  .mv-events-v0-rail-track > * {
    width: 300px;
  }
}

.mv-event-card-v0 {
  display: flex;
  flex-direction: column;
  height: 12.75rem;
  min-height: 12.75rem;
  max-height: 12.75rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(231, 229, 228, 0.9);
  background: linear-gradient(180deg, #faf8f4 0%, #f0ebe2 100%);
  box-shadow: 0 2px 8px rgba(5, 23, 12, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mv-event-card-v0:hover {
  box-shadow: 0 6px 18px rgba(5, 23, 12, 0.12);
  transform: translateY(-1px);
}

.mv-event-card-v0__media {
  position: relative;
  flex: 0 0 5.5rem;
  height: 5.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f0efe9 0%, #e8e6df 100%);
}

.mv-event-card-v0__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-event-card-v0__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.7rem 0.9rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv-event-card-v0__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78716c;
  margin: 0 0 0.3rem;
}

.mv-event-card-v0__title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1c1917;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mv-event-card-v0__meta {
  font-size: 0.75rem;
  color: #78716c;
  margin: 0.35rem 0 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mv-events-v0-details {
  background: #fff;
  border: 1px solid var(--mv-border, #e7e5e4);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.mv-events-v0-details > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1c1917;
}

.mv-events-v0-details > summary::-webkit-details-marker {
  display: none;
}

.mv-events-v0-details__body {
  padding: 0 1rem 1rem;
  border-top: 1px solid #f5f5f4;
}

.mv-events-v0-pricing-details {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
}

.mv-events-v0-pricing-details > summary {
  cursor: pointer;
  color: #d9f99d;
  font-weight: 500;
}
