.testimonial-slider-visibility-wrapper {
  overflow: hidden;
}

.max-width-wrapper.testimonial-slider-wrapper .button-container {
  padding: 0;
  display: none;
  justify-content: flex-end;
}

.testimonial-slider-wrapper {
  padding-top: 48px;
  padding-bottom: 52px;
}

.testimonial-slider-wrapper .title-wrapper {
  margin: 0;
  margin-bottom: 14px;
}

.testimonial-slider-wrapper .title-wrapper h1,
.testimonial-slider-wrapper .title-wrapper h2 {
  margin-top: 0;
}

.testimonial-slider-wrapper .button-container {
  position: relative;
  min-height: 42px;
  display: flex;
  justify-content: space-between;
}

.testimonial-slider-wrapper .button-container .hs-button {
  padding-left: 20px;
  padding-right: 20px;
}

.testimonial-slider-wrapper .button-container .hs-button.hs-button-primary {
  margin-left: 16px;
}

.testimonial-slider-wrapper .hs-button.desktop {
  display: none;
}

.testimonial-slider {
  position: relative;
}

.testimonial-slider .carousel {
	height: auto; 
	perspective: 250px;    
	width: max-content;
	overflow: hidden;
  margin: 0 auto;
  display: flex;
  gap: var(--gap-def);
  position: absolute;
  left: 0px;
  transition: all 0.3s linear;
}

.testimonial-slider .carousel .testimonial-slider-carousel-item {
	border-radius: var(--button-radius);
  border: 1px solid var(--secondary-color);
	width: 297px;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 37px;
}

.testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-header {
  display: none;
  justify-content: space-between;
}

.testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-header .carousel-item-header-author-image {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 68px;
}

.testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-header .carousel-item-header-company-logo {
  height: 33px;
  width: auto;
}

.testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-body {
  position: relative;
  margin-top: 33px; 44px;
}

.testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-body:before {
  content: url(https://146085533.fs1.hubspotusercontent-eu1.net/hubfs/146085533/testimonial-mark.svg);
  width: 24px;
  height: 24px;
  position: absolute;
}


.testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-body h5 {
  margin: 0;
  margin-top: 37px;
  text-transform: none;
}

.testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-footer {
  margin-top: 38px;
  padding-left: 16px;
  border-left: 1px solid var(--text-font-color);
}

.testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-footer p {
  margin: 0
}

.testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-footer p:first-child {
  font-weight: 600;
}

.testimonial-slider-wrapper .button-container .carousel-buttons-wrapper {
  display: none;
}

.testimonial-slider-wrapper .button-container .carousel-button {
	width: 56px;
	height: 56px;
	background-color: transparent;
	border-radius: 17px;
	opacity: 1;
	border: none;
	z-index: 667;
	cursor: pointer;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

.testimonial-slider-wrapper .button-container .carousel-button .carousel-button-icon {
	width: 21px;
	height: 21px;
}

.testimonial-slider-wrapper .button-container .carousel-button:focus {
	outline: 0;
}

@media screen and (min-width: 768px) {
  .testimonial-slider-visibility-wrapper {
  }

  .testimonial-slider-visibility-wrapper.modules {
    margin-bottom: 0;
  }

  .testimonial-slider-wrapper .title-wrapper {
    margin-bottom: 54px;
    max-width: 830px;
  }

	.testimonial-slider h3 {
		font-size: 41px;
		line-height: 43px;
	}

	.testimonial-slider .carousel .testimonial-slider-carousel-item {
    width: 384px;
    padding: 48px;
  }

  .testimonial-slider-wrapper .button-container {
    justify-content: flex-end;
  }

  .testimonial-slider-wrapper .button-container .hs-button {
    padding-left: 33px;
    padding-right: 33px;
  }

  .testimonial-slider-wrapper .button-container .hs-button.hs-button-primary {
    margin-left: 16px;
  }

  .testimonial-slider-wrapper .button-container .hs-button.mobile {
    display: none;
  }

  .testimonial-slider-wrapper .hs-button.desktop {
    display: initial;
  }

  .testimonial-slider-wrapper {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .testimonial-slider .carousel .testimonial-slider-carousel-item .image-container .tag-wrapper {
    padding: 1px 21.5px;
    line-height: 22.5px;
  }

  .testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-body {
    position: relative;
    margin-top: 44px;
  }


  .testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-body h5 {
    margin: 0;
    margin-top: 40px;
  }

  .testimonial-slider .carousel .testimonial-slider-carousel-item .carousel-item-footer {
    margin-top: 51px;
  }

  .max-width-wrapper.testimonial-slider-wrapper .button-container {
    display: flex;
  }

  .testimonial-slider-wrapper .button-container .carousel-buttons-wrapper {
    display: block;
  }
}