.events-page {
  min-height: calc(100vh - 140px);
  background: #f8fafc;
}

.events-hero {
  padding: 48px 20px 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}

.events-hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.events-hero p {
  color: rgba(255, 255, 255, 0.9);
}

.events-filters {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.events-filters input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.events-list {
  padding: 24px 20px;
}

.events-stats {
  margin-bottom: 14px;
  font-weight: 600;
  color: #334155;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.event-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

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

.event-card-media {
  position: relative;
}

.event-card-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #e2e8f0;
}

.event-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.event-card-media.is-concluded .event-card-image {
  filter: grayscale(0.2) saturate(0.75);
}

.event-card-content {
  padding: 12px;
}

.event-card-content h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.event-card .meta,
.event-card .date {
  font-size: 0.9rem;
  color: #64748b;
}

.events-cities {
  padding: 0 20px 32px;
}

.pagination {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pagination-meta {
  color: #475569;
  font-size: 0.92rem;
}

.pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-link {
  text-decoration: none;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #1e293b;
  padding: 7px 11px;
  font-weight: 600;
  font-size: 0.9rem;
}

.page-link.is-active {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
}

.events-cities h2 {
  margin-bottom: 12px;
}

.city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-links a {
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 6px 10px;
  border-radius: 999px;
  color: #334155;
  font-size: 0.9rem;
}

.muted {
  color: #64748b;
}

.region-note {
  margin-top: 14px;
  font-size: 0.9rem;
}

.event-detail {
  padding: 32px 20px 48px;
}

.event-detail h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.event-detail .meta,
.event-detail .date {
  color: #64748b;
  margin-bottom: 8px;
}

.event-cover {
  width: 100%;
  max-width: 820px;
  margin: 20px 0;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.event-info p {
  margin-bottom: 8px;
}

.event-description {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

.event-badge-inline {
  position: static;
  width: fit-content;
  margin: 10px 0;
}

.event-description h2 {
  margin-bottom: 8px;
}

.back-link {
  color: #f97316;
  text-decoration: none;
  font-weight: 600;
}

.cta-app {
  margin-top: 20px;
}

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