.mentorInvite {
  position: relative;

  margin-top: var(--component-mt);
  margin-bottom: var(--component-mb);
  &.first-child {
    margin-top: var(--component-first-child-mt);
    margin-bottom: var(--component-first-child-mb);
  }

  &.last-child {
    margin-top: var(--component-last-child-mt);
    margin-bottom: var(--component-last-child-mb);
  }

  &.only-child {
    margin-top: var(--component-only-child-mt);
    margin-bottom: var(--component-only-child-mb);
  }
}

.image {
  width: 750px;
  margin: 0 auto;
  z-index: 4;
  position: relative;
  padding: 10px 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
  background-color: #fff;
  border-radius: var(--component-border-radius);
  overflow: hidden;
  height: 376px;
  background-image: url(https://cdn.dvconnect.io/connect/samples/mentor_invite_designer.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  &:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(255, 255, 255, 0.7);
    z-index: 5;
  }
}

.message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 454px;
  z-index: 6;
  background: rgba(48, 49, 50, 0.85);
  padding: 14px 21px;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.mentorIcon {
  font-size: 38px !important;
  color: #FFFFFF;
  margin-right: 17px;
  flex-shrink: 0;
}

.text {
  font-size: 12px;
  color: #fff;
  font-weight: normal;
  line-height: 15px;
}

:global(.dir--rtl) {
  .mentorIcon {
    margin-left: 17px;
    margin-right: 0;
  }
}