/* Contact page: align Odoo's existing form with the editorial shop pages. */
#wrap > .s_title {
  padding-top: clamp(2.5rem, 5vw, 5rem) !important;
  padding-bottom: 1rem !important;
}

#wrap > .s_title h1 {
  color: #30352e;
  font-size: clamp(2.5rem, 4.3vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0;
}

#wrap > .s_text_block {
  padding-top: 1rem !important;
  padding-bottom: clamp(3rem, 6vw, 6rem) !important;
}

#wrap > .s_text_block .lead {
  max-width: 37rem;
  color: #52564d;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

#contactus_form .s_website_form_field {
  margin-bottom: 1.25rem !important;
}

#contactus_form .s_website_form_label {
  color: #30352e;
  font-weight: 600;
  margin-bottom: .4rem;
}

#contactus_form .form-control {
  min-height: 3.25rem;
  border: 1px solid #d7d8d0;
  border-radius: 2px;
  background: #f9f9f6;
  color: #30352e;
  padding: .75rem 1rem;
}

#contactus_form textarea.form-control {
  min-height: 11rem;
  resize: vertical;
}

#contactus_form .form-control:focus {
  border-color: #3f6549;
  box-shadow: 0 0 0 .2rem rgb(63 101 73 / 14%);
  background: #fff;
}

#contactus_form .s_website_form_send {
  background: #3f6549;
  border: 1px solid #3f6549;
  border-radius: 2px;
  box-shadow: none;
  color: #fff;
  font-weight: 600;
  padding: .8rem 1.6rem;
}

#contactus_form .s_website_form_send:hover,
#contactus_form .s_website_form_send:focus-visible {
  background: #31523a;
  border-color: #31523a;
  color: #fff;
}

#wrap > .s_text_block .col-lg-4.offset-lg-1 {
  align-self: start;
  background: #f5f4ef;
  border: 1px solid #e5e5dd;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
}

#wrap > .s_text_block .col-lg-4.offset-lg-1 h5 {
  color: #30352e;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

#wrap > .s_text_block .col-lg-4.offset-lg-1 ul {
  padding-left: 0 !important;
}

#wrap > .s_text_block .col-lg-4.offset-lg-1 li {
  color: #52564d;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  #wrap > .s_text_block .col-lg-4.offset-lg-1 {
    margin-top: 2.5rem !important;
  }
}

/* Project enquiry, website 1. Native Odoo form handling stays intact. */
#wrap.ugh-contact-project > .s_title h1 {font-size:clamp(2rem,4vw,3.5rem);max-width:20ch;}
.ugh-contact-project .s_website_form > .container {padding:0;}
.ugh-contact-project #contactus_form .s_website_form_label {width:auto!important;display:block;}
.ugh-contact-project #contactus_form .form-control {border-radius:3px;background:#fff;font-size:16px;}
.ugh-contact-project #contactus_form textarea.form-control {min-height:9rem;}
.ugh-contact-project .ugh-project-topics {margin:0 0 1.75rem;padding:0 12px;border:0;}
.ugh-contact-project .ugh-project-topics legend {float:none;font-size:18px;font-weight:600;color:#30352e;margin-bottom:1rem;}
.ugh-contact-project .ugh-project-topic {display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:8px;border:1px solid #dedfd7;border-radius:3px;cursor:pointer;font-size:16px;line-height:1.5;}
.ugh-contact-project .ugh-project-topic:has(input:checked) {background:#f0f4ec;border-color:#3f6549;}
.ugh-contact-project .ugh-project-topic input {flex:0 0 auto;width:19px;height:19px;accent-color:#3f6549;}
.ugh-contact-project .ugh-project-topic:focus-within {outline:2px solid #3f6549;outline-offset:2px;}
.ugh-contact-project #contactus_form .s_website_form_send {display:block;width:100%;border-radius:3px;padding:1rem;font-size:16px;text-align:center;}
.ugh-contact-project .ugh-contact-assurance {margin:0 0 1rem;color:#52564d;font-size:16px;}
.ugh-contact-project .ugh-contact-privacy {font-size:14px;line-height:1.6;margin-top:1rem;color:#52564d;}
#wrap.ugh-contact-project > .s_text_block .col-lg-4.offset-lg-1 {border-radius:3px;}
.ugh-contact-project .col-lg-4 h2 {font-size:22px;margin-bottom:1.25rem;}
#wrap.ugh-contact-project > .s_title {padding-top:2.5rem!important;padding-bottom:.5rem!important;}
#wrap.ugh-contact-project > .s_title h1 {max-width:none;}
#wrap.ugh-contact-project > .s_text_block .col-lg-4 h2 {font-size:22px!important;line-height:1.3!important;letter-spacing:0;}
#wrap.ugh-contact-project > .s_title h1 {margin:0!important;}
#wrap.ugh-contact-project > .s_text_block {padding-top:1rem!important;}
#wrap.ugh-contact-project .col-lg-7 {margin-top:0!important;}
