:root {
  --ed-ink: #102033;
  --ed-muted: #58697a;
  --ed-border: rgba(16, 32, 51, 0.12);
  --ed-soft: #f4fbfa;
  --ed-soft-blue: #eef7fc;
  --ed-panel: #ffffff;
  --ed-shadow: 0 24px 60px rgba(16, 32, 51, 0.08);
}

.event-detail-page {
  background:
    radial-gradient(circle at top left, rgba(25, 205, 178, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fcfb 0%, #ffffff 24%, #ffffff 100%);
}

.event-detail-page section {
  background: transparent !important;
}

.event-detail-page a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.ed-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ed-breadcrumbs {
  padding: 28px 0 0;
  color: var(--ed-muted);
  font-size: 0.92rem;
}

.ed-breadcrumbs a {
  color: var(--ed-muted);
  text-decoration: none;
}

/* Hero — compact, no decorative accent, no aside panel */
.ed-hero {
  padding: 24px 0 6px;
}

.ed-title {
  margin: 0 0 14px;
  color: var(--ed-ink);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.ed-lead {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--ed-muted);
  font-size: 1.02rem;
  line-height: 1.86;
}

.ed-chip-row,
.ed-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ed-chip,
.ed-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.ed-chip {
  background: rgba(16, 32, 51, 0.06);
  color: #35516d;
}

.ed-chip.is-fit,
.ed-tag.is-fit {
  background: rgba(25, 205, 178, 0.12);
  color: #0f766e;
}

.ed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Key Facts band — promoted to hero-adjacent scannable strip */
.ed-keyfacts-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid var(--ed-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, rgba(244, 251, 250, 0.88));
  box-shadow: var(--ed-shadow);
}

.ed-fact {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
}

.ed-fact dt {
  margin: 0;
  color: #35516d;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ed-fact dd {
  margin: 0;
  color: var(--ed-ink);
  font-size: 0.94rem;
  line-height: 1.6;
  word-break: break-word;
}

.ed-fact dd a {
  color: var(--ed-ink);
  text-decoration: underline;
}

/* Stacked content cards */
.ed-section {
  padding: 22px 0 0;
}

.ed-stack {
  display: grid;
  gap: 18px;
}

.ed-card,
.ed-proof,
.ed-cta-panel {
  border: 1px solid var(--ed-border);
  border-radius: 26px;
  background: var(--ed-panel);
  box-shadow: var(--ed-shadow);
}

.ed-card {
  padding: 24px;
}

.ed-card h2,
.ed-card h3 {
  margin: 0 0 12px;
  color: var(--ed-ink);
  line-height: 1.35;
}

.ed-card p,
.ed-card li {
  color: var(--ed-muted);
  line-height: 1.82;
}

.ed-card p:last-child,
.ed-card li:last-child {
  margin-bottom: 0;
}

.ed-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.ed-decision-grid,
.ed-related-grid,
.ed-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ed-decision-item,
.ed-related-item,
.ed-resource-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 252, 0.88));
}

.ed-decision-item h3,
.ed-related-item h3,
.ed-resource-item h3 {
  margin: 0 0 10px;
  color: var(--ed-ink);
  font-size: 1.02rem;
  line-height: 1.45;
}

.ed-related-item a,
.ed-resource-item a,
.ed-proof a {
  color: var(--ed-ink);
  text-decoration: none;
}

.ed-proof {
  padding: 24px;
}

.ed-proof p {
  margin: 0;
  color: var(--ed-muted);
  line-height: 1.8;
}

.ed-proof strong {
  color: var(--ed-ink);
}

.ed-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  padding: 28px;
  margin: 28px 0 80px;
  background:
    radial-gradient(circle at right top, rgba(53, 168, 225, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(230, 250, 247, 0.86), rgba(255, 255, 255, 0.98));
}

.ed-cta-panel h2 {
  margin: 0 0 12px;
  color: var(--ed-ink);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.ed-cta-panel p {
  margin: 0;
  color: var(--ed-muted);
  line-height: 1.84;
}

.ed-cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.ed-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.ed-link-btn.is-dark {
  background: linear-gradient(135deg, #19cdb2, #35a8e1);
  color: #fff;
}

.ed-link-btn.is-light {
  border: 1px solid rgba(16, 32, 51, 0.12);
  background: #fff;
  color: var(--ed-ink);
}

@media (max-width: 1080px) {
  .ed-cta-panel,
  .ed-decision-grid,
  .ed-related-grid,
  .ed-resource-grid,
  .ed-keyfacts-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ed-shell {
    padding: 0 18px;
  }

  .ed-hero {
    padding-top: 18px;
  }

  .ed-fact {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }
}
