/**
 * Bricks Static Filter — styles
 *
 * Cards hidden by the filter fade out softly.
 * The no-results message uses a neutral style that can be overridden in Bricks.
 */

/* Hidden state — use opacity + scale so CSS Grid reflows naturally */
[data-bsf-post-id].bsf-hidden {
  display: none !important;
}

/* Optional: smooth transition before hiding (progressive enhancement).
   Uncomment if you prefer a fade rather than instant hide. */
/*
[data-bsf-post-id] {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
[data-bsf-post-id].bsf-hidden {
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
}
*/

/* Filter options with zero matching results */
label.bsf-option-empty {
  opacity: 0.4;
  pointer-events: none; /* prevents selecting an option that would return nothing */
}

/* No-results message */
.bsf-no-results {
  width: 100%;
  padding: 2rem 0;
  text-align: center;
  color: currentColor;
  opacity: 0.6;
  font-style: italic;
}
