/* Reviews: tour page (Traveler Reviews) and /reviews/. Markup from includes/review-ui.php. */
.rv-wrap {
    --rv-gold: #C6A43B;
    --rv-gold-dark: #8B6B2D;
    --rv-ink: #1a1a1a;
    --rv-muted: #6b6b6b;
    --rv-line: #eee5d3;
    --rv-cream: #faf6ee;
    font-family: 'Montserrat', sans-serif;
    font-variant-numeric: lining-nums;
}

/* ---- stars ---- */
.rv-stars { display: inline-flex; gap: 2px; color: var(--rv-gold); font-size: 14px; white-space: nowrap; }
.rv-stars .far { color: #d9cfb8; }

/* ---- summary ---- */
.rv-summary {
    display: grid;
    grid-template-columns: 190px 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 26px 28px;
    margin-bottom: 22px;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: 18px;
}
.rv-score { text-align: center; padding-right: 28px; border-right: 1px solid var(--rv-line); }
.rv-score-num { font: 600 58px/1 'Cormorant Garamond', Georgia, serif; color: var(--rv-ink); }
.rv-score-stars { font-size: 17px; margin: 8px 0 6px; }
.rv-score-count { font-size: 12.5px; color: var(--rv-muted); }
.rv-bars { display: grid; gap: 9px; }
.rv-bar { display: grid; grid-template-columns: 38px 1fr 30px; gap: 12px; align-items: center; font-size: 13px; color: var(--rv-muted); }
.rv-bar-label { font-weight: 600; white-space: nowrap; }
.rv-bar-label i { color: var(--rv-gold); font-size: 11px; }
.rv-bar-track { height: 8px; background: #f1ebde; border-radius: 99px; overflow: hidden; }
.rv-bar-fill { display: block; height: 100%; background: linear-gradient(90deg, #d8b84f, var(--rv-gold)); border-radius: 99px; }
.rv-bar-count { text-align: right; }
.rv-cta {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px;
    border: 1.5px solid var(--rv-gold); color: var(--rv-gold-dark); font-weight: 600; font-size: 13.5px;
    text-decoration: none; white-space: nowrap; background: #fff;
}
.rv-cta:hover { background: var(--rv-cream); }

/* ---- cards ---- */
.rv-list { display: grid; gap: 14px; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.rv-card {
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: 16px;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, border-color .2s;
}
.rv-card:hover { border-color: #e2d3ae; box-shadow: 0 10px 28px rgba(60, 45, 10, .07); }
.rv-card-head { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; margin-bottom: 14px; }
.rv-avatar {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, #e9d692, var(--rv-gold)); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .5px;
}
.rv-name { font-weight: 700; font-size: 15px; color: var(--rv-ink); line-height: 1.3; }
.rv-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--rv-muted); margin-top: 2px; }
.rv-verified { color: #1f8a4c; font-weight: 600; }
.rv-verified i { font-size: 11px; }
.rv-verified.rv-paper { color: var(--rv-gold-dark); }
.rv-card-stars { align-self: start; margin-top: 4px; }
.rv-title { font: 600 21px/1.3 'Cormorant Garamond', Georgia, serif; color: var(--rv-ink); margin: 0 0 6px; }
.rv-text { font-size: 14.5px; line-height: 1.75; color: #3d3d3d; }
.rv-text.rv-clamp:not(.rv-open) { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv-more { align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--rv-gold-dark); font-weight: 600; font-size: 13px; cursor: pointer; }
.rv-tour { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rv-line); font-size: 12.5px; color: var(--rv-muted); display: flex; gap: 8px; align-items: baseline; }
.rv-card .rv-text + .rv-tour, .rv-card .rv-more + .rv-tour { margin-top: 16px; }
.rv-tour i { color: var(--rv-gold); }
.rv-tour a { color: var(--rv-gold-dark); font-weight: 600; text-decoration: none; }
.rv-tour a:hover { text-decoration: underline; }

/* ---- empty ---- */
.rv-empty {
    display: flex; gap: 16px; align-items: center; padding: 22px 24px;
    background: var(--rv-cream); border: 1px dashed #e2d3ae; border-radius: 16px;
}
.rv-empty-icon { flex: 0 0 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--rv-gold); font-size: 22px; }
.rv-empty-title { font: 600 22px/1.2 'Cormorant Garamond', Georgia, serif; color: var(--rv-ink); }
.rv-empty p { margin: 4px 0 0; font-size: 14px; color: var(--rv-muted); line-height: 1.6; }

/* ---- pager (tour page) ---- */
.rv-pager { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.rv-pager a, .rv-pager span {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
    border: 1.5px solid var(--rv-line); font-size: 13.5px; font-weight: 600; color: var(--rv-gold-dark); text-decoration: none; background: #fff;
}
.rv-pager span { color: var(--rv-muted); border-color: transparent; background: none; }
.rv-pager a:hover { border-color: var(--rv-gold); }

@media (max-width: 768px) {
    .rv-summary { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; }
    .rv-score { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--rv-line); }
    .rv-cta { justify-content: center; }
    .rv-grid { grid-template-columns: 1fr; }
    .rv-card { padding: 18px 16px; }
    .rv-card-head { grid-template-columns: 40px 1fr; }
    .rv-avatar { width: 40px; height: 40px; font-size: 14px; }
    .rv-card-stars { grid-column: 1 / -1; margin-top: 0; }
    .rv-empty { padding: 18px 16px; }
}

/* ---- write-a-review box on the tour page ---- */
.content-section .review-form {
    margin-top: 22px; padding: 26px 28px; background: #faf6ee; border: 1px solid #eee5d3; border-radius: 18px;
    font-family: 'Montserrat', sans-serif; font-size: 14px;
}
.review-form-title { font: 600 26px/1.2 'Cormorant Garamond', Georgia, serif; color: #1a1a1a; margin: 0 0 10px; }
.content-section .review-form p { line-height: 1.7; }
.content-section .review-form a { color: #8B6B2D; font-weight: 600; }
@media (max-width: 768px) {
    .content-section .review-form { padding: 20px 16px; }
    .review-form-title { font-size: 23px; }
}

/* ---- /reviews/ page ---- */
.rv-section-title { font: 600 30px/1.2 'Cormorant Garamond', Georgia, serif; color: #1a1a1a; margin: 34px 0 16px; }
.rv-section-title i { color: #C6A43B; font-size: 20px; margin-right: 6px; }
.rv-count { margin: 30px 0 14px; font-size: 13.5px; font-weight: 600; color: #6b6b6b; }
.rv-count i { color: #C6A43B; margin-right: 6px; }
.rv-featured .rv-card { border-color: #e6d49e; background: linear-gradient(180deg, #fffdf6, #fff); }
