.testimonials-page {
  background: #f8f8f4;
  color: #203b32;
}

.public-testimonials {
  min-height: 65vh;
  padding-bottom: 58px;
  background:
    radial-gradient(ellipse at 8% 49%, rgba(202, 218, 199, .2), transparent 28rem),
    #f8f8f4;
}

.public-testimonials-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 280px;
  align-items: center;
  overflow: hidden;
  padding: 50px max(24px, calc((100vw - 1160px) / 2));
  background:
    radial-gradient(ellipse at 78% 18%, rgba(132, 166, 124, .3), transparent 24rem),
    linear-gradient(115deg, #113a33 0%, #19483c 58%, #234d3d 100%);
  color: #fff;
}

.public-testimonials-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(48%, 620px);
  opacity: .2;
  background-image: radial-gradient(rgba(234, 241, 228, .72) .8px, transparent .8px);
  background-size: 18px 18px;
  content: '';
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.public-testimonials-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1160px);
  margin: 0 auto;
}

.public-testimonials-kicker {
  color: #d4e0d1;
  font-size:.77rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.public-testimonials-hero h1 {
  max-width: 700px;
  margin: 12px 0 9px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.07;
}

.public-testimonials-hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .95rem;
  line-height: 1.6;
}

.public-testimonials-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 7px 10px;
  border: 1px solid rgba(226, 237, 220, .2);
  border-radius: 4px;
  background: rgba(255, 255, 255, .07);
  color: #e3ebdf;
  font-size:.80rem;
}

.public-testimonials-count i {
  color: #d6bd75;
  font-size:.77rem;
}

.public-testimonials-orbit {
  position: absolute;
  top: 50%;
  right: max(8%, calc((100vw - 1100px) / 2));
  display: grid;
  width: 180px;
  height: 180px;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid rgba(231, 239, 226, .18);
  border-radius: 50%;
  color: rgba(227, 207, 145, .9);
  font-size: 2.4rem;
}

.public-testimonials-orbit::before,
.public-testimonials-orbit::after {
  position: absolute;
  border: 1px solid rgba(231, 239, 226, .1);
  border-radius: 50%;
  content: '';
  inset: 17px;
}

.public-testimonials-orbit::after {
  inset: -18px;
}

.public-testimonials-content {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 36px;
}

.public-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.public-testimonial-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 19px;
  border: 1px solid #e5e9e3;
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 4px 16px rgba(32, 59, 50, .025);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.public-testimonial-card:hover {
  transform: translateY(-2px);
  border-color: #d2ddce;
  box-shadow: 0 9px 24px rgba(32, 59, 50, .07);
}

.public-testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.public-testimonial-stars {
  color: #c5983e;
  font-size: .86rem;
  letter-spacing: .08em;
}

.public-testimonial-stars span {
  color: #d9ded7;
}

.public-testimonial-quote-mark {
  color: #dce5d7;
  font-size: .92rem;
}

.public-testimonial-card blockquote {
  flex: 1;
  margin: 13px 0 19px;
  color: #39493f;
  font-size: .84rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.public-testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid #edf0eb;
}

.public-testimonial-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  background: #edf3e8;
  color: #526b49;
  font-size:.82rem;
  font-weight: 700;
}

.public-testimonial-person {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.public-testimonial-person strong {
  overflow: hidden;
  color: #294436;
  font-size:.82rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-testimonial-person > span {
  overflow: hidden;
  color: #7e8981;
  font-size:.77rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-testimonials-empty {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 20px;
  border: 1px dashed #d8e0d5;
  border-radius: 9px;
  background: rgba(255, 255, 255, .6);
  text-align: center;
}

.public-testimonials-empty-icon {
  display: grid;
  width: 47px;
  height: 47px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 50%;
  background: #edf3e8;
  color: #708562;
  font-size: 1rem;
}

.public-testimonials-empty h2 {
  margin: 0;
  color: #32483a;
  font-size: 1.05rem;
  font-weight: 600;
}

.public-testimonials-empty p {
  margin: 7px 0 0;
  color: #7b877e;
  font-size: .82rem;
}

.public-testimonial-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 11px 0;
  border-top: 1px solid #e5e9e3;
  border-bottom: 1px solid #e5e9e3;
}

.public-testimonial-pagination a,
.public-testimonial-pagination > span:not(.public-testimonial-page-indicator) {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #dfe6dc;
  border-radius: 4px;
  background: #fff;
  color: #3b5946;
  font-size:.81rem;
  text-decoration: none;
}

.public-testimonial-pagination a:hover {
  border-color: #bdcdb6;
  background: #f4f7f1;
}

.public-testimonial-pagination > span.is-disabled {
  color: #a2aaa3;
  background: #f7f8f5;
}

.public-testimonial-page-indicator {
  color: #7b877e;
  font-size:.81rem;
}

.public-testimonials-invite {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 25px 29px;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: linear-gradient(105deg, #f0f4eb, #f7f8f2);
}

.public-testimonials-invite > span {
  color: #75856f;
  font-size:.75rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.public-testimonials-invite h2 {
  margin: 6px 0 13px;
  color: #264235;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -.03em;
}

.public-testimonials-invite a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #365b42;
  font-size:.83rem;
  font-weight: 600;
  text-decoration: none;
}

.public-testimonials-invite a:hover {
  color: #203b32;
}

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

  .public-testimonials-orbit {
    right: 7%;
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 620px) {
  .public-testimonials-hero {
    min-height: 245px;
    padding: 35px 22px;
  }

  .public-testimonials-orbit {
    top: 28px;
    right: -48px;
    width: 118px;
    height: 118px;
    transform: none;
    opacity: .6;
  }

  .public-testimonials-content {
    width: min(100% - 28px, 1160px);
    padding-top: 18px;
    padding-bottom: 25px;
  }

  .public-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .public-testimonial-card {
    padding: 16px;
  }

  .public-testimonial-card blockquote {
    margin: 10px 0 14px;
  }

  .public-testimonials-invite {
    width: min(100% - 28px, 1160px);
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-testimonials *,
  .public-testimonials *::before,
  .public-testimonials *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
