/***
=============================================
Brand One
=============================================
***/
.brand-one {
    position: relative;
    display: block;
    background: var(--logistiq-gray-bg);
    padding: 38px 0px;
    z-index: 2;
}

.brand-one__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.brand-one__grid--single {
    grid-template-columns: minmax(0, 220px);
    justify-content: center;
}

.brand-one__single {
    position: relative;
    display: block;
    height: 100%;
}

.brand-one__single-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92px;
    padding: 14px;
    border: 1px solid rgba(var(--logistiq-black-rgb), .06);
    border-radius: 6px;
    background: var(--logistiq-white);
    z-index: 1;
}

.brand-one__single-inner::before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--logistiq-white);
    transform: scaleX(0);
    transition: all 600ms ease 100ms;
    content: "";
    z-index: -1;
}

.brand-one__single:hover .brand-one__single-inner::before {
    transform: scaleY(1);
}

.brand-one__link {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.brand-one__single-inner img {
    display: block;
    width: auto;
    max-width: 140px;
    max-height: 40px;
    object-fit: contain;
    transition: .7s ease;
    transform: scale(1.05);
}

.brand-one__single:hover .brand-one__single-inner img {
    transform: scale(1);
}

.brand-one__carousel.owl-carousel .owl-item img {
    width: auto;
    max-width: 160px;
    max-height: 50px;
    margin: 0 auto;
}

@media (max-width: 575px) {
    .brand-one {
        padding: 32px 0px;
    }

    .brand-one__single-inner {
        height: 84px;
        padding: 12px;
    }

    .brand-one__single-inner img,
    .brand-one__carousel.owl-carousel .owl-item img {
        max-width: 140px;
        max-height: 46px;
    }
}
