/* ─────────────────────────────────────────────────────────────────────────
   event_detail.css  —  public event detail page
   Palette matches home.css / event_list.css:
     hero overlay   : dark-to-transparent bottom-up
     accent green   : #6ee7b7
     brand green    : #059669 / #064e3b / #065f46
   ──────────────────────────────────────────────────────────────────────── */

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.ed-hero {
  position: relative;
  min-height: 65vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.ed-hero::before {
  content: "";
  position: absolute;
  inset: 0;
 
}
.ed-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem 1rem 3rem;
}
.ed-hero__category {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.ed-hero__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.ed-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.9;
}
.ed-hero__manage-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.4rem 1.2rem;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s;
}
.ed-hero__manage-btn:hover {
  background: rgba(255,255,255,0.28);
  color: #fff;
}

/* ─── Hero info strip (below image) ────────────────────────────────────── */
.ed-hero-info {
  background: #fff;
  border-bottom: 1px solid #e7f0ec;
  padding: 1.5rem 0 1.25rem;
}
.ed-hero__category--dark {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  display: inline-block;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.ed-hero-info__title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #064e3b;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.ed-hero-info__meta {
  color: #4b5563;
  font-size: 0.9rem;
}
.ed-hero-info__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ed-hero-info__meta .bi {
  color: #059669;
}

/* ─── Body layout ───────────────────────────────────────────────────────── */
.ed-body {
  background: #f8faf9;
}

/* ─── Section label ─────────────────────────────────────────────────────── */
.ed-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 0.25rem;
}

/* ─── Info card (sticky sidebar) ────────────────────────────────────────── */
.ed-info-card {
  border: none;
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
}
.ed-info-card__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #064e3b;
  line-height: 1;
}
.ed-info-card__buy-btn {
  background: linear-gradient(135deg, #059669, #047857) !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  width: 100%;
  transition: opacity 0.2s, transform 0.15s;
}
.ed-info-card__buy-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.ed-info-card__detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.ed-info-card__detail-row:last-child { border-bottom: none; }
.ed-info-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 0.6rem;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ─── Main content sections ─────────────────────────────────────────────── */
.ed-section {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.ed-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

/* ─── Tags ──────────────────────────────────────────────────────────────── */
.ed-tag {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 50px;
  padding: 0.25rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ─── Talent pills ──────────────────────────────────────────────────────── */
.ed-talent-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
}
.ed-talent-pill i { color: #059669; }

/* ─── Venue ─────────────────────────────────────────────────────────────── */
.ed-venue-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.75rem;
  flex-shrink: 0;
}
.ed-venue-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 0.75rem;
  background: #ecfdf5;
  color: #059669;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ed-map-btn {
  border-radius: 50px !important;
  border-color: #059669 !important;
  color: #059669 !important;
  font-size: 0.85rem;
}
.ed-map-btn:hover {
  background: #059669 !important;
  color: #fff !important;
}

/* ─── Organizer ─────────────────────────────────────────────────────────── */
.ed-org-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #d1fae5;
}
.ed-org-btn {
  border-radius: 50px !important;
  border-color: #064e3b !important;
  color: #064e3b !important;
  font-size: 0.85rem;
}
.ed-org-btn:hover {
  background: #064e3b !important;
  color: #fff !important;
}

/* ─── Share strip ───────────────────────────────────────────────────────── */
.ed-share-strip {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border-radius: 1.25rem;
  color: #fff;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.ed-share-btn {
  border-radius: 50px !important;
  background: rgba(255,255,255,0.12) !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
  color: #fff !important;
  font-size: 0.82rem;
  transition: background 0.2s;
}
.ed-share-btn:hover {
  background: rgba(255,255,255,0.26) !important;
}

/* ─── Sticky sidebar (desktop) ──────────────────────────────────────────── */
@media (min-width: 992px) {
  .ed-sticky { position: sticky; top: 80px; }
}

/* ─── Video ─────────────────────────────────────────────────────────────── */
.ed-video-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

/* ─── Status badges (hero info strip) ───────────────────────────────────── */
.ed-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.ed-status-badge--cancelled {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
}
.ed-status-badge--postponed {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #d97706;
}
.ed-status-badge--ended {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #6b7280;
}

/* ─── Status alert banners (full-width, below hero strip) ───────────────── */
.ed-status-alert {
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0;
}
.ed-status-alert i { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.ed-status-alert__body { flex: 1; }
.ed-status-alert__body strong { display: block; margin-bottom: 0.2rem; }
.ed-status-alert--cancelled {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
}
.ed-status-alert--postponed {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  color: #92400e;
}
.ed-status-alert--ended {
  background: #f8fafc;
  border: 1.5px solid #d1d5db;
  color: #374151;
}
.ed-status-alert--ended .ed-explore-link {
  color: #059669;
  font-weight: 600;
  text-decoration: none;
}
.ed-status-alert--ended .ed-explore-link:hover { text-decoration: underline; }

/* ─── Ended / cancelled sidebar box ─────────────────────────────────────── */
.ed-ended-box {
  text-align: center;
  padding: 1.75rem 1rem 1.25rem;
  border-radius: 1rem;
  background: #f3f4f6;
  margin-bottom: 1.25rem;
}
.ed-ended-box--cancelled { background: #fef2f2; }
.ed-ended-box--postponed { background: #fffbeb; }
.ed-ended-box__icon { font-size: 2.25rem; margin-bottom: 0.5rem; }
.ed-ended-box__icon--cancelled { color: #dc2626; }
.ed-ended-box__icon--postponed { color: #d97706; }
.ed-ended-box__icon--ended     { color: #6b7280; }
.ed-ended-box p {
  color: #374151;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ed-explore-btn {
  display: block;
  width: 100%;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #059669, #047857) !important;
  color: #fff !important;
  border: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.ed-explore-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff !important;
}
