.testimonial_item {
  /* padding: 2rem; */
	position: relative;
	z-index: 1;
}

.testimonial_item-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.testimonial_item-quote {
	margin-top: 0;
  line-height: 1.4;
	/*font-size: larger;*/
}

.testimonial_item-quote, .testimonial_item-name, .testimonial_item-company-name {
	/*color: white;*/
	width: fit-content;
}

.testimonial_item-name, .testimonial_item-company-name {
	margin: 0;
}

.testimonial_item {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.splide__pagination--custom {
	width: 100%;
	position: unset !important;
	margin-top: 1rem !important;
}

.testimonial-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.testimonial_item-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	top: 0;
	left: 0;
	z-index: -1;
}

/* Desktop = keep your original look */
.splide__pagination--custom .splide__pagination__page,
.splide__pagination--custom .splide__pagination__page.is-active {
  border-radius: 0;
  width: 75px;
  opacity: 1;
  margin: 0 0.5rem;
}

{#.splide__pagination--custom .splide__pagination__page.is-active {
  margin: 0 1.5rem;
}#}

.splide__pagination__page.is-active {
    transform: scale(1) !important;
}

@media (max-width: 768px) {
  /* The row that holds the pagination items */
  .splide__pagination--custom {
    display: flex !important;
    flex-wrap: nowrap !important;     /* never go to 2 lines */
    width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    gap: 8px !important;
    margin-top: 1rem !important;
  }

  /* Each dot/line wrapper */
  .splide__pagination--custom > li {
    flex: 1 1 0 !important;           /* evenly fill available width */
    min-width: 0 !important;          /* allow true equal sizing */
    margin: 0 !important;             /* kill any default spacing */
    padding: 0 !important;
    list-style: none !important;
  }

  /* The actual clickable button */
  .splide__pagination--custom .splide__pagination__page {
    display: block !important;
    width: 100% !important;           /* fill the li */
    height: 32px !important;          /* big tap target */
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;

    /* draw the thin bar centered inside the tall button */
    background: linear-gradient(rgba(0,0,0,1), rgba(0,0,0,1)) center / 100% 4px no-repeat !important;
  }

  .splide__pagination--custom .splide__pagination__page.is-active {
    background: linear-gradient(rgba(255,203,27,1), rgba(255,203,27,1)) center / 100% 4px no-repeat !important;
  }
}