/* ============================================
   CONTACT + shared form styling
   /contact — general inquiries (general_contact webform)
   /booking — booking inquiry (contact webform); see booking.css
   ============================================ */

body.contact-page .content-wrapper.contact-page__layout,
body.path-contact .content-wrapper.contact-page__layout {
  max-width: min(40rem, var(--site-content-width));
  margin: 0 auto;
  padding-top: 0.25rem;
}

body.contact-page .mailing-list-banner,
body.path-contact .mailing-list-banner {
  display: none;
}

/* Drop the empty basic page shell — form lives in a Webform block */
body.contact-page article.node--type-page,
body.path-contact article.node--type-page {
  display: none !important;
}

body.contact-page .block-page-title-block,
body.path-contact .block-page-title-block,
body.contact-page .block-webform .block__title,
body.path-contact .block-webform .block__title,
body.contact-page .block-webform > h2,
body.path-contact .block-webform > h2 {
  display: none !important;
}

body.contact-page .block-local-tasks-block,
body.path-contact .block-local-tasks-block,
body.contact-page ul.tabs,
body.path-contact ul.tabs {
  display: none !important;
}

.contact-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.3px;
  margin: 0 0 0.75rem;
  text-align: center;
}

.contact-page__intro {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-page__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-light);
  margin: 0 0 0.75rem;
}

.contact-page__lede {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted-light);
  margin: 0;
}

.contact-page__aside {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-page__aside-label {
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.contact-page__aside a {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-light);
  text-decoration: none;
}

.contact-page__aside a:hover {
  color: var(--green-pale);
}

/* Form shell — shared by contact and booking pages */
body.contact-page .contact-page__form .webform-submission-form,
body.path-contact .contact-page__form .webform-submission-form,
body.booking-page .booking-page__form .webform-submission-form,
body.path-booking .booking-page__form .webform-submission-form,
body.contact-page .contact-page__form .contact-form,
body.path-contact .contact-page__form .contact-form,
body.contact-page .contact-page__form .general-contact-form,
body.path-contact .contact-page__form .general-contact-form,
body.booking-page .booking-page__form .booking-form,
body.path-booking .booking-page__form .booking-form,
body.contact-page .contact-page__form form,
body.path-contact .contact-page__form form,
body.booking-page .booking-page__form form,
body.path-booking .booking-page__form form,
body.contact-page .block-webform form,
body.path-contact .block-webform form,
body.booking-page .block-webform form,
body.path-booking .block-webform form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

body.contact-page .block-webform,
body.path-contact .block-webform,
body.booking-page .block-webform,
body.path-booking .block-webform,
body.booking-page .booking-page__form,
body.path-form-contact .booking-page__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

body.contact-page .block-webform .form-item,
body.path-contact .block-webform .form-item,
body.booking-page .block-webform .form-item,
body.path-booking .block-webform .form-item,
body.booking-page .booking-page__form .form-item,
body.path-form-contact .booking-page__form .form-item,
body.contact-page .block-webform .webform-flexbox,
body.path-contact .block-webform .webform-flexbox,
body.booking-page .block-webform .webform-flexbox,
body.path-booking .block-webform .webform-flexbox,
body.booking-page .booking-page__form .webform-flexbox,
body.path-form-contact .booking-page__form .webform-flexbox {
  margin: 0;
}

body.contact-page .block-webform label,
body.path-contact .block-webform label,
body.booking-page .block-webform label,
body.path-booking .block-webform label,
body.booking-page .booking-page__form label,
body.path-form-contact .booking-page__form label,
body.contact-page .block-webform .webform-element-label,
body.path-contact .block-webform .webform-element-label,
body.booking-page .block-webform .webform-element-label,
body.path-booking .block-webform .webform-element-label,
body.booking-page .booking-page__form .webform-element-label,
body.path-form-contact .booking-page__form .webform-element-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 0.45rem;
}

