/* Testimonial box */
.testimonial-box {
  position: relative;
  border: 1px solid #D94B91;
  border-radius: 0 0 14px 14px;
  background-color: #ffffff;
  margin-top: 38px;
  margin-bottom: 40px;
  padding: 0 10px 18px;
  box-sizing: border-box;
}

/* Name tab */
.testimonial-name {
  position: absolute;
  top: -39px;
  left: -1px;
  background-color: #D94B91;
  color: #ffffff;
  padding: 9px 12px;
  border-radius: 9px 9px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

/* Text content */
.testimonial-content {
  padding-top: 0;
  color: #333333;
  font-size: 15px;
  line-height: 2;
}

.testimonial-content p {
  margin: 12px 0 32px;
}

.testimonial-content p:last-child {
  margin-bottom: 0;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .testimonial-box {
    padding: 0 12px 16px;
  }

  .testimonial-content {
    font-size: 14px;
    line-height: 1.8;
  }

  .testimonial-content p {
    margin-bottom: 22px;
  }
}
