.bento-gallery-container {
    display: flex;
    gap: 10px;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.bento-gallery-left {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.bento-gallery-right {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.bento-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.bento-gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.bento-gallery-container img:hover {
    transform: scale(1.05);
}

.bento-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let clicks pass to the image wrapper */
}

.bento-more-btn {
    background: white;
    color: black;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    pointer-events: auto; /* Make button clickable */
}

/* Lightbox styles */
.bento-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

.bento-lightbox-prev,
.bento-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
}

.bento-lightbox-prev { left: 20px; }
.bento-lightbox-next { right: 20px; }

.bento-lightbox-content {
    max-width: 90%;
    max-height: 90vh;
}

.bento-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

@media (max-width: 767px) {
    .bento-gallery-container {
        flex-direction: column;
        aspect-ratio: auto;
    }
    .bento-gallery-left {
        aspect-ratio: 4 / 3;
    }
    .bento-gallery-right {
        aspect-ratio: 4 / 3;
    }
}