.trustmarks .wrapper {
  padding-top: 5rem;
  padding-bottom: 4rem;
}
@media (max-width: 767px) {
  .trustmarks .wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-right: 2rem;
    padding-left: 2rem;
  }
}
.trustmarks h2 {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.trustmarks-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 4rem;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .trustmarks-logos {
    gap: 1rem;
  }
}
@media (max-width: 767px) {
  .trustmarks-logos img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
  }
}
.trustmarks-testimonials {
  max-width: 610px;
  width: 100%;
  margin: 5rem auto -8rem;
  position: relative;
  z-index: 1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 1px 3px 13px 0px rgba(0, 0, 0, 0.15);
  padding: 2rem;
}
@media (max-width: 767px) {
  .trustmarks-testimonials {
    padding: 1.5rem;
    margin-top: 2rem;
    margin-bottom: -5rem;
  }
}
.trustmarks-testimonials-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 0;
}
@media (max-width: 767px) {
  .trustmarks-testimonials-item {
    gap: 1rem;
    align-items: flex-start;
  }
}
@media (max-width: 767px) {
  .trustmarks-testimonials-item svg {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
  }
}
.trustmarks-testimonials-item p {
  margin: 0;
}
.trustmarks.has-testimonials {
  background: linear-gradient(263deg, rgba(56, 107, 140, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  margin-bottom: 8rem;
  position: relative;
}
@media (max-width: 767px) {
  .trustmarks.has-testimonials {
    padding-top: 2rem;
    margin-bottom: 5rem;
  }
}
.trustmarks.has-testimonials::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: url("/wp-content/themes/fynch/views/blocks/trustmarks/img/dots-top-right.svg") top right/cover;
  width: 245px;
  height: 245px;
}
@media (max-width: 767px) {
  .trustmarks.has-testimonials::before {
    display: none;
  }
}
.trustmarks.has-testimonials::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: url("/wp-content/themes/fynch/views/blocks/trustmarks/img/dots-bottom-left.svg") bottom left/cover;
  width: 245px;
  height: 245px;
}
.trustmarks.has-testimonials img {
  mix-blend-mode: multiply;
}
@media (max-width: 767px) {
  .trustmarks.has-testimonials .wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
