.ed-tabbar {
  position: sticky;
  z-index: 12;
  top: 0;
  border-block: 1px solid #e3d9cc;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(48,39,31,.04);
  backdrop-filter: blur(12px);
}

.ed-tabs {
  display: grid;
  width: min(760px,100%);
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 6px;
  overflow-x: auto;
  padding-block: 9px;
  scrollbar-width: none;
}

.ed-tabs::-webkit-scrollbar { display: none; }

.ed-tabbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ed-tab-cta {
  display: inline-flex;
  min-height: 44px;
  padding: 0 17px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  background: #aa3f25;
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(170,63,37,.18);
}

.ed-tab-cta:hover { background: #87311d; }
.ed-tab-cta[hidden] { display: none; }

.ed-tab {
  display: inline-flex;
  min-height: 44px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #6e6258;
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
}

.ed-tab:hover {
  background: #f3eee6;
  color: #244532;
}

.ed-tab[aria-selected="true"] {
  border-color: #244532;
  background: #244532;
  color: #fff;
  box-shadow: 0 7px 18px rgba(36,69,50,.18);
}

.ed-tab-panel {
  min-height: 390px;
  animation: ed-panel-in .24s ease both;
}

.ed-tab-panel[hidden] { display: none !important; }

.ed-content > .ed-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: clamp(30px,4vw,52px);
  align-items: start;
}

.ed-tab-panel { grid-column: 1; grid-row: 1; }

.ed-booking-rail {
  position: sticky;
  top: 82px;
  grid-column: 2;
  grid-row: 1;
  padding: 24px;
  border: 1px solid #dfd2c1;
  border-radius: 19px;
  background: #fffaf0;
  box-shadow: 0 18px 42px rgba(52,42,32,.09);
}

.ed-booking-rail[hidden] { display: none; }

.ed-content > .ed-shell.ed-rail-hidden .ed-tab-panel {
  grid-column: 1 / -1;
}

.ed-content > .ed-shell.ed-rail-hidden .ed-panel-heading,
.ed-content > .ed-shell.ed-rail-hidden .ed-participation-grid {
  max-width: none;
}

.ed-booking-rail h2 {
  margin: 10px 0 6px;
  color: #2d4938;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
}

.ed-rail-price {
  margin: 12px 0;
  color: #aa3f25;
  font-size: .86rem;
  font-weight: 800;
}

