/* ==========================================================================
   Trademark Fortify — Reviews module styles
   Scoped to the reviews listing page (reviews.php)
   ========================================================================== */

/* ---------- Rating summary panel ---------- */
.rv-summary {
    background: #fff;
    border: 1px solid #E3E7EB;
    border-radius: 20px;
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(0, 260px) 1fr;
    gap: 40px;
    align-items: center;
}
.rv-summary-score {
    text-align: center;
}
.rv-summary-score .num {
    font-size: 56px;
    font-weight: 700;
    color: #101828;
    line-height: 1;
}
.rv-summary-score .out {
    font-size: 15px;
    color: #98A2B3;
    margin-top: 6px;
}
.rv-summary-score .count {
    font-size: 14px;
    color: #475467;
    margin-top: 10px;
}
.rv-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rv-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #475467;
}
.rv-bar-row .lbl {
    width: 44px;
    white-space: nowrap;
}
.rv-bar-track {
    flex: 1;
    height: 8px;
    background: #F2F4F7;
    border-radius: 999px;
    overflow: hidden;
}
.rv-bar-fill {
    height: 100%;
    background: #6200E0;
    border-radius: 999px;
}
.rv-bar-row .val {
    width: 28px;
    text-align: right;
    color: #98A2B3;
}

/* ---------- Star rating ---------- */
.rv-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #F5A623;
    font-size: 15px;
    line-height: 1;
}
.rv-stars .empty {
    color: #D8DCE2;
}

/* ---------- Filter pills ---------- */
.rv-filter-btn {
    border: 1px solid #E3E7EB;
    color: #475467;
    background: #fff;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.rv-filter-btn:hover {
    border-color: #6200E0;
    color: #6200E0;
}
.rv-filter-btn.active {
    background: #6200E0;
    border-color: #6200E0;
    color: #fff;
}

/* ---------- Review cards ---------- */
.rv-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
}
@media (min-width: 640px) {
    .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .rv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.rv-card {
    background: #fff;
    border: 1px solid #E3E7EB;
    border-radius: 20px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.10);
}
.rv-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.rv-quote-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 0.8;
    color: #E9D7FE;
    height: 24px;
}
.rv-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #101828;
    line-height: 1.4;
}
.rv-card-text {
    font-size: 15px;
    color: #475467;
    line-height: 1.65;
    flex: 1;
}
.rv-service-pill {
    display: inline-block;
    align-self: flex-start;
    background: #F4EBFF;
    color: #6200E0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
}
.rv-card-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #F2F4F7;
}
.rv-card-person img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    background: #F2F4F7;
    flex-shrink: 0;
}
.rv-card-person .name {
    font-size: 15px;
    font-weight: 600;
    color: #101828;
    line-height: 1.3;
}
.rv-card-person .meta {
    font-size: 13px;
    color: #98A2B3;
    line-height: 1.4;
}
.rv-card-date {
    font-size: 12px;
    color: #98A2B3;
}

/* ---------- Trust strip ---------- */
.rv-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    justify-content: center;
    align-items: center;
}
.rv-trust-item {
    text-align: center;
}
.rv-trust-item .big {
    font-size: 30px;
    font-weight: 700;
    color: #101828;
}
.rv-trust-item .sub {
    font-size: 13px;
    color: #667085;
    margin-top: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .rv-summary {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    .rv-summary-score .num { font-size: 44px; }
}
