/* ─────────────────────────────────────────────────────────────────────────
   event_list.css  —  public event list page
   Colors mirror home.css / how_it_works.css:
     hero gradient  : #064e3b → #065f46 → rgba(0,0,0,.5)
     accent green   : #6ee7b7
     link / label   : #059669
     dark green     : #064e3b
   ──────────────────────────────────────────────────────────────────────── */

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.el-hero {
  position: relative;
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.el-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.el-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 1rem 3.5rem;
  text-align: center;
}
.el-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.el-hero__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.el-hero__title span { color: #6ee7b7; }

.el-hero__city-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 50px;
  padding: 0.45rem 1.4rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.el-hero__city-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* ─── City modal card images ───────────────────────────────────────────────── */
.city-card-bg {
  height: 150px;
  background-size: cover;
  background-position: center;
  background-color: #e5e7eb;
}

/* ─── Filters bar ───────────────────────────────────────────────────────── */
.el-filters {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 56px;
  z-index: 99;
}

.el-search-input {
  border-radius: 50px !important;
  border: 2px solid #d1fae5 !important;
  padding-left: 1.2rem !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.el-search-input:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

.el-search-btn {
  border-radius: 50px !important;
  background: #059669 !important;
  border-color: #059669 !important;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}
.el-search-btn:hover {
  background: #047857 !important;
  border-color: #047857 !important;
}

.el-category-pill {
  display: inline-block;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1.5px solid #d1fae5;
  color: #065f46;
  background: #fff;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.el-category-pill:hover,
.el-category-pill.active {
  background: #064e3b;
  color: #fff;
  border-color: #064e3b;
}

.el-selected-city {
  font-size: 0.78rem;
  color: #6b7280;
}
.el-selected-city strong { color: #065f46; }

/* ─── Section label ─────────────────────────────────────────────────────── */
.el-section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
}

/* ─── Event cards ───────────────────────────────────────────────────────── */
.el-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.el-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12) !important;
}
.el-card__img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.el-card__btn {
  background: #059669 !important;
  border-color: #059669 !important;
  border-radius: 50px !important;
}
.el-card__btn:hover {
  background: #047857 !important;
  border-color: #047857 !important;
}

/* ─── Empty state ───────────────────────────────────────────────────────── */
.el-empty {
  padding: 5rem 2rem;
  text-align: center;
}

/* ─── Pagination ────────────────────────────────────────────────────────── */
.el-pagination .page-link {
  border-radius: 50px !important;
  margin: 0 2px;
  border: 1.5px solid #d1fae5;
  color: #065f46;
  padding: 0.4rem 0.9rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.el-pagination .page-link:hover,
.el-pagination .page-item.active .page-link {
  background: #064e3b;
  border-color: #064e3b;
  color: #fff;
}
.el-pagination .page-item.disabled .page-link {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #9ca3af;
}

/* ─── Utility ───────────────────────────────────────────────────────────── */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
