/* PD Customer Hub - front end
 *
 * The single page copies the single showcase layout (pd-showcases/style.css).
 * The code form uses the same markup as the Contact Form 7 forms, so its field
 * and button come from the theme's input styles; these rules add the spacing
 * and messages.
 */

/* Code form
--------------------------------------------- */

.pdch-access-form {
  max-width: 600px;
}

.pdch-access-form p {
  margin-bottom: 16px;
}

.pdch-access-form label {
  font-size: 18px;
}

.pdch-access-form input[type="text"] {
  margin-top: 4px;
}

/* Same as Contact Form 7's response box */
.pdch-notice {
  border: 2px solid #ffb900;
  font-size: 16px;
  padding: 0.4em 1em;
}

.pdch-notice--error {
  border-color: #dc3232;
}

/* Single
--------------------------------------------- */

/* Same side padding as the News pages (full-width pages have none) */
.single-demonstration .content {
  padding: 0 5%;
}

.single-demonstration .entry {
  margin-bottom: 0;
}

.single-demonstration .pdch-intro {
  margin-bottom: 30px;
}

/* Same rounded corners as the intro card */
.single-demonstration .pd-interactive__frame {
  border-radius: 6px;
}

/* Matches the News card (pd-functionality .single-post .post) and its breakpoint */
@media only screen and (min-width: 769px) {
  .single-demonstration .content {
    padding: 0 60px;
  }

  .single-demonstration .pdch-intro {
    background-color: #222;
    padding: 27px 30px 13px;
    border-radius: 6px;
  }
}

.single-demonstration .entry-title {
  font-size: 34px;
  margin-bottom: 10px;
}

.single-demonstration .pdch-description {
  font-size: 18px;
  line-height: 1.5;
  max-width: 900px;
}

/* Showcases have the back button under the embed; keep the same space here */
.single-demonstration .pd-interactive {
  margin-bottom: 60px;
}
