.heol-testimonials {
  --heol-card-bg: #ffffff;
  --heol-text: #0f2d28;
  --heol-subtext: #3a5a54;
  --heol-dot: #b8c7c3;
  --heol-dot-active: #0f2d28;
  --heol-gap: 24px;
  --heol-card-width: clamp(260px, 70vw, 520px);
  position: relative;
  width: 100%;
}

.heol-testimonials__viewport {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  scrollbar-width: none;
}

.heol-testimonials__viewport::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.heol-testimonials.is-grabbing .heol-testimonials__viewport {
  cursor: grabbing;
}

.heol-testimonials__track {
  display: flex;
  gap: var(--heol-gap);
  padding: 4px 2px 6px;
  padding-right: calc(100% - var(--heol-card-width));
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  align-items: flex-start;
}

.heol-testimonial {
  flex: 0 0 var(--heol-card-width);
  display: flex;
  flex-direction: column;
  background: var(--heol-card-bg);
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  color: var(--heol-text);
}

.heol-testimonial__media {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #dde5e2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heol-testimonial__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.heol-testimonial__content {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.heol-testimonial__text {
  margin: 0;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: 1.55;
  color: var(--e-global-color-text);
  position: relative;
}

.heol-testimonial__text::before {
  content: none;
}

.heol-testimonial__text::after {
  content: none;
}

.heol-testimonial__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: nowrap;
  margin-top: auto;
}

.heol-testimonial__meta {
  flex: 1 1 auto;
  min-width: 0;
}

.heol-testimonial__title {
  font-family: "Inter", Sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2em;
  color: var(--e-global-color-primary);
}

.heol-testimonial__subtitle {
  font-family: "Figtree", Sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2em;
  color: var(--e-global-color-primary);
  margin-top: 4px;
}

.heol-testimonial__logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
}

.heol-testimonial__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.heol-testimonials__nav {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-right: 5%;
}

.heol-testimonials__dots {
  display: flex;
  gap: 8px;
}

.heol-testimonials__dot {
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  min-height: 7px !important;
  max-width: 7px !important;
  max-height: 7px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.45) !important;
  cursor: pointer;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  appearance: none;
  -webkit-appearance: none;
}

.heol-testimonials__dot.is-active {
  background: #ffffff !important;
}

.heol-testimonials__buttons {
  display: flex;
  gap: 10px;
}

.heol-testimonials__btn {
  width: 44px!important;
  height: 44px;
  border-radius: 50% !important;
  border: none!important;
  background: #ffffff !important;
  color: #0f2d28 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.heol-testimonials__btn:hover {
  background: #ffffff !important;
  color: #0f2d28 !important;
}

.heol-testimonials__btn:disabled {
  opacity: 1;
}

@media (min-width: 900px) {
  .heol-testimonial {
    flex-basis: clamp(320px, 40vw, 520px);
  }
}

@media (max-width: 640px) {
  .heol-testimonial__media {
    height: 250px;
  }

  .heol-testimonials__nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
}
