.flex {
    display: flex;
}

@media (min-width: 992px){
    .flex {
        flex-direction: row;
        gap: 60px;
    }
}

@media (max-width: 991px){
    .flex {
        flex-direction: column;
        gap: 40px;
        .wpb_column.grve-column-1-2 {
            width: 100%;
        }
    }
}

/* FIX caroussel logo */
/* ----------------------------------------------------
   LOGO WALL CONFIGURATION (Slide Safe Engine)
------------------------------------------------------- */
:root {
    --logo-max-height: 100px;  /* Controls row alignment height */
    --logo-max-width: 100%;  /* Maximum allowed width for wide logos */
}

/* 1. DO NOT touch the wrapper widths/transforms so the script slides freely */
.vc-center-carousel .owl-wrapper {
    display: flex !important;
    align-items: center !important; /* Vertically aligns the column blocks */
    flex-wrap: nowrap !important;
}

/* 2. Vertically center the internal slide columns */
.vc-center-carousel .owl-item {
    float: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* 3. Strip layout-specific crop wrappers without altering width macros */
.vc-center-carousel .grve-carousel-item,
.vc-center-carousel .grve-image-hover,
.vc-center-carousel .grve-media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
}

/* 4. Let the images organically compute padding boundaries up to your max limits */
.vc-center-carousel .grve-media img {
    display: block !important;
    
    /* Strict custom bound constraints */
    max-height: var(--logo-max-height) !important;
    max-width: var(--logo-max-width) !important;
    
    /* Forces natural relative sizing inside the column grid */
    width: auto !important; 
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}