.rv-grid {
    columns: 3;
    column-gap: 2rem;
}

@media (max-width: 991px) {
    .rv-grid {
        columns: 2;
    }
}

@media (max-width: 575px) {
    .rv-grid {
        columns: 1;
    }
}

.rv-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 2rem;
    display: inline-block;
    width: 100%;
    transition: transform 0.45s cubic-bezier(.25, .46, .45, .94), box-shadow 0.45s ease;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.rv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

/* Image */
.rv-card__img-wrap {
    position: relative;
    overflow: hidden;
}

.rv-card__img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(.25, .46, .45, .94);
}

.rv-card:hover .rv-card__img-wrap img {
    transform: scale(1.06);
}

.rv-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rv-card:hover .rv-card__img-overlay {
    opacity: 1;
}

.rv-card__img-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: #333;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    z-index: 2;
}

.rv-card__view-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #1a3a42;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
    white-space: nowrap;
    z-index: 2;
}

.rv-card:hover .rv-card__view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.rv-card__view-btn:hover {
    background: #fff;
    color: #397e8f;
}

/* Body */
.rv-card__body {
    padding: 1.25rem 1.5rem;
    position: relative;
}

.rv-card__body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #397e8f, #5ab0c0);
    border-radius: 3px;
}

.rv-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3a42;
    line-height: 1.45;
    margin: 0.75rem 0 0.5rem;
    text-shadow: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rv-card__subtitle {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #888;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rv-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.rv-card__customer {
    font-size: 0.78rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rv-card__customer i {
    color: #397e8f;
    font-size: 0.7rem;
}

.rv-card__arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #397e8f, #2c616f);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.rv-card:hover .rv-card__arrow {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(57, 126, 143, 0.35);
}

.rv-card__rating {
    display: flex;
    gap: 2px;
    margin-bottom: 4px;
}

.rv-card__rating i {
    font-size: 0.7rem;
    color: #FFB800 !important;
}

.rv-card__date {
    font-size: 0.72rem;
    color: #999;
    font-weight: 400;
}
