/*
 * Contact Form 7 compatibility — NOT part of the design.
 *
 * style.css / responsive.css are the untouched files of the static build.
 * This file only cancels the extra markup Contact Form 7 adds around the
 * original form fields, so the forms render exactly like the static HTML:
 *
 *  - CF7 wraps every input in <span class="wpcf7-form-control-wrap"> (and the
 *    checkbox in two more spans). display: contents removes those boxes, so the
 *    input is laid out as a direct child of its <label>, as in the static form.
 *  - CF7's own stylesheet is switched off (inc/contact-form-7.php); the two
 *    helper elements it used to hide are hidden here instead.
 *  - Validation tips CF7 prints use the same look as .booking-form__error.
 */
.wpcf7 .wpcf7-form-control-wrap,
.wpcf7 .wpcf7-acceptance,
.wpcf7 .wpcf7-list-item {
  display: contents;
}
.wpcf7 .hidden-fields-container {
  display: none;
}
.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  word-wrap: normal !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.35rem;
  color: var(--burgundy);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
/* With JavaScript, messages are shown in the form's own .booking-form__status line. */
.wpcf7 .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--burgundy);
  font-size: 0.85rem;
}
.wpcf7 .wpcf7-response-output:empty,
.wpcf7.js .wpcf7-response-output {
  display: none;
}
