/* ---------------------------------------------------------------------------
   Contact page. Rules lifted from the Elementum Webflow design for the classes
   the rest of the site does not use. Scoped to .el.
--------------------------------------------------------------------------- */

.el .contact-form-section-block-wrapper {
  width: 100%;
}

.el .contact-form-section-block-wrapper.right {
  background-color: var(--elementum-green);
  border-radius: 10px;
  padding: 30px;
}

.el .small-content-box-wrapper.is-off-white.contact {
  background-color: var(--second-off-white);
  padding: 16px;
}

.el .social-media-wrapper.contact-page {
  background-color: var(--dark-green);
  border-radius: 10px;
  padding: 15px 21px;
}

@media screen and (max-width: 991px) {
  .el .contact-form-section-block-wrapper.right {
    padding: 13px;
  }
}

/* ---------------------------------------------------------------------------
   Tablet: the form and the contact details stack, so the details turn into a
   two-up row of cards with a compact social pill beneath them. That keeps the
   two-column rhythm of the desktop layout instead of leaving one very wide
   off-white box with a single line of text in it.
--------------------------------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .el .section.hero-section.services-page {
    padding-bottom: 46px;
  }

  .el .contact-page-grid {
    max-width: 100%;
    grid-row-gap: 26px;
  }

  .el .contact-form-section-block-wrapper.right {
    padding: 24px;
  }

  .el .contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    align-items: stretch;
    width: 100%;
  }

  .el .contact-details .spacer-17px {
    display: none;
  }

  .el .contact-details .small-content-box-wrapper.is-off-white.contact {
    height: 100%;
    padding: 18px 20px;
  }

  .el .contact-details .small-content-box-wrapper.is-off-white.contact a {
    width: 100%;
  }

  .el .contact-details .icon-1x1-medium.margin-right {
    width: 2.25rem;
    height: 2.25rem;
  }

  .el .contact-details .text-size-regular {
    font-size: 0.9375rem;
  }

  .el .contact-details .social-media-wrapper.contact-page {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    grid-column-gap: 18px;
    grid-row-gap: 0;
    padding: 12px 18px;
  }
}
