.google-reviews-widget {
  display: block;
  margin: 12px 0 0;
  max-width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.3;
  color: #333;
}

.google-reviews-widget__link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

a.google-reviews-widget__link:hover,
a.google-reviews-widget__link:focus {
  text-decoration: none;
  color: inherit;
}

.google-reviews-widget__stars {
  display: inline-block;
  margin-right: 6px;
  color: #fbbc04;
  letter-spacing: 1px;
  font-size: 16px;
  vertical-align: middle;
}

.google-reviews-widget__rating {
  display: inline-block;
  margin-right: 6px;
  font-weight: 700;
  vertical-align: middle;
}

.google-reviews-widget__count,
.google-reviews-widget__source {
  display: inline-block;
  color: #666;
  vertical-align: middle;
}

.google-reviews-widget__source {
  margin-left: 6px;
}

a.google-reviews-widget__link:hover .google-reviews-widget__source {
  text-decoration: underline;
}

.google-reviews-widget__reviews {
  display: block;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  max-width: 360px;
}

.google-reviews-widget__review {
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #fafafa;
}

.google-reviews-widget__review:last-child {
  margin-bottom: 0;
}

.google-reviews-widget__review-author {
  font-weight: 700;
  color: #333;
}

.google-reviews-widget__review-meta {
  margin: 4px 0 6px;
  color: #666;
}

.google-reviews-widget__reviews .google-reviews-widget__stars {
  font-size: 13px;
  margin-right: 8px;
}

.google-reviews-widget__review-time {
  display: inline-block;
  vertical-align: middle;
}

.google-reviews-widget__review-text {
  margin: 0;
  color: #333;
  font-weight: 400;
  line-height: 1.45;
  word-wrap: break-word;
}

.google-reviews-widget__more {
  margin-left: 4px;
  color: #1451ac;
  text-decoration: none;
  white-space: nowrap;
}

.google-reviews-widget__more:hover,
.google-reviews-widget__more:focus {
  text-decoration: underline;
}

/* ---- "cards" style (carousel) ---- */

.google-reviews-cards {
  margin: 30px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  color: #333;
  text-align: center;
}

h2.google-reviews-cards__title {
  margin: 0 0 18px;
  padding-bottom: 14px;
  font-size: 34px;
  font-weight: 400;
  font-style: normal;
  color: #3c3c3c;
  position: relative;
}

.google-reviews-cards__title:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 180px;
  height: 1px;
  margin-left: -90px;
  background: #bdbdbd;
}

.google-reviews-cards__row {
  display: block;
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 34px;
}

.google-reviews-cards__viewport {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 10px;
  text-align: left;
  scrollbar-width: thin;
  scrollbar-color: #cfcfcf transparent;
}

.google-reviews-cards__viewport::-webkit-scrollbar {
  height: 5px;
}

.google-reviews-cards__viewport::-webkit-scrollbar-track {
  background: transparent;
}

.google-reviews-cards__viewport::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 3px;
}

.google-reviews-cards__viewport::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* auto margins centre the row when it fits, without breaking scrolling */
.google-reviews-cards__viewport:before,
.google-reviews-cards__viewport:after {
  content: "";
  margin: auto;
}

.google-reviews-cards__summary,
.google-reviews-cards__card {
  flex: 0 0 auto;
  width: 172px;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

.google-reviews-cards__summary {
  width: 140px;
}

.google-reviews-cards__summary {
  text-align: center;
}

.google-reviews-cards__score {
  font-size: 30px;
  line-height: 1.2;
  color: #555;
}

.google-reviews-cards__big-star {
  color: #f4881f;
  font-size: 40px;
  line-height: 1.1;
}

.google-reviews-cards__summary-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: #666;
  text-decoration: none;
}

.google-reviews-cards__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.google-reviews-cards__avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.google-reviews-cards__avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a73e8;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.google-reviews-cards__author {
  font-size: 12px;
  font-weight: 400;
  color: #1a73e8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.google-reviews-cards__stars {
  color: #f4881f;
  font-size: 13px;
  letter-spacing: 1px;
}

.google-reviews-cards__time {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: #888;
}

.google-reviews-cards__text {
  margin: 6px 0 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.google-reviews-cards__link {
  font-size: 11px;
  font-weight: 400;
  color: #1a73e8;
  text-decoration: none;
}

.google-reviews-cards__link:hover,
.google-reviews-cards__link:focus,
.google-reviews-cards__summary-link:hover,
.google-reviews-cards__summary-link:focus {
  text-decoration: underline;
}

.google-reviews-cards__nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9a9a9a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.google-reviews-cards.is-ready .google-reviews-cards__nav {
  display: block;
}

.google-reviews-cards__nav--prev {
  left: 0;
}

.google-reviews-cards__nav--next {
  right: 0;
}

.google-reviews-cards__nav:hover {
  color: #555;
}

.google-reviews-cards__nav[disabled] {
  opacity: 0.25;
  cursor: default;
}

/* full-width horizontal band wrapper */

.google-reviews-band {
  margin: 40px 0;
  padding: 10px 0;
}

/* edge-to-edge even when placed inside a centred container */
.google-reviews-band--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

@media (max-width: 767px) {
  .google-reviews-cards__title {
    font-size: 26px;
  }

  .google-reviews-cards__row {
    padding: 0 22px;
  }

  .google-reviews-cards__summary,
  .google-reviews-cards__card {
    width: 158px;
  }
}
