/*============================================================================================
   Start Bento Grid css
==============================================================================================*/
.bento-grid.style-3 .bento-grid-banner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 30vw 25vw; /* Changed from fixed px to responsive vw */
    gap: 12px;
}

/* FIX: Force the grid items to respect the row heights and not expand */
.bento-grid.style-3 .bento-grid-banner > div {
    min-height: 0; 
    overflow: hidden;
}

/* Top Row: 1 span | 2 span */
.bento-grid.style-3 .bento-item-1 {
    grid-column: 1 / 2; 
    grid-row: 1 / 2;
}
.bento-grid.style-3 .bento-item-2 {
    grid-column: 2 / 4; 
    grid-row: 1 / 2;
}

/* Bottom Row: 1 span | 1 span | 1 span */
.bento-grid.style-3 .bento-item-3 {
    grid-column: 1 / 2; 
    grid-row: 2 / 3;
}
.bento-grid.style-3 .bento-item-4 {
    grid-column: 2 / 3; 
    grid-row: 2 / 3;
}
.bento-grid.style-3 .bento-item-5 {
    grid-column: 3 / 4; 
    grid-row: 2 / 3;
}

.bento-grid.style-3 .single-bento-grid {
    overflow: hidden;
    border-radius: 4px;
    display: block;
    width: 100%;
    height: 100%;
}
.bento-grid.style-3 .single-bento-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space and crops perfectly */
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
}




/*============================================================================================
   End Bento Grid css
==============================================================================================*/