/* "Čo hovoria hasiči" - the reviews strip of the new web (public/_reviews.html).
   Two copies of the list side by side move left by exactly one copy, so the
   loop has no seam. Hover, focus or the button pause it; with
   prefers-reduced-motion it is a still row scrolled by hand. Colours come from
   web.css tokens, so light and dark follow the web's switch. */
.rce { --rv-star: #B86E00; --rv-star-off: #D5DAE1; }
html[data-web-theme="dark"] .rce { --rv-star: #FBBF24; --rv-star-off: #3A4658; }
@media (prefers-color-scheme: dark) {
  html:not([data-web-theme="light"]) .rce { --rv-star: #FBBF24; --rv-star-off: #3A4658; }
}

.rce .rv-sec { padding-bottom: 0; overflow: hidden; }
.rce .rv-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin-bottom: 40px; }
.rce .rv-head .lead { max-width: 52ch; margin: 0; }

.rce .rv-pause {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink);
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; cursor: pointer; min-height: 40px;
}
.rce .rv-pause:hover { border-color: var(--ink); }
.rce .rv-pause .rv-pause-off { display: none; }
.rce .rv-paused .rv-pause .rv-pause-on { display: none; }
.rce .rv-paused .rv-pause .rv-pause-off { display: inline; }

.rce .rv-viewport {
  overflow: hidden; padding-block: 8px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.rce .rv-viewport:focus-visible { outline: 3px solid var(--red-text); outline-offset: -3px; border-radius: 12px; }
.rce .rv-track { display: flex; width: max-content; animation: rv-marquee var(--rv-dur, 60s) linear infinite; }
.rce .rv-viewport:hover .rv-track,
.rce .rv-viewport:focus-within .rv-track,
.rce .rv-paused .rv-track { animation-play-state: paused; }
@keyframes rv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rce .rv-list { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0 20px 0 0; }
.rce .rv-card {
  flex: 0 0 auto; width: min(340px, 78vw); box-sizing: border-box;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 24px;
}
.rce .rv-stars { font-size: 20px; letter-spacing: 2px; line-height: 1; }
.rce .rv-stars .on { color: var(--rv-star); }
.rce .rv-stars .off { color: var(--rv-star-off); }
.rce .rv-text { margin: 0; flex: 1; }
.rce .rv-text p {
  margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.rce .rv-who { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); }
.rce .rv-zbor { color: var(--ink); font-size: 15px; }
.rce .rv-flag { font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .rce .rv-track { animation: none; width: auto; }
  .rce .rv-list[aria-hidden="true"] { display: none; }
  .rce .rv-viewport {
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none;
    padding-inline: max(16px, calc((100vw - 1240px) / 2));
  }
  .rce .rv-card { scroll-snap-align: start; }
}

/* --- Recenzie, the page (/recenzie, public/web/reviews.html; 2026-11-12) ---
   The average and the spread of the stars, the filter chips and a grid of
   cards readable whole (no line clamp). The strip's star colours. */
.rce .rv-head .rv-all { font-weight: 700; color: var(--red-text); display: inline-flex; align-items: center; gap: 6px; }
.rce .rv-head .rv-all:hover { text-decoration: underline; }
.rce .rv-head .rv-all .ic { width: 16px; height: 16px; }

.rce .rvp-hero .lead { max-width: 46ch; }
.rce .rvp-sum {
  margin-top: 48px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 64px; align-items: center;
  padding: 32px 0; border-block: 1px solid var(--line);
}
.rce .rvp-avg { display: grid; grid-template-columns: auto; justify-items: start; gap: 6px; }
.rce .rvp-avg-n { font-size: clamp(3.4rem, 7vw, 4.8rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rce .rvp-avg-stars { position: relative; display: inline-block; font-size: 22px; letter-spacing: 3px; line-height: 1; white-space: nowrap; }
.rce .rvp-avg-off { color: var(--rv-star-off); }
.rce .rvp-avg-on { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--rv-star); }
.rce .rvp-avg-count { font-size: 15px; color: var(--muted); font-weight: 600; }
.rce .rvp-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-width: 520px; width: 100%; }
.rce .rvp-bars li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr) 2.4em; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rce .rvp-bar-n { font-weight: 700; color: var(--ink); white-space: nowrap; }
.rce .rvp-bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.rce .rvp-bar i { display: block; height: 100%; border-radius: inherit; background: var(--rv-star); }
.rce .rvp-bar-k { text-align: right; }

.rce .rvp-filters { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 96px; }
.rce .rvp-frow { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.rce .rvp-flabel { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-width: 7.5em; }
.rce .rvp-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.rce .rvp-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap;
}
.rce .rvp-chip small { font-size: 13px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.rce .rvp-chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.rce .rvp-chip[aria-current="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.rce .rvp-chip[aria-current="true"] small { color: inherit; opacity: .75; }

.rce .rvp-list {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; align-items: start;
}
.rce .rvp-card {
  display: flex; flex-direction: column; gap: 16px; min-width: 0; scroll-margin-top: 96px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}
.rce .rvp-card:target { box-shadow: 0 0 0 2px var(--red-text); }
.rce .rvp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rce .rvp-card-top time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rce .rvp-text { margin: 0; }
.rce .rvp-text p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.rce .rvp-who { margin: 0; display: flex; align-items: flex-start; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.rce .rvp-flag { font-size: 22px; line-height: 1.1; flex: none; }
.rce .rvp-who-text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); min-width: 0; }
.rce .rvp-who-text b { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }

.rce .rvp-more { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rce .rvp-more .ic { width: 18px; height: 18px; }
.rce .rvp-empty { margin-top: 40px; padding: 40px 0; border-block: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.rce .rvp-empty p { font-size: 18px; }
.rce .rvp-note { margin: 40px 0 0; max-width: 64ch; }

@media (max-width: 820px) {
  .rce .rvp-sum { grid-template-columns: minmax(0, 1fr); margin-top: 32px; padding: 24px 0; gap: 20px; }
  .rce .rvp-avg { grid-template-columns: auto auto; align-items: end; column-gap: 16px; }
  .rce .rvp-avg-n { grid-row: span 2; }
  .rce .rvp-flabel { min-width: 0; width: 100%; }
  .rce .rvp-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px; scrollbar-width: none; }
  .rce .rvp-chips::-webkit-scrollbar { display: none; }
  .rce .rvp-card { padding: 20px; border-radius: 16px; }
  .rce .rvp-list { gap: 14px; }
}
