.cabb-block.brands-archive {
    width: 100%;
}

.cabb-block.brands-archive .brands-heading {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    column-gap: 16px;
}

.cabb-block.brands-archive .brands-heading h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}
@media (min-width: 1024px) {
    .cabb-block.brands-archive .brands-heading h2 {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.cabb-block.brands-archive .brands-heading .brands-page-cnt {
    opacity: .5;
    font-size: .75rem;
    line-height: 1rem;
    bottom: .25rem;
    position: relative;
}

.cabb-block.brands-archive .brands-listing {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: .75rem;
}
@media (min-width: 640px) {
    .cabb-block.brands-archive .brands-listing {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.cabb-block.brands-archive .brands-listing article {
    height: 100%;
}
@media (min-width: 1024px) {
    .cabb-block.brands-archive .brands-listing article:hover .brands-item .brands-item-content .brands-item-stripe {
        margin-bottom: .75rem;
    }
}
.cabb-block.brands-archive .brands-listing article:hover .brands-item .brands-item-content .brands-item-text {
    opacity: 1;
    max-height: 8rem;
}

.cabb-block.brands-archive .brands-listing article .brands-item {
    padding-bottom: 100%;
    background-color: hsla(0, 0%, 100%, .1);
    border-radius: .25rem;
    overflow: hidden;
    position: relative;
}

.cabb-block.brands-archive .brands-listing article .brands-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    vertical-align: middle;
}

.cabb-block.brands-archive .brands-listing article .brands-item .brands-item-content {
    padding: 1.5rem;
    width: 100%;
    z-index: 20;
    bottom: 0;
    left: 0;
    position: absolute;
}
@media (min-width: 768px) {
    .cabb-block.brands-archive .brands-listing article .brands-item .brands-item-content {
        padding: 2rem;
    }
}

.cabb-block.brands-archive .brands-listing article .brands-item .brands-item-content:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 1rem;
    background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
    z-index: -10;
    position: absolute;
    bottom: 0;
    left: 0;
}

.cabb-block.brands-archive .brands-listing article .brands-item .brands-item-content h3 {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-top: 0;
    margin-bottom: .75rem;
}
@media (min-width: 1024px) {
    .cabb-block.brands-archive .brands-listing article .brands-item .brands-item-content h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.cabb-block.brands-archive .brands-listing article .brands-item .brands-item-content .brands-item-stripe {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
    background-color: var(--wp--preset--color--orange);
    border-radius: .375rem;
    width: 3.5rem;
    height: .25rem;
}

.cabb-block.brands-archive .brands-listing article .brands-item .brands-item-content .brands-item-text {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .5s;
    opacity: 0;
    max-height: 0;
}
@media (min-width: 1024px) {
    .cabb-block.brands-archive .brands-listing article .brands-item .brands-item-content .brands-item-text {
        display: block;
    }
}
