/* Foxterra Google Reviews - [foxterra_google_reviews] */
.fgr { --fgr-primary: #234839; --fgr-accent: #A3C839; --fgr-text: #5A5A5A; --fgr-star: #FBBC04; --fgr-line: #e7ece9;
  max-width: 1200px; margin: 0 auto; color: var(--fgr-text); }
.fgr *, .fgr *::before, .fgr *::after { box-sizing: border-box; }

.fgr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.fgr-head-text { flex: 1 1 380px; }
.fgr-title { margin: 0 0 10px; color: var(--fgr-primary); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; }
.fgr-intro { margin: 0; max-width: 520px; line-height: 1.6; }

.fgr-badge { display: grid; grid-template-columns: auto auto auto; grid-template-areas: "logo main score" "note note note";
  align-items: center; gap: 4px 16px; padding: 18px 22px 14px; background: #fff; border: 1px solid var(--fgr-line); border-radius: 16px;
  box-shadow: 0 2px 6px rgba(35, 72, 57, .06), 0 12px 32px rgba(35, 72, 57, .16); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.fgr a.fgr-badge, .fgr a.fgr-badge * { text-decoration: none; }
.fgr-badge-main b { white-space: nowrap; }
.fgr-badge-note { color: var(--fgr-text); }
a.fgr-badge:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(35, 72, 57, .08), 0 18px 40px rgba(35, 72, 57, .22); border-color: rgba(163, 200, 57, .55); }
.fgr-badge-logo { grid-area: logo; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .10); }
.fgr-badge-logo svg { width: 30px; height: 30px; }
.fgr-badge-main { grid-area: main; display: flex; flex-direction: column; gap: 3px; }
.fgr-badge-main b { color: var(--fgr-primary); font-size: 15px; }
.fgr-badge-main .fgr-stars svg { width: 20px; height: 20px; }
.fgr-badge-score { grid-area: score; display: flex; flex-direction: column; align-items: center; padding-left: 16px; border-left: 1px solid var(--fgr-line); }
.fgr-badge-score b { color: var(--fgr-primary); font-size: 30px; line-height: 1; }
.fgr-badge-score small { font-size: 12px; margin-top: 4px; color: var(--fgr-text); white-space: nowrap; }
.fgr-badge-note { grid-area: note; font-size: 12px; margin-top: 6px; }

.fgr-stage { position: relative; }
/* extra padding (cancelled by the negative margin) gives the hover zoom room, so it is not clipped */
.fgr-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; align-items: start;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: 12px; padding: 14px 12px 36px; margin: -14px -12px -18px; scrollbar-width: none; }
.fgr-track::-webkit-scrollbar { display: none; }

