.pvgr {
  --pvgr-gap: 24px;
  --pvgr-border: #e8e3da;
  --pvgr-gold: #d6a84a;
  position: relative;
  width: 100%;
}

.pvgr__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pvgr__viewport::-webkit-scrollbar { display: none; }

.pvgr__track {
  display: flex;
  align-items: stretch;
  gap: var(--pvgr-gap);
}

.pvgr__card {
  box-sizing: border-box;
  flex: 0 0 calc((100% - (2 * var(--pvgr-gap))) / 3);
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--pvgr-border);
  border-radius: 16px;
  background: #fff;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.pvgr__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pvgr__avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  object-fit: cover;
}

.pvgr__name {
  display: block;
  color: #262626;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.pvgr__date {
  display: block;
  margin-top: 2px;
  color: #727272;
  font-size: 13px;
  line-height: 1.3;
}

.pvgr__stars {
  margin-bottom: 14px;
  color: #c8c8c8;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1;
}

.pvgr__stars .is-filled { color: var(--pvgr-gold); }

.pvgr__text {
  color: #414141;
  font-size: 16px;
  line-height: 1.65;
}

.pvgr__text p { margin: 0; }

.pvgr__google-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  color: #4a4a4a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pvgr__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.pvgr__button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #4a4a4a;
  border-radius: 50%;
  background: #fff;
  color: #4a4a4a;
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  line-height: 36px;
}

.pvgr__button:hover,
.pvgr__button:focus-visible {
  background: #4a4a4a;
  color: #fff;
}

@media (max-width: 1024px) {
  .pvgr__card { flex-basis: calc((100% - var(--pvgr-gap)) / 2); }
}

@media (max-width: 767px) {
  .pvgr { --pvgr-gap: 16px; }
  .pvgr__card { flex-basis: 100%; padding: 22px 20px; }
  .pvgr__controls { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pvgr__viewport { scroll-behavior: auto; }
}

