.lesser_heading {
    font-size: 18px;
    margin: 0 auto;
    display: block;
    text-align: center;
    font-weight: bold;
}

.logo_name {
    text-align: center;
    font-size: 32px;
    line-height: 36px;
    margin: 24px 0;
    font-weight: bold;
}

.logo_items {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

.logo_item {
    margin: 12px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

/* Width classes (controlled by ACF size) */
.forty {
    width: 40%;
}
.thirty {
    width: 30%;
}
.twentyfive {
    width: 25%;
}

/* Logo container */
.logo_image {
    overflow: hidden;
    margin: 0 auto;
    background: #fff;
    border-radius: 6px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    width: 320px;   
    height: 200px;  
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo_items .logo_image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
    background: none;
    padding: 20px;
    margin: 0 auto;
}

/* Responsive tweaks */
@media screen and (max-width: 1024px) { 
    .logo_item {
        flex: 0 0 50% !important;
        margin-bottom: 36px;
    }

    .logo_items {
        margin: 48px 24px;
    }
}

@media screen and (max-width: 600px) { 
    .logo_item {
        display: block;
        width: 100%;
        margin: 12px 0 !important;
    }

    .logo_image {
        width: 100%;
        height: auto;
    }

    .forty, .thirty, .twentyfive {
        width: 100%;
    }

    .logo_items {
        margin: 0;
    }
}
