.mz-brand-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    color: var(--mz-text);
}

.mz-brand-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--mz-border);
    border-radius: 10px;
    background: var(--mz-surface);
}

.mz-brand-header {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-bottom: 1px solid #e8ebf0;
}

.mz-brand-logo {
    display: grid;
    min-height: 48px;
    place-items: center;
    padding: 6px;
    border-radius: 7px;
    background: #f2f4f7;
}

.mz-brand-logo img {
    display: block;
    width: 100%;
    height: 36px;
    object-fit: contain;
    filter: grayscale(1);
    mix-blend-mode: multiply;
}

.mz-brand-logo img[src$="/hofer.webp"] {
    filter: grayscale(1) brightness(.72);
}

.mz-brand-header h3 {
    margin: 0;
    overflow-wrap: anywhere;
    color: inherit;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 750;
}

.mz-brand-header p {
    margin: 3px 0 0;
    color: var(--mz-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.mz-brand-sections {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 10px 13px 12px;
}

.mz-brand-sections a {
    display: grid;
    grid-template-columns: auto minmax(10px, 1fr) auto;
    align-items: baseline;
    gap: 5px;
    padding-block: 3px;
    color: #39455d;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

.mz-brand-section-name {
    overflow-wrap: anywhere;
}

.mz-brand-leader {
    border-bottom: 1px dotted #b3bece;
    align-self: center;
}

.mz-brand-quantity {
    color: var(--mz-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mz-brand-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 13px;
    border-top: 1px solid #e8ebf0;
    color: var(--mz-link);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.mz-brand-all:hover,
.mz-brand-sections a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .mz-brand-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .mz-brand-bento { grid-template-columns: minmax(0, 1fr); }
}
