/* gen6-reviews-carousel.css: the reviews carousel (template-parts/gen6-reviews-carousel.php), the same component on the home,
   /about/, /sell/ and /buy/. Spec: substrate/projects/milner_team/website/REVIEWS_CAROUSEL_SPEC_20261202.md. Deck look: the
   band ground and the eyebrow, H2 and lede come from css/gen6-deck.css; this sheet only adds the rating, sources, tabs, slides
   and nav. 2026-12-02 F4 (taste review T1 P1 2): one big centred 5.0 replaces the three bordered source boxes; the sources are
   one quiet line of text links; one slide shows at a time (no peek of the next quote or its quote mark).
   Tokens only, no new hex, no !important, no gold (stars are NAVY on the light grounds this part allows), no boxes inside
   boxes: the slide is the band, hairlines separate. Printed by inc/gen6-polish-1201.php after the deck sheets. */

/* ---------- head: eyebrow, H2, one big centred rating, then the sources as one quiet line of links ---------- */
.gen6 .g6rvc { overflow: hidden; }
.gen6 .g6rvc-head { text-align: center; }
.gen6 .g6rvc-head h2.g6-band-h2 { margin-inline: auto; } /* (0,3,1): the deck H2 rule sets margin 0 at the same weight, earlier */
.gen6 .g6rvc-head .g6-band-lede { margin-inline: auto; }
.gen6 .g6rvc-score { display: grid; justify-items: center; gap: 16px; margin: clamp(18px, 2vw, 28px) 0 0; }
.gen6 .g6rvc-big {
  margin: 0; font: 700 clamp(76px, 6.6vw, 96px)/1 var(--g6-display); letter-spacing: -.01em;
  color: var(--g6-navy); font-variant-numeric: lining-nums tabular-nums;
}
.gen6 .g6rvc-stars { color: var(--g6-navy); letter-spacing: 2px; font-family: var(--g6-ui); }
.gen6 .g6rvc-stars--big { font-size: 26px; line-height: 1; letter-spacing: 6px; margin-right: -6px; }
.gen6 .g6rvc-score-line { margin: 0; max-width: 64ch; font: 500 clamp(16px, 1.2vw, 18px)/1.5 var(--g6-ui); color: var(--g6-mute); }
.gen6 .g6rvc-sources { display: flex; flex-wrap: wrap; justify-content: center; margin: 14px 0 0; padding: 0; list-style: none; }
.gen6 .g6rvc-sources > li { margin: 0; padding: 0 18px; }
.gen6 .g6rvc-sources > li + li { border-left: 1px solid var(--g6-hair); }
.gen6 .g6rvc-sources a {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; min-height: 44px;
  font: 500 14px/1.35 var(--g6-ui); color: var(--g6-mute); text-decoration: none; font-variant-numeric: tabular-nums;
}
.gen6 .g6rvc-sources a > b {
  font-weight: 700; color: var(--g6-navy);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.gen6 .g6rvc-sources a > span[aria-hidden] { white-space: pre; }
.gen6 .g6rvc-sources a:hover > b { text-decoration-thickness: 2px; }
.gen6 .g6rvc-sources a:focus-visible { outline: 2px solid var(--g6-navy); outline-offset: 3px; border-radius: 4px; }

/* ---------- tabs: All / Sellers / Buyers (shown by the script; with JS off the first tab's list is all there is) ---------- */
.gen6 .g6rvc-tabs { display: flex; justify-content: center; gap: 4px; margin: clamp(32px, 4vw, 48px) 0 0; border-bottom: 1px solid var(--g6-hair); }
.gen6 .g6rvc-tabs[hidden] { display: none; }
.gen6 .g6rvc-tabs > button {
  position: relative; min-height: 44px; min-width: 44px; margin: 0 0 -1px; padding: 0 18px;
  border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer;
  font: 700 16px/1 var(--g6-ui); color: var(--g6-mute);
}
.gen6 .g6rvc-tabs > button[aria-selected="true"] { color: var(--g6-navy); border-bottom-color: var(--g6-navy); }
.gen6 .g6rvc-tabs > button:hover { color: var(--g6-navy); }
.gen6 .g6rvc-tabs > button:focus-visible { outline: 2px solid var(--g6-navy); outline-offset: -2px; border-radius: 6px 6px 0 0; }

/* ---------- the slides: one large review at a time (no peek: the next quote and its mark never show at rest) ---------- */
.gen6 .g6rvc-viewport { margin-top: clamp(28px, 3.4vw, 44px); }
.gen6 .g6rvc-track {
  position: relative; display: flex; column-gap: 48px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gen6 .g6rvc-track::-webkit-scrollbar { display: none; }
.gen6 .g6rvc-track:focus-visible { outline: 2px solid var(--g6-navy); outline-offset: 4px; border-radius: 4px; }
.gen6 .g6rvc-slide {
  flex: 0 0 100%; box-sizing: border-box; margin: 0; padding: 0;
  scroll-snap-align: start;
}
.gen6 .g6rvc-slide[hidden] { display: none; }
/* desktop: the quote mark, the quote (about 60 characters a line) and the credit column on a hairline */
.gen6 .g6rvc-review {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(220px, 300px); grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 4vw, 56px); margin: 0;
}
.gen6 .g6rvc-review::before {
  content: "\201C"; content: "\201C" / ""; grid-column: 1; grid-row: 1 / span 2;
  font: 700 128px/.78 var(--g6-display); color: var(--g6-pale);
}
.gen6 .g6rvc-quote {
  grid-column: 2; grid-row: 1; margin: 0; max-width: 60ch;
  font: italic 500 clamp(22px, 2.1vw, 30px)/1.38 var(--g6-display); color: var(--g6-navy);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden;
}
.gen6 .g6rvc-quote p { margin: 0 0 .45em; font: inherit; color: inherit; }
.gen6 .g6rvc-quote p:last-child { margin-bottom: 0; }
.gen6 .g6rvc-slide.is-open .g6rvc-quote { display: block; -webkit-line-clamp: unset; overflow: visible; }
.gen6 .g6rvc-more {
  grid-column: 2; grid-row: 2; align-self: start; justify-self: start; min-height: 44px; margin: 6px 0 0; padding: 0; border: 0; background: none; cursor: pointer;
  font: 700 15px/1.3 var(--g6-ui); color: var(--g6-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.gen6 .g6rvc-more[hidden] { display: none; }
.gen6 .g6rvc-more:focus-visible { outline: 2px solid var(--g6-navy); outline-offset: 3px; }
.gen6 .g6rvc-who {
  grid-column: 3; grid-row: 1 / span 2; align-self: start; display: grid; gap: 6px;
  margin: 6px 0 0; padding: 4px 0 4px 28px; border-left: 1px solid var(--g6-hair);
}
.gen6 .g6rvc-name { font: 700 17px/1.35 var(--g6-ui); color: var(--g6-text); }
.gen6 .g6rvc-meta { font: 700 13px/1.45 var(--g6-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--g6-mute); }
.gen6 .g6rvc-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.gen6 .g6rvc-rate .g6rvc-stars { font-size: 18px; }
.gen6 .g6rvc-rate a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 600 15px/1.3 var(--g6-ui); color: var(--g6-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.gen6 .g6rvc-rate a:focus-visible { outline: 2px solid var(--g6-navy); outline-offset: 3px; }

/* ---------- nav: prev, a segmented bar, "3 / 12", next, then Pause (the deck's slide footer) ---------- */
.gen6 .g6rvc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: clamp(24px, 3vw, 36px); padding-left: calc(76px + clamp(28px, 4vw, 56px)); }
.gen6 .g6rvc:not(.is-js) .g6rvc-nav { display: none; }
.gen6 .g6rvc-arrow {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--g6-hair); background: var(--g6-white); color: var(--g6-navy);
  transition: border-color var(--g6-motion), background-color var(--g6-motion);
}
.gen6 .g6rvc-arrow:hover { border-color: var(--g6-navy); }
.gen6 .g6rvc-arrow:focus-visible, .gen6 .g6rvc-play:focus-visible { outline: 2px solid var(--g6-navy); outline-offset: 3px; }
.gen6 .g6rvc-bar { display: flex; gap: 4px; width: min(260px, 30vw); }
.gen6 .g6rvc-bar > i { flex: 1; height: 3px; border-radius: 3px; background: var(--g6-hair); }
.gen6 .g6rvc-bar > i.is-on { background: var(--g6-navy); }
.gen6 .g6rvc-count { min-width: 4.2em; font: 700 14px/1 var(--g6-ui); color: var(--g6-mute); font-variant-numeric: tabular-nums; }
.gen6 .g6rvc-play {
  min-height: 44px; margin-left: 8px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--g6-hair); background: var(--g6-white); font: 700 14px/1 var(--g6-ui); color: var(--g6-navy);
}
.gen6 .g6rvc-play[hidden] { display: none; }
.gen6 .g6rvc-play .g6rvc-play-on, .gen6 .g6rvc-play.is-paused .g6rvc-play-off { display: none; }
.gen6 .g6rvc-play.is-paused .g6rvc-play-on { display: inline; }

/* ---------- phones: one full-width slide with a small peek; controls under the slide ---------- */
@media (min-width: 761px) and (max-width: 1100px) {
  .gen6 .g6rvc-review { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: none; }
  .gen6 .g6rvc-review::before { grid-row: 1 / span 3; }
  .gen6 .g6rvc-quote, .gen6 .g6rvc-more, .gen6 .g6rvc-who { grid-column: 2; grid-row: auto; }
  .gen6 .g6rvc-who { margin-top: 18px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--g6-hair); }
  .gen6 .g6rvc-nav { padding-left: 64px; }
}
@media (max-width: 760px) {
  /* phones: the sources stack, one link a line, centred under the rating */
  .gen6 .g6rvc-big { font-size: 76px; }
  .gen6 .g6rvc-stars--big { font-size: 22px; letter-spacing: 5px; margin-right: -5px; }
  .gen6 .g6rvc-sources { flex-direction: column; align-items: center; margin-top: 8px; }
  .gen6 .g6rvc-sources > li { padding: 0; }
  .gen6 .g6rvc-sources > li + li { border-left: 0; }
  .gen6 .g6rvc-tabs > button { flex: 1 1 0; padding: 0 8px; }
  .gen6 .g6rvc-track { column-gap: 24px; }
  .gen6 .g6rvc-review { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .gen6 .g6rvc-review::before { grid-column: 1; grid-row: auto; font-size: 88px; line-height: .7; height: 40px; }
  .gen6 .g6rvc-quote, .gen6 .g6rvc-more, .gen6 .g6rvc-who { grid-column: 1; grid-row: auto; }
  .gen6 .g6rvc-quote { font-size: 22px; -webkit-line-clamp: 9; }
  .gen6 .g6rvc-who { margin-top: 18px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--g6-hair); }
  /* controls stay clear of the chat button in the bottom right corner: the bar on its own row, arrows and count centred */
  .gen6 .g6rvc-nav { justify-content: center; padding-left: 0; }
  .gen6 .g6rvc-bar { flex: 1 1 100%; width: auto; order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .gen6 .g6rvc-arrow { transition: none; }
}
