.porgen-testimonials {
  box-sizing: border-box;
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 20px;
  color: #111;
  font-family: inherit;
}

.porgen-testimonials,
.porgen-testimonials *,
.porgen-testimonials *::before,
.porgen-testimonials *::after,
.porgen-testimonial-single,
.porgen-testimonial-single *,
.porgen-testimonial-single *::before,
.porgen-testimonial-single *::after {
  box-sizing: border-box;
}

.porgen-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.porgen-testimonials__pagination {
  margin: 28px 0 0;
}

.porgen-testimonials__pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.porgen-testimonials__pagination .page-numbers li {
  margin: 0;
}

.porgen-testimonials__pagination a.page-numbers,
.porgen-testimonials__pagination span.page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  color: #087f62;
  line-height: 1.25;
  text-decoration: none;
  border: 1px solid #cfd8d5;
  border-radius: 4px;
  background: #fff;
}

.porgen-testimonials__pagination a.page-numbers:hover,
.porgen-testimonials__pagination a.page-numbers:focus-visible,
.porgen-testimonials__pagination span.page-numbers.current {
  color: #fff;
  border-color: #03B76E;
  background: #03B76E;
  outline: 0;
}

.porgen-testimonials__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e3e7e9;
  border-radius: 6px;
  background: #fff;
}

.porgen-testimonials__card[hidden] {
  display: none;
}

.porgen-testimonials__card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5f7f6;
}

.porgen-testimonials__card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
  padding: 14px 16px 16px;
}

.porgen-testimonials__card-product {
  margin: 0;
  color: #087f62;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.porgen-testimonials__product-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.porgen-testimonials__product-link:hover,
.porgen-testimonials__product-link:focus-visible {
  color: #066c54;
  text-decoration-thickness: 2px;
  outline: 0;
}

.porgen-testimonials__card-recommender,
.porgen-testimonials__card-excerpt {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

.porgen-testimonials__card-excerpt {
  color: #5c6468;
}

.porgen-testimonials__read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 34px;
  margin-top: auto;
  padding: 7px 14px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  border: 0;
  border-radius: 4px;
  background: #03B76E;
  cursor: pointer;
}

.porgen-testimonials__read-more {
  align-self: flex-end;
}

.porgen-testimonials__read-more:hover,
.porgen-testimonials__read-more:focus-visible {
  background: #03B76E;
  outline: 0;
}

.porgen-testimonials__modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 28, 0.62);
}

.porgen-testimonials__modal[hidden] {
  display: none;
}

.porgen-testimonials-modal-open {
  overflow: hidden;
}

.porgen-testimonials__dialog {
  width: min(920px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.porgen-testimonials__modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #edf0f1;
}

.porgen-testimonials__modal-header h3 {
  margin: 0;
  color: #111;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.porgen-testimonials__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #333;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.porgen-testimonials__close:hover,
.porgen-testimonials__close:focus-visible {
  background: #eef5f2;
  outline: 0;
}

.porgen-testimonials__modal-body {
  display: grid;
  grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
  gap: 0;
}

.porgen-testimonials__modal-text {
  min-width: 0;
  padding: 22px;
}

.porgen-testimonials__modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}

.porgen-testimonials__modal-product,
.porgen-testimonials__modal-recommender {
  margin: 0 0 6px;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

.porgen-testimonials__modal-product {
  color: #087f62;
}

.porgen-testimonials__modal-actions,
.porgen-testimonial-single__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.porgen-testimonials__share-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.porgen-testimonials__share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #087f62;
  line-height: 1;
  text-decoration: none;
  border: 1px solid #cfe7df;
  border-radius: 50%;
  background: #eef8f5;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.porgen-testimonials__share-icon:hover,
.porgen-testimonials__share-icon:focus-visible {
  color: #fff;
  border-color: #087f62;
  background: #087f62;
  outline: 0;
}

.porgen-testimonials__share-icon--line {
  color: #fff;
  border-color: #06c755;
  background: #06c755;
}

.porgen-testimonials__share-icon--line:hover,
.porgen-testimonials__share-icon--line:focus-visible {
  color: #fff;
  border-color: #06c755;
  background: #06c755;
}

.porgen-testimonials__share-icon--facebook {
  color: #fff;
  border-color: #1877f2;
  background: #1877f2;
}

.porgen-testimonials__share-icon--facebook:hover,
.porgen-testimonials__share-icon--facebook:focus-visible {
  color: #fff;
  border-color: #1877f2;
  background: #1877f2;
}

.porgen-testimonials__share-svg {
  display: block;
  width: 20px;
  height: 20px;
}

.porgen-testimonials__share-img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.porgen-testimonials__copy-status {
  color: #087f62;
  font-size: 14px;
  line-height: 1.35;
}

.porgen-testimonials__modal-content p,
.porgen-testimonial-single__content p {
  margin: 0 0 12px;
  color: #4a5357;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

.porgen-testimonials__gallery {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f5f7f6;
}

.porgen-testimonials__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.porgen-testimonials__gallery.is-swiping .porgen-testimonials__slides {
  cursor: grabbing;
}

.porgen-testimonials__slide {
  position: absolute;
  inset: 0;
  display: none;
  margin: 0;
}

.porgen-testimonials__slide.is-active {
  display: block;
}

.porgen-testimonials__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.porgen-testimonials__gallery-prev,
.porgen-testimonials__gallery-next {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 44px;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  border: 0;
  background: rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 2;
}

.porgen-testimonials__gallery-prev {
  left: 0;
}

.porgen-testimonials__gallery-next {
  right: 0;
}

.porgen-testimonials__gallery-prev:hover,
.porgen-testimonials__gallery-prev:focus-visible,
.porgen-testimonials__gallery-next:hover,
.porgen-testimonials__gallery-next:focus-visible {
  background: rgba(0, 0, 0, 0.6);
  outline: 0;
}

.porgen-testimonials__gallery-dots {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.porgen-testimonials__gallery-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.porgen-testimonials__gallery-dots button.is-active {
  background: #fff;
}

.porgen-testimonial-single {
  width: 100%;
  padding: 42px 20px;
  color: #111;
  font-family: inherit;
}

.porgen-testimonial-single__inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.porgen-testimonial-single__eyebrow {
  margin: 0 0 8px;
  color: #087f62;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.porgen-testimonial-single__title {
  margin: 0 0 22px;
  color: #111;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.porgen-testimonial-single .porgen-testimonials__gallery {
  margin: 0 0 22px;
  border-radius: 8px;
}

.porgen-testimonial-single__meta {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
}

.porgen-testimonial-single__meta p {
  margin: 0;
  color: #111;
  font-size: 17px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .porgen-testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .porgen-testimonials__modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .porgen-testimonials {
    padding: 0 16px;
  }

  .porgen-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .porgen-testimonials__modal {
    align-items: stretch;
    padding: 12px;
  }

  .porgen-testimonials__dialog {
    max-height: 100%;
  }

  .porgen-testimonials__modal-top {
    flex-direction: column;
  }

  .porgen-testimonials__modal-text {
    padding: 18px;
  }
}
