.chf_test {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5% 15%;
  user-select: none;
}

.chf_test > * {
  text-align: center !important;
}

.chf_test > .img {
  width: 150px;
  height: 150px;
  border-radius: 100%;
  display: inline-block;
  text-align: center;
  margin: 1em;
}

.chf_test.small > .img {
  width: 100px;
  height: 100px;
  margin: 0.5em;
}

.chf_test > .img.sidebar {
  width: 100px;
  height: 100px;
}

.chf_test > h4 {
  font-size: 12pt !important;
  padding: 0.3em 0 0;
  margin: 0;
  font-weight: normal;
  font-family: "Scandia", sans-serif;
  color: #777 !important;
}

.chf_test.small > h4 {
  font-size: 10pt !important;
}

.chf_test > p {
  font-style: italic;
  text-align: center !important;
  margin: 0;
  padding: 1em;
  line-height: 1.7em;
  font-size: medium;
}

.chf_test > p > span {
  display: inline;
}

.chf_test > p > span a {
  display: inline;
  font-style: italic;
}

.chf_test.small > p {
  padding: 0.5em !important;
  font-size: small;
}

.chf_test a {
  color: #289dcc !important;
  text-decoration: underline !important;
}

.swiper[data-layout="editorial"] {
  color: #403a35;
  background: #eeecea;
}

.swiper[data-layout="editorial"].swiper-initialized .swiper-wrapper {
  align-items: flex-start;
  height: auto !important;
}

.swiper[data-layout="editorial"].swiper-initialized .swiper-slide {
  height: 0;
  min-height: 0;
}

.swiper[data-layout="editorial"].swiper-initialized .swiper-slide-active {
  height: auto;
}

.chf_testimonial_editorial {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(160px, 23%) minmax(0, 1fr);
  gap: 4%;
  min-height: 440px;
  padding: 72px clamp(96px, 8vw, 160px) 72px 24px;
  align-content: center;
  align-items: start;
  font-family: Georgia, "Times New Roman", serif;
  text-align: left;
}

.chf_testimonial_editorial__attribution {
  padding-top: 20px;
}

.chf_testimonial_editorial__name {
  margin: 24px 0 10px;
  color: inherit;
  font-family: inherit;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
}

.chf_testimonial_editorial__location {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.chf_testimonial_editorial__icon {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 24px auto 0;
}

.chf_testimonial_editorial__icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.chf_testimonial_editorial__quote {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

.swiper[data-layout="editorial"] .swiper-pagination,
.swiper[data-layout="editorial"] .swiper-button-prev {
  display: none;
}

.swiper[data-layout="editorial"] .swiper-button-next {
  top: 50%;
  bottom: auto;
  left: auto;
  right: 24px;
  width: 44px;
  height: 44px;
  margin: 0;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #403a35;
}

.swiper[data-layout="editorial"] .swiper-button-next::before,
.swiper[data-layout="editorial"] .swiper-button-next svg {
  display: none;
}

.swiper[data-layout="editorial"] .swiper-button-next::after {
  content: "\2192";
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.testimonial-excerpt,
.testimonial-full-content {
  transition: all 0.3s ease;
}

.testimonial-full-content {
  display: none;
}

a.toggle-testimonial {
  cursor: pointer;
  font-size: 0.9rem;
  color: #289dcc !important;
  text-decoration: underline !important;
  font-style: normal;
  display: inline-block;
  margin-top: 0.5em;
}

@media (max-width: 599px) {
  .chf_test {
    display: block;
  }

  .chf_testimonial_editorial {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 320px;
    padding: 48px 72px 48px 22px;
  }

  .chf_testimonial_editorial__attribution {
    padding-top: 0;
  }

  .chf_testimonial_editorial__name {
    margin-top: 14px;
  }

  .chf_testimonial_editorial__quote {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .swiper[data-layout="editorial"] .swiper-button-next {
    right: 16px;
  }
}
