/* Fair Deal Accordions - Reviews page and review strips (21 Nov 2026).
   Loaded only by reviews.html and the pages that carry a review strip.
   Revert: remove the css/reviews.css link and the "FDA reviews strip" block from those pages. */

/* Quote card (shared) */
.rv-quote { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--link);
  border-radius: 6px; padding: 16px 18px 14px 18px; position: relative; }
.rv-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.rv-text::before { content: "\201C"; font-family: "Playfair Display", Georgia, serif; font-style: italic;
  font-size: 34px; line-height: 0; color: var(--link); vertical-align: -0.38em; margin-right: 4px; }
.rv-by { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Reviews page */
.rv-intro { margin: 4px 0 20px; }
.rv-stats { display: grid; grid-template-columns: repeat(3, 1fr) 2fr; gap: 14px; align-items: stretch; margin-bottom: 8px; }
.rv-stat { background: var(--link); color: #fff; border-radius: 6px; padding: 16px 12px; text-align: center;
  display: flex; flex-direction: column; justify-content: center; }
.rv-num { font-size: 34px; font-weight: 700; line-height: 1.1; }
.rv-lbl { font-size: 13px; line-height: 1.35; margin-top: 6px; }
.rv-dsr { background: var(--bg-footer); border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; }
.rv-dsr-head { font-size: 15px; line-height: 20px; margin: 0 0 6px; }
.rv-dsr-list { list-style: none; margin: 0; padding: 0; }
.rv-dsr-list li { display: grid; grid-template-columns: 1fr 90px 44px; gap: 10px; align-items: center; font-size: 14px; line-height: 26px; }
.rv-dsr-bar { display: block; height: 8px; background: var(--field); border-radius: 4px; overflow: hidden; }
.rv-dsr-bar span { display: block; height: 100%; background: var(--accent); }
.rv-dsr-val { font-weight: 700; text-align: right; }
.rv-asof { font-size: 13px; color: var(--muted); margin: 0 0 26px; }

.rv-carousel { margin: 0 0 18px; }
.rv-carousel-head { margin-bottom: 12px; }
.rv-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
/* JS on: one review at a time */
.rv-carousel.is-js .rv-track { display: block; position: relative; }
.rv-carousel.is-js .rv-slide { display: none; }
.rv-carousel.is-js .rv-slide.is-on { display: block; animation: rv-fade .45s ease; }
.rv-carousel.is-js .rv-quote { padding: 26px 30px 22px; min-height: 190px; display: flex; flex-direction: column; justify-content: center; }
.rv-carousel.is-js .rv-text { font-size: 18px; line-height: 1.6; }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rv-carousel.is-js .rv-slide.is-on { animation: none; } }
.rv-controls { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; flex-wrap: wrap; }
.rv-controls[hidden] { display: none; }
.rv-btn { font: inherit; font-size: 15px; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 6px;
  border: 1px solid var(--link); background: var(--link); color: #fff; cursor: pointer; }
.rv-btn.rv-prev, .rv-btn.rv-next { font-size: 26px; line-height: 1; }
.rv-btn:hover { background: var(--link-hover); }
.rv-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.rv-count { font-size: 13px; color: var(--muted); margin-left: 6px; }
.rv-note { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.rv-ebay { margin: 0 0 8px; }
.rv-ebay-btn { display: inline-block; background: var(--link); color: #fff; text-decoration: none; border-radius: 6px;
  padding: 12px 20px; font-weight: 700; }
.rv-ebay-btn:hover, .rv-ebay-btn:focus { background: var(--link-hover); color: #fff; }

/* Strip on listing pages (sits between the listings and the footer) */
.rv-strip { padding: 22px 40px 30px; border-top: 1px solid var(--line); background: var(--bg-page); }
.rv-strip-head { font-size: 18px; line-height: 24px; margin: 0 0 12px; }
.rv-strip-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rv-strip .rv-text { font-size: 14px; }
.rv-strip-more { margin: 12px 0 0; font-size: 14px; }
.rv-strip-more a { text-decoration: none; }
.rv-strip-more .sep { color: var(--muted); margin: 0 8px; }

@media (max-width: 900px) {
  .rv-stats { grid-template-columns: repeat(3, 1fr); }
  .rv-dsr { grid-column: 1 / -1; }
  .rv-strip-list { grid-template-columns: 1fr; }
  .rv-strip-list > :nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  .rv-strip { padding-left: 18px; padding-right: 18px; }
  .rv-strip-list > :nth-child(2) { display: none; }
  .rv-track { grid-template-columns: 1fr; }
  .rv-num { font-size: 26px; }
  .rv-lbl { font-size: 12px; }
  .rv-stat { padding: 12px 6px; }
  .rv-stats { gap: 8px; }
  .rv-carousel.is-js .rv-quote { padding: 20px 18px 16px; min-height: 240px; }
  .rv-carousel.is-js .rv-text { font-size: 16px; }
  .rv-dsr-list li { grid-template-columns: 1fr 60px 40px; font-size: 13px; }
}
