.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(5px, calc(0.3125rem + ((1vw - 7.67px) * 1.2005)), 15px);
    margin: 40px 0;
}

.brand-grid .no-image,
.brand-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: scale-down;
    background-color: #fff;
}

.brand-grid .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: rgb(240, 240, 240, .5);
    font-size: 18px;
    opacity: .6;
    text-transform: uppercase;
    text-align: center;
}

.brand-grid a {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    background-color: #fff;
    padding: 15px;
}

.brand-grid a:hover {
    box-shadow: #00000010 0px 5px 10px 0px;
}

.brand-grid h3 {
    font-size: 14px;
    text-align: center;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 1200px) {
    .brand-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 580px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}