/* Відгуки з Google (головна) */
.rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 50px; flex-wrap: wrap; margin-bottom: 32px; }
.rv-score { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border: 1px solid var(--line, #dedfd4); border-radius: 20px; background: #fbfaf5; text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.rv-score:hover { transform: translateY(-2px); border-color: var(--green, #338309); }
.rv-num { font: 600 38px/1 Unbounded, sans-serif; letter-spacing: -0.04em; }
.rv-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.3; color: var(--muted, #74776b); }
.rv-stars { position: relative; display: inline-block; font-size: 18px; letter-spacing: 2px; line-height: 1; color: #f5a800; }
.rv-stars::before { content: "★★★★★"; }
.rv-wrap { position: relative; }
.rv-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 18px; margin: 0; list-style: none; scrollbar-width: thin; }
.rv-card { flex: 0 0 min(360px, 84%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 22px; border: 1px solid var(--line, #dedfd4); border-radius: 22px; background: #fbfaf5; }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-ava { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font: 600 17px/1 Montserrat, sans-serif; }
.rv-name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.rv-card .rv-stars { font-size: 15px; color: #f5a800; }
.rv-card .rv-stars::before { content: "★★★★★"; }
.rv-text { margin: 0; font-size: 14.5px; line-height: 1.65; }
.rv-arrow { position: absolute; top: calc(50% - 20px); display: none; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--ink, #20251c); font-size: 20px; cursor: pointer; box-shadow: 0 8px 22px rgb(32 37 28 / 22%); transition: background .2s, color .2s, opacity .2s; }
.rv-arrow:hover { background: var(--green, #338309); color: #fff; }
@media (hover: hover) and (min-width: 801px) { .rv-arrow { display: grid; } }
.rv-arrow[disabled] { opacity: 0; pointer-events: none; }
.rv-prev { left: -14px; } .rv-next { right: -14px; }
.rv-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted, #74776b); }
.rv-note a { color: var(--green-text, var(--green, #338309)); }
@media (max-width: 800px) { .rv-arrow { display: none; } .rv-card { padding: 20px 18px; } .rv-num { font-size: 32px; } }
html[data-theme="dark"] .rv-score, html[data-theme="dark"] .rv-card { background: #1c1c1c; border-color: #2f302d; }
html[data-theme="dark"] .rv-stars { color: #f5b82e; }
html[data-theme="dark"] .rv-arrow { background: #1e211c; color: #ededed; }
html[data-theme="dark"] .rv-arrow:hover { background: var(--green, #338309); color: #fff; }

.rv-actions { margin-top: 18px; }
.rv-actions .button { display: inline-flex; }
@media (max-width: 800px) { .rv-actions .button { width: 100%; justify-content: center; } }

/* Без видимої смуги прокрутки у стрічках (відгуки, роботи) */
.rv-track, .wk-track { scrollbar-width: none; -ms-overflow-style: none; }
.rv-track::-webkit-scrollbar, .wk-track::-webkit-scrollbar { display: none; }

/* Середня оцінка 4,3: чотири повні зірки і п'ята заповнена на 30% */
.rv-stars--avg { display: inline-flex; gap: 3px; letter-spacing: 0; }
.rv-stars--avg::before { content: none; }
.rv-stars--avg i { font-style: normal; line-height: 1; }
.rv-stars--avg i::before { content: "★"; background: linear-gradient(90deg, #f5a800 var(--f, 100%), #d9d6c8 var(--f, 100%)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.rv-stars--avg i:nth-child(5) { --f: 30%; }
html[data-theme="dark"] .rv-stars--avg i::before { background: linear-gradient(90deg, #f5b82e var(--f, 100%), #45453f var(--f, 100%)); -webkit-background-clip: text; background-clip: text; }
