/* About - Services Pinned Image: logos/images fully visible, centered in frame */

.mxd-pinned__img-wrap {
    overflow: hidden;
    box-sizing: border-box;
}

.mxd-pinned__img-list,
.mxd-pinned__img-item {
    min-width: 0;
    min-height: 0;
}

.mxd-pinned__img-item {
    overflow: hidden;
}

/* Holder constrains wide/tall logos inside rounded frame */
.mxd-pinned__logo-holder {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    box-sizing: border-box;
}

.mxd-pinned__logo-holder img,
.mxd-pinned__img {
    display: block;
    flex: 0 1 auto;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center;
    border-radius: 0 !important;
    margin: 0 auto;
}

@media only screen and (min-width: 1200px) {
    .mxd-pinned__logo-holder {
        padding: 3rem;
    }
}

/* Mobile/tablet only — desktop right column = text only (template hides .mxd-pinned__img-mobile) */
@media only screen and (max-width: 1199px) {
    .mxd-pinned__img-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden;
        box-sizing: border-box;
        padding: 0 !important;
    }

    .mxd-pinned__img-mobile .mxd-pinned__logo-holder {
        padding: 2rem;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .mxd-pinned__img-mobile .mxd-pinned__logo-holder {
        padding: 2.5rem;
    }
}

@media only screen and (min-width: 1200px) {
    .mxd-pinned__img-mobile {
        display: none !important;
    }
}
