.make-testimonial-intent(@colors) {
  &.cr-ct-testimonials__slide--primary {
    .cr-ct-testimonials__slide-description {
      color: @colors[color-10];
    }

    .cr-ct-testimonials__slide-name {
      color: @colors[color-10];
    }

    .cr-ct-testimonials__slide-position {
      color: @colors[color-10];
    }

    .cr-ct-testimonials__quote-icon {
      color: @colors[color-10];
    }
  }

  &.cr-ct-testimonials__slide--default {
    .cr-ct-testimonials__slide-description {
      color: @theme-secondary-base-color;
    }

    .cr-ct-testimonials__slide-name {
      color: @theme-secondary-base-color;
    }

    .cr-ct-testimonials__slide-position {
      color: @theme-secondary-base-color;
    }

    .cr-ct-testimonials__quote-icon {
      color: @theme-secondary-base-color;
    }
  }

}

.cr-ct-testimonials {
  width: 100%;

  p {
    margin: 0;
  }

  &--mobile {
    padding: 0;
  }

  &__slide-meta {
    margin-top: 24px;
  }

  &__slide {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;

    &--theme-1 {
      .make-testimonial-intent(@themes[@theme-1][@colors]);
    }

    &--theme-2 {
      .make-testimonial-intent(@themes[@theme-2][@colors]);
    }

    &--theme-3 {
      .make-testimonial-intent(@themes[@theme-3][@colors]);
    }

    &--theme-4 {
      .make-testimonial-intent(@themes[@theme-4][@colors]);
    }

    &--theme-5 {
      .make-testimonial-intent(@themes[@theme-5][@colors]);
    }

    &--theme-6 {
      .make-testimonial-intent(@themes[@theme-6][@colors]);
    }
  }

  &__slide-inner {
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  &__quote-icon {
    font-size: 40px;
    color: @theme-secondary-base-color;
    &--open {
      margin-top: -10px;
    }

    &--close {
      align-self: flex-end;
    }

    &--mobile {
      font-size: 24px;
    }
  }

  &__slide-description {
    width: 100%;
    padding: 90px 100px 70px 100px;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.32px;
    position: relative;

    &--mobile {
      padding: 48px 0px;
      text-align: left;
    }
  }

  &__slide-name {
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
  }

  &__slide-position {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
  }

  &--font-variant-1 {
    .cr-ct-testimonials__slide-name {
      font-family: @theme-font-variants[@variant-1][body-font-family];
    }

    .cr-ct-testimonials__slide-position {
      font-family: @theme-font-variants[@variant-1][body-font-family];
    }

    .cr-ct-testimonials__slide-description {
      font-family: @theme-font-variants[@variant-1][body-font-family];
    }
  }

  &--font-variant-2 {
    .cr-ct-testimonials__slide-name {
      font-family: @theme-font-variants[@variant-2][body-font-family];
    }

    .cr-ct-testimonials__slide-position {
      font-family: @theme-font-variants[@variant-2][body-font-family];
    }

    .cr-ct-testimonials__slide-description {
      font-family: @theme-font-variants[@variant-2][body-font-family];
    }
  }

  &--font-variant-3 {
    .cr-ct-testimonials__slide-name {
      font-family: @theme-font-variants[@variant-3][body-font-family];
    }

    .cr-ct-testimonials__slide-position {
      font-family: @theme-font-variants[@variant-3][body-font-family];
    }

    .cr-ct-testimonials__slide-description {
      font-family: @theme-font-variants[@variant-3][body-font-family];
    }
  }

}