body.contact-page .block-webform input[type="text"],
body.path-contact .block-webform input[type="text"],
body.booking-page .block-webform input[type="text"],
body.path-booking .block-webform input[type="text"],
body.booking-page .booking-page__form input[type="text"],
body.path-form-contact .booking-page__form input[type="text"],
body.contact-page .block-webform input[type="email"],
body.path-contact .block-webform input[type="email"],
body.booking-page .block-webform input[type="email"],
body.path-booking .block-webform input[type="email"],
body.booking-page .booking-page__form input[type="email"],
body.path-form-contact .booking-page__form input[type="email"],
body.contact-page .block-webform input[type="tel"],
body.path-contact .block-webform input[type="tel"],
body.booking-page .block-webform input[type="tel"],
body.path-booking .block-webform input[type="tel"],
body.booking-page .booking-page__form input[type="tel"],
body.path-form-contact .booking-page__form input[type="tel"],
body.contact-page .block-webform input[type="date"],
body.path-contact .block-webform input[type="date"],
body.booking-page .block-webform input[type="date"],
body.path-booking .block-webform input[type="date"],
body.booking-page .booking-page__form input[type="date"],
body.path-form-contact .booking-page__form input[type="date"],
body.contact-page .block-webform textarea,
body.path-contact .block-webform textarea,
body.booking-page .block-webform textarea,
body.path-booking .block-webform textarea,
body.booking-page .booking-page__form textarea,
body.path-form-contact .booking-page__form textarea,
body.contact-page .block-webform select,
body.path-contact .block-webform select,
body.booking-page .block-webform select,
body.path-booking .block-webform select,
body.booking-page .booking-page__form select,
body.path-form-contact .booking-page__form select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

body.contact-page .block-webform input:focus,
body.path-contact .block-webform input:focus,
body.booking-page .block-webform input:focus,
body.path-booking .block-webform input:focus,
body.booking-page .booking-page__form input:focus,
body.path-form-contact .booking-page__form input:focus,
body.contact-page .block-webform textarea:focus,
body.path-contact .block-webform textarea:focus,
body.booking-page .block-webform textarea:focus,
body.path-booking .block-webform textarea:focus,
body.booking-page .booking-page__form textarea:focus,
body.path-form-contact .booking-page__form textarea:focus,
body.contact-page .block-webform select:focus,
body.path-contact .block-webform select:focus,
body.booking-page .block-webform select:focus,
body.path-booking .block-webform select:focus,
body.booking-page .booking-page__form select:focus,
body.path-form-contact .booking-page__form select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green-dim);
}

body.contact-page .block-webform textarea,
body.path-contact .block-webform textarea,
body.booking-page .block-webform textarea,
body.path-booking .block-webform textarea,
body.booking-page .booking-page__form textarea,
body.path-form-contact .booking-page__form textarea {
  min-height: 8rem;
  resize: vertical;
}

/* Hide Drupal multi-value / tabledrag chrome on phone field */
body.contact-page .webform-multiple-table,
body.path-contact .webform-multiple-table,
body.booking-page .webform-multiple-table,
body.path-booking .webform-multiple-table,
body.path-webform.booking-page .webform-multiple-table,
body.contact-page .webform-multiple-table-responsive,
body.path-contact .webform-multiple-table-responsive,
body.booking-page .webform-multiple-table-responsive,
body.path-booking .webform-multiple-table-responsive,
body.path-webform.booking-page .webform-multiple-table-responsive {
  width: 100%;
}

