/* ===== Блок «Отзывы»  www.sarnicobuskerfestival.it (Generic_3_Light) =====
   Цвета берутся из переменных темы сайта; второе значение в var()  запасной цвет этой темы. */
.rv { padding: 26px 0 34px; border-top: 1px solid var(--line, #e6e8ec); }
.rv .rv-title { margin: 0 0 16px; font-family: var(--h, 'Lato', system-ui, sans-serif); font-size: clamp(21px, 2.4vw, 28px); font-weight: 900; letter-spacing: -0.02em; color: var(--text, #14161a); }
.rv .rv-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 26px; }
.rv .rv-card { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 16px 18px; background: var(--card, transparent); border: 1px solid var(--line, #e6e8ec); border-radius: var(--r, 12px); }
.rv .rv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv .rv-stars { --rv-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
            --rv-fill: calc(var(--rating, 5) / 5 * 100%); display: inline-block; flex: none; width: 100px; height: 18px;
            background: linear-gradient(90deg, var(--gold, #b58a00) var(--rv-fill), var(--line, #e6e8ec) var(--rv-fill));
            -webkit-mask: var(--rv-star) 0 0 / 20px 18px repeat-x; mask: var(--rv-star) 0 0 / 20px 18px repeat-x; }
.rv .rv-date { font-size: 12.5px; color: var(--faint, #8b919e); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rv .rv-text { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text, #14161a); }
.rv .rv-author { display: flex; align-items: center; gap: 11px; padding-top: 12px; border-top: 1px solid var(--line, #e6e8ec); }
.rv .rv-ava { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--accent-bg, #fdf1f2); border: 1px solid var(--accent-line, #f3d2d5); color: var(--accent, #d61f2b); font-family: var(--h, 'Lato', system-ui, sans-serif); font-size: 16px; font-weight: 900; }
.rv .rv-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.rv .rv-name { font-family: var(--h, 'Lato', system-ui, sans-serif); font-size: 15px; font-weight: 800; color: var(--text, #14161a); }
.rv .rv-meta { font-size: 12.5px; color: var(--muted, #5b6270); }
@media (max-width: 768px) {
  .rv { padding: 22px 0 28px; }
  .rv .rv-title { font-size: 21px; margin-bottom: 14px; }
  .rv .rv-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px;
             overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
             scrollbar-width: none; padding-bottom: 2px; }
  .rv .rv-list::-webkit-scrollbar { display: none; }
  .rv .rv-card { scroll-snap-align: start; padding: 16px; }
}

/* CMS integration: keep review content within the surrounding FAQ/article column. */
.rv { min-width: 0; }
.rv .rv-list, .rv .rv-card { min-width: 0; }
.rv .rv-top { flex-wrap: wrap; }
.rv .rv-text, .rv .rv-name, .rv .rv-meta { overflow-wrap: anywhere; }
.rv .rv-text { white-space: pre-line; }
.rv .rv-text p { margin: 0 0 .75em; }
.rv .rv-text p:last-child { margin-bottom: 0; }
.rv .rv-author { margin: 0; }
.rv .rv-ava { overflow: hidden; }
.rv img.rv-ava { display: block; object-fit: cover; }
.rv .rv-list:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
