/* =====================================================
   Vuriloche MPHB Services – v3 – Compact & Clean
   All rules scoped to .vrs-* to avoid any global leaks.
   ===================================================== */

/* Grid */
.vrs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Card */
.vrs-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.vrs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

/* Full-card link */
.vrs-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none !important;
    color: inherit !important;
}

.vrs-card-link:hover,
.vrs-card-link:focus {
    text-decoration: none !important;
    color: inherit !important;
}

/* Image wrapper — forced uniform ratio via padding-top */
.vrs-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 65%; /* overridden by Elementor selector */
    overflow: hidden;
    background: #f3f3f3;
    flex-shrink: 0;
}

.vrs-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.vrs-card:hover .vrs-img {
    transform: scale(1.04);
}

/* Price badge */
.vrs-price {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1a1a1a;
    color: #fff;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    z-index: 2;
}

.vrs-price .mphb-price {
    color: #fff;
}

/* Card body */
.vrs-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
}

.vrs-title {
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.vrs-desc {
    margin: 0 0 14px 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #777;
    flex: 1;
}

/* Button */
.vrs-btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 18px;
    background: #2d2d2d;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px;
    transition: background 0.2s ease;
    text-decoration: none;
}

.vrs-card:hover .vrs-btn {
    background: #111;
}
