.trustpilot {
  padding: 3rem calc(var(--side-padding) - 3rem);

  background-color: #ffffff;

  overflow: hidden;
}

.trustpilot .block-wrapper {
  padding: 0;
}

.trustpilot svg {
  max-width: 30px;
}

.trustpilot p {
  margin-bottom: .5rem;

  line-height: 1.2;
}

.trustpilot-score {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.trustpilot-score-stars svg {
  background-color: rgb(0 182 122);
}

/*
.trustpilot-score-stars svg:last-child {
  background: rgb(0 182 122);
  background: linear-gradient(90deg, rgba(0 182 122) 50%, rgb(220 220 230) 50%);
}
*/

.trustpilot-score-link {
  text-decoration: underline;
  color: var(--color);
}

.trustpilot-logo {
  text-align: left;
}

.trustpilot-logo img {
  width: 40%;
}

.trustpilot-review {
  padding-top: 1rem;
  min-width: 290px;
}

.trustpilot-review-details {
  display: flex;
  justify-content: space-between;
}

.trustpilot-review-date,
.trustpilot-review-author {
  font-size: 0.88888rem;
}

.trustpilot-review-title {
  font-weight: 600;
}

.trustpilot-review-stars svg {
  background-color: #00B67A;
}

@media (max-width: 1260px) {
  .trustpilot {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .trustpilot-score {
    padding: 0 0 40px 0;
  }

  .trustpilot-reviews {
    display: flex;
    justify-content: space-around;
  }
  
  .trustpilot-review {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .trustpilot-reviews {
    display: flex;
    flex-direction: column;
  }

  .trustpilot-score {
    padding: 0 0 1rem 0;
  }

  .trustpilot-logo {
    text-align: center;
  }

  .trustpilot-review {
    padding: 1rem 0 0 0;
  }
}

@media (max-width: 991px) {
  .trustpilot-score {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 800px) {
  .trustpilot {
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
  }

  .trustpilot-review {
    min-width: 250px;
  }
}

/* Trustpilot banner small */
.trustpilot-small {
  padding-top: 10px;
  padding-bottom: 10px;

  clear: both;
}

.trustpilot-small p {
  margin: 0;
}

.trustpilot-small .col-md-6,
.trustpilot-small .col-md-2 {
  padding: 0 10px 0 0;
}

.trustpilot-small .trustpilot-logo > img {
  min-width: 132px;
  max-width: 162px;
}

.trustpilot-small .trustpilot-score-stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.trustpilot-small-content {
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 1260px) {
  .trustpilot-small {
    display: block;
  }
}

@media (max-width: 1053px) {
  .trustpilot-small-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .trustpilot-small .col-md-6,
  .trustpilot-small .col-md-2 {
  padding: 0;
}

.trustpilot-small .trustpilot-logo {
  display: flex;
  justify-content: center;
  flex-direction: row;
}
}

@media (max-width: 1053px) and (min-width: 991px) {
  .trustpilot-small p,
  .trustpilot-small .trustpilot-score-link {
    text-align: center;
  } 
}