.wp-block-mrc-page-intro {

  & .block-page-introduction {
  
    @media ( width >= 1140px ) {
      width: 100%;
    }
  }
}

.block-schedule-demo {
  background-color: var(--wp--preset--color--bg-off-white);
  padding: 88px 1rem 144px;
  position: relative;

  mask-image: linear-gradient(
    to bottom,
    hsl(0 0% 0% / 1),
    hsl(0 0% 0% / 1),
    hsl(0 0% 0% / 1) 90%,
    hsl(0 0% 0% / 0) 100%
  );

  &:before {
    bottom: 0;
    content: '';
    position: absolute;
    background-image: linear-gradient(to bottom, transparent, white);
    height: 88px;
    width: 100%;
  }

  & svg#background {
    position: absolute;
    bottom: -10%;
    z-index: 0;
  }
}

.schedule-demo-wrapper {
  display: grid;
  grid-gap: 64px;
  margin: 0 auto;
  max-width: var(--wp--custom--layout--page);

  @media ( width >= 840px ) {
    grid-template-columns: 1fr 1fr;
    
  }

  & .schedule-demo-left-image {
    display: none;

    @media ( width >= 840px ) {
      background-size: contain;
      background-position: top center;
      background-repeat: no-repeat;
      border-radius: var(--wp--custom--border-radius--large);
      display: block;
      
    }

  }
}


.schedule-demo-content {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  position: relative;
  z-index: 1;

  @media ( width >= 1140px ) {
    padding: 4rem 0;
  }

  & .eyebrow {
    color: var(--wp--custom--eyebrow--color);
    font-size: var(--wp--custom--eyebrow--font-size);
    font-weight: bold;
    margin: 0;
    order: 1;
    text-transform: uppercase;
  }

  & .wp-block-heading {
    font-size: var(--wp--preset--font-size--lg);
    margin: 0;
    order: 2;
  }

  & .content {
    order: 3;

    & p:first-child {
      margin-top: 0;
    }

    & p:last-child {
      margin-bottom: 0;
    }
  }

  & .hubspot-form {
    margin-top: 4rem;
    order: 4;
  }

}

.home {
  & .block-page-introduction {
    background: 0;
  }
}

.solution {
  & .block-page-introduction {
    padding: 88px 0 0;
    &:before {
      display: none;
    }
  }
}

.product {
  & .block-page-introduction {
    padding: 88px 0;
  }
}

#modal {
  border: 0;
  border-radius: var(--wp--custom--border-radius--medium);
  padding: 2rem;
  position: fixed;
  width: var(--wp--custom--layout--narrow);

  &::backdrop {
    background-color: rgba(35, 61, 87, 0.35);
  }

  &:focus {
    outline: 0;
  }

  & .close {
    cursor: pointer;
    height: 24px;
    width: 24px;
    left: 0.5rem;
    position: absolute;
    top: 0.5rem;
  }
}

