/* Added when this site became a static archive. Not part of the 2016 theme.
   Kept in its own file so what is original and what is not stays obvious. */

/* Footer sat directly beneath the content, leaving white space below it on
   short pages.
   
   Deliberately NOT done with flexbox on body: the theme pulls #slider up
   under the header with margin-top:-58px, and making body a flex container
   changed how that overlap painted, hiding the nav behind the hero image.
   position:sticky leaves body's formatting context untouched. */
body { min-height: 100vh; }

body > footer {
  position: sticky;
  top: 100vh;
}

/* The contact page already carries a full contact form, so the sidebar
   "Request A Quote" widget sat immediately beside a near-identical form.
   Hidden here rather than deleted from the markup — the widget is part of
   the original page and removing it by hand risked cutting the wrong block. */
body.contact-us .widget-request-quote { display: none; }

/* hCaptcha renders at a fixed 302px. That fits the main contact form, but
   overflows the ~272px sidebar column, so scale it there only. transform does
   not reclaim layout space, hence the negative margin. */
.widget-request-quote .h-captcha {
  transform: scale(0.9);
  transform-origin: left top;
  margin-bottom: -7px;
}
