/* Event detail pages — shared layout */

.event-detail-page .header.header--solid {
  background:
    linear-gradient(180deg, rgba(8, 14, 27, 0.96) 0%, rgba(7, 12, 23, 0.95) 100%);
  backdrop-filter: blur(14px) saturate(155%);
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.ed-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text-inverse);
  padding: calc(var(--header-h) + 48px) 0 56px;
}

.ed-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 64% 56% at 12% 12%, rgba(212, 183, 106, 0.2) 0%, transparent 54%),
    radial-gradient(ellipse 50% 44% at 84% 72%, rgba(212, 183, 106, 0.12) 0%, transparent 56%),
    linear-gradient(160deg, rgba(5, 10, 24, 0.74) 6%, rgba(11, 22, 48, 0.72) 62%, rgba(16, 31, 64, 0.7) 100%),
    var(--ed-hero-image) center 35% / cover no-repeat;
}

.ed-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(5, 10, 24, 0.22) 0%, rgba(5, 10, 24, 0.52) 100%);
}

.ed-hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.ed-hero__eyebrow,
.ed-hero__trust span {
  border: 1px solid rgba(212, 183, 106, 0.26);
  background: rgba(12, 20, 40, 0.48);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.ed-hero__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ed-hero__content h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.2rem);
  line-height: 1.06;
  color: #ffffff;
  margin: 10px 0 14px;
  letter-spacing: -0.028em;
  text-shadow: 0 10px 24px rgba(5, 10, 24, 0.34);
}

.ed-hero__content > p {
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  color: rgba(255, 255, 255, 0.87);
  line-height: 1.78;
  max-width: 640px;
  margin: 0 auto;
}

.ed-hero__trust {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ed-hero__trust span::before {
  content: "✓";
  color: var(--gold-300);
  margin-right: 6px;
}

.ed-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s;
}

.ed-hero__back:hover {
  color: var(--gold-300);
}

/* Per-type hero images */
.event-detail-page--weddings { --ed-hero-image: url("https://images.unsplash.com/photo-1519741497674-611481863552?w=800&q=80"); }
.event-detail-page--birthdays { --ed-hero-image: url("https://images.unsplash.com/photo-1530103862676-de8c9debad1d?w=800&q=80"); }
.event-detail-page--corporate { --ed-hero-image: url("https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=800&q=80"); }
.event-detail-page--venues { --ed-hero-image: url("https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?w=800&q=80"); }
.event-detail-page--photography { --ed-hero-image: url("https://images.unsplash.com/photo-1606216794074-735e91aa2c92?w=800&q=80"); }
.event-detail-page--catering { --ed-hero-image: url("https://images.unsplash.com/photo-1555244162-803834f70033?w=800&q=80"); }
.event-detail-page--entertainment { --ed-hero-image: url("https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=800&q=80"); }
.event-detail-page--decor { --ed-hero-image: url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?w=800&q=80"); }

/* Overview */
.ed-overview-section {
  background: #f7f7f5;
  padding-top: clamp(52px, 6.5vw, 76px);
  padding-bottom: clamp(52px, 6.5vw, 76px);
}

.ed-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 44px);
  align-items: center;
}

.ed-overview__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 18, 25, 0.1);
  aspect-ratio: 4 / 3;
  max-height: 480px;
}

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

.ed-overview__card .process-different__eyebrow,
.ed-overview__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}

.ed-overview__card h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin-bottom: 14px;
}

.ed-overview__lead {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Services / match tags */
.ed-services-section {
  padding: clamp(48px, 6vw, 64px) 0;
}

.ed-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

.ed-service-card {
  padding: clamp(20px, 2.5vw, 26px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-0);
  text-align: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.ed-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ed-service-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ed-service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.ed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ed-tags span {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface-1);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Match steps (detail pages) */
.ed-match-section {
  background: var(--surface-0);
}

.ed-match-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}

.ed-match-card {
  padding: clamp(26px, 3vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-1);
  text-align: center;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.ed-match-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.ed-match-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-900);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.ed-match-card h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ed-match-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Related types */
.ed-related-section .cat-card {
  text-decoration: none;
  color: inherit;
}

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

  .ed-services-grid,
  .ed-match-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ed-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-service-card:hover,
  .ed-match-card:hover {
    transform: none;
  }
}
