/* Keep every day and its guide button inside the card, including longer schedules. */
.weekend-story-page main {
  height: auto;
  min-height: calc(var(--mobile-screen) - var(--mobile-footer-height));
}
.weekend-story-page .ws-stage,
.weekend-story-page.ws-saturday .ws-stage,
.weekend-story-page.ws-sunday .ws-stage {
  flex: 1 0 auto;
  height: auto;
  min-height: min-content;
}
.weekend-story-page .ws-panel.is-active {
  flex: 1 0 auto;
  height: auto;
  min-height: min-content;
}
.weekend-story-page .ws-copy {
  box-sizing: border-box;
  height: auto;
  flex: 0 0 auto;
  padding-bottom: 16px;
}
.weekend-story-page .ws-guide { flex-shrink: 0; min-height: 44px; }
.weekend-story-page .ws-sunday-note {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.weekend-story-page .ws-sunday-note em { white-space: normal; }

/* A restrained, centered closing section shared by all three days. */
.weekend-story-page .ws-copy { padding-bottom: 0; }
.weekend-story-page .ws-dress-closing {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 12px 0; width: 100%; box-sizing: border-box;
  text-align: center;
}
.weekend-story-page .ws-dress-closing .ws-dress,
.weekend-story-page .ws-dress-closing .ws-sunday-note {
  margin: 0; padding: 0; width: 100%; text-align: center;
  font: 500 19px/1.25 "Cormorant Garamond", Georgia, serif;
  text-transform: none; letter-spacing: 0; color: #806336;
  text-wrap: balance;
}
.weekend-story-page .ws-dress-closing .ws-sunday-note { display: flex; gap: 5px; }
.weekend-story-page .ws-dress-closing .ws-sunday-note span { font: inherit; text-transform: none; }
.weekend-story-page .ws-dress-closing .ws-sunday-note em {
  font: 400 13px/1.3 "Cormorant Garamond", Georgia, serif;
  color: #506452; text-align: center; text-wrap: balance;
}
.weekend-story-page .ws-dress-closing .ws-guide {
  display: inline-flex; justify-content: center; align-items: center;
  width: auto; min-height: 44px; margin: 0; padding: 8px 20px;
  border: 1px solid rgba(24,48,36,.55); border-radius: 999px; background: transparent; box-shadow: none;
  color: #183024; font: 400 14px/1.3 "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0; text-transform: none;
  text-decoration: none;
}
.weekend-story-page .ws-dress-closing .ws-guide:focus-visible {
  outline: 1px solid #183024; outline-offset: 2px;
}
.weekend-story-page .ws-dress-closing .ws-checkout-note {
  margin: -2px 0 0;
  color: #506452;
  font: 400 13px/1.25 "Cormorant Garamond", Georgia, serif;
}

/* Editorial event headings: restrained gold labels and balanced title spacing. */
.weekend-story-page .ws-copy { padding-top: 0; }
.weekend-story-page .ws-copy h2,
.weekend-story-page .ws-panel[data-panel="1"] .ws-copy h2,
.weekend-story-page .ws-panel[data-panel="2"] .ws-copy h2 {
  margin: 0; padding: 12px 0;
  color: #183024; text-align: center;
  font: 500 clamp(23px, 6.2vw, 25px)/1.12 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.015em; text-wrap: balance;
}
.weekend-story-page .ws-copy h2::after {
  content: ""; display: block; width: 36px; height: 1px;
  margin: 9px auto 0; background: #b28e4f;
}
.weekend-story-page .ws-copy ol { margin-top: 0; margin-bottom: 0; }
.weekend-story-page .ws-copy li,
.weekend-story-page .ws-panel[data-panel="1"] .ws-copy li { padding-block: 7px; }
/* Supporting information stays compact beneath the main schedule. */
.weekend-story-page .ws-dress-closing { gap: 4px; padding: 6px 0; }
.weekend-story-page .ws-dress-closing .ws-dress,
.weekend-story-page .ws-dress-closing .ws-sunday-note { font-size: 18px; }
.weekend-story-page .ws-dress-closing .ws-footwear-note {
  margin: 0; max-width: 34ch; font-size: 13px; line-height: 1.3; text-wrap: balance;
}
.weekend-story-page .ws-dress-closing .ws-guide { padding: 6px 18px; min-height: 44px; }
.weekend-story-page .ws-dress-closing .ws-checkout-note { margin: 0; }
.weekend-story-page .ws-days { height: 68px; min-height: 68px; padding: 3px 0; }

/* Give each mobile event photo 20% more minimum height without zooming it. */
.weekend-story-page .ws-panel figure {
  min-height: 168px;
}
.weekend-story-page .ws-intro { padding-block: 6px; }

/* Reserve room for Sunday’s checkout note with Safari controls expanded. */
.weekend-story-page .ws-panel[data-panel="2"] figure {
  min-height: clamp(112px, calc(100svh - 560px), 168px);
}
.weekend-story-page .ws-panel[data-panel="2"] .ws-copy h2 { padding-block: 8px; }
.weekend-story-page .ws-panel[data-panel="2"] .ws-copy h2::before { margin-bottom: 4px; }
.weekend-story-page .ws-panel[data-panel="2"] .ws-copy h2::after { margin-top: 6px; }
.weekend-story-page .ws-panel[data-panel="2"] .ws-copy li { padding-block: 5px; }
.weekend-story-page .ws-panel[data-panel="2"] .ws-dress-closing { padding-block: 4px; gap: 3px; }

/* Use Safari's small viewport, including space for the footer, on every tab. */
body.weekend-story-page:has(> footer .mobile-next-link) {
  min-height: 100svh;
}
.weekend-story-page main {
  box-sizing: border-box;
  height: calc(100svh - var(--mobile-header-height) - var(--mobile-footer-height));
  min-height: min-content;
  flex: 0 0 auto;
}
.weekend-story-page .ws-stage,
.weekend-story-page.ws-saturday .ws-stage,
.weekend-story-page.ws-sunday .ws-stage {
  flex: 1 1 0; min-height: min-content; height: auto; margin-bottom: 6px;
}
.weekend-story-page .ws-panel.is-active {
  flex: 1 1 0; min-height: min-content; height: auto;
}
.weekend-story-page .ws-panel figure,
.weekend-story-page .ws-panel[data-panel="2"] figure {
  flex: 1 1 0; height: 0; min-height: 72px;
}
.weekend-story-page .ws-copy h2,
.weekend-story-page .ws-panel[data-panel="1"] .ws-copy h2,
.weekend-story-page .ws-panel[data-panel="2"] .ws-copy h2 { padding-block: 7px; }
.weekend-story-page .ws-copy h2::before { margin-bottom: 3px; }
.weekend-story-page .ws-copy h2::after { margin-top: 5px; }
.weekend-story-page .ws-copy li,
.weekend-story-page .ws-panel[data-panel="1"] .ws-copy li { padding-block: 5px; }
body.weekend-story-page:has(> footer .mobile-next-link) > footer { margin-top: 0; }

/* Return supporting whitespace to the photo within the same viewport budget. */
.weekend-story-page .ws-days { height: 60px; min-height: 60px; padding: 3px 0; }
.weekend-story-page .ws-day,
.weekend-story-page .ws-day.is-active { height: 54px; min-height: 54px; gap: 2px; }
.weekend-story-page .ws-day > span,
.weekend-story-page .ws-day.is-active > span {
  flex-basis: 32px; width: 32px; height: 32px; min-height: 32px;
}
.weekend-story-page .ws-intro { padding-block: 4px; }
.weekend-story-page .ws-copy h2,
.weekend-story-page .ws-panel[data-panel="1"] .ws-copy h2,
.weekend-story-page .ws-panel[data-panel="2"] .ws-copy h2 { padding-block: 5px; }
.weekend-story-page .ws-copy h2::before,
.weekend-story-page .ws-panel[data-panel="2"] .ws-copy h2::before { margin-bottom: 2px; }
.weekend-story-page .ws-copy h2::after,
.weekend-story-page .ws-panel[data-panel="2"] .ws-copy h2::after { margin-top: 3px; }
.weekend-story-page .ws-dress-closing,
.weekend-story-page .ws-panel[data-panel="2"] .ws-dress-closing { padding-block: 4px; gap: 3px; }

/* Friday’s short sand note needs only a compact closing block. */
.weekend-story-page .ws-panel[data-panel="0"] .ws-dress-closing { gap: 3px; padding-block: 4px; }