.fgr-card { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 100%; padding: 24px; background: #fff;
  border-radius: 16px; box-shadow: 0 2px 6px rgba(35, 72, 57, .06), 0 10px 28px rgba(35, 72, 57, .14); border: 1px solid var(--fgr-line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.fgr-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 4px 10px rgba(35, 72, 57, .08), 0 20px 44px rgba(35, 72, 57, .22); border-color: rgba(163, 200, 57, .55); }
@media (prefers-reduced-motion: reduce) { .fgr-card, .fgr-card:hover { transition: none; transform: none; } }
.fgr-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.fgr-author { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; color: inherit; }
.fgr a.fgr-author, .fgr a.fgr-author * { text-decoration: none; }
/* own colours in every state - the theme's link hover colour used to hide the location line */
.fgr .fgr-author .fgr-who b, .fgr a.fgr-author:hover .fgr-who b, .fgr a.fgr-author:focus .fgr-who b { color: var(--fgr-primary); }
.fgr .fgr-author .fgr-who small, .fgr a.fgr-author:hover .fgr-who small, .fgr a.fgr-author:focus .fgr-who small { color: #7d9b26; }
.fgr a.fgr-author:hover .fgr-avatar { box-shadow: 0 0 0 3px rgba(163, 200, 57, .45); }
.fgr-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.fgr-avatar--letter { display: grid; place-items: center; background: var(--fgr-primary); color: #fff; font-weight: 700; font-size: 22px; }
.fgr-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fgr-who b { color: var(--fgr-primary); font-size: 17px; line-height: 1.3; }
.fgr-who small { font-size: 13px; line-height: 1.4; margin-top: 2px; }
.fgr-quote { align-self: flex-start; color: var(--fgr-accent); opacity: .45; font: 700 64px/0.8 Georgia, serif; }
.fgr-text { margin: 0 0 18px; line-height: 1.65; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fgr-card.is-open .fgr-text { -webkit-line-clamp: unset; display: block; }
.fgr-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fgr-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fgr a.fgr-onGoogle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fgr-primary); text-decoration: none; white-space: nowrap; }
.fgr a.fgr-onGoogle:hover { text-decoration: underline; }
.fgr-onGoogle svg { width: 16px; height: 16px; flex: none; }

.fgr-stars { display: inline-flex; gap: 2px; }
.fgr-stars svg { width: 22px; height: 22px; }
.fgr-stars .on { fill: var(--fgr-star); }
.fgr-stars .off { fill: #dfe3e1; }

.fgr .fgr-more { padding: 6px 14px; border: 1px solid var(--fgr-line); border-radius: 99px; background: #fff; color: var(--fgr-primary);
  font-size: 13px; font-weight: 600; line-height: 1.4; text-transform: none; cursor: pointer; transition: background .2s, color .2s; }
.fgr a.fgr-more { display: inline-block; text-decoration: none; }
.fgr .fgr-more[hidden], .fgr .fgr-onGoogle[hidden] { display: none; }
.fgr .fgr-more:hover, .fgr .fgr-more:focus-visible { background: var(--fgr-primary); color: #fff; border-color: var(--fgr-primary); }

/* arrows sit on the left and right edges of the slider, vertically centred (below it on phones) */
.fgr-nav { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between;
  pointer-events: none; z-index: 2; }
.fgr-nav[hidden] { display: none; }
.fgr .fgr-nav .fgr-arrow { pointer-events: auto; }
.fgr .fgr-nav [data-fgr-prev] { margin-left: -23px; }
.fgr .fgr-nav [data-fgr-next] { margin-right: -23px; }
.fgr .fgr-arrow { width: 46px; height: 46px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; border: 1px solid var(--fgr-line); color: var(--fgr-primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); transition: background .2s, opacity .2s, transform .2s; }
.fgr .fgr-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* both arrows dark when they can move, white and faded at the start / end of the slider */
.fgr .fgr-arrow:not(:disabled) { background: var(--fgr-primary); border-color: var(--fgr-primary); color: #fff; }
.fgr .fgr-arrow:not(:disabled):hover { background: #1a362b; transform: scale(1.06); }
.fgr .fgr-arrow:disabled { background: #fff; border-color: var(--fgr-line); color: var(--fgr-primary); opacity: .55; cursor: default; }

@media (max-width: 1300px) { .fgr .fgr-nav [data-fgr-prev] { margin-left: -10px; } .fgr .fgr-nav [data-fgr-next] { margin-right: -10px; } }
@media (max-width: 1024px) { .fgr-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
  .fgr-head { align-items: stretch; }
  .fgr-badge { width: 100%; grid-template-columns: auto 1fr auto; padding: 14px 16px 12px; }
  .fgr-badge-score b { font-size: 26px; }
  .fgr-track { grid-auto-columns: 86%; gap: 16px; padding: 6px 4px 18px; margin: -6px -4px 0; scroll-padding-inline: 4px; }
  .fgr-card { padding: 20px; }
  .fgr-nav { position: static; transform: none; justify-content: center; gap: 12px; margin-top: 10px; }
  .fgr .fgr-nav [data-fgr-prev], .fgr .fgr-nav [data-fgr-next] { margin: 0; }
  .fgr-card:hover { transform: none; }
}
