.reviews-slider-block {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  background: transparent;
}

.reviews-splide {
  position: relative;
  width: 100%;
  background: transparent;
}

.reviews-splide .splide__track {
  overflow: hidden;
}

.reviews-splide .splide__slide {
  box-sizing: border-box;
  background: transparent;
}

.review-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: start;
  column-gap: 34px;
  box-sizing: border-box;
  padding: 12px 54px;
  background: transparent;
}

.review-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  align-self: start;
  text-align: center;
  min-width: 0;
}

.review-photo {
  width: 110px;
  height: 110px;
  min-width: 110px;
  min-height: 110px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 8px;
}

.review-name {
  margin: 0 0 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
  font-style: normal;
  color: #333333;
}

.review-type {
  margin: 0 0 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  font-style: normal;
  color: #111111;
}

.review-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.review-stars img {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: block;
}

.review-right {
  min-width: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.review-text-inner {
  position: relative;
  display: block;
  width: 100%;
  padding-left: 26px;
  text-align: left;
}

.review-text-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 2px;
  background: #6b97d8;
}

.review-text-wrap {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  font-style: italic;
  color: #3a3a3a;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: left;
}

.review-link {
  display: block;
  margin-top: 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  font-style: normal;
  color: #5b87c7;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
}

.review-link:hover {
  text-decoration: underline;
}

/* Стрілки */
.reviews-splide .splide__arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.reviews-splide .splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #5b87c7;
  opacity: 1;
  pointer-events: auto;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-splide .splide__arrow svg {
  fill: #ffffff;
  width: 14px;
  height: 14px;
  display: block;
  flex: 0 0 auto;
}

.reviews-splide .splide__arrow--prev svg {
  transform: rotate(180deg);
  transform-origin: center;
}

.reviews-splide .splide__arrow--prev {
  left: 12px;
}

.reviews-splide .splide__arrow--next {
  right: 12px;
}

.reviews-splide .splide__pagination {
  display: none;
}

/* P2 = 940 */
@media (max-width: 1199px) {
  .reviews-slider-block {
    max-width: 940px;
  }

  .review-card {
    grid-template-columns: 250px 1fr;
    column-gap: 26px;
    padding: 12px 44px;
  }

  .review-left {
    justify-content: flex-start;
    align-self: start;
  }

  .review-right {
    align-self: center;
    align-items: center;
    justify-content: flex-start;
  }

  .review-text-inner {
    padding-left: 22px;
    text-align: left;
  }

  .reviews-splide .splide__arrow {
    width: 36px;
    height: 36px;
  }

  .reviews-splide .splide__arrow svg {
    width: 13px;
    height: 13px;
  }

  .reviews-splide .splide__arrow--prev {
    left: 10px;
  }

  .reviews-splide .splide__arrow--next {
    right: 10px;
  }
}

/* P3 = 720 */
@media (max-width: 991px) {
  .reviews-slider-block {
    max-width: 720px;
  }

  .review-card {
    grid-template-columns: 210px 1fr;
    column-gap: 18px;
    padding: 12px 40px;
  }

  .review-left {
    justify-content: flex-start;
    align-self: start;
  }

  .review-photo {
    margin-bottom: 6px;
  }

  .review-name {
    margin-bottom: 4px;
  }

  .review-type {
    margin-bottom: 6px;
  }

  .review-right {
    align-self: center;
    align-items: center;
    justify-content: flex-start;
  }

  .review-text-inner {
    padding-left: 18px;
    text-align: left;
  }

  .review-text-wrap {
    line-height: 1.45;
    text-align: left;
  }

  .reviews-splide .splide__arrow {
    width: 34px;
    height: 34px;
  }

  .reviews-splide .splide__arrow svg {
    width: 12px;
    height: 12px;
  }

  .reviews-splide .splide__arrow--prev {
    left: 8px;
  }

  .reviews-splide .splide__arrow--next {
    right: 8px;
  }
}

/* P4 = 540 */
@media (max-width: 767px) {
  .reviews-slider-block {
    max-width: 540px;
  }

  .review-card {
    grid-template-columns: 165px 1fr;
    column-gap: 14px;
    padding: 14px 34px;
  }

  .review-left {
    justify-content: flex-start;
    align-self: start;
  }

  .review-photo {
    margin-bottom: 8px;
  }

  .review-name {
    margin-bottom: 5px;
  }

  .review-type {
    margin-bottom: 8px;
  }

  .review-right {
    align-self: center;
    align-items: center;
    justify-content: flex-start;
  }

  .review-text-inner {
    padding-left: 16px;
    text-align: left;
  }

  .review-text-wrap {
    line-height: 1.5;
    text-align: left;
  }

  .reviews-splide .splide__arrow {
    width: 34px;
    height: 34px;
  }

  .reviews-splide .splide__arrow svg {
    width: 12px;
    height: 12px;
  }

  .reviews-splide .splide__arrow--prev {
    left: 6px;
  }

  .reviews-splide .splide__arrow--next {
    right: 6px;
  }
}

/* P5 = 340 */
@media (max-width: 575px) {
  .reviews-slider-block {
    max-width: 340px;
  }

  .review-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    row-gap: 16px;
    padding: 18px 26px;
  }

  .review-left {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    align-self: start;
  }

  .review-photo {
    margin-bottom: 10px;
  }

  .review-name {
    margin-bottom: 6px;
  }

  .review-type {
    margin-bottom: 10px;
  }

  .review-right {
    width: 100%;
    height: auto;
    min-height: 0;
    align-items: flex-start;
    align-self: start;
    justify-content: flex-start;
  }

  .review-text-inner {
    width: 100%;
    padding-left: 14px;
    text-align: left;
  }

  .review-text-inner::before {
    top: 0;
    bottom: 0;
  }

  .review-text-wrap {
    width: 100%;
    line-height: 1.55;
    text-align: left;
  }

  .reviews-splide .splide__arrow {
    width: 38px;
    height: 38px;
  }

  .reviews-splide .splide__arrow svg {
    width: 14px;
    height: 14px;
  }

  .reviews-splide .splide__arrow--prev {
    left: 6px;
  }

  .reviews-splide .splide__arrow--next {
    right: 6px;
  }
}