/* South Cambs Resin Bound: styles added for the static rebuild (enquiry form, thank-you and 404 pages). */

/* Enquiry form: replaces the old embedded LeadConnector form, same fields and look */
.scrb-form {
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 36px 36px;
  background: #fff;
  border-radius: 30px;
  font-family: 'Raleway', sans-serif;
  color: #2c3345;
  text-align: left;
}
.scrb-form *,
.scrb-form *::before,
.scrb-form *::after { box-sizing: border-box; }
.scrb-form__title {
  margin: 0 0 6px;
  text-align: center;
  color: #244294;
  font-size: 1.6rem;
}
.scrb-form__intro {
  margin: 0 0 22px;
  text-align: center;
  font-size: 0.95rem;
}
.scrb-form__field { margin: 0 0 16px; }
.scrb-form__field label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
  color: #2c3345;
}
.scrb-form__field label span { color: #e93d3d; }
.scrb-form input[type="text"],
.scrb-form input[type="tel"],
.scrb-form input[type="email"],
.scrb-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 15px;
  background: #f8f8f8;
  color: #2c3345;
  border: 1px solid #acacac;
  border-radius: 5px;
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
}
.scrb-form textarea { min-height: 110px; resize: vertical; }
.scrb-form input::placeholder,
.scrb-form textarea::placeholder { color: #8c8c8c; }
.scrb-form input:focus,
.scrb-form textarea:focus {
  outline: 2px solid #244294;
  outline-offset: 1px;
  border-color: #244294;
}
.scrb-form__btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 20px;
  border: 0;
  border-radius: 5px;
  background: #244294;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.scrb-form__btn:hover,
.scrb-form__btn:focus { background: #000; color: #fff; }
/* honeypot: hidden from people, left for bots */
.scrb-form__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .scrb-form { padding: 24px 18px 26px; border-radius: 20px; }
  .scrb-form__title { font-size: 1.35rem; }
}

/* Thank-you and 404 pages */
.scrb-utility .entry-content { padding: 60px 0 80px; }
.scrb-utility__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}
.scrb-utility__inner h1 { color: #244294; margin-bottom: 20px; }
.scrb-utility__inner p { margin-bottom: 18px; }
.scrb-links {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}
.scrb-links a { color: #244294; font-weight: 600; }
.scrb-btn {
  display: inline-block;
  margin: 6px 6px 0;
  padding: 12px 24px;
  border-radius: 4px;
  background: #244294;
  border: 2px solid #244294;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
}
.scrb-btn:hover { background: #000; border-color: #000; }
.scrb-btn--ghost { background: transparent; color: #244294 !important; }
.scrb-btn--ghost:hover { color: #fff !important; }
