/* Google reviews widget (views/common/google-reviews-widget.php). Theme-neutral: colour and font come from the page, tints from currentColor. */
.grw { --grw-radius: 14px; --grw-gold: #f2a900; --grw-tint: color-mix(in srgb, currentColor 6%, transparent); --grw-edge: color-mix(in srgb, currentColor 16%, transparent); --grw-mute: color-mix(in srgb, currentColor 62%, transparent); padding: 64px 0; font-family: inherit; color: inherit; background: transparent; }
.grw *, .grw *::before, .grw *::after { box-sizing: border-box; }
.grw ul { list-style: none; margin: 0; padding: 0; }
.grw__head { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 32px; margin: 0 0 32px; }
.grw__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.grw__title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; font-weight: 600; color: inherit; letter-spacing: 0; text-transform: none; }
.grw__summary { display: flex; align-items: center; gap: 10px; }
.grw__score { font-size: 28px; line-height: 1; font-weight: 700; }
.grw__count { font-size: 14px; color: var(--grw-mute); }
.grw__stars { display: inline-flex; gap: 2px; font-size: 17px; line-height: 1; }
.grw__star { color: var(--grw-edge); }
.grw__star.is-on { color: var(--grw-gold); }
.grw__cta { display: inline-block; padding: 12px 22px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; color: inherit; text-decoration: none; transition: background .15s, color .15s; }
.grw__cta:hover, .grw__cta:focus-visible { background: currentColor; }
.grw__cta:hover span, .grw__cta:focus-visible { mix-blend-mode: normal; }
.grw__cta:focus-visible, .grw__more:focus-visible, .grw__nav:focus-visible, .grw__dot:focus-visible, .grw__all a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.grw__card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; padding: 22px; background: var(--grw-tint); border: 1px solid var(--grw-edge); border-radius: var(--grw-radius); }
.grw__who { display: flex; align-items: center; gap: 12px; }
.grw__avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, currentColor 14%, transparent); font-size: 16px; font-weight: 700; line-height: 1; }
.grw__name { display: flex; flex-direction: column; line-height: 1.35; }
.grw__name small { font-size: 13px; color: var(--grw-mute); }
.grw__text { margin: 0; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.grw__more { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.grw__source { margin-top: auto; font-size: 12px; color: var(--grw-mute); }
.grw__all { margin: 26px 0 0; text-align: center; font-size: 14px; }
.grw__all a { color: inherit; font-weight: 600; text-underline-offset: 4px; }

/* cards: a tidy grid, long reviews cut to 6 lines */
.grw--cards .grw__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grw--cards .grw__text, .grw--carousel .grw__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.grw--cards .is-open .grw__text, .grw--carousel .is-open .grw__text { -webkit-line-clamp: unset; display: block; }

/* carousel: one row that scrolls sideways, with arrows */
.grw--carousel .grw__stage { position: relative; }
.grw--carousel .grw__list { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.grw--carousel .grw__list::-webkit-scrollbar { display: none; }
.grw--carousel .grw__card { flex: 0 0 min(340px, 84%); scroll-snap-align: start; }
.grw__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -21px; padding: 0 0 3px; border: 1px solid var(--grw-edge); border-radius: 50%; background: Canvas; color: CanvasText; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.grw__nav--prev { left: -14px; }
.grw__nav--next { right: -14px; }

/* wall: cards of different heights packed into columns */
.grw--wall .grw__list { columns: 3; column-gap: 20px; }
.grw--wall .grw__card { display: inline-flex; width: 100%; margin: 0 0 20px; break-inside: avoid; }

/* spotlight: one review at a time, large */
.grw--spotlight .grw__head { justify-content: center; text-align: center; }
.grw--spotlight .grw__brand { margin-right: 0; }
.grw--spotlight .grw__list { position: relative; max-width: 820px; margin: 0 auto; }
.grw--spotlight .grw__card { display: none; align-items: center; gap: 18px; padding: 8px 0 0; background: none; border: 0; text-align: center; }
.grw--spotlight .grw__card.is-active { display: flex; animation: grw-fade .5s ease; }
.grw--spotlight .grw__who { flex-direction: column; gap: 8px; order: 3; }
.grw--spotlight .grw__stars { order: 1; font-size: 24px; }
.grw--spotlight .grw__text { order: 2; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.45; font-weight: 500; }
.grw--spotlight .grw__name { align-items: center; }
.grw--spotlight .grw__source { order: 4; margin-top: 0; }
.grw__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.grw__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--grw-edge); cursor: pointer; }
.grw__dot.is-active { background: currentColor; }
@keyframes grw-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
  .grw--cards .grw__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grw--wall .grw__list { columns: 2; }
}
@media (max-width: 767.98px) {
  .grw { padding: 44px 0; }
  .grw__head { gap: 12px 20px; }
  .grw__brand { flex: 1 0 100%; }
  .grw--cards .grw__list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .grw--cards .grw__card { flex: 0 0 84%; scroll-snap-align: start; }
  .grw--wall .grw__list { columns: 1; }
  .grw__nav { display: none; }
  .grw--spotlight .grw__head { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .grw--spotlight .grw__card.is-active { animation: none; } .grw__list { scroll-behavior: auto; } }

/* classic (older themes that share the root reviews view): only what the legacy card styling does not already give. Colours, fonts and
   card looks come from each theme's own stylesheet. */
.grwc__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.grwc__head .googleReviewLeft { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.grwc__col { margin-bottom: 24px; }
.grwc .cardLayout { display: block; }
.grwc__who { display: flex; align-items: center; gap: 12px; }
.grwc__avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-theme-color, currentColor); color: #fff; font-weight: 700; font-size: 18px; line-height: 1; }
.grwc .ggUserRatting { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; }
.grwc__stars { display: inline-flex; gap: 2px; letter-spacing: 0; line-height: 1; }
.grwc .grwc__stars { margin: 0 !important; }
.grwc .grwc-star { color: rgba(128, 128, 128, .55) !important; margin: 0 !important; padding: 0 !important; font-size: 1em; }
.grwc .grwc-star.on { color: #f2a900 !important; }
.grwc .googleReviewLeft > span.grwc__stars, .grwc .ggUserRatting > span.grwc__stars { margin: 0 10px !important; opacity: 1 !important; display: inline-flex; font-size: 18px; }
.grwc .ggUserRatting > span.grwc__stars { margin: 0 !important; font-size: 15px; }
.grwc .googleReviewLeft > span { vertical-align: middle; }
.grwc .googleCard { margin-top: 28px !important; }
.grwc__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.grwc .is-open .grwc__text { -webkit-line-clamp: unset; display: block; }
.grwc .grwc__allink { margin-left: 14px; color: #fff; opacity: .8; text-decoration: underline; font-size: 16px; white-space: nowrap; }
.grwc .grwc__allink:hover { opacity: 1; }
.grwc .readMoreLink { cursor: pointer; text-decoration: underline; }
@media (max-width: 767.98px) { .grwc.spaceSection { padding: 70px 0; } }

/* embedded inside a theme's own section: the theme draws the heading and the spacing */
.grw--embedded { padding: 0; }
.grw--embedded .grw__brand { display: none; }
.grw--embedded .grw__head { justify-content: center; }

/* themed cards (views/common/google-reviews-inner.php): layout only; each theme's stylesheet supplies the look (.grwt* rules) */
.grwt { text-align: left; }
.grwt ul { list-style: none; margin: 0; padding: 0; }
.grwt__summary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 34px; }
.grwt__stars { display: inline-flex; gap: 2px; line-height: 1; }
.grwt__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grwt__card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 0; }
.grwt__text { margin: 0; padding: 0; border: 0; font-size: inherit; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.grwt__card.is-open .grwt__text { -webkit-line-clamp: unset; display: block; }
.grwt__more { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: .8em; text-decoration: underline; cursor: pointer; }
.grwt__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.grwt__avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 14px; font-weight: 700; line-height: 1; }
.grwt__name { display: flex; flex-direction: column; line-height: 1.3; }
.grwt__name small { font-size: .8em; opacity: .65; }
.grwt__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 30px; margin-top: 38px; }
.grwt__all { text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
@media (max-width: 991.98px) { .grwt__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .grwt__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; } .grwt__card { flex: 0 0 84%; scroll-snap-align: start; } }
