.hkd-testimonials-widget {
  --hkd-testimonials-green: #afca0b;
  --hkd-testimonials-text: #585b63;
  background: #fff;
  color: var(--hkd-testimonials-text);
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.hkd-testimonials-widget *,
.hkd-testimonials-widget *::before,
.hkd-testimonials-widget *::after {
  box-sizing: border-box;
}

.hkd-testimonials-widget__frame {
  min-width: 0;
  position: relative;
  width: 100%;
}

.hkd-testimonials-widget__swiper {
  min-width: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hkd-testimonials-widget__swiper:not(.swiper-initialized) {
  overflow: visible;
}

.hkd-testimonials-widget__swiper:not(.swiper-initialized)
  .hkd-testimonials-widget__slides {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  transform: none !important;
}

.hkd-testimonials-widget__swiper:not(.swiper-initialized)
  .hkd-testimonials-widget__item {
  margin: 0;
  width: 100% !important;
}

.hkd-testimonials-widget__item {
  background: #fff;
  min-width: 0;
  overflow: hidden;
  padding: clamp(158px, 12vw, 178px) clamp(44px, 6vw, 92px)
    clamp(42px, 5vw, 72px) 80px;
  position: relative;
}

.hkd-testimonials-widget__quote-graphic {
  color: var(--hkd-testimonials-text);
  height: 390px;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}

.hkd-testimonials-widget__quote-graphic::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 3px;
  left: clamp(170px, 12vw, 180px);
  position: absolute;
  right: clamp(280px, 28vw, 430px);
  top: clamp(144px, 10.5vw, 156px);
}

.hkd-testimonials-widget__quote-graphic svg {
  display: block;
  height: auto;
  left: clamp(-34px, -2vw, -20px);
  max-width: none;
  position: absolute;
  top: -84px;
  width: clamp(520px, 44vw, 640px);
}

.hkd-testimonials-widget__quote-graphic .hkd-testimonials-widget__line-path {
  display: none;
}

.hkd-testimonials-widget__quote-graphic
  .hkd-testimonials-widget__quote-mark-path {
  transform: translateY(50px) scale(0.6);
  transform-box: fill-box;
  transform-origin: left top;
}

.hkd-testimonials-widget__layout {
  align-items: center;
  display: grid;
  gap: clamp(38px, 6vw, 94px);
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.75fr);
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hkd-testimonials-widget__content {
  min-width: 0;
}

.hkd-testimonials-widget__company,
.hkd-testimonials-widget__person,
.hkd-testimonials-widget__quote {
  margin: 0;
}

.hkd-testimonials-widget__company {
  color: var(--hkd-testimonials-green);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.hkd-testimonials-widget__person {
  color: var(--hkd-testimonials-text);
  font-size: clamp(1.08rem, 1.35vw, 1.4rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.hkd-testimonials-widget__employee,
.hkd-testimonials-widget__position {
  color: inherit;
}

.hkd-testimonials-widget__quote {
  border: 0;
  color: var(--hkd-testimonials-text);
  padding: 0;
}

.hkd-testimonials-widget__quote-label {
  display: inline;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
}

.hkd-testimonials-widget__quote-text {
  display: inline;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hkd-testimonials-widget__quote-text p {
  display: inline;
  margin: 0;
}

.hkd-testimonials-widget__quote-text p + p::before {
  content: " ";
}

.hkd-testimonials-widget__media {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hkd-testimonials-widget__image {
  display: block;
  height: auto;
  max-height: 250px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
  border-radius: 20px!important;
}

.hkd-testimonials-widget__controls {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 4px clamp(24px, 7vw, 108px) clamp(26px, 3vw, 44px);
}

.hkd-testimonials-widget__previous,
.hkd-testimonials-widget__next {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 1px solid var(--hkd-testimonials-text);
  border-radius: 50%;
  color: var(--hkd-testimonials-text);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 48px;
  height: 48px;
  justify-content: center;
  margin: 0;
  padding: 0;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
  width: 48px;
}

.hkd-testimonials-widget__previous:hover,
.hkd-testimonials-widget__next:hover,
.hkd-testimonials-widget__previous:focus,
.hkd-testimonials-widget__next:focus,
.hkd-testimonials-widget__previous:focus-visible,
.hkd-testimonials-widget__next:focus-visible,
.hkd-testimonials-widget__previous:active,
.hkd-testimonials-widget__next:active {
  background-color: #e6e7e9 !important;
  border-color: #777b82 !important;
  color: var(--hkd-testimonials-text) !important;
  outline: none;
}

.hkd-testimonials-widget__previous:focus-visible,
.hkd-testimonials-widget__next:focus-visible {
  box-shadow: 0 0 0 3px rgb(88 91 99 / 20%);
}

.hkd-testimonials-widget__previous svg,
.hkd-testimonials-widget__next svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 24px;
}

.hkd-testimonials-widget__pagination {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 44px;
  position: static;
  width: auto;
}

.hkd-testimonials-widget
  .hkd-testimonials-widget__pagination
  .swiper-pagination-bullet {
  background: var(--hkd-testimonials-text);
  height: 10px;
  margin: 0 6px;
  opacity: 0.28;
  width: 10px;
}

.hkd-testimonials-widget
  .hkd-testimonials-widget__pagination
  .swiper-pagination-bullet-active {
  background: var(--hkd-testimonials-green);
  opacity: 1;
}

.hkd-testimonials-widget__swiper:not(.swiper-initialized)
  .hkd-testimonials-widget__controls {
  display: none;
}

.hkd-testimonials-widget .hkd-testimonials-widget__empty {
  margin: 0;
}

@media (max-width: 1024px) {
  .hkd-testimonials-widget__item {
    padding: 140px clamp(28px, 5vw, 52px) 48px 60px;
  }

  .hkd-testimonials-widget__quote-graphic {
    height: 310px;
  }

  .hkd-testimonials-widget__quote-graphic::after {
    left: 130px;
    right: clamp(220px, 27vw, 290px);
    top: 112px;
  }

  .hkd-testimonials-widget__quote-graphic svg {
    left: -34px;
    width: 520px;
  }

  .hkd-testimonials-widget__layout {
    gap: 40px;
    grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.65fr);
  }
}

@media (max-width: 767px) {
  .hkd-testimonials-widget__item {
    padding: 120px 22px 38px 40px;
  }

  .hkd-testimonials-widget__quote-graphic {
    height: 220px;
  }

  .hkd-testimonials-widget__quote-graphic::after {
    height: 2px;
    left: 90px;
    right: 22px;
    top: 83px;
  }

  .hkd-testimonials-widget__quote-graphic svg {
    left: -22px;
    top: -45px;
    width: 340px;
  }

  .hkd-testimonials-widget__layout {
    gap: 34px;
    grid-template-columns: minmax(0, 1fr);
  }

  .hkd-testimonials-widget__media {
    justify-content: flex-start;
  }

  .hkd-testimonials-widget__image {
    max-height: 380px;
  }

  .hkd-testimonials-widget__controls {
    gap: 10px;
    padding: 4px 20px 26px;
  }
}

.hkd-testimonials-widget__swiper:not(.swiper-initialized)
  .hkd-testimonials-widget__item:not(:first-child) {
  padding-top: clamp(42px, 5vw, 72px);
}

@media (prefers-reduced-motion: reduce) {
  .hkd-testimonials-widget__previous,
  .hkd-testimonials-widget__next {
    transition: none;
  }
}
