/* Review and testimonial lists: a plain grid for a few cards, a swipe slider for many. */
.rv-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.rv-head { display: flex; align-items: center; gap: 10px; }
.rv-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #e3edf6; color: #2E5984; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.rv-who { min-width: 0; }
.rv-card .rv-name { margin: 0; font-size: 15px; font-weight: 600; color: #2E5984; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-card .rv-date { margin: 0; font-size: 12px; color: #6A6A6A; }
.rv-stars { margin-left: auto; color: #FFC016; font-size: 13px; white-space: nowrap; }
.rv-stars .rv-off { color: #cfd6dd; }
.rv-card .rv-text { margin: 0; font-size: 14px; line-height: 1.55; color: #555; }
.rv-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rv-tag { font-size: 11px; background: #e6f7ef; color: #0f6e56; border-radius: 4px; padding: 2px 7px; }
.reviewbox.rv-card .rv-foot a { font-size: 13px; font-weight: 600; color: #2E5984; display: inline; text-align: left; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 400px)); gap: 20px; }
.rv-slider { position: relative; padding: 0 22px; }
.rv-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-grid .reviewbox, .rv-track .reviewbox { margin: 0; }
.rv-track .reviewbox { flex: 0 0 min(400px, 88%); scroll-snap-align: start; }
.rv-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #c9d2db; background: #fff; color: #2E5984; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rv-nav:disabled { opacity: 0.35; cursor: default; }
.rv-prev { left: -8px; }
.rv-next { right: -8px; }
.rv-slider.rv-fits .rv-nav { display: none; }

/* Full review popup */
.rv-modal .modal-content { border: 0; border-radius: 12px; overflow: hidden; }
.rv-modal .modal-header { background: #64ddac; border: 0; padding: 14px 20px; }
.rv-modal .modal-title { font-size: 18px; color: #12372a; }
.rv-modal .modal-body { padding: 20px; }
.rv-modal .modal-footer { border-top: 1px solid #eef1f4; padding: 12px 20px; }
.rv-m-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #eef1f4; }
.rv-modal .rv-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #e3edf6; color: #2E5984; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
.rv-m-who { min-width: 0; flex: 1 1 140px; }
.rv-m-name { margin: 0; font-size: 16px; font-weight: 600; color: #2E5984; line-height: 1.3; }
.rv-m-date { margin: 0; font-size: 13px; color: #6A6A6A; }
.rv-m-rate { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.rv-m-rate .rv-stars { margin: 0; font-size: 15px; }
.rv-m-rate strong { font-size: 15px; color: #2E5984; }
.rv-m-text { margin: 0; font-size: 15px; line-height: 1.7; color: #444; white-space: pre-line; text-align: left; }
@media (max-width: 575.98px) { .rv-m-rate { margin-left: 0; flex-basis: 100%; } }
