/*
 * The application form («Форма заявки», layout signup_form) of the department
 * block page. Loaded only on a page that has the block (enqueue.php);
 * page-department.css comes first. The form itself is the theme's form
 * component (template-parts/ui/forms/gform.php) with its own styles.
 */

/* The intro stands as wide as the form under it (gform.php: 950px), on its edges. */
.dept-signup__intro {
  max-width: 950px;
  margin: -12px auto 32px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/*
 * Laid out as the registration of the NMT courses page: the heading centred above
 * the form, without the rule beside it, and the form a centred box of its own width
 * (the form component's 950px).
 */
.dept-signup .dept-header-wrap {
  justify-content: center;
  text-align: center;
}

.dept-signup .dept-spot__heading {
  align-items: center;
}

.dept-signup .dept-deco-line {
  display: none;
}

.dept-signup .custom-gform-container {
  margin: 0 auto;
}

/* Phones: the intro at the page's phone size. */
@media (max-width: 599px) {
  .dept-signup__intro {
    font-size: 0.9375rem;
    line-height: 1.55;
  }
}
