.wp-block-mrc-page-intro {

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

.block-page-introduction {
  background-color: var(--wp--preset--color--bg-off-white);
  padding: 88px 0 88px;
  position: relative;
  overflow: hidden;

  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%;
  }

  &.no-gradient {
    mask-image: none;
  }

  &.no-background {
    background-color: var(--wp--preset--color--white);
    padding: 88px 0 44px;

    &:before {
      display: none;
    }
  }

  
  
  & .page-introduction-wrapper {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
    padding: 0 var(--wp--custom--layout--padding);
    text-align: center;
    width: 100%;

    @media ( width >= 1140px ) {
      width: 57.777%;
    }
  }

  & .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 {
    margin: 0;
    order: 2;
  }

  & .content {
    order: 3;

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

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

  & .wp-block-buttons {
    margin-top: 32px;
    order: 4;
    position: relative;
    z-index: 1;
  }

  & .video {
    align-items: center;
    aspect-ratio: 16 / 9;
    border-radius: var(--wp--custom--border-radius--medium);
    cursor: pointer;
    display: flex;
    margin: 2rem 0;
    order: 5;
    overflow: hidden;
    position: relative;

    @media ( width >= 840px ) {
      border-radius: var(--wp--custom--border-radius--large);
    }

    &:before {
      background-color: #807556;
      content: '';
      inset: 0;
      opacity: 0.4;
      position: absolute;
    }

    &:hover {
      & .wp-block-buttons {
        & .wp-block-button__link {
          transform: translateY(-2px);
        }
      }
    }

    & .wp-block-buttons {
      left: 0;
      margin: 0 auto;
      pointer-events: none;
      position: absolute;
      right: 0;
    }
  }

  & svg#background {
    left: 0;
    position: absolute;
    right: 0;
    top: 65%;
    
  }
}

.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;
  }
}

