/* ==========================================================
   ARIDES CLIENT REVIEWS
   ========================================================== */

.fb-reviews {
  display: none !important;
}

#client-reviews-mount {
  min-height: 1px;
}

.fb-inline-reviews.arides-review-carousel {
  position: relative;
  overflow: hidden;

  width: 100%;
  box-sizing: border-box;

  margin-top: 22px;
  padding: 22px 24px 18px;

  border: 1px solid rgba(27, 49, 74, 0.10);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(246, 250, 248, 0.96)
    );

  box-shadow:
    0 14px 36px rgba(20, 45, 75, 0.08);
}


/* ---------- heading ---------- */

.arides-review-heading {
  margin-bottom: 16px;
}

.arides-review-kicker {
  margin-bottom: 4px;

  color: #18a968;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.arides-review-title {
  margin: 0;

  color: #17253a;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 850;
}

.arides-review-subtitle {
  margin: 6px 0 0;

  color: #758194;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 550;
}


/* ---------- stars ---------- */

.arides-review-stars {
  display: block;

  min-height: 23px;
  margin: 2px 0 12px;

  color: #f2b01e;

  font-size: 21px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 2px;
}

.arides-review-stars.is-rating {
  color: #f2b01e;
  font-size: 21px;
}


/* ---------- review ---------- */

.fb-inline-review-text {
  position: relative;

  height: calc(5 * 1.55em);
  min-height: 0;
  margin: 0 0 13px;
  padding-left: 0;

  color: #26364a;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;

  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.arides-review-details {
  min-height: 16px;
  margin: 0 0 11px;

  color: #8490a0;
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 650;
}


/* ---------- client info ---------- */

.fb-inline-review-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;

  padding-top: 12px;

  border-top: 1px solid rgba(30, 55, 82, 0.08);
}

.fb-inline-review-name {
  min-width: 0;

  color: #17253a;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 850;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arides-review-source {
  max-width: 58%;

  color: #18a968;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 750;

  text-align: right;
}


/* ---------- controls ---------- */

.fb-inline-review-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-top: 15px;
}

.fb-inline-review-dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.fb-inline-review-dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background: #cbd5df;

  cursor: pointer;

  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.fb-inline-review-dot.is-active {
  width: 22px;
  background: #18b86d;
}

.fb-inline-review-arrows {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fb-inline-review-arrow {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(30, 55, 82, 0.12);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.92);
  color: #26364a;

  font-size: 15px;
  line-height: 1;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.fb-inline-review-arrow:hover {
  transform: translateY(-1px);

  background: #f2faf6;
  border-color: rgba(24, 184, 109, 0.25);
}


/* ---------- mobile ---------- */

@media (max-width: 760px) {

  .fb-inline-reviews.arides-review-carousel {
    margin-top: 18px;
    padding: 18px 17px 15px;

    border-radius: 18px;
  }

  .arides-review-heading {
    margin-bottom: 14px;
  }

  .arides-review-title {
    font-size: 18px;
  }

  .arides-review-subtitle {
    font-size: 11px;
  }

  .arides-review-stars,
  .arides-review-stars.is-rating {
    font-size: 19px;
  }

  .fb-inline-review-text {
    height: calc(6 * 1.5em);
    min-height: 0;

    padding-left: 0;

    font-size: 12.5px;
    line-height: 1.5;

    -webkit-line-clamp: 6;
  }

  .fb-inline-review-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .arides-review-source {
    max-width: 100%;
    text-align: left;
  }

  .fb-inline-review-arrow {
    width: 30px;
    height: 30px;
  }

}


/* ---------- very small phones ---------- */

@media (max-width: 390px) {

  .fb-inline-reviews.arides-review-carousel {
    padding: 16px 14px 14px;
  }

  .arides-review-title {
    font-size: 17px;
  }

  .fb-inline-review-text {
    font-size: 12px;
  }

}


/* SIMPLE REVIEWS */
.fb-inline-review-text:empty,
.arides-review-details:empty {
  display: none;
}

.arides-review-details {
  display: none !important;
}

.fb-inline-review-text:empty + .arides-review-details {
  display: none !important;
}
