/* Page-template extras.

   Generic pages and the Contact page are built from real page-builder
   components now (.gdlr-core-pbf-wrapper / -column / -element with
   .gdlr-core-title-item, .gdlr-core-text-box-item, .gdlr-core-icon-item),
   so their layout comes from the compiled theme CSS. What remains is
   Contact Form 7's own markup, which is a separate WP.org plugin the
   GoodLayers CSS knows nothing about. */

/* Stock CF7 stacks full-width fields, which spanned the whole 1230px
   content column and read as a wall of long thin boxes. Cap and centre the
   form, and match the theme's own 48px field height. */
.gdlr-core-contact-form-7-item .wpcf7 {
  max-width: 760px;
  margin: 0 auto;
}

.wpcf7-form p {
  margin-bottom: 16px;
}

.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form select {
  width: 100%;
  height: 48px;
  padding: 12px 17px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  font-size: 15px;
  box-sizing: border-box;
}

.wpcf7-form textarea {
  width: 100%;
  height: 150px;
  padding: 12px 17px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  font-size: 15px;
  box-sizing: border-box;
}

.wpcf7-form input[type="submit"] {
  height: auto;
  width: auto;
  padding: 14px 38px;
  border: 0;
  border-radius: 30px;
  background: #5c98f2;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
