.testimonials-section {
  background: #ffffff;
  padding: 108px 64px;
  position: relative;
}

.testimonials-section__accent,
.testimonial-card__author-avatar,
.testimonial-card__mobile-sa {
  display: none;
}

.testimonial-card {
  align-items: center;
  display: flex;
  margin: 0 auto;
  max-width: 1200px;
  overflow: hidden;
}

.testimonial-card__portrait {
  align-items: center;
  display: flex;
  flex: 0 0 420px;
  justify-content: center;
  overflow: hidden;
}

.testimonial-card__portrait img {
  display: block;
  height: 296px;
  object-fit: cover;
  width: 296px;
}

.testimonial-card__divider {
  align-items: center;
  display: flex;
  flex: 0 0 48px;
  height: 296px;
  justify-content: center;
}

.testimonial-card__divider img {
  display: block;
  height: 280px;
  width: 32px;
}

.testimonial-card__content {
  flex: 0 1 732px;
  overflow: hidden;
  padding-left: 40px;
}

.testimonial-card__quotes {
  height: 50px;
  width: 47px;
}

.testimonial-card__quotes img {
  display: block;
  height: 32px;
  width: 32px;
}

.testimonial-card blockquote {
  color: #202020;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  margin: 20px 0 0;
  max-width: 650px;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 52px;
}

.testimonial-card__author > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-card__author cite {
  color: #191919;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.testimonial-card__author span {
  color: #666666;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: normal;
}

.testimonial-card__action {
  display: flex;
  justify-content: flex-end;
  margin-top: 48px;
}

.testimonial-card__action a {
  align-items: center;
  background: #191919;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  gap: 10px;
  height: 52px;
  overflow: hidden;
  padding: 16px 24px;
  text-decoration: none;
}

.testimonial-card__action a:hover,
.testimonial-card__action a:focus-visible {
  background: #eb5f02;
}

.testimonial-card__action img {
  display: block;
  flex: 0 0 auto;
}

@media (min-width: 768px) and (max-width: 900px) {
  .testimonial-card {
    align-items: stretch;
    flex-direction: column;
  }

  .testimonial-card__portrait {
    flex: 0 0 auto;
    width: 100%;
  }

  .testimonial-card__divider {
    display: none;
  }

  .testimonial-card__content {
    flex: 0 0 auto;
    padding: 32px 0 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .testimonials-section {
    overflow: hidden;
    padding: 48px 24px 96px;
  }

  .testimonials-section__accent {
    background: rgb(188 188 188 / 40%);
    border-radius: 9999px;
    display: block;
    filter: blur(40px);
    height: 192px;
    position: absolute;
    right: -64px;
    top: calc(50% - .5px);
    transform: translateY(-50%);
    width: 192px;
  }

  .testimonial-card {
    align-items: flex-start;
    background: #fbfbfb;
    border: 1px solid rgb(226 232 240 / 90%);
    border-radius: 16px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    flex-direction: column;
    gap: 16px;
    height: 366px;
    overflow: visible;
    padding: 25px;
    position: relative;
    width: 100%;
    z-index: 1;
  }

  .testimonial-card__portrait,
  .testimonial-card__divider {
    display: none;
  }

  .testimonial-card__content {
    display: contents;
    padding: 0;
  }

  .testimonial-card__quotes {
    height: 32px;
    width: 32px;
  }

  .testimonial-card__quotes img {
    height: 32px;
    width: 32px;
  }

  .testimonial-card blockquote {
    align-self: stretch;
    font-size: 16px;
    letter-spacing: -.1px;
    line-height: 1.5;
    margin: 0;
    max-width: none;
    max-height: 200px;
    overflow: hidden;
    padding-bottom: 8px;
  }

  .testimonial-card__author {
    align-items: center;
    align-self: stretch;
    border-top: 1px solid #f1f5f9;
    flex-direction: row;
    gap: 16px;
    left: 25px;
    margin: 0;
    position: absolute;
    padding-top: 17px;
    right: 25px;
    bottom: 3px;
  }

  .testimonial-card__author-avatar {
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
    display: block;
    flex: 0 0 56px;
    height: 56px;
    overflow: hidden;
    width: 56px;
  }

  .testimonial-card__author-avatar img {
    display: block;
    height: 56px;
    object-fit: cover;
    width: 56px;
  }

  .testimonial-card__author > div {
    gap: 0;
  }

  .testimonial-card__author cite {
    color: #0f2332;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
  }

  .testimonial-card__author span {
    color: #64748b;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    line-height: 16px;
  }

  .testimonial-card__mobile-sa {
    display: inline;
  }

  .testimonial-card__action {
    margin: 0;
    padding-top: 8px;
    position: absolute;
    right: 0;
    top: 378px;
  }

  .testimonial-card__action a {
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    gap: 8px;
    height: auto;
    line-height: 16px;
    padding: 8px 16px;
  }

  .testimonial-card__arrow,
  .testimonial-card__arrow img {
    display: block;
    height: 16px;
    width: 16px;
  }

  .testimonial-card__button-quotes {
    display: none;
  }
}
