/* Media Partners / Clients Logos Section Styles */
.media-partners-section {
    background: #fff;
    padding: 40px 0;
}

/* Normalize all logos in owl-carousel clients section */
section.clients .clients-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 120px !important;
    height: 80px !important;
    margin: 0 auto !important;
}

section.clients .clients-logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

section.clients .clients-logo img {
    width: auto !important;
    max-width: 110px !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Keep carousel inside the theme container width */
.media-partners-section .container {
    display: block;
}

/* Owl carousel should span the container */
.media-partners-section .media-partners-carousel {
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
}

/* Each logo is a 95x95 square */
.media-partners-section .clients-logo {
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.media-partners-section .clients-logo a {
    display: flex;
    width: 95px;
    height: 95px;
    align-items: center;
    justify-content: center;
}

.media-partners-section .clients-logo img {
    width: 95px;
    height: 95px;
    display: block;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .media-partners-section {
        padding: 40px 0;
    }

    .media-partners-section .media-partners-carousel {
        max-width: 100%;
    }
}
