.eventFilter {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s ease;
  margin: 0 calc(var(--spacing-sitepadding-inline)*-1) 0;
  transition: margin .5s ease;

  ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    align-items: flex-start;
  }

  button {
    margin-bottom: 0;
  }

  &[data-show=true] {
    grid-template-rows: 1fr;
    margin: var(--spacing-s) calc(var(--spacing-sitepadding-inline)*-1) 0;

    .filterContent {
      padding: var(--spacing-s) var(--spacing-sitepadding-inline);
      background-color: var(--color-background-secondary);
      visibility: visible;
      opacity: 1;
    }
  }
}

.filterContent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: flex-start;
  gap: var(--spacing-gap-column);
  background-color: var(--color-background);
  padding: 0 var(--spacing-sitepadding-inline);
  min-height: 0;
  visibility: hidden;
  opacity: 0;
  transition: visibility .5s ease, padding .5s ease, opacity .5s ease, background-color .5s ease;
}

.filterItem {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-s);
}

.filterHeading {
  width: 100%;
  font-weight: 600;
}

.eventFilterExplained {
  padding: var(--spacing-sitepadding-block) 0;
}

@media (max-width: 1000px) {
  .filterContent {
    grid-template-columns: 1fr;
  }
}