/* ---------------------------------------------------------------------------
   Service pages (Project Management, Maintain to Retain and siblings). Rules
   lifted from the Elementum Webflow design for the classes the home page does
   not use. Scoped to .el like the rest of the site chrome.
--------------------------------------------------------------------------- */

/* Page hero: white card, title left, enquiry button right. */
.el .content-container.text-align-left {
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-end;
}

.el .text-align-left {
  text-align: left;
}

.el .heading-xxlarge.caps {
  font-size: 3.70522rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.el .light-green {
  color: var(--elementum-green);
}

.el .text-size-x-large {
  font-size: 1.5rem;
}

.el .text-size-x-large.text-align-left.semi-bold.is-dark-green,
.el .text-size-x-large.text-align-left.is-dark-green {
  color: var(--dark-green);
}

.el .text-size-medium {
  font-size: 1.125rem;
}

.el .small-content-box-wrapper.is-off-white {
  background-color: var(--second-off-white);
  width: 100%;
}

/* Full width photograph band beneath the hero. */
.el .section.image-back {
  background-position: 50% 16%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 20rem;
}

.el .section.image-back.project-management {
  background-image: url("/assets/service-project-management.jpg");
  background-position: 50% 28%;
}

.el .section.image-back.maintain-to-retain {
  background-image: url("/assets/band-maintain-to-retain.jpg");
  background-position: 50% 48%;
}

.el .section.image-back.surveys-reports {
  background-image: url("/assets/band-surveys-reports.jpg");
  background-position: 50% 56%;
}

.el .section.image-back.building-surveying {
  background-image: url("/assets/band-building-surveying.jpg");
  background-position: 50% 16%;
}

.el .section.image-back.drone-surveys {
  background-image: url("/assets/band-drone-surveys.jpg");
  background-position: 50% 16%;
}

.el .section.image-back.design-procurement {
  background-image: url("/assets/band-surveys-reports.jpg");
  background-position: 50% 40%;
}

.el .section.image-back.principal-designer {
  background-image: url("/assets/band-building-surveying.jpg");
  background-position: 50% 30%;
}

.el .section.image-back.cost-consultancy {
  background-image: url("/assets/band-maintain-to-retain.jpg");
  background-position: 50% 30%;
}

.el .section.image-back.structural-engineering {
  background-image: url("/assets/band-building-surveying.jpg");
  background-position: 50% 60%;
}

.el .section.image-back.planning-heritage {
  background-image: url("/assets/band-surveys-reports.jpg");
  background-position: 50% 70%;
}

/* Intro: copy beside the credential cards. */
.el .section.with-padding.extra-padding-bottom {
  padding-bottom: 60px;
}

.el .grid-4.service-grid {
  grid-column-gap: 115px;
  grid-template-columns: 1.25fr 1fr;
  place-items: center;
}

/* Approach: the photograph sits below the accreditation band, never over it. */
.el .image-12 {
  margin-top: 0;
  margin-bottom: 81px;
}

.el .card-1.project-management {
  background-image: url("/assets/card-project-management.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

.el .card-1.maintain-to-retain {
  background-image: url("/assets/card-maintain-to-retain.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

.el .card-1.survey-report {
  background-image: url("/assets/card-surveys-reports.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

.el .card-1.building-survey {
  background-image: url("/assets/card-building-survey.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

.el .card-1.drone-surveys {
  background-image: url("/assets/card-drone-surveys.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

.el .card-1.design-procurement {
  background-image: url("/assets/card-surveys-reports.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

.el .card-1.principal-designer {
  background-image: url("/assets/card-building-survey.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

.el .card-1.cost-consultancy {
  background-image: url("/assets/card-maintain-to-retain.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

.el .card-1.structural-engineering {
  background-image: url("/assets/card-project-management.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

.el .card-1.planning-heritage {
  background-image: url("/assets/card-surveys-reports.jpg"), linear-gradient(64deg, #38aeb6, #7fbfc3);
  background-position: 50%, 0 0;
  background-size: cover, auto;
  background-attachment: scroll, scroll;
  height: 400px;
  max-height: 400px;
  padding-top: 40px;
}

/* Floating enquiry card in the bottom corner. */
.el .cta-section {
  z-index: 997;
  background-color: var(--dark-green);
  color: var(--white);
  border-radius: 10px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: auto;
  max-width: 20rem;
  height: auto;
  max-height: 11.7rem;
  padding: 27px;
  display: flex;
  position: fixed;
  inset: auto 2% 3% auto;
  box-shadow: 6px 6px 8px #0003;
}

.el .button-secondary {
  border: 4px solid var(--color);
  color: var(--color);
  text-align: center;
  text-transform: uppercase;
  background-color: transparent;
  border-radius: 100px;
  padding: 0.95rem 2.2rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
}

.el .button-secondary.is-alternate {
  border-color: var(--white);
  color: var(--white);
}

.el .button-secondary.is-alternate.cta {
  margin-top: 10px;
  padding: 0.65rem 1.7rem;
}

.el a.button-secondary {
  text-decoration: none;
}

.el .button-secondary:hover {
  background-color: var(--color);
  color: var(--white);
}

.el .icon-with-text-wrapper.left-aligned.cta {
  justify-content: flex-start;
  align-items: flex-start;
}

@media screen and (max-width: 991px) {
  .el .heading-xxlarge.caps {
    font-size: 3.25rem;
  }

  .el .section.image-back {
    height: 10rem;
  }

  .el .grid-4.service-grid {
    grid-template-columns: 1fr;
  }

  .el .card-1.project-management,
  .el .card-1.maintain-to-retain,
  .el .card-1.survey-report,
  .el .card-1.building-survey,
  .el .card-1.drone-surveys {
    height: 300px;
  }
}

@media screen and (max-width: 767px) {
  .el .section.hero-section.services-page {
    padding-top: 102px;
    padding-bottom: 42px;
  }

  .el .content-container.text-align-left {
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .el .heading-xxlarge.caps {
    font-size: 2.5rem;
  }

  .el .heading-xxlarge.caps.service {
    margin-bottom: 0.9rem;
  }

  .el .text-size-medium {
    font-size: 1rem;
  }

  .el .cta-section {
    width: 100%;
    max-width: 100%;
    display: none;
    position: static;
  }
}

@media screen and (max-width: 479px) {
  .el .section.hero-section.services-page {
    padding-left: 4%;
    padding-right: 4%;
  }

  .el .heading-xxlarge.caps.service {
    font-size: 2.4rem;
  }

  .el .text-size-x-large.text-align-left.is-dark-green {
    font-size: 1.125rem;
  }

  .el .card-1.project-management,
  .el .card-1.maintain-to-retain,
  .el .card-1.survey-report,
  .el .card-1.building-survey,
  .el .card-1.drone-surveys,
  .el .card-1.design-procurement,
  .el .card-1.principal-designer,
  .el .card-1.cost-consultancy,
  .el .card-1.structural-engineering,
  .el .card-1.planning-heritage {
    background-position: 50% 26%, 0 0;
    background-size: auto, auto;
    height: 250px;
  }
}

@media screen and (max-width: 991px) {
  .el .card-1.design-procurement,
  .el .card-1.principal-designer,
  .el .card-1.cost-consultancy,
  .el .card-1.structural-engineering,
  .el .card-1.planning-heritage {
    height: 300px;
  }
}
