.card-wrapper.provus-card-left,
.card-wrapper.provus-card-right {
  position: relative;

  &::after {
    display: block;
    content: "";
    background-image: url('../images/red-lines.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    top: -20px;
    right: -74px;
    width: 350px;
    height: 50px;
    z-index: -1;

    @include media-breakpoint-up(md) {
      top: -40px;
      width: 634px;
      height: 80px;
    }
  }

  .card {
    background-color: transparent;
  }

  .card-content {
    border-radius: $cards-border-radius-radius-md;
  }

  .card-img-container {
    z-index: 1;
  }

  .card-body {
    background-image: url('../images/card-image-bg.png');
    background-repeat: no-repeat;
    background-position: -15px 0px;
    background-size: cover;
    position: relative;

    @include media-breakpoint-up(lg) {
      width: 50%;
      padding: $padding-padding-xxlg;
    }

    &::after {
      display: block;
      content: "";
      position: absolute;
      bottom: -30px;
      right: -30px;
      width: 152px;
      height: 152px;
      background-image: url('../images/card-image-corner.png');
      background-repeat: no-repeat;
      background-position: top left ;
      background-size: cover;
    }

    .card-content {
      gap: 16px;

      @include media-breakpoint-up(lg) {
        padding-top: 90px;
      }

      .card-title {
        color: $primary-colors-primary-contrast;
        font-weight: $font-weight-bold;

        @include media-breakpoint-up(md) {
          font-size: rem-calc(48);
          line-height: rem-calc(56);
          letter-spacing: rem-calc(-1);
        }
      }
    }

    .card-text {
      color: #ADB1B5;
      font-size: rem-calc(16);
      font-weight: $font-weight-medium;
      line-height: 1.4;
      letter-spacing: -1px;
    }
  }

  .card-extra {
    position: relative;
    z-index: 1;

    @include media-breakpoint-up(lg) {
      padding-bottom: 90px;
    }

    .field--name-field-provus-links {
      display: flex;
      align-items: center;
      gap: 20px;
    }
  }

  .card-img {
    @include media-breakpoint-up(lg) {
      width: 50%;
    }
  }
}


.card-wrapper.provus-card-left .card-body {
  @include media-breakpoint-up(lg) {
    margin-left: 50%;
  }
}
