.grc {
  --grc-star: #fbbc04;
  --grc-star-empty: #dadce0;
  --grc-text: #1f1f1f;
  --grc-muted: #5f6368;
  --grc-card-bg: #ffffff;
  --grc-card-alt-bg: #f1f3f4;
  --grc-border: #e3e3e3;
  --grc-accent: #1a73e8;
  --grc-radius: 16px;
  --grc-gap: 1.5rem;
  --grc-pad: 1.5rem;
  --grc-lines: 4;
  --grc-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .08);
  --grc-cols: var(--grc-columns, 3);
  box-sizing: border-box;
  max-width: var(--grc-max-width, 1200px);
  margin: var(--grc-margin, 3rem) auto;
  padding-inline: var(--grc-padding-inline, 1rem);
  color: var(--grc-text);
}
.grc *, .grc *::before, .grc *::after { box-sizing: inherit; }

.grc-stars { display: inline-flex; gap: 2px; font-size: 1.125rem; line-height: 1; color: var(--grc-star-empty); }
.grc-star.is-full { color: var(--grc-star); }

.grc-avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; font-weight: 600; font-size: 1rem; color: #fff; }
.grc-avatar--c0 { background: #7b1fa2; }
.grc-avatar--c1 { background: #1565c0; }
.grc-avatar--c2 { background: #2e7d32; }
.grc-avatar--c3 { background: #c62828; }
.grc-avatar--c4 { background: #ef6c00; }
.grc-avatar--c5 { background: #00838f; }

.grc-google { display: inline-block; height: 20px; width: auto; vertical-align: middle; }
.grc-google--text { height: auto; font-size: .875rem; font-weight: 600; color: var(--grc-muted); }
.grc-google--wetravel { height: 20px; width: auto; }

.grc-card { display: flex; flex-direction: column; gap: .875rem; height: 100%; padding: var(--grc-pad); border-radius: var(--grc-radius); background: var(--grc-card-bg); }
.grc-card__header { display: flex; align-items: center; gap: .75rem; }
.grc-card__meta { flex: 1; min-width: 0; }
.grc-card__author { font-weight: 600; color: inherit; text-decoration: none; }
.grc-card__author:hover { text-decoration: underline; }
.grc-card__time { display: block; font-size: .875rem; color: var(--grc-muted); }
.grc-card__text { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }

/* Fixed-height text: reviews are clamped to --grc-lines lines (the max-height
   declaration is a fallback for engines without line-clamp support) so every
   card keeps the same size. The "Read more" button expands the full text. */
.grc-card__textwrap { min-width: 0; }
.grc-card__textwrap .grc-card__text { transition: max-height .35s ease; }
.grc-card__text--clamp {
  display: -webkit-box;
  -webkit-line-clamp: var(--grc-lines, 4);
  line-clamp: var(--grc-lines, 4);
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(var(--grc-lines, 4) * 1.6em);
}
.grc-card__text--clamp.is-expanded { display: block; -webkit-line-clamp: unset; line-clamp: unset; max-height: none; }
.grc-card__text--line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grc-card__more { display: inline-flex; align-items: center; gap: .375rem; margin-top: .375rem; padding: 0; border: 0; background: none; font: inherit; font-size: .875rem; font-weight: 600; color: var(--grc-accent); cursor: pointer; }
.grc-card__more[hidden] { display: none; }
.grc-card__more::after { content: ''; flex-shrink: 0; width: .375rem; height: .375rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.grc-card__more:hover { text-decoration: underline; }
.grc-card__more[aria-expanded='true']::after { transform: rotate(-135deg); }

@media (prefers-reduced-motion: reduce) {
  .grc-card__textwrap .grc-card__text,
  .grc-card__more::after { transition: none; }
}
.grc-card__source { display: flex; align-items: center; gap: .375rem; margin-top: auto; font-size: .8125rem; color: var(--grc-muted); }

.grc-verified { display: inline-flex; align-self: flex-start; align-items: center; gap: .25rem; padding: .125rem .5rem; border: 1px solid var(--grc-border); border-radius: 999px; background: var(--grc-card-alt-bg); font-size: .75rem; font-weight: 600; line-height: 1.6; color: var(--grc-muted); }
.grc-verified::before { content: '\2713'; color: #1e8e3e; font-weight: 700; }
.grc-card--centered .grc-verified { align-self: center; }

.grc-card__reply { margin-top: .25rem; padding: .75rem .875rem; border-left: 3px solid var(--grc-accent); border-radius: 10px; background: var(--grc-card-alt-bg); font-size: .9375rem; color: var(--grc-muted); }
.grc-card__reply strong { display: block; margin-bottom: .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--grc-text); }
.grc-card__reply p { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.grc-card--dark .grc-verified { border-color: #3b4a5a; background: #2b3a48; color: #cbd2d9; }
.grc-card--dark .grc-card__reply { border-left-color: #8ab4f8; background: #2b3a48; color: #cbd2d9; }
.grc-card--dark .grc-card__reply strong { color: #f5f7fa; }
@media (max-width: 480px) {
  .grc-card__reply { padding: .625rem .75rem; font-size: .875rem; }
}

.grc-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .75rem; margin-bottom: 2rem; text-align: center; }
.grc-summary__rating { font-size: 2rem; font-weight: 700; line-height: 1; }
.grc-summary__link { color: var(--grc-muted); }

.grc button:focus-visible, .grc a:focus-visible { outline: 2px solid var(--grc-accent); outline-offset: 2px; }