.bbo-reviews {
  padding: clamp(48px, 6vw, 88px) var(--ac-gutter);
  border-block: 1px solid var(--ac-rule);
  background: #eeeae4;
  color: var(--ac-brown);
}

.bbo-reviews__inner {
  max-width: 1200px;
  margin-inline: auto;
}

.bbo-reviews__title {
  margin: 0 0 clamp(32px, 4vw, 55px);
  color: inherit;
  font: 400 clamp(36px, 4vw, 58px)/1.1 var(--bbo-display);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 24;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-align: center;
}

.bbo-reviews__list {
  --bbo-review-count: 3;
  --bbo-review-gap: clamp(24px, 3.7vw, 54px);
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--bbo-review-count) - 1) * var(--bbo-review-gap)) / var(--bbo-review-count));
  gap: var(--bbo-review-gap);
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  list-style: none;
}

.bbo-reviews__list[data-enhanced] {
  scrollbar-width: none;
}

.bbo-reviews__list[data-enhanced]::-webkit-scrollbar {
  display: none;
}

.bbo-reviews__item {
  min-width: 0;
  padding-top: 19px;
  border-top: 1px solid var(--ac-rule);
  overflow-wrap: anywhere;
  scroll-snap-align: start;
}

.bbo-reviews__quote,
.bbo-reviews__quote blockquote,
.bbo-reviews__quote p {
  margin: 0;
}

.bbo-reviews__quote blockquote {
  padding: 0;
  border: 0;
  color: var(--bbo-muted);
  font: 400 16px/1.65 var(--bbo-body);
}

.bbo-reviews__quote p + p {
  margin-top: .85em;
}

.bbo-reviews__rating {
  display: block;
  margin-bottom: 13px;
  color: var(--ac-brown);
  font: 400 15px/1.3 Arial, sans-serif;
  letter-spacing: .14em;
}

.bbo-reviews__quote figcaption {
  margin-top: 14px;
  color: var(--ac-brown);
  font: 700 14px/1.45 var(--bbo-body);
}

.bbo-reviews__navigation:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: clamp(26px, 3.4vw, 44px);
}

body .bbo-reviews__navigation button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ac-rule);
  border-radius: 0;
  background: transparent;
  color: var(--ac-brown);
  font: 600 13px/1.2 var(--bbo-body);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

body .bbo-reviews__navigation button:hover {
  border-color: var(--ac-brown);
  background: var(--ac-brown);
  color: var(--ac-paper);
}

.bbo-reviews__navigation button:focus-visible,
.bbo-reviews__list:focus-visible {
  outline: 2px solid var(--ac-brown);
  outline-offset: 3px;
}

.bbo-reviews__navigation button span {
  font: 400 20px/1 Arial, sans-serif;
}

.bbo-reviews__position {
  min-width: 46px;
  font: 600 13px/1.4 var(--bbo-body);
  text-align: center;
}

@media (max-width: 960px) {
  .bbo-reviews__list { --bbo-review-count: 2; }
}

@media (max-width: 620px) {
  .bbo-reviews__list { --bbo-review-count: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body .bbo-reviews__navigation button { transition: none; }
}
