/* ==========================================================================
   ACI Milan - Event Details Page Styles
   ========================================================================== */

/* Base page tone — white under fixed header (matches Events / Contact) */
.ed-page {
  background: var(--aci-white);
}

/* 1. Hero (matches Events .ep-hero / Contact .cp-hero) */
.ed-hero {
  padding-top: var(--header-h);
  background: #F4F6FA;
}

/* Stage shell + title column: assets/css/style-v3.css */

.ed-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: .72;
  transform: scale(1.02);
  animation: edHeroDrift 18s ease-in-out infinite alternate;
}

.ed-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(12, 10, 8, 0.52);
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--aci-black) 84%, transparent) 0%,
    color-mix(in srgb, var(--aci-black) 28%, transparent) 55%,
    transparent 100%
  ),
  linear-gradient(to bottom, transparent 58%, color-mix(in srgb, var(--aci-black) 26%, transparent) 100%);
}

/* 2. Overview */
.ed-overview {
  padding: 100px 0;
  background: #F4F6FA;
}

.ed-overview-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  align-items: start;
}

.ed-overview-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ed-overview-content .aci-eyebrow {
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
}

.ed-overview-title {
  margin: 0;
  font-family: var(--font-en-display);
  font-size: 51.2px;
  font-weight: 400;
  line-height: 1.1;
  color: #171411;
}

.ed-overview-title em {
  font-style: italic;
  color: var(--aci-gold);
}

.ed-overview-desc {
  margin: 0;
  max-width: 740px;
  font-family: var(--font-en-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #7A6E63;
}

.ed-quote {
  margin: 0;
  width: min(100%, 840px);
  min-height: 62px;
  padding: 16px 24px;
  border-left: 3px solid var(--aci-gold);
  border-radius: 0 28px 28px 0;
  background: #00000008;
  font-family: var(--font-en-body);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: #171411;
  display: flex;
  align-items: center;
}

.ed-overview-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 0;
}

.ed-overview-actions .aci-btn-primary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: max-content;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--aci-white);
  text-decoration: none;
  background: linear-gradient(175deg, #dbba88 0%, var(--aci-gold) 48%, #b7894e 100%);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.38),
    0 4px 10px -4px rgba(201, 158, 106, 0.32),
    0 14px 34px -12px rgba(201, 158, 106, 0.65);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.ed-overview-actions .aci-btn-primary [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--aci-white);
}

.ed-overview-actions .aci-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  color: var(--aci-white);
}

.ed-overview-actions .aci-btn-ghost {
  box-sizing: border-box;
  min-width: 0;
  width: auto;
  max-width: max-content;
  height: auto;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--aci-text);
  background: var(--aci-glass-mid);
  border: 1px solid var(--aci-border-warm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 14px -8px rgba(15, 23, 42, 0.08);
}

.ed-overview-actions .aci-btn-ghost:hover {
  background: var(--aci-glass-strong);
  color: var(--aci-text);
  border-color: var(--aci-border-warm);
}

/* 2b. Description */
.ed-description {
  padding: 0 0 100px;
  background: #F4F6FA;
}

.ed-description-inner {
  max-width: 860px;
  font-family: var(--font-en-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: #5f554c;
}

.ed-description-inner h2,
.ed-description-inner h3,
.ed-description-inner h4 {
  margin: 1.5em 0 .5em;
  font-family: var(--font-en-display);
  font-weight: 400;
  line-height: 1.18;
  color: #171411;
}

.ed-description-inner a {
  color: var(--aci-gold);
}

/* details card */
.ed-details-card {
  width: 400px;
  max-width: 100%;
  background: #F7F3EC;
  border: 1px solid #88736021;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ed-details-head {
  padding: 25.5px 24px 16px;
  font-family: var(--font-en-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #7A6E63;
}

.ed-details-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid #88736021;
  border-bottom: 1px solid #88736021;
  transition: background-color 0.28s ease, transform 0.28s ease;
}

.ed-details-row + .ed-details-row {
  margin-top: -1px;
}

.ed-details-row:last-child {
  border-bottom: none;
}

.ed-details-row:hover {
  transform: translateX(4px);
}

.ed-details-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--aci-ivory);
  border: 1px solid #88736021;
  color: #C99E6A;
}

