.vsly-testimonials,
.vsly-testimonials * {
  box-sizing: border-box;
  font-family: Eesti, sans-serif;
}

.vsly-testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 100px 8vw;
  padding: 3rem 1rem;
  background: rgb(246, 245, 244);
  color: #000;
  width: 100%;
}

.vsly-testimonials > .vsly-testimonials__card:nth-child(odd) {
  position: relative;
}

.vsly-testimonials > .vsly-testimonials__card:nth-child(odd)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-4vw);
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.vsly-testimonials__card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0 30px;
}

.vsly-testimonials__logo {
  width: 150px;
  height: 72px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Laura Geller logo smaller */
.vsly-testimonials__logo--laurageller {
  width: 120px;
  height: 56px;
}

/* Fresh Clean Threads logo bigger */
.vsly-testimonials__logo--freshcleanthreads {
    width: 210px;
    height: 53px;
}

.vsly-testimonials__logo--faherty {
  width:108px;
}



.vsly-testimonials__quote {
  font-weight: 300;
  font-size: 20px;
  line-height: 1.75;
  color: inherit;
  max-width: 466px;
  width: 100%;
}

/* CTA */
.vsly-testimonials__cta {
  order:3
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(129, 92, 64);
  background-color: transparent;
  border: 1px solid rgb(129, 92, 64);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 14px;
  line-height: 1;
  font-family: Eesti, serif;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.vsly-testimonials__cta:hover {
  transform: scale(1.04);
  background-color: rgb(129, 92, 64);
  color: #fff;
  cursor: pointer;
}

/* PERSON ROW */
.vsly-testimonials__person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  width: 100%;
}

.vsly-testimonials__avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 999px;
}

/* Make sure the text area can shrink and ellipsis works */
.vsly-testimonials__person-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  line-height: 1.2;
  min-width: 0; /* IMPORTANT: enables ellipsis inside flex layouts */
}

/* Apply nowrap/ellipsis BOTH for classed spans and plain spans */
.vsly-testimonials__name,
.vsly-testimonials__title,
.vsly-testimonials__person-text > span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vsly-testimonials__name {
  font-weight: 500;
  text-align: left;
}

.vsly-testimonials__title {
  font-weight: 300;
}

/* MOBILE */
@media (max-width: 960px) {
  .vsly-testimonials {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }

.vsly-testimonials__cta {
  order:3
 }

  .vsly-testimonials__person-text {
    font-size:13px;
  }

  .vsly-testimonials__avatar {
    width:50px;
    height:50px;
}

  .vsly-testimonials__card {
    align-items: center;
    text-align: center;
    padding: 0 16px;
    gap: 25px;
  }

  .vsly-testimonials__person {
    justify-content: center;
  }


  .vsly-testimonials__quote {
    font-size: 15.4px;
    max-width: none;
    margin: 0;
  }

  .vsly-testimonials > .vsly-testimonials__card:nth-child(odd)::after {
    display: none !important;
    content: none !important;
  }

  .vsly-testimonials > .vsly-testimonials__card {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .vsly-testimonials > .vsly-testimonials__card:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}