/* Event invitations: venue typography, warm paper, poster-led composition. */
.ep-page {
  --ep-paper: var(--cream, #efe9db);
  --ep-ink: var(--black, #18221e);
  --ep-accent: var(--gold, #bda570);
  max-width: 1040px;
  margin: 0 auto;
  color: var(--cream, #efe9db);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  padding: 32px 32px 48px;
  overflow-wrap: anywhere;
}
.ep-page * {
  box-sizing: border-box;
}
.ep-brand {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--border, #ffffff24);
  margin-bottom: 40px;
}
.ep-brand span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  opacity: 0.65;
  margin-top: 8px;
}
.ep-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 16px 0 24px;
}
.ep-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ep-accent);
  margin: 0 0 16px;
}
.ep-summary {
  font-size: 18px;
  line-height: 1.65;
  opacity: 0.85;
  max-width: 44em;
}
.ep-when {
  font-size: 13px;
  line-height: 1.9;
  margin: 24px 0;
}
.ep-small {
  font-size: 12px;
  opacity: 0.7;
  margin: 12px 0 0;
}
.ep-poster {
  min-width: 0;
}
.ep-poster img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: var(--ep-image-background, transparent);
}
.ep-image-placeholder {
  min-height: 340px;
  background: var(--ep-image-background, transparent);
  border: 1px solid var(--border, #ffffff24);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  color: var(--ep-image-foreground, var(--ep-accent));
}
.ep-image-placeholder span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  line-height: 1.18;
  font-style: italic;
  text-align: center;
}
.ep-image-placeholder small {
  font-size: 11px;
  margin-top: 32px;
  letter-spacing: 0.08em;
}
.ep-spotlight .ep-intro {
  max-width: 720px;
  text-align: center;
  margin: 40px auto;
}
.ep-editorial .ep-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.ep-editorial .ep-poster img {
  max-height: 640px;
}
.ep-invitation .ep-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.ep-invitation .ep-poster {
  max-width: 700px;
  margin: auto;
}
.ep-invitation h1 {
  font-style: italic;
}
.ep-button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ep-accent);
  padding: 14px 24px;
  background: var(--ep-accent);
  color: var(--ep-ink);
  font:
    600 13px Manrope,
    sans-serif;
  text-decoration: none !important;
  border-radius: 2px;
  min-height: 46px;
}
.ep-button:hover {
  filter: brightness(1.1);
}
.ep-unavailable {
  opacity: 0.55;
}
.ep-sections {
  margin-top: 48px;
}
.ep-block {
  padding: 32px 0;
  border-top: 1px solid var(--border, #ffffff24);
  min-width: 0;
}
.ep-block h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 16px;
}
.ep-copy {
  font-size: 15px;
  line-height: 1.85;
  min-height: 24px;
}
.ep-copy p {
  margin: 0 0 16px;
}
.ep-copy img,
.ep-block img {
  max-width: 100%;
  height: auto;
}
.ep-copy a {
  color: var(--ep-accent);
  text-decoration: underline;
}
.ep-copy ul,
.ep-copy ol {
  padding-left: 24px;
}
.ep-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.ep-block figure {
  margin: 0;
}
.ep-block figure img {
  width: 100%;
  display: block;
}
.ep-block figcaption {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 12px;
}
.ep-offer {
  border: 1px solid var(--ep-accent);
  padding: 32px;
  margin: 24px 0;
  background: var(--card, #17221d);
}
.ep-code {
  display: inline-block;
  border: 1px dashed var(--ep-accent);
  padding: 8px 16px;
  font-size: 12px;
  margin-top: 16px;
}
.ep-code strong {
  font-family: monospace;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.ep-terms {
  font-size: 12px;
  opacity: 0.75;
  white-space: pre-line;
  margin-top: 16px;
}
.ep-callout {
  text-align: center;
  padding: 40px 24px;
}
.ep-callout .ep-button {
  margin-top: 12px;
}
.ep-admission {
  border-top: 1px solid var(--border, #ffffff24);
  padding: 40px 0 24px;
  text-align: center;
  scroll-margin-top: 32px;
}
.ep-back {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: inherit;
  opacity: 0.65;
}
.ep-empty-image {
  border: 1px dashed var(--ep-accent);
  padding: 60px 20px;
  text-align: center;
  font-size: 14px;
}
.ep-page [contenteditable='true']:focus {
  outline: 2px solid var(--ep-accent);
  outline-offset: 6px;
}
.ep-page [data-section] {
  position: relative;
}
.ep-page.ep-editing [data-section] {
  cursor: pointer;
}
.ep-page.ep-editing [data-section]:hover {
  outline: 1px dashed var(--ep-accent);
  outline-offset: 6px;
}
.ep-page.ep-editing [data-section].ep-selected {
  outline: 2px solid var(--ep-accent);
  outline-offset: 6px;
}
@media (max-width: 600px) {
  .ep-page {
    padding: 24px 20px 40px;
  }
  .ep-brand {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
  .ep-editorial .ep-hero,
  .ep-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ep-hero h1 {
    font-size: 38px;
  }
  .ep-summary {
    font-size: 16px;
  }
  .ep-image-placeholder {
    min-height: 260px;
  }
  .ep-image-placeholder span {
    font-size: 36px;
  }
  .ep-offer {
    padding: 24px;
  }
  .ep-sections {
    margin-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ep-page * {
    scroll-behavior: auto !important;
  }
}

.ep-location {
  font-size: 12px;
  opacity: 0.75;
  margin: 0 0 24px;
}
.ep-ticket-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  margin: 0 0 24px;
}
.ep-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  text-align: left;
  max-width: 680px;
  margin: auto;
}
.ep-ticket-row > div:first-child strong,
.ep-ticket-row > div:first-child span {
  display: block;
}
.ep-ticket-row > div:first-child span {
  font-size: 12px;
  opacity: 0.7;
}
.ep-ticket-row .ep-button {
  font-size: 12px;
  padding: 10px 16px;
}
.ep-rsvp .rsvp-form-wrap {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 20px;
}
.ep-rsvp label {
  font-size: 12px;
}
.ep-rsvp input {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--black);
  color: var(--cream);
  border: 1px solid var(--border);
  margin-top: 6px;
}
.ep-rsvp .rsvp-form-msg {
  font-size: 13px;
  margin-top: 16px;
}
.ep-rsvp .hidden {
  display: none;
}