body.contact-page .webform-multiple-table thead,
body.path-contact .webform-multiple-table thead,
body.booking-page .webform-multiple-table thead,
body.path-booking .webform-multiple-table thead,
body.path-webform.booking-page .webform-multiple-table thead,
body.contact-page .tabledrag-toggle-weight-wrapper,
body.path-contact .tabledrag-toggle-weight-wrapper,
body.booking-page .tabledrag-toggle-weight-wrapper,
body.path-booking .tabledrag-toggle-weight-wrapper,
body.path-webform.booking-page .tabledrag-toggle-weight-wrapper,
body.contact-page .webform-multiple-table .webform-multiple-table--operations,
body.path-contact .webform-multiple-table .webform-multiple-table--operations,
body.booking-page .webform-multiple-table .webform-multiple-table--operations,
body.path-booking .webform-multiple-table .webform-multiple-table--operations,
body.path-webform.booking-page .webform-multiple-table .webform-multiple-table--operations,
body.contact-page .webform-multiple-add,
body.path-contact .webform-multiple-add,
body.booking-page .webform-multiple-add,
body.path-booking .webform-multiple-add,
body.path-webform.booking-page .webform-multiple-add,
body.contact-page .form-item__description,
body.path-contact .form-item__description,
body.booking-page .form-item__description,
body.path-booking .form-item__description,
body.path-webform.booking-page .form-item__description,
body.contact-page .tabledrag-handle,
body.path-contact .tabledrag-handle,
body.booking-page .tabledrag-handle,
body.path-booking .tabledrag-handle,
body.path-webform.booking-page .tabledrag-handle,
body.contact-page .tabledrag-toggle-weight,
body.path-contact .tabledrag-toggle-weight,
body.booking-page .tabledrag-toggle-weight,
body.path-booking .tabledrag-toggle-weight,
body.path-webform.booking-page .tabledrag-toggle-weight {
  display: none !important;
}

body.contact-page .webform-multiple-table tbody tr,
body.path-contact .webform-multiple-table tbody tr,
body.booking-page .webform-multiple-table tbody tr,
body.path-booking .webform-multiple-table tbody tr,
body.path-webform.booking-page .webform-multiple-table tbody tr {
  display: block;
}

body.contact-page .webform-multiple-table tbody td,
body.path-contact .webform-multiple-table tbody td,
body.booking-page .webform-multiple-table tbody td,
body.path-booking .webform-multiple-table tbody td,
body.path-webform.booking-page .webform-multiple-table tbody td {
  display: block;
  padding: 0;
  border: 0;
}

body.contact-page .form-actions,
body.path-contact .form-actions,
body.booking-page .form-actions,
body.path-booking .form-actions,
body.contact-page .webform-actions,
body.path-contact .webform-actions,
body.booking-page .webform-actions,
body.path-booking .webform-actions {
  margin-top: 0.5rem;
}

body.contact-page .block-webform .button,
body.path-contact .block-webform .button,
body.booking-page .block-webform .button,
body.path-booking .block-webform .button,
body.booking-page .booking-page__form .button,
body.path-form-contact .booking-page__form .button,
body.contact-page .block-webform input[type="submit"],
body.path-contact .block-webform input[type="submit"],
body.booking-page .block-webform input[type="submit"],
body.path-booking .block-webform input[type="submit"],
body.booking-page .booking-page__form input[type="submit"],
body.path-form-contact .booking-page__form input[type="submit"],
body.contact-page .block-webform button[type="submit"],
body.path-contact .block-webform button[type="submit"],
body.booking-page .block-webform button[type="submit"],
body.path-booking .block-webform button[type="submit"],
body.booking-page .booking-page__form button[type="submit"],
body.path-form-contact .booking-page__form button[type="submit"] {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

body.contact-page .block-webform .button:hover,
body.path-contact .block-webform .button:hover,
body.booking-page .block-webform .button:hover,
body.path-booking .block-webform .button:hover,
body.booking-page .booking-page__form .button:hover,
body.path-form-contact .booking-page__form .button:hover,
body.contact-page .block-webform input[type="submit"]:hover,
body.path-contact .block-webform input[type="submit"]:hover,
body.booking-page .block-webform input[type="submit"]:hover,
body.path-booking .block-webform input[type="submit"]:hover,
body.booking-page .booking-page__form input[type="submit"]:hover,
body.path-form-contact .booking-page__form input[type="submit"]:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}

body.contact-page .webform-confirmation,
body.path-contact .webform-confirmation,
body.booking-page .webform-confirmation,
body.path-booking .webform-confirmation {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--green-pale);
  text-align: center;
  padding: 1.5rem 0;
}

@media (max-width: 600px) {
  body.contact-page .block-webform,
  body.path-contact .block-webform,
  body.booking-page .block-webform,
  body.path-booking .block-webform {
    padding: 1rem;
  }
}
