/* Animate the actual content height so mobile rows are never cut off. */
html body.projects-page #r-main #filterPanel,
html body.projects-page #r-main #filterPanel.collapsed,
html body.projects-page #r-main #filterPanel:not(.collapsed) {
  display:block!important;
  box-sizing:border-box!important;
  padding:0!important;max-height:none!important;
  height:var(--filter-open-height,auto)!important;
  overflow:hidden!important;
  opacity:1!important;
  transition:height .34s cubic-bezier(.22,1,.36,1),opacity .24s ease!important;
}
html body.projects-page #r-main #filterPanel.collapsed {
  height:0!important;opacity:0!important;pointer-events:none!important;
}
#filterPanel > .filter-panel-content {
  display:grid;grid-template-columns:inherit;gap:inherit;
  box-sizing:border-box;padding:22px;min-width:0;
  transform:translateY(0);opacity:1;
  transition:transform .34s cubic-bezier(.22,1,.36,1),opacity .24s ease;
}
#filterPanel.collapsed > .filter-panel-content {transform:translateY(-8px);opacity:0;}
@media(prefers-reduced-motion:reduce) {
  html body.projects-page #r-main #filterPanel,
  html body.projects-page #r-main #filterPanel.collapsed,
  html body.projects-page #r-main #filterPanel:not(.collapsed),
  #filterPanel > .filter-panel-content {transition:none!important;}
}
