@charset "UTF-8";
/* ==========================================================================
   NEST — Google reviews
   Demo styling that matches what TrustIndex outputs, so connecting the real
   plugin is a content swap and not a redesign. Google's own palette is used
   for the mark and the stars, because a review block that does not look like
   Google reads as invented.
   ========================================================================== */

.grevs {
  margin-block-start: clamp(2.4rem, 4.5vw, 3.6rem);
}

/* --- the summary bar --- */
.grevs__summary {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .55rem .9rem;
  padding: clamp(.9rem, 1.5vw, 1.15rem) clamp(1.1rem, 1.8vw, 1.5rem);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  border-end-end-radius: 18px;
}
.section--bone .grevs__summary {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--bone-line);
}

.grev__g, .grevs__summary .grev__g { width: 20px; height: 20px; flex: 0 0 auto; }

.grevs__score {
  font-family: var(--font-latin);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}
.section--bone .grevs__score { color: var(--bone-ink); }

.grevs__stars { display: inline-flex; gap: .12rem; color: #fbbc04; }
.grevs__stars svg { width: 16px; height: 16px; }

.grevs__count {
  font-size: .9rem;
  color: var(--silver-300);
}
.section--bone .grevs__count { color: var(--bone-mute); }

.grevs__all {
  margin-inline-start: auto;
  font-size: .9rem;
  color: var(--blue-300);
  position: relative;
}
.section--bone .grevs__all { color: var(--blue-500); }
.grevs__all::after {
  content: ""; position: absolute;
  inset-block-end: -3px; inset-inline: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-inout);
}
.grevs__all:hover::after { transform: scaleX(1); }

/* --- the cards --- */
.grevs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.7rem, 1.2vw, 1.1rem);
  margin-block-start: clamp(.7rem, 1.2vw, 1.1rem);
}

.grev {
  display: flex; flex-direction: column;
  gap: .55rem;
  padding: clamp(1.1rem, 1.7vw, 1.45rem);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  border-end-end-radius: 18px;
  transition: background var(--dur) var(--ease-inout), transform var(--dur-slow) var(--ease-out);
}
.grev:hover { background: rgba(255, 255, 255, .085); transform: translateY(-4px); }
.section--bone .grev {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--bone-line);
}
.section--bone .grev:hover { box-shadow: 0 14px 38px rgba(19, 37, 58, .12); }

.grev__head { display: flex; align-items: center; gap: .65rem; }

.grev__avatar {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--blue-400), var(--blue-600));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1;
}

.grev__who { display: flex; flex-direction: column; gap: .05rem; min-width: 0; }
.grev__name {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.section--bone .grev__name { color: var(--bone-ink); }
.grev__when { font-size: .76rem; color: var(--silver-300); }
.section--bone .grev__when { color: var(--bone-mute); }

.grev__head .grev__g { margin-inline-start: auto; }

.grev__stars { display: flex; gap: .1rem; color: #fbbc04; }
.grev__stars svg { width: 15px; height: 15px; }

.grev__text {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--silver-100);
}
.section--bone .grev__text { color: var(--bone-mute); }

@media (max-width: 1100px) {
  .grevs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grevs__grid { grid-template-columns: 1fr; }
  .grevs__all { margin-inline-start: 0; }
}
