/* ---------------------------------------------------------------------------
   Our Services page. 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.
--------------------------------------------------------------------------- */

/* Subpage hero: the light triangle band that sits behind the page title. */
.el .section.hero-section.subpage-hero {
  background-color: var(--third-off-white);
  color: var(--white);
  background-image: url("/assets/light-triangle.svg");
  background-position: 0 0;
  background-size: cover;
  padding: 131px 4% 166px;
}

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

.el ._60 {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

/* Supporting capability: the five services beyond the lead three. */
.el .services-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.el .services-support-card {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: var(--off-white);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 70, 73, 0.035);
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.el .services-support-card:hover {
  box-shadow: 0 6px 16px rgba(0, 70, 73, 0.08);
  transform: translateY(-1px);
}

.el .services-support-card:focus-visible {
  outline: 3px solid #007e83;
  outline-offset: 3px;
}

.el .services-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eaf4f4;
  color: var(--dark-green);
}

.el .services-support-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.el .services-support-body strong {
  color: var(--dark-green);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.el .services-support-body span {
  color: #456260;
  font-size: 13.5px;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .el .services-support {
    grid-template-columns: 1fr;
  }
}

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

.el .who-we-help-boxes {
  z-index: 999;
  margin-left: 0;
  margin-right: 0;
  position: relative;
}

/* The service cards: three across, then two centred beneath, as in the design. */
.el .grid-3._3-block {
  grid-column-gap: 40px;
  grid-row-gap: 85px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.el .grid-3._3-block > * {
  grid-column: span 2;
}

.el .grid-3._3-block > *:nth-child(4) {
  grid-area: 2 / 2 / 3 / 4;
}

.el .grid-3._3-block > *:nth-child(5) {
  grid-area: 2 / 4 / 3 / 6;
}

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

/* The card artwork sits proud of the card, over the dotted panel. */
.el .image-11 {
  border-radius: 10px;
  width: 100%;
  margin-top: -63px;
}

.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 a.button-secondary {
  text-decoration: none;
}

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

@media screen and (max-width: 991px) {
  .el .section.hero-section.subpage-hero {
    padding-top: 104px;
    overflow: hidden;
  }

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

  .el ._60 {
    max-width: 100%;
  }

  .el .grid-3._3-block {
    grid-column-gap: 40px;
    grid-row-gap: 84px;
    grid-template-columns: 1fr 1fr;
    justify-content: start;
  }

  .el .grid-3._3-block > * {
    grid-column: auto;
    grid-area: auto;
  }
}

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

  .el .grid-3._3-block {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 479px) {
  .el .small-content-box-wrapper.is-off-white {
    padding: 21px;
  }

  .el .who-we-help-boxes {
    margin-left: -10px;
    margin-right: -10px;
  }
}
