/* A single editorial heading treatment, without overlapping legend borders. */
.rsvp-form-page .rsvp-form fieldset,
.rsvp-form-page .rsvp-form fieldset + fieldset {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.rsvp-form-page .rsvp-form legend {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin: 0 0 22px;
  border: 0;
  text-align: center;
}
.rsvp-form-page .rsvp-form legend span { display: none; }
.rsvp-form-page .rsvp-form legend::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin: 14px auto 0;
  background: #b08d50;
}
.rsvp-form-page .rsvp-phone-row {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: minmax(104px, .38fr) minmax(0, 1fr);
  align-items: end;
}
.rsvp-form-page .rsvp-phone-row label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 0;
}
.rsvp-form-page .rsvp-phone-row select,
.rsvp-form-page .rsvp-phone-row input[type="tel"] {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  margin: 7px 0 0;
}

.rsvp-form-page .rsvp-phone-row select {
  padding-top: 9px;
  padding-bottom: 9px;
  line-height: 1.25;
}

/* End the desktop RSVP page directly after the form. */
@media (min-width: 801px) and (not ((max-width: 1000px) and (max-height: 500px) and (pointer: coarse) and (hover: none))) {
  .rsvp-form-page .rsvp-closing-image { display: none; }
}
