/* ============================================================
   Google Reviews – CSS (Grelha, sem scroll horizontal, sem sombra)
   - Fonte herda do tema
   - Acessibilidade: foco visível
   ============================================================ */

.greviews, .greviews * { font-family: inherit; }

/* Container */
.greviews{
  border:0;
  background:transparent;
  padding:0;
}

/* Cabeçalho */
.greviews__summary{ margin-bottom:12px; }
.greviews__title{
  margin:0;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  font-size:22px;
  line-height:1.1;
}
.greviews__meta{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  opacity:.9;
  font-size:13px;
}
.greviews__metaSep{ opacity:.6; }

/* Grelha (SEM scroll horizontal) */
.greviews__grid{
  display:grid;
  grid-template-columns: repeat(var(--greviews-cols-desktop, 3), minmax(0, 1fr));
  gap:12px;
}

/* Tablet */
@media (max-width: 980px){
  .greviews__grid{
    grid-template-columns: repeat(var(--greviews-cols-tablet, 2), minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 520px){
  .greviews__grid{
    grid-template-columns: repeat(var(--greviews-cols-mobile, 1), minmax(0, 1fr));
  }
}

/* Cartão (sem sombra) */
.greviews__card{
  border:1px solid #eee;
  border-radius:14px;
  padding:14px;
  background:#fff;
  box-shadow:none; /* pedido: retirar sombreado */
  display:flex;
  flex-direction:column;
  min-height: 180px;
}

/* Topo */
.greviews__cardtop{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom:8px;
}

/* Autor */
.greviews__authorwrap{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.greviews__avatar{
  width:34px;
  height:34px;
  border-radius:999px;
  flex:0 0 34px;
  object-fit:cover;
  border:1px solid #e6e6e6;
  background:#fff;
}
.greviews__avatar--fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:13px;
  color:#555;
  background:#f2f2f2;
}
.greviews__authorblock{ min-width:0; }
.greviews__author{
  font-weight:800;
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.greviews__time{
  font-size:12px;
  opacity:.75;
}

/* Google badge */
.greviews__brand{
  width:26px;
  height:26px;
  flex:0 0 26px;
}
.greviews__g{ width:26px; height:26px; display:block; }

/* Estrelas – apenas N estrelas amarelas */
.greviews__starsrow{ margin: 6px 0 8px; }
.greviews__starsN{
  display:inline-flex;
  gap:2px;
  line-height:0;
}
.greviews__star{
  width:18px;
  height:18px;
  fill:#f4b400;
}

/* Texto (4 linhas) + aspas e itálico */
.greviews__quote{ margin:0; }
.greviews__text{
  margin:0;
  font-style: italic;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Link */
.greviews__linkwrap{ margin-top:auto; padding-top:10px; }
.greviews__more{
  border:0;
  background:transparent;
  padding:0;
  text-decoration:underline;
  font-weight:600;
  cursor:pointer;
}

/* Foco visível */
.greviews__more:focus-visible,
.greviews__close:focus-visible{
  outline: 3px solid rgba(0,0,0,.28);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Dialog */
.greviews__dialog{
  border:0;
  border-radius:14px;
  padding:0;
  max-width:min(720px, 92vw);
}
.greviews__dialog::backdrop{ background:rgba(0,0,0,.5); }

.greviews__dialoginner{
  padding:16px;
  background:#fff;
  border-radius:14px;
}

.greviews__dialoghead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.greviews__close{
  border:1px solid #e6e6e6;
  background:#fff;
  border-radius:10px;
  padding:8px 12px;
  cursor:pointer;
}

.greviews__fulltext{
  font-style: italic;
  margin:0;
  line-height:1.5;
}
