/* Collectie (from BRM): the grid comes from .wzr-grid (blocks/wzr-grid), the cards from wzr-card. */
.wzr-collection > * { min-width : 0; }

/* "Filteren op tags": the tag buttons above the grid (grey; selected = the card tag's blue). */
.wzr-collection-filtered {
    display        : flex;
    flex-direction : column;
    gap            : var(--wzr-gap-l);
}

.wzr-collection__filter {
    display   : flex;
    flex-wrap : wrap;
    gap       : var(--wzr-gap-3xs);
}

.wzr-collection__chip {
    padding       : 0 var(--wzr-tag-padding-x);
    border        : 0;
    border-radius : var(--wzr-radius-s);
    background    : var(--wzr-filter-bg);
    color         : var(--wzr-filter-color);
    font          : inherit;
    font-size     : var(--wzr-text-tag);
    line-height   : var(--wzr-text-tag-lh);
    font-weight   : var(--wzr-weight-body);
    cursor        : pointer;
    transition    : background-color var(--wzr-duration-fast) var(--wzr-ease-out), color var(--wzr-duration-fast) var(--wzr-ease-out);
}

.wzr-collection__chip[aria-pressed="true"] {
    background : var(--wzr-tag-bg);
    color      : var(--wzr-tag-color);
}

.wzr-collection .wzr-card[hidden] { display : none; }

/* In the editor the buttons must not filter (and the toolbar stays reachable). */
.editor-styles-wrapper .wzr-collection__chip { pointer-events : none; }
