/* =====================================================================
   NYVAZ home page — reviews ("From Our Customers")
   Markup: resources/views/front/index.blade.php. Loaded only by the home page; scoped to .rv.
   Average rating beside the heading, then the latest reviews as plain cards:
   a 3-column grid on desktop, 2 on tablet, a swipeable row on phones.
   ===================================================================== */

.rv { background: #FFFFFF; color: #2B2B2B; }

.rv-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.rv-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    color: #2B2B2B;
}
.rv-summary strong { font-size: 22px; font-weight: 600; line-height: 1; }
.rv-count { color: #5E5E5E; }
.rv-count::before { content: '·'; margin-right: 10px; color: #BDBDBD; }

.rv-stars { margin: 0; font-size: 14px; letter-spacing: .12em; color: #2B2B2B; }
.rv-stars span { color: #D6D6D6; }

.rv-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.rv-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 26px 22px;
    background: #FFFFFF;
    border: 1px solid #ECECEC;
}
.rv-text {
    flex: 1;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #2B2B2B;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rv-who {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid #F0F0F0;
}
.rv-who cite { font-style: normal; font-size: 14px; font-weight: 600; }
.rv-who time { font-size: 12px; color: #5E5E5E; white-space: nowrap; }

@media (max-width: 1023px) {
    .rv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones: one card at a time, swipe for more */
@media (max-width: 767px) {
    .rv-head { margin-bottom: 24px; }
    .rv-list {
        display: flex;
        gap: 12px;
        margin: 0 calc(-1 * var(--gutter, 16px));
        padding: 0 var(--gutter, 16px) 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter, 16px);
        scrollbar-width: none;
    }
    .rv-list::-webkit-scrollbar { display: none; }
    .rv-card { flex: 0 0 84%; scroll-snap-align: start; padding: 22px 20px 18px; }
}
