// Brand Style One 
.brand-carousel-activation {
    padding: 0 50px;
    @media #{$sm-layout} {
        padding: 0 10px;
    }
    li {
        margin-top: 0;
        margin-bottom: 0;
        a {
            display: block;
            img {
                opacity: 0.8;
                transition: 0.4s;
            }
        }
        &:hover {
            a {
                img {
                    opacity: 1;
                    filter: contrast(0.5);
                }
            }
        }
    }
    &.rainbow-slick-arrow button.slick-arrow {
        width: 50px;
        height: 50px;
    }
    &.rainbow-slick-arrow button.slick-arrow i {
        display: block;
        font-size: 24px;
        color: #fff;
    }
    &.rainbow-slick-arrow button.slick-arrow::before {
        display: none;
    }
}

.rainbow-brand-area{
    .rating-title{
        @media #{$small-mobile} {
            flex-wrap: wrap;
            gap: 20px;
        }
    }
}

.brand-style-1 {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    li {
        flex-basis: 25%;
        border-width: 1px 1px 1px 1px;
        border-style: solid;
        margin: 0px 0px -2px -2px;
        border-color: var(--color-border);
        padding: 40px 0 40px 0;
        text-align: center;

        @media #{$large-mobile} {
            flex-basis: 33.33%;
        }

        @media #{$small-mobile} {
            flex-basis: 50%;
        }

        a {
            display: block;
            img {
                opacity: 0.8;
                transition: 0.4s;
            }
        }

        &:hover {
            a {
                img {
                    opacity: 1;
                    filter: contrast(0.5);
                }
            }
        }
    }
}

// Brand Style Two 
.brand-style-2 {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    @media #{$small-mobile} {
        gap: 30px;
    }
    li {
        flex-basis: 16.666%;
        text-align: center;

        @media #{$md-layout} {
            flex-basis: 25%;
        }

        @media #{$sm-layout} {
            flex-basis: 25%;
        }

        @media #{$large-mobile} {
            flex-basis: 33.33%;
        }

        @media #{$small-mobile} {
            flex-basis: 40%;
            margin: 0;
        }

        a {
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                opacity: 0.6;
                transition: 0.3s;
                max-height: 34px;
            }
        }

        &:hover {
            a {
                img {
                    opacity: 1;
                }
            }
        }
    }
    &.slider-brand{
        position: relative;
        &::before{
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 200px;
            background: linear-gradient(90deg, #0E0C15 0.09%, rgba(14, 12, 21, 0.00) 58.8%);
            z-index: 1;
        }
        &::after{
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            width: 200px;
            background: linear-gradient(270deg, #0E0C15 0%, rgba(14, 12, 21, 0.00) 45.61%);
            z-index: 1;
        }
        .single-slider{
            position: relative;
            z-index: 5;
        }
    }

    &.variation-2 {
        li {
            flex-basis: 25%;
            text-align: center;

            @media #{$sm-layout} {
                flex-basis: 33.33%;
            }

            @media #{$small-mobile} {
                flex-basis: 50%;
            }
        }
    }
}


.advance-brand {
    @extend %liststyle;
}


.rainbow-brand-area{
    position: relative;
    .bg-shape-left{
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: -3;
    }
}


