﻿.testimonial-card-group {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2.5rem 0;
  scrollbar-width: none;
}

.testimonial-card-group::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem;
  border-radius: 2rem;
}

.testimonial-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card-body h2 {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2rem;
}

.testimonial-card-body p {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.testimonial-card-actions {
  display: flex;
  justify-content: space-between;
}

.testimonial-card-actions__article {
  display: flex;
  flex-direction: column;
  text-align: end;
}

.testimonial-card-actions__article span {
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5rem;
}

.testimonial-card-actions__article span:last-child {
  color: #667085;
}

.testimonial-card-group-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.testimonial-card-group-actions__button-group {
  display: none;
}

.testimonial-card-group-actions__button-group button {
  width: 48px;
  height: 48px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  border: 2px solid var(--color-red-primary-500, #da1e28);
  background-color: transparent;
}

.testimonial-card-group-actions__button-group button:hover {
  background-color: var(--color-red-primary-50, #fff3f3);
}

@media (min-width: 768px) {
  .testimonial-card-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 4rem auto;
    overflow: auto;
  }

  .testimonial-card {
    min-width: 460px;
  }

  .testimonial-card-group-actions {
    justify-content: space-between;
    max-width: 704px;
    margin: 0 auto;
  }

  .testimonial-card-group-actions__button-group {
    display: flex;
    gap: 1rem;
  }
}

@media (min-width: 992px) {
  .testimonial-card-group {
    max-width: 1280px;
    padding-left: 4rem;
  }

  .testimonial-card-group-actions {
    max-width: 1216px;
    margin: 0 auto;
  }
}
