/* ================================================================
   ATSILIEPIMAI — Google reviews page
   ================================================================ */

.greviews {
  padding-top: calc(var(--navbar-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 10vw, 7.5rem);
  padding-inline: var(--sp-3);
}

.greviews__inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

/* ── Header ── */
.greviews__head {
  max-width: 640px;
  margin: 0 auto var(--sp-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.greviews__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.greviews__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--taupe);
}

.greviews__summary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-1) var(--sp-2);
}

.greviews__score {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  line-height: 1;
  color: var(--charcoal);
}

.greviews__stars {
  font-size: 1.35rem;
  letter-spacing: 2px;
  color: var(--gold);
}

.greviews__count {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
}

.greviews__hint {
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--taupe);
}

/* ── Grid ── */
.greviews__status {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--taupe);
  margin-bottom: var(--sp-5);
}

.greviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 640px) { .greviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .greviews__grid { grid-template-columns: repeat(3, 1fr); } }

/* A lone review sits centred instead of hugging the left column */
.greviews__grid:has(> .greview:only-child) {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.greview {
  background: var(--off-white);
  border: 1px solid var(--warm-grey);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.greview__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.greview__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.greview__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.greview__author {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  overflow-wrap: anywhere;
}

a.greview__author:hover { color: var(--forest); }

.greview__when {
  font-size: var(--text-xs);
  color: var(--taupe);
}

.greview__stars {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--gold);
}

.greview__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
  flex: 1;
}

.greview__text--empty {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--taupe);
}

.greview__link {
  align-self: flex-start;
  padding-top: var(--sp-2);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color var(--dur-base) var(--ease);
}

.greview__link:hover { color: var(--charcoal); }

/* ── Source & ordering notice (required by Google) ── */
.greviews__source {
  max-width: 640px;
  margin: var(--sp-6) auto 0;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--warm-grey);
  text-align: center;
  font-size: var(--text-xs);
  line-height: 1.7;
  color: var(--taupe);
}

.greviews__source a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.greviews__attribution {
  margin-top: var(--sp-1);
  font-weight: 600;
  letter-spacing: 0.08em;
}
