/* Static recreation of the review widget shown in the original WordPress section. */
.mb-section--reviews h2 { font-weight: 400; }
.mb-section--reviews .mb-review-box {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 352px;
  padding: 32px 28px;
  font-family: Arial, Helvetica, sans-serif;
}

.mb-review-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
  color: #111;
}

.mb-review-summary > strong {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.mb-review-summary__stars {
  position: relative;
  margin: 5px 0 3px;
  color: #d7d7d7;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -3px;
  white-space: nowrap;
}

.mb-review-summary__stars span:last-child {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #ffb000;
}
.mb-review-summary__fill--0 { width: 0%; }
.mb-review-summary__fill--1 { width: 10%; }
.mb-review-summary__fill--2 { width: 20%; }
.mb-review-summary__fill--3 { width: 30%; }
.mb-review-summary__fill--4 { width: 40%; }
.mb-review-summary__fill--5 { width: 50%; }
.mb-review-summary__fill--6 { width: 60%; }
.mb-review-summary__fill--7 { width: 70%; }
.mb-review-summary__fill--8 { width: 80%; }
.mb-review-summary__fill--9 { width: 90%; }
.mb-review-summary__fill--10 { width: 100%; }

.mb-section--reviews .mb-review-summary p {
  margin: 0 0 2px;
  color: #111;
  font-size: 16px;
  line-height: 1.35;
}

.mb-review-summary a {
  display: inline-block;
  padding: 2px 4px;
  text-decoration: none;
}

.mb-google-mark {
  font-size: 37px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2px;
}
.mb-google-mark span:nth-child(1), .mb-google-mark span:nth-child(4) { color: #4285f4; }
.mb-google-mark span:nth-child(2), .mb-google-mark span:nth-child(6) { color: #ea4335; }
.mb-google-mark span:nth-child(3) { color: #fbbc05; }
.mb-google-mark span:nth-child(5) { color: #34a853; }

.mb-review-widget { min-width: 0; }
.mb-review-carousel { position: relative; min-width: 0; }
.mb-review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  align-items: start;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.mb-review-track::-webkit-scrollbar { display: none; }
.mb-review-track:focus-visible { outline: 3px solid #d68c52; outline-offset: 3px; }

.mb-review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 234px;
  padding: 19px 20px 17px;
  border-radius: 12px;
  background: #f4f4f4;
  color: #111;
  scroll-snap-align: start;
}
.mb-review-card__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mb-review-card__head img { display: block; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.mb-review-card__person { min-width: 0; flex: 1; }
.mb-review-card__person strong { display: block; overflow: hidden; color: #111; font-size: 16px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.mb-review-card__person time { display: block; margin-top: 2px; color: #777; font-size: 14px; line-height: 1.2; }
.mb-google-g { align-self: flex-start; background: conic-gradient(#4285f4 0 26%, #34a853 26% 48%, #fbbc05 48% 61%, #ea4335 61% 76%, #4285f4 76%); color: transparent; font-size: 21px; font-weight: 800; line-height: 1; -webkit-background-clip: text; background-clip: text; }
.mb-review-card__rating { display: flex; align-items: center; gap: 7px; margin: 9px 0 6px; line-height: 1; }
.mb-review-card__stars { color: #ffb000; font-size: 21px; letter-spacing: -2px; white-space: nowrap; }
.mb-review-check { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #4586ea; color: white; font-size: 11px; font-weight: 700; }
.mb-section--reviews .mb-review-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #111;
  font-size: 16px;
  line-height: 1.34;
  white-space: pre-line;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.mb-review-card__more { margin-top: auto; padding-top: 8px; }
.mb-review-card__more summary { width: max-content; color: #777; font-size: 14px; cursor: pointer; list-style: none; }
.mb-review-card__more summary::-webkit-details-marker { display: none; }
.mb-review-card__more summary:hover { text-decoration: underline; }
.mb-section--reviews .mb-review-card__more p { margin: 10px 0 0; color: #111; font-size: 15px; line-height: 1.45; white-space: pre-line; }

.mb-review-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px #0002;
  color: #555;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}
.mb-review-arrow[hidden] { display: none; }
.mb-review-arrow--previous { left: -16px; }
.mb-review-arrow--next { right: -16px; }
.mb-review-arrow:focus-visible { outline: 3px solid #d68c52; outline-offset: 3px; }
.mb-review-widget__footer { display: flex; justify-content: flex-end; padding: 12px 12px 0; }
.mb-review-verified { display: inline-block; padding: 5px 13px; border-radius: 2px; background: #087958; color: white; font-size: 12px; font-weight: 700; line-height: 1.25; }

@media (max-width: 1100px) {
  .mb-section--reviews .mb-review-box { grid-template-columns: 220px minmax(0, 1fr); }
  .mb-review-track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 700px) {
  .mb-section--reviews .mb-review-box { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 18px; }
  .mb-review-summary > strong { font-size: 22px; }
  .mb-review-track { grid-auto-columns: minmax(220px, 80%); }
  .mb-review-card { min-height: 232px; }
  .mb-review-arrow--previous { left: -11px; }
  .mb-review-arrow--next { right: -11px; }
  .mb-review-widget__footer { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .mb-review-track { scroll-behavior: auto; } }