.ed-rail-facts {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.ed-rail-facts span {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  color: #6f635a;
  font-size: .71rem;
  line-height: 1.5;
}

.ed-rail-facts i { margin-top: 2px; color: #58733d; }
.ed-rail-facts b { color: inherit; font-weight: 600; }
.ed-booking-rail .ed-primary { width: 100%; }

.ed-rail-link {
  display: flex;
  width: 100%;
  min-height: 44px;
  margin-top: 9px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d8c8b4;
  border-radius: 999px;
  background: #fff;
  color: #244532;
  font-size: .72rem;
  font-weight: 800;
}

.ed-booking-rail > p {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
  color: #786c62;
  font-size: .65rem;
  line-height: 1.55;
}

.ed-tab-panel > .ed-section {
  width: 100%;
  padding-bottom: 0;
}

.ed-tab-panel .ed-timeline { max-width: 920px; }

.ed-overview-layout {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(500px,1.18fr);
  gap: clamp(34px,5vw,74px);
  align-items: start;
}

.ed-overview-copy h2 { margin-top: 10px; }
.ed-overview-copy > p,
.ed-overview-copy .ed-rich-copy p { color: #6f645b; line-height: 1.9; }
.ed-overview-layout .ed-highlights { margin-top: 0; }

.ed-panel-heading {
  display: flex;
  max-width: 1060px;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.ed-panel-heading h2 {
  margin: 8px 0 0;
  color: #244532;
  font-family: var(--font-display);
  font-size: clamp(1.7rem,3vw,2.35rem);
}

.ed-panel-heading p {
  max-width: 410px;
  margin: 0;
  color: #74685e;
  font-size: .78rem;
  line-height: 1.7;
}

.ed-participation-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  max-width: 1060px;
  gap: 22px;
  align-items: start;
}

.ed-participation-grid .ed-panel { height: 100%; }

.ed-venue-experience {
  display: grid;
  max-width: 1100px;
  grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr);
  gap: 26px;
  margin-top: 22px;
}

.ed-venue-lead {
  display: flex;
  min-height: 260px;
  padding: 30px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 21px;
  background: linear-gradient(145deg,#244532,#365d45);
  color: #fff;
}

.ed-venue-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  font-size: 1.2rem;
}

.ed-venue-lead > .ed-venue-icon {
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
}

.ed-venue-icon i {
  display: block;
  margin: 0;
  line-height: 1;
}

.ed-venue-lead > div strong,
.ed-venue-lead > div span { display: block; }
.ed-venue-lead > div strong { font-size: 1.22rem; line-height: 1.4; }
.ed-venue-lead > div span { margin-top: 8px; color: rgba(255,255,255,.76); font-size: .78rem; line-height: 1.65; }

.ed-access-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.ed-access-card {
  padding: 20px;
  border: 1px solid #e4dbcf;
  border-radius: 17px;
  background: #fcfaf6;
}

.ed-access-card:first-child { grid-column: 1 / -1; }
.ed-access-card i {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0 0 20px;
  place-items: center;
  border-radius: 50%;
  background: #f5e6da;
  color: #aa3f25;
  font-size: 1rem;
  line-height: 1;
}
.ed-access-card strong,
.ed-access-card span { display: block; }
.ed-access-card strong { color: #382a22; font-size: .86rem; }
.ed-access-card span { margin-top: 6px; color: #786c62; font-size: .72rem; line-height: 1.6; }

.ed-map-panel {
  max-width: 1100px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #e2d8ca;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(52,42,32,.07);
}

.ed-map-frame {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #e8ede4;
}

.ed-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.75) contrast(.94);
}

.ed-map-footer {
  display: flex;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ed-map-footer strong,
.ed-map-footer span { display: block; }
.ed-map-footer strong { color: #382a22; font-size: .86rem; }
.ed-map-footer span { margin-top: 4px; color: #786c62; font-size: .7rem; }

@keyframes ed-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .ed-tabbar { top: 0; }
  .ed-tabs { display: flex; width: 100%; }
  .ed-tab { flex: 0 0 auto; padding-inline: 14px; }
  .ed-tab-panel { min-height: 0; }
  .ed-participation-grid,
  .ed-overview-layout,
  .ed-venue-experience,
  .ed-access-grid { grid-template-columns: 1fr; }
  .ed-panel-heading { display: block; }
  .ed-panel-heading p { margin-top: 10px; }
  .ed-access-card:first-child { grid-column: auto; }
  .ed-venue-lead { min-height: 220px; }
  .ed-map-frame { height: 250px; }
  .ed-map-footer { align-items: stretch; flex-direction: column; }
  .ed-map-footer .ed-secondary { width: 100%; }
  .ed-tab-cta span { display: none; }
  .ed-tab-cta { width: 44px; padding: 0; justify-content: center; }
  .ed-tab-cta i:last-child { display: none; }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .ed-overview-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .ed-content > .ed-shell { grid-template-columns: 1fr; }
  .ed-tab-panel,
  .ed-booking-rail { grid-column: 1; }
  .ed-booking-rail { position: static; grid-row: 2; margin-top: 28px; }
}

/* Final page-level alignment overrides, loaded after the shared detail styles. */
@media (min-width: 1021px) {
  .ed-hero-grid {
    grid-template-columns: minmax(0,1.08fr) minmax(410px,.92fr);
    gap: clamp(36px,5vw,68px);
    align-items: stretch;
  }

  .ed-media { min-height: 520px; }

  .ed-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
  }
}

.ed-content { padding-block: 54px 70px; }
.ed-section { padding-bottom: 0; }
.ed-related { border-top: 1px solid #e7ded2; }

@media (max-width: 680px) {
  .ed-content { padding-block: 36px 48px; }
  .ed-panel { padding: 20px; }
  .ed-related-head { align-items: start; flex-direction: column; }
}