.ed-details-icon [data-lucide] {
  width: 16px;
  height: 16px;
}

.ed-details-label {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-en-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7A6E63;
}

.ed-details-value {
  display: block;
  font-family: var(--font-en-body);
  font-size: 15px;
  color: #171411;
  font-weight: 500;
}

/* 3. Story */
.ed-story {
  padding: 100px 0;
  background: #F7F3EC;
}

.ed-story-grid {
  display: grid;
  grid-template-columns: 554.398px minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.ed-story-img-wrap {
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.ed-story-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.ed-story-content {
  padding-top: 100px;
  padding-bottom: 100px;
}

.ed-story .aci-eyebrow {
  border: 1px solid var(--aci-border-warm);
  background: var(--aci-glass-mid);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 16px -8px rgba(15, 23, 42, 0.08);
  color: var(--aci-taupe);
}

.ed-story-title {
  margin: 16px 0;
  font-family: var(--font-en-display);
  font-size: 51.2px;
  font-weight: 400;
  line-height: 1.12;
  color: #171411;
}

.ed-story-title em {
  font-style: italic;
  color: var(--aci-gold);
}

.ed-story-text {
  margin: 0 0 20px;
  max-width: 740px;
  font-family: var(--font-en-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #7A6E63;
}

.ed-story-note {
  margin-top: 0;
  max-width: 685.602px;
  min-height: 70px;
  padding: 20px 24px;
  border-radius: var(--radius-card);
  border: 1px solid #88736021;
  background: var(--aci-ivory);
  font-family: var(--font-en-display);
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  color: #171411;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ed-story-note [data-lucide] {
  width: 20px;
  height: 22px;
  color: var(--aci-gold);
  flex-shrink: 0;
}

/* 4. Expect */
.ed-expect {
  padding: 100px 0;
  background: var(--aci-ivory);
}

.ed-section-header {
  text-align: center;
  margin-bottom: 52px;
}

.ed-expect .aci-eyebrow {
  border: 1px solid var(--aci-border-warm);
  background: var(--aci-glass-mid);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 16px -8px rgba(15, 23, 42, 0.08);
  color: var(--aci-taupe);
}

.ed-section-title {
  font-family: var(--font-en-display);
  font-size: 51.2px;
  font-weight: 400;
  line-height: 1.1;
  color: #171411;
}

.ed-section-title em {
  color: var(--aci-gold);
  font-style: italic;
}

.ed-expect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ed-expect-item {
  min-height: 248px;
  background: #F7F3EC;
  border: 1px solid #88736021;
  border-radius: var(--radius-card);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow:
    0 2px 6px -2px rgba(15, 23, 42, 0.05),
    0 6px 20px -8px rgba(15, 23, 42, 0.1);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.ed-expect-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.ed-expect-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid #88736021;
  background: var(--aci-ivory);
  color: var(--aci-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.ed-expect-icon [data-lucide] {
  width: 16px;
  height: 16px;
}

.ed-expect-item h3 {
  margin: 0;
  font-family: var(--font-en-display);
  font-size: 20px;
  font-weight: 400;
  color: #171411;
}

.ed-expect-item p {
  margin: 0;
  font-family: var(--font-en-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #7A6E63;
}

/* 5. Journey */
.ed-journey {
  padding: 100px 0;
  background: #F7F3EC;
}

.ed-journey-grid {
  display: grid;
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  gap: 100px;
  align-items: start;
}

.ed-journey .aci-eyebrow {
  border: 1px solid var(--aci-border-warm);
  background: var(--aci-glass-mid);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 16px -8px rgba(15, 23, 42, 0.08);
  color: var(--aci-taupe);
  margin-bottom: 32px;
}

.ed-journey-title {
  margin: 0 0 15px;
  font-family: var(--font-en-display);
  font-size: 51.2px;
  font-weight: 400;
  line-height: 1.12;
  color: #171411;
}

.ed-journey-title-line1 {
  display: inline-block;
  white-space: nowrap;
}

.ed-journey-title-line2 {
  display: block;
}

.ed-journey-title em {
  color: var(--aci-gold);
  font-style: italic;
}

.ed-journey-intro {
  margin: 0;
  font-family: var(--font-en-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #7A6E63;
  max-width: 360px;
}

.ed-steps {
  position: relative;
  width: 100%;
  max-width: 860px;
}

.ed-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 44px;
  position: relative;
}

.ed-step:last-child {
  padding-bottom: 0;
}

/* vertical connector line — on .ed-step so it spans the full row height */
.ed-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  left: 21.5px;
  width: 1px;
  bottom: 0;
  background: linear-gradient(180deg, rgba(201, 158, 106, 0.5) 0%, rgba(201, 158, 106, 0.1) 100%);
}

.ed-step-num {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--aci-text);
  color: #F7F3EC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}

.ed-step-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.ed-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #88736021;
  background: var(--aci-ivory);
  color: var(--aci-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ed-step-icon [data-lucide] {
  width: 18px;
  height: 18px;
}

.ed-step-body h3 {
  margin: 0 0 4px;
  font-family: var(--font-en-display);
  font-size: 20px;
  font-weight: 500;
  color: #24272d;
  line-height: 1.18;
}

.ed-step-body p {
  margin: 0;
  font-family: var(--font-en-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #7A6E63;
}

/* 6. Practical */
.ed-practical {
  padding: 84px 0 70px;
  background: var(--aci-ivory);
}

.ed-practical-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 46px;
  align-items: start;
}

.ed-practical .aci-eyebrow {
  border: 1px solid var(--aci-border-warm);
  background: var(--aci-glass-mid);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 16px -8px rgba(15, 23, 42, 0.08);
  color: var(--aci-taupe);
  margin-bottom: 30px;
}

.ed-practical-title {
  margin: 0 0 32px;
  font-family: var(--font-en-display);
  font-size: 51.2px;
  font-weight: 400;
  line-height: 1.1;
  color: #171411;
}

.ed-practical-title em {
  color: var(--aci-gold);
  font-style: italic;
}

.ed-practical-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ed-practical-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}

.ed-practical-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #88736021;
  background: #F7F3EC;
  color: var(--aci-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ed-practical-item-icon [data-lucide] {
  width: 18px;
  height: 18px;
}

.ed-practical-item h3 {
  margin: 0 0 4px;
  font-family: var(--font-en-display);
  font-size: 15px;
  font-weight: 600;
  color: #171411;
}

.ed-practical-item p {
  margin: 0;
  font-family: var(--font-en-body);
  font-size: 14.5px;
  font-weight: 400;
  color: #7A6E63;
  line-height: 1.6;
}

.ed-practical-card {
  width: 420px;
  min-height: 403.9px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #F7F3EC;
  border: 1px solid #88736021;
  border-radius: var(--radius-card-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.ed-practical-card .ed-practical-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 0;
  background: var(--aci-ivory);
  border: 1px solid #88736021;
}

.ed-practical-card .ed-practical-item-icon [data-lucide] {
  width: 22px;
  height: 22px;
  color: var(--aci-gold);
}

.ed-practical-card h3 {
  margin: 0;
  font-family: var(--font-en-display);
  font-size: 22px;
  font-weight: 400;
  color: #171411;
}

.ed-practical-card p {
  margin: 0;
  font-family: var(--font-en-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #7A6E63;
}

.ed-practical-card .aci-btn-primary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: max-content;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--aci-white);
  text-decoration: none;
  background: linear-gradient(175deg, #dbba88 0%, var(--aci-gold) 48%, #b7894e 100%);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.38),
    0 4px 10px -4px rgba(201, 158, 106, 0.32),
    0 14px 34px -12px rgba(201, 158, 106, 0.65);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.ed-practical-card .aci-btn-primary [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--aci-white);
}

.ed-practical-card .aci-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  color: var(--aci-white);
}

.ed-practical-card .aci-btn-ghost {
  box-sizing: border-box;
  min-width: 0;
  width: auto;
  max-width: max-content;
  height: auto;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--aci-text);
  background: var(--aci-glass-mid);
  border: 1px solid var(--aci-border-warm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 14px -8px rgba(15, 23, 42, 0.08);
}

.ed-practical-card .aci-btn-ghost:hover {
  background: var(--aci-glass-strong);
  color: var(--aci-text);
  border-color: var(--aci-border-warm);
}

/* 7. Gallery */
.ed-gallery {
  padding: 80px 0;
  background: #F7F3EC;
}

.ed-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.ed-gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 190px;
}

.ed-gallery-item img,
.ed-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #171411;
}

.ed-gallery-item img {
  transition: transform 0.5s ease;
}

.ed-gallery-item:hover img {
  transform: scale(1.04);
}

.ed-gallery-item--large {
  grid-column: span 6;
  grid-row: 1;
  min-height: 190px;
}

.ed-gallery-item--h {
  min-height: 190px;
}

.ed-gallery-grid--single {
  grid-template-columns: minmax(0, min(100%, 960px));
  justify-content: center;
}

.ed-gallery-grid--single .ed-gallery-item {
  grid-column: 1 / -1;
  grid-row: auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.ed-gallery-grid--single .ed-gallery-item video {
  object-fit: contain;
}

.ed-gallery-item:nth-child(2),
.ed-gallery-item:nth-child(3) {
  grid-column: span 3;
}

.ed-gallery-item:nth-child(4),
.ed-gallery-item:nth-child(5),
.ed-gallery-item:nth-child(6) {
  grid-column: span 4;
}

/* 8. Related */
.ed-related {
  padding: 100px 0;
  background: var(--aci-ivory);
}

.ed-related-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
}

.ed-related-eyebrow {
  margin-bottom: 28px;
}

.ed-related-eyebrow.aci-eyebrow {
  border: 1px solid var(--aci-border-warm);
  background: var(--aci-glass-mid);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 16px -8px rgba(15, 23, 42, 0.08);
  color: var(--aci-taupe);
}

.ed-related-all-btn {
  box-sizing: border-box;
  min-width: 0;
  width: auto;
  max-width: max-content;
  height: auto;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--aci-text);
  background: var(--aci-glass-mid);
  border: 1px solid var(--aci-border-warm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 14px -8px rgba(15, 23, 42, 0.08);
}

.ed-related-all-btn:hover {
  background: var(--aci-glass-strong);
  color: var(--aci-text);
  border-color: var(--aci-border-warm);
}

.ed-related-title {
  margin: 0;
  font-family: var(--font-en-display);
  font-size: 51.2px;
  font-weight: 400;
  line-height: 1.1;
  color: #171411;
}

.ed-related-title em {
  color: var(--aci-gold);
  font-style: italic;
}

.ed-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ed-card {
  background: var(--aci-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--aci-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ed-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
}

.ed-card-img-wrap {
  position: relative;
  height: 220px;
}

.ed-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-card-date {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 46px;
  height: 51px;
  min-width: 46px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--aci-black) 72%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 10px;
  gap: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.ed-card-date-day {
  display: block;
  font-family: var(--font-en-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--aci-gold);
  line-height: 1;
}

.ed-card-date-mon {
  display: block;
  font-family: var(--font-en-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
}

.ed-card-body {
  padding: 24px 24px 0;
  background: var(--aci-ivory);
}

.ed-card-cat {
  margin: 0 0 8px;
  font-family: var(--font-en-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aci-gold);
}

.ed-card-title {
  font-family: var(--font-en-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--aci-text);
  line-height: 1.25;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-card-desc {
  margin: 0 0 16px;
  font-family: var(--font-en-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--aci-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 16px;
  column-gap: 8px;
  margin: 0;
  padding: 0 0 24px;
  border-top: none;
}

.ed-card-foot::before {
  content: "";
  order: -1;
  flex: 0 0 100%;
  box-sizing: border-box;
  width: 100%;
  height: 1px;
  padding: 0;
  background-color: var(--aci-border);
  background-clip: border-box;
}

.ed-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-en-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--aci-muted);
}

.ed-card-location {
  color: var(--aci-muted);
}

.ed-card-location [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--aci-muted);
}

.ed-card-link {
  font-family: var(--font-en-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--aci-gold);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity .22s ease, gap .22s ease, color .22s ease;
}

.ed-card-link:hover {
  opacity: .95;
  color: var(--aci-taupe);
  gap: 10px;
}

.ed-card-link [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--aci-gold);
  transition: transform .22s ease, color .22s ease;
}

.ed-card-link:hover [data-lucide] {
  transform: translateX(4px);
  color: var(--aci-taupe);
}

/* 9. CTA (matches Contact / Events CTA block) */
.ed-cta {
  background: #F7F3EC;
  padding-top: 100px;
  padding-bottom: 0;
}

.ed-cta-card {
  position: relative;
  overflow: hidden;
  background: var(--aci-glass);
  border: 1px solid var(--aci-border-warm);
  border-top-left-radius: var(--radius-card-lg);
  border-top-right-radius: var(--radius-card-lg);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: clamp(48px, 8vw, 73px) clamp(24px, 5vw, 40px) clamp(44px, 7vw, 69px);
  box-sizing: border-box;
  transition: box-shadow 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ed-cta-card:hover {
  box-shadow: var(--shadow-card);
}

.ed-cta-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(120px, 36vw, 181px);
  height: auto;
  pointer-events: none;
  transform: translate(6%, -10%);
  opacity: 1;
}

.ed-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ed-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  min-height: 38.4px;
  padding: 8.5px 18px 8.9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--aci-border-warm);
  background: var(--aci-glass-mid);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 16px -8px rgba(15, 23, 42, 0.08);
  font-family: var(--font-en-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aci-taupe);
  margin-bottom: 16px;
}

.ed-cta-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--aci-gold);
  box-shadow: 0 0 0 3px rgba(201, 158, 106, 0.22);
  animation: aciPulse 2.8s ease-in-out infinite;
}

