.bg-0d1ae385-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

.bg-0d1ae385-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* default */
    cursor: pointer;
    background: #f0f0f0;
}

.bg-0d1ae385-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.bg-0d1ae385-item:hover img {
    transform: scale(1.05);
}

.bg-0d1ae385-item-0 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    aspect-ratio: 4 / 3;
    cursor: default;
}

.bg-0d1ae385-item-1 { grid-column: 3 / 4; grid-row: 1 / 2; aspect-ratio: 4 / 3; }
.bg-0d1ae385-item-2 { grid-column: 4 / 5; grid-row: 1 / 2; aspect-ratio: 4 / 3; }
.bg-0d1ae385-item-3 { grid-column: 3 / 4; grid-row: 2 / 3; aspect-ratio: 4 / 3; }
.bg-0d1ae385-item-4 { grid-column: 4 / 5; grid-row: 2 / 3; aspect-ratio: 4 / 3; }

/* Overlay styles */
.bg-0d1ae385-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    z-index: 2;
    transition: background-color 0.3s;
}

.bg-0d1ae385-item:hover .bg-0d1ae385-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Lightbox styles */
.bg-0d1ae385-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bg-0d1ae385-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.bg-0d1ae385-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
}

.bg-0d1ae385-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    user-select: none;
    padding: 20px;
    z-index: 2;
}

.bg-0d1ae385-lightbox-prev { left: 10px; }
.bg-0d1ae385-lightbox-next { right: 10px; }

.bg-0d1ae385-lightbox-content {
    max-width: 90%;
    max-height: 90vh;
}

.bg-0d1ae385-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 767px) {
    .bg-0d1ae385-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
    }
    
    .bg-0d1ae385-item-0 {
        grid-column: 1 / -1;
        grid-row: 1;
        aspect-ratio: 16 / 9;
    }
    
    .bg-0d1ae385-item-1,
    .bg-0d1ae385-item-2,
    .bg-0d1ae385-item-3,
    .bg-0d1ae385-item-4 {
        grid-row: 2;
        grid-column: span 1;
        aspect-ratio: 1;
    }
    
    .bg-0d1ae385-overlay {
        font-size: 1.2rem;
    }
}