.px-quote {
  max-width: 1512px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: clamp(2.2222222222rem, 0.7207207207rem + 8.4459459459vw, 7.7777777778rem);
}
.px-quote.has-image .px-quote-inner {
  margin-top: 25px;
}
.px-quote-inner {
  width: 70%;
}
.px-quote-inner .text-inner p {
  font-style: italic;
  font-size: clamp(1.2222222222rem, 0.8018018018rem + 2.3648648649vw, 2.7777777778rem);
  font-weight: 300;
  margin-bottom: 0;
  line-height: 150%;
  padding-left: 100px;
  margin-top: -100px;
}
.px-quote-inner .quote-box {
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2C2C2C;
  border-radius: 3px;
}
.px-quote-inner .handwritten {
  margin-top: -80px;
}
.px-quote .certificates {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  z-index: 1;
  margin-bottom: -55px;
}
.px-quote .certificates img, .px-quote .certificates a {
  background-color: #fff;
  border-radius: 3px;
  padding: 12px 13px;
  width: 125px;
  height: 104px;
  object-fit: contain;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.15);
}
@media screen and (max-width: 768px) {
  .px-quote .certificates {
    flex-wrap: wrap;
  }
}
.px-quote .quote-image-wrapper .quote-image {
  max-width: 425px;
  width: 100%;
  position: relative;
}
.px-quote .quote-image-wrapper .quote-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.px-quote .quote-image-wrapper .text-wrapper {
  max-width: 394px;
  background-color: #2C2C2C;
  padding: 70px 50px 40px;
  position: relative;
  top: -40px;
  left: -43px;
  z-index: 1;
}
.px-quote .quote-image-wrapper .text-wrapper .text {
  font-size: clamp(1rem, 0.96996997rem + 0.1689189189vw, 1.1111111111rem);
  font-style: italic;
  margin-bottom: 25px;
}
@media screen and (max-width: 1120px) {
  .px-quote {
    flex-direction: column;
  }
  .px-quote-inner {
    width: 90%;
  }
  .px-quote-inner .handwritten {
    margin-left: 30px;
  }
  .px-quote.has-image {
    flex-direction: row;
    padding-bottom: 50px;
  }
  .px-quote.has-image .px-quote-inner {
    width: 70%;
  }
}
@media screen and (max-width: 768px) {
  .px-quote {
    flex-direction: column;
  }
  .px-quote-inner .handwritten {
    margin-top: -70px;
  }
  .px-quote.has-image {
    flex-direction: column;
  }
  .px-quote.has-image .px-quote-inner {
    width: 90%;
  }
  .px-quote.has-image .quote-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .px-quote .certificates img {
    width: 100px;
    height: 75px;
  }
}
@media screen and (max-width: 470px) {
  .px-quote-inner {
    width: 100%;
  }
  .px-quote-inner .handwritten {
    margin-top: -55px;
  }
  .px-quote-inner .quote-box {
    width: 100px;
    height: 100px;
  }
  .px-quote-inner .text-inner p {
    padding-left: 80px;
  }
  .px-quote.has-image .quote-image-wrapper .text-wrapper {
    left: 0;
  }
}
.px-teaser .px-quote {
  width: 100%;
  margin: 0;
}
