.custom-testimonials-section {
  width: 100%;
  background: var(--section-bg, #fff);
  padding-top: var(--section-padding-top, 32px);
  padding-bottom: var(--section-padding-bottom, 32px);
}

.custom-testimonials__container {
  max-width: 1280px;
  margin: 30px auto;
  padding-left: 16px;
  padding-right: 16px;
}

.custom-testimonials__heading {
  color: var(--heading-color, #000000);
  text-align: var(--heading-align, center);
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  margin-bottom: 2.5rem;
  margin-top: 0;
}

@media (min-width: 750px) {
  .custom-testimonials__heading {
    font-size: 3.6rem;
  }
}

.custom-testimonials__grid {
  display: flex;
  width: 100%;
  gap: 20px;
}

.cols-1 {
  grid-template-columns: 1fr;
}

.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.cols-6 {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 900px) {
  .custom-testimonials__grid {
    gap: 0px;
  }

  .custom-testimonials__grid.cols-tablet-1 {
    grid-template-columns: 1fr;
  }

  .custom-testimonials__grid.cols-tablet-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-testimonials__grid.cols-tablet-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .custom-testimonials__grid.cols-tablet-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .custom-testimonials__grid.cols-mobile-1 {
    grid-template-columns: 1fr;
  }

  .custom-testimonials__grid.cols-mobile-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 749px) {
  .custom-testimonials__swiper .swiper-wrapper {
    padding-left: 0;
  }

  .custom-testimonials__swiper .swiper-slide:first-child {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .custom-testimonials__heading {
    font-size: 2.4rem;
  }

  .custom-testimonials__title {
    font-size: 1.6rem;
  }

  .custom-testimonials__text {
    font-size: 1.2rem;
  }

  .custom-testimonials__author {
    font-size: 1.2rem;
  }

  .custom-testimonials__container {
    margin-bottom: unset;
  }
}

.custom-testimonials__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  transition: box-shadow 0.2s;
  background: #fff;
  color: #222;
  border-radius: 8px;
  border: none;
  box-shadow: none;
}

.custom-testimonials__quote {
  color: #444;
  font-size: 32px;
  text-align: var(--content-align, left);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.custom-testimonials__quote img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  max-height: 60px;
}

.custom-testimonials__stars {
  color: #000;
  font-size: 25px;
  text-align: var(--content-align, left);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.custom-testimonials__stars .star-empty {
  color: #bbb;
}

.custom-testimonials__stars span {
  display: inline-block;
  margin-right: 2px;
}

.custom-testimonials__stars span:last-child {
  margin-right: 0;
}

.custom-testimonials__title {
  font-weight: 600;
  font-size: 1.8rem;
  text-align: var(--content-align, left);
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-transform: none;
}

.custom-testimonials__text {
  font-size: 1.6rem;
  text-align: var(--content-align, left);
  margin-top: 0;
  margin-bottom: 0;
  font-style: italic;
  line-height: 1.4;
  font-weight: 400;
}

.custom-testimonials__author {
  font-size: 1.4rem;
  color: #000;
  text-align: var(--content-align, left);
  margin-top: 16px;
  margin-bottom: 0;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.01em;
}