#reviews_trustpilot {
  background: -webkit-gradient(linear, left top, left bottom, from(#f6f8fc), to(#eef3fb));
  background: linear-gradient(180deg, #f6f8fc 0%, #eef3fb 100%);
  border: 1px solid #e4ebf6;
  border-radius: 24px;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  -webkit-box-shadow: 0 12px 34px rgba(1, 67, 188, 0.06);
  box-shadow: 0 12px 34px rgba(1, 67, 188, 0.06);
}

#reviews_trustpilot .tp-reviews {
  margin: 0;
}

#reviews_trustpilot .tp-reviews-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

#reviews_trustpilot .tp-reviews-kicker {
  margin: 0 0 0.25rem;
  color: #0143bc;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#reviews_trustpilot .tp-reviews-title {
  margin: 0;
  font-weight: 700;
}

#reviews_trustpilot .tp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#reviews_trustpilot .tp-review-card {
  min-height: 250px;
  padding: 20px;
  border: 1px solid #dfe8f5;
  border-radius: 18px;
  background: #fff;
  -webkit-box-shadow: 0 10px 26px rgba(33, 37, 41, 0.08);
  box-shadow: 0 10px 26px rgba(33, 37, 41, 0.08);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#reviews_trustpilot .tp-review-card[hidden] {
  display: none !important;
}

#reviews_trustpilot .tp-review-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.75rem;
}

#reviews_trustpilot .tp-review-name {
  color: #0143bc;
  font-weight: 700;
}

#reviews_trustpilot .tp-review-country,
#reviews_trustpilot .tp-review-date {
  color: #6c757d;
  font-size: 0.85rem;
}

#reviews_trustpilot .tp-review-date {
  text-align: right;
  white-space: nowrap;
}

#reviews_trustpilot .tp-review-stars {
  color: #ffba00;
  font-size: 1.05rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

#reviews_trustpilot .tp-review-title {
  display: block;
  color: #1d1d1d;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

#reviews_trustpilot .tp-review-title:hover,
#reviews_trustpilot .tp-review-name:hover {
  text-decoration: underline;
}

#reviews_trustpilot .tp-review-text {
  color: #343a40;
  line-height: 1.55;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#reviews_trustpilot .tp-review-card {
  text-align: left;
}

#reviews_trustpilot .tp-review-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#reviews_trustpilot .tp-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  border: 2px solid #e7effa;
}

#reviews_trustpilot .tp-reviews-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 12px;
  margin-top: 1.25rem;
}

#reviews_trustpilot .tp-reviews-control {
  width: 44px;
  height: 44px;
  border: 1px solid #d5e0f1;
  border-radius: 50%;
  background: #fff;
  color: #0143bc;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  -webkit-box-shadow: 0 6px 16px rgba(33, 37, 41, 0.1);
  box-shadow: 0 6px 16px rgba(33, 37, 41, 0.1);
  -webkit-transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}

#reviews_trustpilot .tp-reviews-control:hover,
#reviews_trustpilot .tp-reviews-control:focus {
  background: #0143bc;
  border-color: #0143bc;
  color: #fff;
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  #reviews_trustpilot {
    border-radius: 18px;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  #reviews_trustpilot .tp-reviews-grid {
    grid-template-columns: 1fr;
  }
  #reviews_trustpilot .tp-review-card {
    min-height: 235px;
  }
}
