/* Notebook and desktop screens (992px and wider) only; phones and tablets are untouched.

   The page used to run headline, argument, then the cover and the form under it, which put
   the form a full screen down on a notebook. Here the form stands beside the argument, so
   it is on the first screen; the cover moves under the argument with the bonus beside it.
   Nothing in the markup changes: the opt-in block and its Bootstrap row are dissolved with
   display: contents and their children are placed on one grid. */
@media (min-width: 992px) {
  .st-article .st-classic {
    max-width: 1060px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    /* headline, sub-line, form title, form (takes the slack), cover rows, disclaimer */
    grid-template-rows: auto auto auto 1fr auto auto auto;
    column-gap: 44px;
    align-items: start;
  }
  .st-classic > .st-kicker,
  .st-classic > .st-headline,
  .st-classic > .st-disclaimer {
    grid-column: 1 / -1;
  }
  .st-article .st-headline {
    margin-bottom: var(--st-s4);
  }
  .st-classic > .st-copy {
    grid-column: 1;
    grid-row: 3 / span 2;
  }
  .st-classic > .st-optin,
  .st-classic .st-optin-row {
    display: contents;
  }
  .st-article .st-optin-title {
    grid-column: 2;
    grid-row: 3;
    font-size: 17px;
    margin-bottom: var(--st-s2);
  }
  .st-classic .st-optin-row > [class*="col-"] {
    flex: none;
    width: auto;
    max-width: none;
    padding: 0;
  }
  .st-classic .st-optin-row > .col-md-7 {
    grid-column: 2;
    grid-row: 4;
  }
  .st-classic .st-optin-row > .st-figure {
    grid-column: 1;
    grid-row: 5 / span 2;
    margin-top: var(--st-s5);
  }
  .st-classic .st-bonus-line {
    grid-column: 2;
    grid-row: 5;
    align-self: end;
  }
  .st-classic .st-terms-line {
    grid-column: 2;
    grid-row: 6;
    align-self: start;
  }
  .st-article .st-disclaimer {
    grid-row: 7;
  }
}

/* Short windows: the whole form, down to its button, has to show without scrolling. Under
   880px of height (a 13-inch MacBook, most Windows notebooks) the top is set tighter, and
   under 700px (a 1366x768 notebook with the browser's bars) tighter again. */
@media (min-width: 992px) and (max-height: 880px) {
  .st-article {
    padding-top: var(--st-s2);
  }
  .st-article .st-kicker {
    font-size: 50px;
    margin: var(--st-s1) 0 var(--st-s1);
  }
  .st-article .st-headline {
    font-size: 30px;
    margin-bottom: var(--st-s3);
  }
  .st-article .content-box.hidden-form.form {
    padding: var(--st-s3);
  }
  .st-article .form-title {
    margin-bottom: var(--st-s2);
  }
}
@media (min-width: 992px) and (max-height: 700px) {
  .st-header-plain .st-logo img {
    height: 30px;
  }
  .st-article .st-kicker {
    font-size: 40px;
  }
  .st-article .st-headline {
    font-size: 26px;
    margin-bottom: var(--st-s2);
  }
  .st-article .st-optin-title {
    margin-bottom: var(--st-s1);
  }
  .st-article .form-field {
    margin-bottom: var(--st-s1);
  }
  .st-article .form-field input {
    height: 42px;
  }
  .st-article .submit {
    margin-top: var(--st-s2);
  }
  .st-article .submit .cta {
    height: 50px;
  }
  .st-article .privacy-link {
    margin-top: var(--st-s2);
  }
  .st-article .st-copy p,
  .st-article .st-copy li {
    font-size: 18px;
  }
}
