.mza-testimonials-wrapper {
  position: relative;    /* new or reinforce this */
  display: inline-block; /* so it shrinks to the laptop image’s width */
}

/* Container holds the scrollable list as before */
.mza-testimonials-list {
  position: absolute;
  top: 17.5%;
  left: 8%;
  right: 8%;
  bottom: 20%;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(255,255,255,0.9);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
  margin: 0 auto;
  width: 68%;
  height: 63.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Each card: white bg, rounded, shadow, flex row */
.mza-testimonial {
  display: flex;
  width: 95%;
  align-items: flex-start;
  gap: 2rem;
  background: var(--primary-bg);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 1) Thumb + name column */
.mza-testimonial__thumb {
  flex: 0 0 auto;
  text-align: center;
  margin-right: 1rem;
}
.mza-testimonial__thumb .mza-testimonial__photo {
  border-radius: 50%;
  width: 125px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.mza-testimonial__thumb .mza-testimonial__name {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand);
}

/* 2) Quote: takes remaining space, italic */
.mza-testimonial__quote {
  flex: 1 1 auto;
  font-size: 1rem;
  font-style: italic;
  color: var(--headings);
  line-height: 1.4;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center; 
}

/* 3) Icon column */
.mza-testimonial__type-icon {
  flex: 0 0 auto;
  margin-left: 1rem;
  align-self: center;
}
.mza-testimonial__type-icon .mza-icon {
  width: 24px;
  height: auto;
  display: block;
}