.longfeng_testimonials {
  position: relative;
  width: auto;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 104px 0 65px;
  overflow: hidden;
  background: rgba(246, 240, 234, 0.6);
  color: #222222;
  font-family: var(--font-family);
  --longfeng-testimonials-primary: var(--color-primary);
  --longfeng-testimonials-star: #cdb484;
  --longfeng-testimonials-name: #888888;
  --longfeng-testimonials-title: #222222;
  --longfeng-testimonials-text: #3f3f3f;
  --longfeng-testimonials-service-end-space: 126px;
}

.longfeng_testimonials::before {
  position: absolute;
  inset: -5px -1px 0;
  background-image: var(--longfeng-testimonials-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.longfeng_testimonials *,
.longfeng_testimonials *::before,
.longfeng_testimonials *::after {
  box-sizing: border-box;
}

.longfeng_testimonials .longfeng-testimonials-shell {
  position: relative;
  z-index: 1;
  width: min(1564px, calc(100vw - var(--longfeng-page-gutter, 80px)));
  margin: 0 auto;
}

.longfeng_testimonials .longfeng-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 750px));
  justify-content: center;
  gap: 64px;
}

.longfeng_testimonials.is-single .longfeng-testimonials-grid {
  display: block;
}

.longfeng_testimonials .longfeng-testimonials-card {
  width: 100%;
  min-height: 572px;
}

.longfeng_testimonials.is-single .longfeng-testimonials-card {
  min-height: 0;
}

.longfeng_testimonials .longfeng-testimonials-profile {
  display: flex;
  min-height: 117px;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 23px;
}

.longfeng_testimonials.is-single .longfeng-testimonials-profile {
  min-height: 0;
  align-items: center;
  gap: 27px;
  margin-bottom: 42px;
  flex-direction: column;
}

.longfeng_testimonials .longfeng-testimonials-avatar {
  width: 117px;
  height: 117px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #ffffff;
}

.longfeng_testimonials .longfeng-testimonials-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.longfeng_testimonials .longfeng-testimonials-person {
  min-width: 0;
  padding-top: 14px;
}

.longfeng_testimonials.is-single .longfeng-testimonials-person {
  display: flex;
  width: min(800px, 100%);
  padding-top: 0;
  align-items: center;
  flex-direction: column;
}

.longfeng_testimonials .longfeng-testimonials-name {
  margin: 0 0 13px;
  color: var(--longfeng-testimonials-name);
  font-size: 24px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0;
}

.longfeng_testimonials.is-single .longfeng-testimonials-name {
  width: min(156px, 100%);
  margin-bottom: 11px;
  text-align: center;
}

.longfeng_testimonials .longfeng-testimonials-role {
  width: min(609px, 100%);
  margin: 0;
  color: var(--longfeng-testimonials-title);
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.6px;
}

.longfeng_testimonials.is-single .longfeng-testimonials-role {
  width: min(800px, 100%);
  text-align: center;
}

.longfeng_testimonials .longfeng-testimonials-panel {
  position: relative;
  width: 100%;
  min-height: 432px;
  padding: 30px 38px 35px;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
}

.longfeng_testimonials.is-single .longfeng-testimonials-panel {
  min-height: 324px;
  padding: 41px 112px 50px;
  overflow: visible;
}

.longfeng_testimonials .longfeng-testimonials-quote {
  width: min(676px, 100%);
  min-height: 273px;
  margin: 0;
  color: var(--longfeng-testimonials-text);
  font-size: 26px;
  font-weight: 300;
  line-height: 38px;
  letter-spacing: 0;
}

.longfeng_testimonials.is-single .longfeng-testimonials-quote {
  width: min(1349px, 100%);
  min-height: 135px;
  margin: 0 auto;
  font-size: 26px;
  line-height: 40px;
  text-align: center;
}

.longfeng_testimonials .longfeng-testimonials-stars {
  display: flex;
  height: 19px;
  align-items: center;
  gap: 11px;
  margin-top: 23px;
}

.longfeng_testimonials.is-single .longfeng-testimonials-stars {
  justify-content: center;
  margin-top: 36px;
}

.longfeng_testimonials .longfeng-testimonials-star {
  display: block;
  width: 20px;
  height: 19px;
  flex: 0 0 auto;
  fill: var(--longfeng-testimonials-star);
}

.longfeng_testimonials .longfeng-testimonials-service {
  margin-top: 28px;
  color: var(--longfeng-testimonials-title);
  font-size: 30px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
}

html[dir="rtl"] .longfeng_testimonials:not(.is-single) .longfeng-testimonials-service {
  padding-right: var(--longfeng-testimonials-service-end-space);
}

.longfeng_testimonials.is-single .longfeng-testimonials-service {
  margin-top: 23px;
  text-align: center;
}

