/**
 * Program filter – mobile fixes (experimental overlay)
 * Safe to remove from live: delete this file and unenqueue in functions.php.
 */
@media screen and (max-width: 1024px) {
  .filter__options {
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .filter__options.active {
    pointer-events: auto;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
    top: calc(12rem + env(safe-area-inset-top, 0px));
    padding-top: 2rem;
    overflow-y: auto;
  }

  .filter__options.active .clear {
    display: block;
    align-self: flex-start;
    min-height: 4.4rem;
    padding: 1.2rem 1.6rem;
    margin: -1.2rem -1.6rem 2rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
    user-select: none;
  }
}
