/* Palette-owned invitation outlines.
   Prevent legacy gold borders from surviving when another palette is active. */
.poster .date {
  border-color: var(--preview-border) !important;
}

/* One continuous invitation canvas: major content sections should not look like separate cards. */
.poster > .names,
.poster > .schedule,
.poster > .details,
.poster > .special-people,
.poster > .special-sections,
.poster > .gift,
.poster > .confirmation-intro,
.poster > .free-confirmation {
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Remove individual card containers so all content sits directly on the poster texture/background. */
.poster .event,
.poster .dress,
.poster .kids,
.poster .builder-extra,
.poster .special-person,
.poster #builderRsvpDeadline,
.poster .rsvp-card,
.poster .gift,
.poster .confirmation-intro,
.poster .free-confirmation,
.poster .special-sections,
.poster .special-people {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Keep comfortable spacing between content groups without reintroducing boxed sections. */
.poster .event,
.poster .dress,
.poster .kids,
.poster .gift,
.poster .confirmation-intro,
.poster .free-confirmation,
.poster .special-sections,
.poster .special-people {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Interactive actions intentionally use the palette accent rather than the softer outline color. */
.poster .btn-location,
.poster .confirm,
.poster #confirmButton {
  border-color: var(--preview-accent) !important;
}
