.bv-listing-gallery {
    width: 100%;
    margin-bottom: 2rem;
}

.bv-gallery-grid {
    display: grid;
    grid-template-areas: 
        "main small1 small2"
        "main small3 small4";
    grid-template-columns: 556px 274px 274px;  /* Ajustamos el ancho de la primera columna */
    grid-template-rows: 212px 212px;
    gap: 8px;
    justify-content: center;
}


.bv-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px; /* Añadimos curvatura */
    cursor: pointer;
}

.bv-gallery-item img,
.bv-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Imagen principal */
.bv-gallery-main {
    grid-area: main;
    height: 432px;  /* 212px + 8px + 212px = altura total de las dos pequeñas + gap */
}

.bv-gallery-secondary:nth-child(2) { grid-area: small1; }
.bv-gallery-secondary:nth-child(3) { grid-area: small2; }
.bv-gallery-secondary:nth-child(4) { grid-area: small3; }
.bv-gallery-secondary:nth-child(5) { grid-area: small4; }

.bv-gallery-secondary {
    height: 212px;
}

/* Controlar cuántas imágenes se muestran */
.bv-gallery-item:nth-child(n+6) {
    display: none;  /* Ocultar después de la quinta imagen */
}

/* Botón Ver Galería */
.bv-gallery-view-all {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(197, 179, 88, 0.95);
    color: white;
    padding: 0.5rem 1rem; /* Reducido de 0.75rem 1.5rem */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem; /* Reducido de 0.95rem */
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.bv-gallery-view-all:hover {
    background: rgba(197, 179, 88, 1);
    transform: translateY(-2px);
}

.bv-gallery-count {
    margin-left: 0.5rem;
    font-weight: bold;
}

/* Efecto hover en imágenes */
.bv-gallery-item:hover img,
.bv-gallery-item:hover video {
    transform: scale(1.05);
}