.testimonials__grid {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
}
.testimonials__gallery-part, .testimonials__content-part {
  flex-grow: 0;
  flex-shrink: 0;
}
.testimonials__gallery-part {
  padding-left: 1.8rem;
  width: 100%;
  @media screen and (min-width: 750px) {
    order: 1;
    width: 60%;
    padding-left: 0;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
  }
  slideshow-component {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .slider-component__track {
    margin-top: 1.2rem;
    @media screen and (min-width: 750px) {
      margin-top: 6.7rem;
    }
  }
  .slideshow__controls {
    bottom: 3.7rem;
    @media screen and (min-width: 750px) {
      bottom: 11rem;
    }
    @media screen and (max-width: 749px) {
      padding-right: 1rem;
    }
  }
  .slider-counter {
    color: rgb(var(--color-button-text));
    @media screen and (max-width: 749px) {
      padding: 0 0.7rem;
    }
  }
  .slider-counter span {
    @media screen and (max-width: 749px) {
      font-size: 1.1rem;
      &.divider {
        padding: 0 0.2rem;
      }
    }
  }
  .slider-button {
    color: rgb(var(--color-button-text));
    background-color: unset !important;
    @media screen and (max-width: 749px) {
      width: 1rem;
      font-size: 1.5rem;
    }
    &:hover {
      color: rgb(var(--color-button-text-hover)) !important;
    }
  }
}
.testimonials__content-part {
  --desktop-page-width-padding: 5rem;
  width: 100%;
  position: relative;
  padding-left: calc((max((100vw - var(--page-width)) / 2, 0px)));
  @media screen and (min-width: 750px) {
    width: 40%;
  }
  .page-width {
    @media screen and (min-width: 750px) {
      padding-right: 0;
    }
  }
  .testimonials__content-cover {
    overflow: hidden;
  }
}
.testimonial__slider {
  display: flex;
  overflow-y: hidden;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.testimonial__slide {
  width: 100%;
  height: 100%;
  > svg, img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
  }
}
.testimonials__contents-track {
  --transform-left-multiplier: 0;
  --transition-time: 0.3s;
  transform: translateX(calc(100% * var(--transform-left-multiplier) * -1));
}
.testimonials__contents-grid {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}
.testimonials__content-caption {
  font-weight: 600;
  padding-left: 4rem;
  position: relative;
  &:before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 3rem;
    background-color: rgb(var(--color-foreground));
    content: "";
  }
}
.testimonials__content-caption-row {
  @media screen and (max-width: 749px) {
    padding-top: 1.7rem;
    text-align: right;
  }
}
.testimonials__content {
  width: 100%;
  flex-shrink: 0;
  padding: 1.5rem 0 0 0;
  transition: var(--transition-time);
  @media screen and (min-width: 750px) {
    padding: var(--content-space-top) 2rem var(--content-space-bottom) 0;
  }
  @media screen and (max-width: 749px) {
    position: relative;
  }
  &.hide-animation {
    transform: translateY(20px);
    opacity: 0;
  }
  a {
    text-decoration: none;
    color: rgb(var(--color-foreground));
  }
  .icon-quatation-marks {
    margin: 0 0 0 auto;
    display: block;
    width: 45%;
    opacity: 0.1;
    @media screen and (max-width: 749px) {
      position: absolute;
      top: 5.5rem;
      right: 0;
      width: 28%;
    }
  }
  > * {
    max-width: 412px;
  }
}
.testimonials__content-header {
  margin-top: 0;
}