.ed-cta-title {
  font-family: var(--font-en-display);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--aci-text);
  line-height: 1.12;
  margin: 0 0 16px;
  max-width: 100%;
}

.ed-cta-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--aci-gold);
}

.ed-cta-desc {
  font-family: var(--font-en-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--aci-muted);
  line-height: 1.55;
  max-width: 520px;
  margin: 0 0 32px;
}

.ed-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.ed-cta-card .ed-cta-btn-events.aci-btn-primary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  min-height: 0;
  height: auto;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-en-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--aci-white);
  text-decoration: none;
  background: linear-gradient(175deg, #dbba88 0%, var(--aci-gold) 48%, #b7894e 100%);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.38),
    0 4px 10px -4px rgba(201, 158, 106, 0.32),
    0 14px 34px -12px rgba(201, 158, 106, 0.65);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.ed-cta-card .ed-cta-btn-events.aci-btn-primary [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--aci-white);
}

.ed-cta-card .ed-cta-btn-events.aci-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  color: var(--aci-white);
}

.ed-cta-card .ed-cta-btn-contact.aci-btn-ghost {
  box-sizing: border-box;
  min-width: 0;
  width: auto;
  max-width: max-content;
  height: auto;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--aci-text);
  background: var(--aci-glass-mid);
  border: 1px solid var(--aci-border-warm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 1px rgba(255, 255, 255, 0.9),
    0 4px 14px -8px rgba(15, 23, 42, 0.08);
}