.longfeng_testimonials .longfeng-testimonials-quote-mark {
  position: absolute;
  right: 45px;
  bottom: 38px;
  display: flex;
  width: 62px;
  height: 39px;
  align-items: center;
  justify-content: space-between;
}

.longfeng_testimonials.is-single .longfeng-testimonials-quote-mark {
  top: -17px;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 54px;
  height: 34px;
  transform: translateX(-50%);
}

.longfeng_testimonials .longfeng-testimonials-quote-mark::before,
.longfeng_testimonials .longfeng-testimonials-quote-mark::after {
  display: block;
  width: 24px;
  height: 39px;
  border-radius: 3px;
  background: var(--longfeng-testimonials-primary);
  content: "";
  transform: skew(-12deg);
}

.longfeng_testimonials.is-single .longfeng-testimonials-quote-mark::before,
.longfeng_testimonials.is-single .longfeng-testimonials-quote-mark::after {
  width: 26px;
  height: 34px;
}

.longfeng_testimonials .longfeng-testimonials-actions {
  display: flex;
  justify-content: center;
  margin-top: 86px;
}

.longfeng_testimonials.is-single .longfeng-testimonials-actions {
  margin-top: 86px;
}

.longfeng_testimonials .longfeng-testimonials-button {
  display: inline-flex;
  width: fit-content;
  min-width: 236px;
  height: 60px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  padding: 0 30px;
  border: 1px solid var(--longfeng-testimonials-primary);
  border-radius: 12px;
  background: var(--longfeng-testimonials-primary);
  color: #ffffff;
  font-size: 26px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.longfeng_testimonials.is-single .longfeng-testimonials-button {
  font-family: Gilroy, var(--font-family);
}

.longfeng_testimonials .longfeng-testimonials-button:hover,
.longfeng_testimonials .longfeng-testimonials-button:focus-visible {
  border-color: var(--btn-hover);
  background: var(--btn-hover);
  transform: translateY(-1px);
}

.longfeng_testimonials .longfeng-testimonials-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.longfeng_testimonials .longfeng-testimonials-button-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

@media screen and (max-width: 1700px) {
  .longfeng_testimonials .longfeng-testimonials-grid {
    gap: 48px;
  }
}

@media screen and (max-width: 1500px) {
  .longfeng_testimonials {
    padding: 90px 0 64px;
    --longfeng-testimonials-service-end-space: 112px;
  }

  .longfeng_testimonials .longfeng-testimonials-shell {
    width: min(1564px, calc(100vw - var(--longfeng-page-gutter, 64px)));
  }

  .longfeng_testimonials .longfeng-testimonials-grid {
    gap: 36px;
  }

  .longfeng_testimonials .longfeng-testimonials-avatar {
    width: 104px;
    height: 104px;
  }

  .longfeng_testimonials .longfeng-testimonials-profile {
    min-height: 104px;
    margin-bottom: 22px;
  }

  .longfeng_testimonials .longfeng-testimonials-person {
    padding-top: 10px;
  }

  .longfeng_testimonials .longfeng-testimonials-role,
  .longfeng_testimonials .longfeng-testimonials-service {
    font-size: 26px;
    line-height: 32px;
  }

  .longfeng_testimonials .longfeng-testimonials-quote {
    min-height: 240px;
    font-size: 22px;
    line-height: 34px;
  }

  .longfeng_testimonials .longfeng-testimonials-panel {
    min-height: 390px;
    padding: 28px 32px 32px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-panel {
    min-height: 300px;
    padding: 36px 80px 44px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-quote {
    min-height: 120px;
    font-size: 22px;
    line-height: 34px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-stars {
    margin-top: 28px;
  }
}

@media screen and (max-width: 1200px) {
  .longfeng_testimonials {
    padding: 76px 0 58px;
    --longfeng-testimonials-service-end-space: 96px;
  }

  .longfeng_testimonials .longfeng-testimonials-shell {
    width: min(1564px, calc(100vw - var(--longfeng-page-gutter, 48px)));
  }

  .longfeng_testimonials .longfeng-testimonials-grid {
    gap: 28px;
  }

  .longfeng_testimonials .longfeng-testimonials-profile {
    gap: 18px;
  }

  .longfeng_testimonials .longfeng-testimonials-avatar {
    width: 90px;
    height: 90px;
  }

  .longfeng_testimonials .longfeng-testimonials-profile {
    min-height: 90px;
    margin-bottom: 20px;
  }

  .longfeng_testimonials .longfeng-testimonials-name {
    font-size: 20px;
    line-height: 20px;
  }

  .longfeng_testimonials .longfeng-testimonials-role,
  .longfeng_testimonials .longfeng-testimonials-service {
    font-size: 22px;
    line-height: 28px;
    letter-spacing: -0.44px;
  }

  .longfeng_testimonials .longfeng-testimonials-quote {
    min-height: 220px;
    font-size: 20px;
    line-height: 31px;
  }

  .longfeng_testimonials .longfeng-testimonials-panel {
    min-height: 360px;
    padding: 26px 28px 30px;
  }

  .longfeng_testimonials .longfeng-testimonials-quote-mark {
    right: 32px;
    bottom: 32px;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-profile {
    gap: 22px;
    margin-bottom: 36px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-panel {
    min-height: 280px;
    padding: 32px 52px 40px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-quote {
    min-height: 100px;
    font-size: 20px;
    line-height: 31px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-stars {
    margin-top: 24px;
  }
}

@media screen and (max-width: 992px) {
  .longfeng_testimonials {
    padding: 64px 0 52px;
  }

  .longfeng_testimonials .longfeng-testimonials-grid {
    grid-template-columns: minmax(0, 750px);
    gap: 44px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-grid {
    display: block;
  }

  .longfeng_testimonials .longfeng-testimonials-card {
    min-height: 0;
  }

  .longfeng_testimonials .longfeng-testimonials-quote {
    min-height: 0;
  }

  .longfeng_testimonials .longfeng-testimonials-panel {
    min-height: 0;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-profile {
    margin-bottom: 38px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-panel {
    min-height: 0;
    padding: 30px 36px 40px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-quote {
    min-height: 0;
  }

  .longfeng_testimonials .longfeng-testimonials-actions {
    margin-top: 56px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-actions {
    margin-top: 56px;
  }
}

@media screen and (max-width: 576px) {
  .longfeng_testimonials {
    padding: 46px 0 42px;
    --longfeng-testimonials-service-end-space: 72px;
  }

  .longfeng_testimonials .longfeng-testimonials-shell {
    width: calc(100vw - 32px);
  }

  .longfeng_testimonials .longfeng-testimonials-grid {
    gap: 34px;
  }

  .longfeng_testimonials .longfeng-testimonials-profile {
    min-height: 0;
    gap: 14px;
    margin-bottom: 18px;
  }

  .longfeng_testimonials .longfeng-testimonials-avatar {
    width: 72px;
    height: 72px;
  }

  .longfeng_testimonials .longfeng-testimonials-person {
    padding-top: 2px;
  }

  .longfeng_testimonials .longfeng-testimonials-name {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 22px;
  }

  .longfeng_testimonials .longfeng-testimonials-role {
    font-size: 20px;
    line-height: 26px;
    letter-spacing: -0.4px;
  }

  .longfeng_testimonials .longfeng-testimonials-panel {
    padding: 22px 20px 74px;
    border-radius: 12px;
  }

  .longfeng_testimonials .longfeng-testimonials-quote {
    font-size: 16px;
    line-height: 26px;
  }

  .longfeng_testimonials .longfeng-testimonials-stars {
    gap: 8px;
    margin-top: 20px;
  }

  .longfeng_testimonials .longfeng-testimonials-star {
    width: 17px;
    height: 16px;
  }

  .longfeng_testimonials .longfeng-testimonials-service {
    margin-top: 20px;
    font-size: 20px;
    line-height: 26px;
  }

  .longfeng_testimonials .longfeng-testimonials-quote-mark {
    right: 20px;
    bottom: 22px;
    transform: scale(0.62);
    transform-origin: right bottom;
  }

  .longfeng_testimonials .longfeng-testimonials-actions {
    margin-top: 42px;
  }

  .longfeng_testimonials .longfeng-testimonials-button {
    width: 100%;
    min-width: 0;
    height: 52px;
    font-size: 18px;
    line-height: 24px;
  }

  .longfeng_testimonials .longfeng-testimonials-button-icon {
    width: 20px;
    height: 20px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-profile {
    gap: 18px;
    margin-bottom: 30px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-person {
    width: 100%;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-name {
    width: auto;
    margin-bottom: 8px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-role {
    width: 100%;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: -0.4px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-panel {
    min-height: 0;
    padding: 26px 20px 32px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-quote {
    min-height: 0;
    font-size: 16px;
    line-height: 26px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-stars {
    margin-top: 20px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-service {
    margin-top: 20px;
    font-size: 20px;
    line-height: 26px;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-quote-mark {
    top: -12px;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 44px;
    height: 28px;
    transform: translateX(-50%);
    transform-origin: center;
  }

  .longfeng_testimonials.is-single .longfeng-testimonials-quote-mark::before,
  .longfeng_testimonials.is-single .longfeng-testimonials-quote-mark::after {
    width: 21px;
    height: 28px;
  }
}
