/* site additions: enquiry captcha + DPDP consent + privacy page (no layout overrides of the theme) */

/* ---- consent line: its own row inside the form, checkbox left, text wrapping beside it */
.dpdp-row{clear:both;float:none!important;width:100%!important;box-sizing:border-box}
.et_pb_contact_form .dpdp-row{padding-left:3%;margin:0 0 3%}
.dpdp-consent{display:block;box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:10px 12px;
  background:rgba(255,255,255,.92);border-radius:6px;color:#1c1f24;text-align:left}
.dpdp-consent label{display:flex!important;align-items:flex-start;gap:10px;width:100%;margin:0!important;padding:0!important;
  font-size:14px;line-height:1.55;font-weight:400!important;color:#1c1f24!important;cursor:pointer;text-transform:none;letter-spacing:normal}
.dpdp-consent span{flex:1 1 auto;min-width:0;color:#1c1f24!important;overflow-wrap:anywhere}
.dpdp-consent a{color:#0b57d0!important;text-decoration:underline!important;font-weight:400}
/* Divi hides every checkbox inside a contact form; force a real, visible control */
.dpdp-consent input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;
  position:static!important;opacity:1!important;visibility:visible!important;flex:0 0 auto;
  width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;margin:3px 0 0!important;padding:0!important;
  border:1px solid #8a8f98!important;background:#fff!important;accent-color:#1f7a3d;cursor:pointer;float:none!important}

/* ---- captcha: in the field flow above the send button, same box as the other inputs */
.cf-cap-row{clear:both}
.cf-cap-row label{display:flex!important;align-items:center;margin:0 0 8px}
.cf-cap-q{display:inline-block;background:rgba(255,255,255,.92);color:#1c1f24;padding:6px 10px;border-radius:6px;
  border:1px solid rgba(0,0,0,.12);font-weight:600;letter-spacing:.02em;line-height:1.2;white-space:nowrap;user-select:none}
/* Divi contact form: the theme hides field labels; ours carries the question so it must show */
.et_pb_contact_form .cf-cap-row .cf-cap-label{display:flex!important}
.et_pb_contact_form .cf-cap-row{float:none!important;width:100%!important}
/* the send button row starts under the captcha, not floated up beside it */
.et_pb_contact_form .cf-cap-row + .et_contact_bottom_container{margin-top:0!important}

/* ---- comment form (now an enquiry form): captcha input like the other fields */
form[data-3i].comment-form .dpdp-row-comment{margin:0!important;padding:0 0 14px!important}
.comment-form .cf-cap-row .cf-cap-in{display:block}
.comment-form .cf-cap-row input{display:block;width:100%;box-sizing:border-box}

/* response line under every wired form */
form[data-3i] .wpcf7-response-output{display:none;clear:both;margin:12px 0 0;padding:8px 12px;border:2px solid #ffb900;border-radius:4px;background:rgba(255,255,255,.95);color:#1c1f24;font-size:14px;line-height:1.5}
form[data-3i].sent .wpcf7-response-output{border-color:#46b450}
form[data-3i].failed .wpcf7-response-output{border-color:#dc3232}
.et_pb_contact_form .et-3i-response{margin-left:3%!important}

/* ---- privacy / 404 body */
.dpdp-section{padding:54px 0}
.dpdp-doc{max-width:60rem}
.dpdp-doc h2,.dpdp-doc h3{margin:28px 0 10px;padding:0}
.dpdp-doc p{padding-bottom:1em}
.dpdp-doc a{text-decoration:underline}

/* ---- one <h1> per page: tag fixes only, the look is pinned to the original measurement */
.entry-content h2.h1-demoted{line-height:1em!important;padding-bottom:10px!important;color:#000!important}
body.postid-435 .entry-content h2.h1-demoted{font-size:50px!important;font-weight:400!important}
body.postid-426 .entry-content h2.h1-demoted{font-size:40px!important;font-weight:400!important}
body.postid-404 .entry-content h2.h1-demoted{font-size:50px!important;font-weight:700!important}
.et_pb_fullwidth_header .header-content h1.h2-promoted{font-size:38px!important;line-height:38px!important;font-weight:400!important;padding-bottom:10px!important;color:#fff!important}
