/* 1069 refers to the widget ID */

.bg-1069-wrapper {
    background-color: #000; 
    width: 100%;
}

.bg-1069-gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: var(--grid-gap, 60px);
}

.bg-1069-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-sizing: border-box;
    /* No hover, shadows, borders */
}

/* Pattern classes: 25% = 1/4 width, 50% = 2/4 width 
   Calculate width subtracting the gaps. 
   There are 3 items per row, meaning 2 gaps.
*/
.bg-1069-item-narrow {
    width: calc(25% - (var(--grid-gap, 60px) * 2 / 3));
}

.bg-1069-item-wide {
    width: calc(50% - (var(--grid-gap, 60px) * 2 / 3));
}

.bg-1069-image-wrapper {
    width: 100%;
    position: relative;
}

.bg-1069-image {
    width: 100%;
    height: auto; /* Natural aspect ratio */
    display: block;
    /* NO object-fit: cover */
}

.bg-1069-no-image {
    width: 100%;
    aspect-ratio: 16/9; /* Fallback aspect ratio if no image */
    background-color: #222222;
}

.bg-1069-content {
    padding-top: 15px; 
    padding-bottom: 0;
    text-align: left;
}

.bg-1069-title {
    margin: 0;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #ffffff;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
}

/* Responsive - Stack on mobile */
@media (max-width: 767px) {
    .bg-1069-item-narrow,
    .bg-1069-item-wide {
        width: 100%;
    }
}