/* Trustpilot review ticker — auto scroll right-to-left */
.gh-trustpilot-marquee-wrap {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.gh-trustpilot-marquee-viewport {
  overflow: hidden;
  padding: 8px 0 4px;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.gh-trustpilot-marquee-viewport.is-static {
  overflow-x: auto;
  mask-image: none;
  -webkit-mask-image: none;
}

.gh-trustpilot-marquee-track {
  display: flex;
  width: max-content;
  animation: gh-tp-marquee-rtl 110s linear infinite;
  will-change: transform;
}

.gh-trustpilot-marquee-viewport:hover .gh-trustpilot-marquee-track {
  animation-play-state: paused;
}

.gh-trustpilot-marquee-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  padding-right: 14px;
}

.gh-tp-marquee-card {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gh-tp-marquee-stars {
  color: #00b67a;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.gh-tp-marquee-text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 12.5px;
  line-height: 1.45;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gh-tp-marquee-meta {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #6b7280;
}

.gh-tp-marquee-meta strong {
  color: #374151;
  font-weight: 600;
}

@keyframes gh-tp-marquee-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gh-trustpilot-marquee-track {
    animation: none;
  }
}
