/* === contact-general Page Specific Overrides === */

body.contact-general-page header.banner-header {
  background: url('../images/contact-general-banner.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  height: 300px;
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: flex-end;  /* ensures overlay sits at bottom */
  justify-content: center;
}

/* Hide homepage taglines */
body.contact-general-page .tagline-main,
body.contact-general-page .tagline-sub,
body.contact-general-page .tagline-small {
  display: none;
}

/* Overlay container (centres the text) */
body.contact-general-page .banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.6em 0;
  text-align: center;
  z-index: 2;
}

/* Page title styling */
body.contact-general-page .banner-header .page-title {
  color: white;
  font-size: 2.4em;
  margin: 0;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 3;
}

body.contact-general-page section:first-of-type {
  padding-top: 1.5em;
} /* reduce top margin beneath banner */


/* === MOBILE STYLES === */

@media (max-width: 768px) {
  body.contact-general-page .banner-header .page-title {
    font-size: 1.8em;
    line-height: 1.2;
  }
}