.et-testimonial-slider {
  .et-testimonial-slider-slide-content {
    display: flex;
  }
  .et-testimonial-slider-slide-quote {
    hyphens: auto;
  }
  &.et-testimonial-slider-layout-boxed {
    .et-testimonial-slider-slide-content {
      flex-direction: column;
      align-items: center;
    }
    .et-testimonial-slider-slide-text-wrapper {
      background-color: $colorNeutral3;
      color: color-yiq($colorNeutral3);
      padding: 20px;
      border-bottom-left-radius: $border-radius;
      border-bottom-right-radius: $border-radius;
    }
    .et-testimonial-slider-slide-image {
      border-top-left-radius: $border-radius;
      border-top-right-radius: $border-radius;
    }
    .et-testimonial-slider-slide-name {
      font-size: larger;
    }
    .et-testimonial-slider-slide-company,
    .et-testimonial-slider-slide-name {
      font-weight: $font-weight-bold;
    }
    .et-testimonial-slider-slide-person {
      > div:not(:first-child) {
        margin-top: $grid-gutter-width / 2;
      }
    }
    .et-testimonial-slider-slide-quote {
      margin-top: $grid-gutter-width / 2;
    }
  }
  &.et-testimonial-slider-layout-card {
    .et-testimonial-slider-slide-wrapper {
      background-color: $colorContentBackground;
      color: color-yiq($colorContentBackground);
      padding: 20px;
      @include media-breakpoint-up(lg) {
        padding: 30px;
      }
    }
    .et-testimonial-slider-slide-content {
      flex-direction: column;
      align-items: center;
      @include media-breakpoint-up(lg) {
        flex-direction: row;
        align-items: flex-start;
      }
    }
    .et-testimonial-slider-slide-text-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      @include media-breakpoint-up(lg) {
        margin-left: 50px;
        margin-top: auto;
        margin-bottom: auto;
      }
    }
    .et-testimonial-slider-slide-quote {
      order: 1;
      margin-bottom: 20px;
      @include media-breakpoint-up(lg) {
        margin-bottom: 30px;
      }
      &:before {
        content: "„"
      }
      &:after {
        content: "“"
      }
    }
    .et-testimonial-slider-slide-person {
      order: 2;
      font-size: smaller;
      display: flex;
      justify-content: center;
      @include media-breakpoint-up(lg) {
        justify-content: flex-start;
      }
    }
    .et-testimonial-slider-slide-name {
      font-weight: $font-weight-bold;
    }
    .et-testimonial-slider-slide-company {
      &:before {
        content: "|";
        margin-left: 5px;
        margin-right: 5px;
      }
    }
    .et-testimonial-slider-slide-image {
      height: 160px;
      width: 160px;
      min-width: 160px;
      border-radius: 160px;
      margin-bottom: 20px;
      object-fit: cover;
      @include media-breakpoint-up(lg) {
        margin-bottom: 0;
      }
    }
  }
  &.et-testimonial-slider-layout-quote {
    .et-testimonial-slider-slide-content {
      flex-direction: column;
      align-items: center;
      @include media-breakpoint-up(lg) {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-around;
      }
    }
    .et-testimonial-slider-slide-text-wrapper {
      display: flex;
      flex-direction: column;
      @include media-breakpoint-up(lg) {
        flex-direction: row;
      }
      justify-content: space-between;
      align-items: center;
    }
    .et-testimonial-slider-slide-quote {
      order: 1;
      font-style: italic;
      font-size: larger;
      position: relative;
      // to make room for the before/after elements, so they don't overflow
      padding-left: 25px;
      padding-right: 25px;
      margin-bottom: 25px;
      margin-top: 25px;
      &:before {
        content: "„";
        font-size: 50px;
        position: absolute;
        left: 0;
        bottom: -25px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      &:after {
        content: "“";
        font-size: 50px;
        position: absolute;
        right: 0;
        top: -25px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
    .et-testimonial-slider-slide-person {
      order: 2;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-width: 160px;
      @include media-breakpoint-up(lg) {
        margin-left: 10px;
      }
    }
    .et-testimonial-slider-slide-name {
      font-weight: $font-weight-bold;
    }
    .et-testimonial-slider-slide-image {
      height: 160px;
      width: 160px;
      min-width: 160px;
      border-radius: 160px;
      margin-bottom: 20px;
      object-fit: cover;
      @include media-breakpoint-up(lg) {
        margin-bottom: 0;
      }
    }
  }
}