.uva-grs,
.uva-grs * {
  box-sizing: border-box;
}

.uva-grs.reviews-section {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  color: #202124;
}

.uva-grs .reviews-wrapper {
  position: relative;
  padding: 0 52px;
}

.uva-grs .reviews-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 34px;
}

.uva-grs .reviews-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.uva-grs .review-card {
  flex: 0 0 100%;
  min-height: 340px;
  padding: 40px 80px 20px;
  background: var(--uva-card-bg, #f7f7f8);
  border: 1px solid #ececef;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.uva-grs .stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 20px;
}

.uva-grs .stars svg {
  width: 35px;
  height: 35px;
  color: #fbbc04;
  display: block;
}

.uva-grs .review-text {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 400;
  color: #202124;
}

.uva-grs .review-text.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uva-grs .read-more {
  display: none;
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: #4285f4;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  padding: 4px 0;
}

.uva-grs .read-more.visible {
  display: inline-block;
}

.uva-grs .read-more:hover {
  text-decoration: underline;
}

.uva-grs .profile {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.uva-grs .avatar-link {
  text-decoration: none;
}

.uva-grs .avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #16a3b8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.uva-grs .avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.uva-grs .google-badge {
  position: absolute;
  right: -5px;
  bottom: -1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff;
}

.uva-grs .google-badge svg {
  width: 24px;
  height: 24px;
  display: block;
}

.uva-grs .reviewer-name {
  margin-top: 9px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #202124;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.uva-grs .verified {
  width: 15px;
  height: 15px;
  display: inline-flex;
}

.uva-grs .verified svg {
  width: 100%;
  height: 100%;
  display: block;
}

.uva-grs .review-date {
  margin-top: 4px;
  font-size: 14px;
  color: #8a8f94;
  font-weight: 400;
}

.uva-grs .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #202124;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(60,64,67,.25), 0 2px 6px rgba(60,64,67,.18);
  padding: 0;
}

.uva-grs .arrow svg {
  width: 26px;
  height: 26px;
  display: block;
}

.uva-grs .arrow-left {
  left: 24px;
}

.uva-grs .arrow-right {
  right: 24px;
}

.uva-grs .dots {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 16px;
}

.uva-grs .dot {
  appearance: none;
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  max-width: 8px;
  max-height: 8px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 0;
  outline: 0;
  padding: 0;
  margin: 0;
  background: #b8bcc2;
  display: block;
  cursor: pointer;
  line-height: 0;
}

.uva-grs .dot.active {
  background: #202124;
}

.uva-grs-empty {
  padding: 14px;
  background: #fff8e1;
  border: 1px solid #facc15;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .uva-grs .reviews-wrapper {
    padding: 0 30px;
  }

  .uva-grs .review-card {
    min-height: 320px;
    padding: 34px 34px 18px;
    border-radius: 28px;
  }

  .uva-grs .review-text {
    font-size: 24px;
  }

  .uva-grs .stars {
    gap: 0px;
  }

  .uva-grs .stars svg {
    width: 30px;
    height: 30px;
  }

  .uva-grs .arrow {
    width: 48px;
    height: 48px;
  }

  .uva-grs .arrow-left {
    left: 4px;
  }

  .uva-grs .arrow-right {
    right: 4px;
  }
}

@media (max-width: 600px) {
  .uva-grs .reviews-wrapper {
    padding: 0 12px;
  }

  .uva-grs .review-card {
    min-height: 310px;
    padding: 28px 22px 16px;
  }

  .uva-grs .review-text {
    font-size: 20px;
  }

  .uva-grs .read-more {
    font-size: 20px;
  }

  .uva-grs .profile {
    margin-top: 14px;
  }

  .uva-grs .avatar-wrap {
    width: 50px;
    height: 50px;
    font-size: 21px;
  }

  .uva-grs .google-badge {
    width: 22px;
    height: 22px;
  }

  .uva-grs .google-badge svg {
    width: 22px;
    height: 22px;
  }

  .uva-grs .reviewer-name {
    font-size: 17px;
  }

  .uva-grs .review-date {
    font-size: 13px;
  }
}
