.testimonial-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  background: #ffffff00;

  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);

/*   -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.slider-track {
  display: flex;
  gap: 20px;
  cursor: grab;
  user-select: none;
}

.slider-track.grabbing {
  cursor: grabbing;
}

.testimonial-card {
  flex: 0 0 300px;
  height: 320px;
  background: #fff;
/*   border: 1px solid #609BB2; */
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: height 0.3s ease;
}
{#
span.rating {
    color: var(--mt-primary);
    font-weight: bold;
    font-size: 18px;
  display:block;
  margin-bottom:5px;
}
#}
h3.testimonial-head {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--mt-primary);
}
.testimonial-text {
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 12px;
  margin:0;
}


.author {
    margin-top: 10px;
  display:flex;
  justify-content: space-between;
}
.author img {
    border-radius: 50px;
    /* aspect-ratio: inherit; */
    width: 40px;
    height: 40px;
    object-fit: cover;
}
.author-text {
    display: flex;
    flex-direction: column;
    /* align-content: flex-start; */
}
.author-text strong { color:var(--mt-primary); font-size:12px; }
.author-text small { color: #a6a6a6; font-size:12px; }

.testimonial-card.expanded .testimonial-text {
  max-height: 1000px; /* big enough to show full text */
}

a.show-more-link {
    font-size: 12px;
}

.outoften {
  font-size:12px;
}
p.slide-text {
  margin-top:auto;
  text-align:center;
  background-color: rgba(17,102,80,50%);
  color:white;
  padding:3px;
  margin-bottom:13px;
  font-size:14px;
}

.mt-tcard__stars { display: flex; gap: 4px; margin-bottom: 1.1rem; }
.mt-tcard__star  { width: 14px; height: 14px; background: var(--mt-accent); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
/* ---- Testimonials ---- */
.mt-testimonials { background: var(--mt-bg); }
.mt-testimonials__header { text-align: center; max-width: 480px; margin: 0 auto 3.5rem; }
.mt-testimonials__grid > * {scroll-snap-align: start;}
.mt-tcard { background: var(--mt-white); border: 1px solid var(--mt-border); border-radius: var(--mt-radius); padding: 2rem; }
.mt-tcard__stars { display: flex; gap: 4px; margin-bottom: 1.1rem; }
.mt-tcard__star  { width: 14px; height: 14px; background: var(--mt-accent); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.mt-tcard__quote { font-size: .80rem; color: var(--mt-charcoal); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.mt-tcard__author { display: flex; align-items: center; gap: .75rem; }
.mt-tcard__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--mt-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; color: #fff; flex-shrink: 0; }
.mt-tcard__name  { font-size: .88rem; font-weight: 700; color: var(--mt-charcoal); }
.mt-tcard__from  { font-size: .76rem; color: var(--mt-charcoal-light); }
/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 80%;
  }
}