.ed-cta-card .ed-cta-btn-contact.aci-btn-ghost:hover {
  background: var(--aci-glass-strong);
  color: var(--aci-text);
  border-color: var(--aci-border-warm);
}

@media (max-width: 575.98px) {
  .ed-cta-card {
    padding: 48px var(--aci-gutter) 44px;
    border-radius: var(--radius-card-lg);
  }
  .ed-cta-eyebrow {
    width: auto;
    max-width: 100%;
    min-width: 0;
  }
  .ed-cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .ed-cta-card .ed-cta-btn-events.aci-btn-primary {
    width: 100%;
    min-width: 0;
  }

  .ed-hero-stage {
    width: min(100% - var(--aci-gutter) * 2, var(--aci-stage-max));
    margin: calc(var(--aci-gutter) / 2) auto 0;
    border-radius: var(--radius-card-lg);
  }
}

/* reveal animation */
.ed-will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.ed-will-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes edHeroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-10px);
  }
}

/* responsive */
@media (max-width: 1199px) {
  .ed-journey-grid {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    gap: 64px;
  }

  .ed-overview-grid {
    grid-template-columns: 1fr 320px;
    gap: 36px;
  }

  .ed-story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ed-story-content {
    padding-top: 0;
    padding-bottom: 0;
  }

  .ed-practical-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .ed-overview-grid,
  .ed-journey-grid,
  .ed-related-grid,
  .ed-expect-grid {
    grid-template-columns: 1fr;
  }

  .ed-journey-grid {
    gap: 30px;
  }

  .ed-related-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ed-details-card,
  .ed-practical-card {
    width: 100%;
    min-height: auto;
  }

  .ed-related-title {
    font-size: clamp(2.1rem, 5vw, 3.2rem);
  }

  .ed-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ed-gallery-item--large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 250px;
  }

  .ed-gallery-item:nth-child(2),
  .ed-gallery-item:nth-child(3),
  .ed-gallery-item:nth-child(4),
  .ed-gallery-item:nth-child(5),
  .ed-gallery-item:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 639px) {
  .ed-overview,
  .ed-story,
  .ed-expect,
  .ed-journey,
  .ed-practical,
  .ed-related {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .ed-practical {
    padding-bottom: 54px;
  }

  .ed-gallery {
    padding-bottom: 64px;
  }

  .ed-gallery-grid {
    grid-template-columns: 1fr;
  }

  .ed-gallery-item,
  .ed-gallery-item--large {
    grid-column: auto !important;
    min-height: 200px;
  }

  .ed-step {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ed-step:not(:last-child)::after {
    left: 22px;
  }

  .ed-step-main {
    padding-left: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-hero-img,
  .ed-gallery-item img,
  .ed-gallery-item video,
  .ed-expect-item,
  .ed-details-row,
  .ed-card,
  .ed-will-reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.ed-overview.event-detail-surface--beige,
.ed-description.event-detail-surface--beige,
.ed-story.event-detail-surface--beige,
.ed-expect.event-detail-surface--beige,
.ed-journey.event-detail-surface--beige,
.ed-practical.event-detail-surface--beige,
.ed-gallery.event-detail-surface--beige,
.ed-related.event-detail-surface--beige,
.ep-cta.event-detail-surface--beige {
  background: #f7f3ec !important;
}

.ed-overview.event-detail-surface--white,
.ed-description.event-detail-surface--white,
.ed-story.event-detail-surface--white,
.ed-expect.event-detail-surface--white,
.ed-journey.event-detail-surface--white,
.ed-practical.event-detail-surface--white,
.ed-gallery.event-detail-surface--white,
.ed-related.event-detail-surface--white,
.ep-cta.event-detail-surface--white {
  background:
    linear-gradient(0deg, var(--color-grey-97, #f4f6fa), var(--color-grey-97, #f4f6fa)),
    radial-gradient(52.08% 69.78% at 90% 105%, rgba(216, 199, 174, 0.2) 0%, rgba(216, 199, 174, 0) 55%) !important;
}
