.rp-reviews-main {
  color: #16191f;
  background: #fff;
}

.rp-reviews-main *,
.rp-reviews-main *::before,
.rp-reviews-main *::after {
  box-sizing: border-box;
}

.rp-reviews-hero {
  padding: 54px 22px 58px;
  border-bottom: 1px solid #e5e7eb;
  background: #f7f8fa;
}

.rp-reviews-hero__inner,
.rp-reviews-section__inner,
.rp-reviews-cta__inner {
  width: min(1140px, 100%);
  margin: 0 auto;
}

.rp-reviews-hero__intro {
  max-width: 800px;
  margin-bottom: 30px;
}

.rp-reviews-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #b5169d;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.rp-reviews-hero h1,
.rp-reviews-section h2,
.rp-reviews-cta h2 {
  margin: 0;
  color: #111318;
  letter-spacing: 0;
}

.rp-reviews-hero h1 {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.08;
}

.rp-reviews-hero__lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: #525967;
  font-size: 18px;
  line-height: 1.6;
}

.rp-reviews-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid #d9dde3;
  border-bottom: 1px solid #d9dde3;
}

.rp-reviews-summary span {
  color: #4a5260;
  font-size: 14px;
}

.rp-reviews-summary strong {
  display: block;
  margin-bottom: 2px;
  color: #111318;
  font-size: 22px;
}

.rp-review-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  overflow: hidden;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(21, 29, 40, .09);
}

.rp-review-feature__photo,
.rp-review-card__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e9ebee;
}

.rp-review-feature__photo {
  min-height: 430px;
}

.rp-review-feature__photo img,
.rp-review-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-review-feature__photo img {
  position: absolute;
  inset: 0;
}

.rp-photo-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 4px;
  color: #fff;
  background: rgba(17, 19, 24, .78);
  font-size: 12px;
  font-weight: 700;
}

.rp-review-feature__body,
.rp-review-card__body {
  display: flex;
  flex-direction: column;
}

.rp-review-feature__body {
  justify-content: center;
  padding: 34px;
}

.rp-review-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rp-review-person__initial {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b5169d;
  font-size: 16px;
  font-weight: 800;
}

.rp-review-person strong {
  display: block;
  color: #15181e;
  font-size: 17px;
}

.rp-review-stars {
  margin-top: 3px;
  color: #f2a11c;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
}

.rp-review-address {
  margin: 18px 0 0;
  color: #5a6270;
  font-size: 14px;
  line-height: 1.45;
}

.rp-review-address strong {
  color: #242933;
}

.rp-review-quote {
  margin: 18px 0 0;
  color: #303641;
  font-size: 16px;
  line-height: 1.65;
}

.rp-review-feature .rp-review-quote {
  font-size: 18px;
}

.rp-review-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e6e8ec;
  color: #4d5562;
  font-size: 13px;
}

.rp-review-service strong {
  color: #171a20;
}

.rp-review-feature .rp-review-service {
  margin-top: 24px;
}

.rp-review-status {
  color: #287548;
  font-weight: 800;
  white-space: nowrap;
}

.rp-reviews-section {
  padding: 66px 22px 72px;
}

.rp-reviews-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.rp-reviews-section h2 {
  max-width: 690px;
  font-size: 36px;
  line-height: 1.15;
}

.rp-reviews-disclosure {
  max-width: 380px;
  margin: 0;
  color: #68707d;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.rp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rp-review-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(21, 29, 40, .06);
}

.rp-review-card__photo {
  aspect-ratio: 4 / 3;
}

.rp-review-card__body {
  flex: 1;
  padding: 20px;
}

.rp-review-card .rp-review-service {
  margin-top: 20px;
}

.rp-reviews-cta {
  padding: 0 22px 72px;
}

.rp-reviews-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 36px;
  border-radius: 8px;
  color: #fff;
  background: #171a20;
}

.rp-reviews-cta h2 {
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
}

.rp-reviews-cta p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #ced2d9;
  font-size: 15px;
  line-height: 1.55;
}

.rp-reviews-actions {
  display: flex;
  gap: 10px;
}

.rp-reviews-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid #b5169d;
  border-radius: 6px;
  color: #fff;
  background: #b5169d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.rp-reviews-button--light {
  border-color: #fff;
  color: #171a20;
  background: #fff;
}

@media (max-width: 980px) {
  .rp-review-feature {
    grid-template-columns: 1fr 1fr;
  }

  .rp-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-reviews-cta__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rp-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
  }

  .rp-reviews-hero {
    padding: 32px 14px 38px;
  }

  .rp-reviews-hero__intro {
    margin-bottom: 22px;
  }

  .rp-reviews-hero h1 {
    font-size: 34px;
  }

  .rp-reviews-hero__lead {
    font-size: 16px;
  }

  .rp-reviews-summary {
    gap: 12px 22px;
  }

  .rp-reviews-summary strong {
    font-size: 19px;
  }

  .rp-review-feature {
    grid-template-columns: 1fr;
  }

  .rp-review-feature__photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .rp-review-feature__body {
    padding: 22px 18px;
  }

  .rp-review-feature .rp-review-quote {
    font-size: 16px;
  }

  .rp-reviews-section {
    padding: 44px 14px 50px;
  }

  .rp-reviews-section__head {
    display: block;
    margin-bottom: 22px;
  }

  .rp-reviews-section h2 {
    font-size: 29px;
  }

  .rp-reviews-disclosure {
    margin-top: 12px;
    text-align: left;
  }

  .rp-reviews-grid {
    grid-template-columns: 1fr;
  }

  .rp-reviews-cta {
    padding: 0 14px 50px;
  }

  .rp-reviews-cta__inner {
    padding: 26px 20px;
  }

  .rp-reviews-cta h2 {
    font-size: 25px;
  }

  .rp-reviews-actions {
    display: grid;
  }
}

@media (max-width: 420px) {
  .rp-review-service {
    align-items: flex-start;
    flex-direction: column;
  }

  .rp-review-status {
    white-space: normal;
  }
}
