.brands-row {
    margin-left: -7.5px;
    margin-right: -7.5px;
}

.brands-row > [class*="col"] {
    padding-left: 7.5px;
    padding-right: 7.5px;
    margin-bottom: 15px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #cccccc;
    border-radius: 5px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: var(--white-color);
}

.brand-card:hover {
    color: inherit;
    text-decoration: none;
}

.brand-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 20px;
    background: var(--secondary-color-alt13, #F8F8F8);
}

.brand-card-logo img {
    max-width: 140px;
    max-height: 90px;
    object-fit: contain;
}

.brand-card-body {
    padding: 12px 14px 16px;
}

.brand-card-name {
    margin: 0 0 6px;
    font-size: 1.167rem;
    font-weight: 600;
    color: var(--color-heading);
}

.brand-card-description {
    margin: 0 0 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--secondary-color-alt1);
}

.brand-card-count {
    font-size: 0.9rem;
    color: var(--secondary-color-alt6);
}

.brand-page-heading {
    gap: 16px;
}

.brand-page-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 8px;
    background: #fff;
}

@media only screen and (max-width: 768px) {
    .brand-card-logo {
        min-height: 120px;
    }

    .brand-page-logo {
        width: 56px;
        height: 56px;
    }
}
