.ahura-brands2-element .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.ahura-brands2-element .slide-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Opt-in brand name under the logo: the logo sits in its own box, the name below it. */
.ahura-brands2-element .slide-item.has-name > a,
.ahura-brands2-element .slide-item.has-name > .brand-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ahura-brands2-element .slide-item.has-name .brand-logo {
    display: grid;
    place-items: center;
    overflow: hidden;
    box-sizing: border-box;
    transition: box-shadow .2s;
}

.ahura-brands2-element .slide-item.has-name .brand-logo img {
    max-width: 100%;
    max-height: 100%;
}

.ahura-brands2-element .slide-item.has-name .brand-name {
    display: block;
    margin-top: 6px;
    line-height: 1.5;
    transition: color .2s;
}
