/* === Google Reviews Carousel === */

/* Section header */
.gr-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  font-family: 'Roboto', Arial, sans-serif;
}

.gr-header__g-icon { width: 28px; height: 28px; flex-shrink: 0; }

.gr-header__text {
  font-size: 16px;
  font-weight: 500;
  color: #3c4043;
}

.gr-header__stars { display: flex; gap: 2px; }
.gr-header__stars svg { width: 20px; height: 20px; fill: #fbbc04; }

/* Carousel wrapper */
.gr-carousel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 48px;
}

/* Viewport clips overflow */
.gr-viewport {
  overflow: hidden;
  border-radius: 4px;
}

/* Track holds slides in a row */
.gr-track {
  display: flex;
  will-change: transform;
}

/* Slide */
.gr-slide {
  flex-shrink: 0;
  display: flex;
}

/* Review card */
.gr-card {
  background: #F4F2ED;
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gr-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

/* Card header */
.gr-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.gr-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  flex-shrink: 0;
  line-height: 1;
}

.gr-card__info { flex: 1; min-width: 0; }

.gr-card__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #202124;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gr-card__date {
  display: block;
  font-size: 12px;
  color: #9aa0a6;
  line-height: 1.4;
}

.gr-card__g { width: 22px; height: 22px; flex-shrink: 0; align-self: flex-start; margin-top: 2px; }

/* Stars */
.gr-card__stars { display: flex; gap: 1px; margin-bottom: 10px; }
.gr-card__stars svg { width: 16px; height: 16px; fill: #fbbc04; }

/* Review text */
.gr-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: #3c4043;
  flex: 1;
}

.gr-card__text .gr-short { display: inline; }
.gr-card__text .gr-full  { display: none; }
.gr-card__text.expanded .gr-short { display: none; }
.gr-card__text.expanded .gr-full  { display: inline; }

.gr-read-more {
  display: block;
  margin-top: 6px;
  color: #70757a;
  cursor: pointer;
  font-size: 13px;
  border: none;
  background: none;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  text-align: left;
}
.gr-read-more:hover { color: #70757a; background: none; }

/* Navigation arrows — bare chevrons */
.gr-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 32px;
  font-weight: 300;
  color: #bdc1c6;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s;
  z-index: 2;
  -webkit-user-select: none;
  user-select: none;
}

.gr-arrow:hover { color: #5f6368; }

.gr-prev { left: 4px; }
.gr-next { right: 4px; }

/* Responsive */
@media (max-width: 1024px) {
  .gr-carousel { padding: 0 40px; }
}

@media (max-width: 767px) {
  .gr-header { margin-bottom: 20px; }
  .gr-header__g-icon { width: 22px; height: 22px; }
  .gr-header__text { font-size: 14px; }
  .gr-header__stars svg { width: 16px; height: 16px; }

  .gr-carousel { padding: 0 32px; }
  .gr-card { padding: 18px 16px; }

  .gr-arrow { font-size: 26px; padding: 4px; }
  .gr-prev { left: 2px; }
  .gr-next { right: 2px; }
}
