/* RateBuddy footer carousel. Scoped styles; no Bootstrap/icon dependency. */
.rb-footer-reviews {
  --rb-fr-ink: #193f30;
  --rb-fr-muted: #5c6c63;
  --rb-fr-line: #dce5dc;
  box-sizing: border-box;
  margin: 0;
  padding: 0 clamp(16px, 3vw, 48px);
  color: var(--rb-fr-ink);
  background: linear-gradient(110deg, #edf4e9 0%, #f7f9f4 44%, #f7f9f4 100%);
  border-block: 1px solid var(--rb-fr-line);
  font-family: inherit;
}
.rb-footer-reviews[hidden], .rb-footer-reviews [hidden] { display: none !important; }
.rb-footer-reviews *, .rb-footer-reviews *::before, .rb-footer-reviews *::after { box-sizing: border-box; }
.rb-footer-reviews__inner {
  max-width: 1480px;
  min-height: 142px;
  margin: 0 auto;
  padding: 17px 0;
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr) 32px;
  gap: 22px;
  align-items: center;
}
.rb-footer-reviews__intro { min-width: 0; }
.rb-footer-reviews .rb-footer-reviews__eyebrow {
  margin: 0 0 5px;
  color: #577450;
  font-size: 9px;
  line-height: 1.4;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.rb-footer-reviews h2 { margin: 0; color: var(--rb-fr-ink); font-size: 20px; line-height: 1.25; font-weight: 750; letter-spacing: -.035em; }
.rb-footer-reviews .rb-footer-reviews__selection { margin: 5px 0 9px; color: var(--rb-fr-muted); font-size: 10px; line-height: 1.4; }
.rb-footer-reviews__links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.rb-footer-reviews__links a { color: var(--rb-fr-ink); font-size: 11px; font-weight: 700; line-height: 1.5; text-decoration: underline; text-decoration-color: #9bae98; text-underline-offset: 3px; }
.rb-footer-reviews__links a:first-child { text-decoration: none; }
.rb-footer-reviews__links a:hover { text-decoration: underline; }
.rb-footer-reviews__viewport { min-width: 0; }
.rb-footer-reviews__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 3);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 10px;
}
.rb-footer-reviews__rail::-webkit-scrollbar { display: none; }
.rb-footer-reviews__card {
  min-width: 0;
  height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #e1e8dd;
  border-radius: 10px;
  color: var(--rb-fr-ink);
  text-decoration: none;
  scroll-snap-align: start;
  transition: background-color .18s, border-color .18s;
}
.rb-footer-reviews__card:hover { color: var(--rb-fr-ink); background: #fff; border-color: #a3b99a; text-decoration: none; }
.rb-footer-reviews__rating { display: flex; align-items: center; gap: 7px; min-height: 17px; line-height: 1; }
.rb-footer-reviews__stars { position: relative; display: inline-block; color: #d8ded4; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.rb-footer-reviews__stars::after { content: '★★★★★'; position: absolute; left: 0; top: 0; width: var(--rb-fr-fill, 0%); overflow: hidden; color: #b47b0a; white-space: nowrap; }
.rb-footer-reviews__score { font-size: 11px; font-weight: 750; }
.rb-footer-reviews__verified { margin-left: auto; color: #326044; font-size: 9px; white-space: nowrap; }
.rb-footer-reviews .rb-footer-reviews__quote { margin: 0; color: #32473b; font-size: 12px; line-height: 17px; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rb-footer-reviews__byline { display: flex; align-items: center; gap: 5px; min-width: 0; color: var(--rb-fr-muted); font-size: 10px; line-height: 14px; }
.rb-footer-reviews__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; color: var(--rb-fr-ink); font-weight: 700; }
.rb-footer-reviews__location { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-footer-reviews__edited { font-size: 9px; flex-shrink: 0; }
.rb-footer-reviews__controls { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.rb-footer-reviews__controls button { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: 1px solid #cfdbcb; border-radius: 50%; color: #275239; background: #fff; font-family: Arial, sans-serif; font-size: 23px; line-height: 1; cursor: pointer; }
.rb-footer-reviews__controls button:hover { background: #e5efdf; }
.rb-footer-reviews__controls .rb-footer-reviews__play { font-size: 12px; }
.rb-footer-reviews a:focus-visible, .rb-footer-reviews button:focus-visible, .rb-footer-reviews__rail:focus-visible { outline: 2px solid #206a40; outline-offset: -2px; }
.rb-footer-reviews .rb-footer-reviews__loading { grid-column: 1 / -1; height: 108px; margin: 0; display: flex; align-items: center; color: var(--rb-fr-muted); font-size: 12px; }
.rb-footer-reviews__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1250px) {
  .rb-footer-reviews__rail { grid-auto-columns: calc((100% - 12px) / 2); }
}
@media (max-width: 999px) {
  .rb-footer-reviews__inner { grid-template-columns: minmax(0, 1fr) 32px; gap: 12px; padding-block: 16px; }
  .rb-footer-reviews__intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
  .rb-footer-reviews .rb-footer-reviews__eyebrow { display: none; }
  .rb-footer-reviews h2 { font-size: 18px; }
  .rb-footer-reviews .rb-footer-reviews__selection { margin: 4px 0 0; grid-column: 1; }
  .rb-footer-reviews__links { grid-column: 2; grid-row: 1 / 3; flex-direction: column; gap: 5px; align-items: flex-end; }
}
@media (max-width: 599px) {
  .rb-footer-reviews__rail { grid-auto-columns: 100%; }
  .rb-footer-reviews__inner { column-gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-footer-reviews__card { transition: none; }
}

/* Detailed footer cards; claim-specific presentation remains in its partial. */
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__inner { grid-template-columns: 264px minmax(0, 1fr) 28px; gap: 20px; padding-block: 18px; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__intro { display: grid; gap: 10px; }
.rb-footer-reviews[data-rb-review-layout="footer"] h2 { display: flex; align-items: flex-start; gap: 9px; color: #214d39; font-size: 14px; font-weight: 650; line-height: 20px; letter-spacing: 0; }
.rb-footer-reviews[data-rb-review-layout="footer"] h2 svg { flex: 0 0 20px; color: #387452; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__links { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__links a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 5px 10px; border: 1px solid #c8d9ce; border-radius: 20px; color: #245a3e; background: #fff; font-size: 11px; font-weight: 650; line-height: 20px; text-decoration: none; white-space: nowrap; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__links a:first-child { background: #e8f1e9; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__links a:hover { color: #173e2a; border-color: #8daf9a; background: #e1ece3; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__card { justify-content: center; gap: 8px; padding: 10px 12px; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__avatar { display: inline-flex; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: #286352; background: #deeee5; font-size: 14px; font-weight: 750; line-height: 1; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__avatar--1 { color: #455da1; background: #e4eafb; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__avatar--2 { color: #865527; background: #f8ead9; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__avatar--3 { color: #77557f; background: #f0e5f3; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__avatar--4 { color: #28667a; background: #dff0f5; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__details { flex: 1; min-width: 0; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__identity { display: flex; align-items: center; gap: 4px; min-width: 0; line-height: 17px; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__name { max-width: 65%; color: #243d31; font-size: 12px; font-weight: 700; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__city { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #637168; font-size: 11px; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__verified { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 13px; height: 13px; margin: 0; border-radius: 50%; background: #e0eee5; color: #276545; font-size: 9px; line-height: 1; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__metadata { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 2px; color: #657269; font-size: 10px; line-height: 14px; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__date { white-space: nowrap; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__rating { min-height: 14px; gap: 4px; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__stars { font-size: 11px; letter-spacing: .5px; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__score { color: #5a665f; font-size: 10px; font-weight: 650; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__controls button { width: 28px; height: 28px; border: 0; color: #607962; background: transparent; }
.rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__controls button:hover { color: #285c3f; background: #e2ece1; }
@media (max-width: 999px) {
  .rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__inner { grid-template-columns: minmax(0, 1fr) 28px; gap: 14px 12px; }
  .rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__intro { grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; }
}
@media (max-width: 575.98px) {
  .rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__intro { grid-template-columns: minmax(0, 1fr); }
  .rb-footer-reviews[data-rb-review-layout="footer"] .rb-footer-reviews__links { grid-column: auto; grid-row: auto; align-items: center; }
}
