/* Gecko Bayern – unified filters for Events, Locations and Roads */
.explore-filter-bar{
  display:grid;
  grid-template-columns:minmax(190px,1.25fr) minmax(155px,.8fr) minmax(300px,1.2fr) minmax(150px,.72fr);
  align-items:stretch;
  gap:0;
  margin-bottom:14px;
  padding:12px 14px;
  border:1px solid rgba(224,231,233,.14);
  border-radius:14px;
  background:rgba(255,255,255,.022);
}
.explore-filter-block{
  min-width:0;
  display:grid;
  align-content:center;
  gap:7px;
  padding:0 18px;
}
.explore-filter-block:first-child{padding-left:0}
.explore-filter-block:last-child{padding-right:0}
.explore-filter-block:not(:last-child){border-right:1px solid rgba(224,231,233,.10)}
.explore-filter-label{
  font-size:.64rem;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#98a6ad;
}
.explore-filter-bar .search-field{
  width:100%;
  min-width:0;
  min-height:40px;
  padding:8px 11px;
  border-radius:9px;
  border:1px solid rgba(224,231,233,.14);
  background:#071219;
  color:#edf3f5;
  font-size:.78rem;
  outline:none;
}
.explore-filter-bar .search-field:focus{
  border-color:rgba(157,216,246,.46);
  box-shadow:0 0 0 2px rgba(120,191,232,.08);
}
.explore-filter-bar select.search-field{cursor:pointer}
.explore-search-control{position:relative;min-width:0}
.explore-search-control .search-field{padding-left:37px}
.explore-search-icon{
  position:absolute;
  left:11px;
  top:50%;
  width:18px;
  height:18px;
  transform:translateY(-50%);
  color:#e8eff2;
  pointer-events:none;
}
.explore-search-icon svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
.explore-radius-options{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
}
.explore-radius-options button{
  appearance:none;
  min-width:0;
  min-height:40px;
  padding:7px 8px;
  border:1px solid rgba(224,231,233,.11);
  border-radius:9px;
  background:rgba(255,255,255,.018);
  color:#c6d0d4;
  font:inherit;
  font-size:.72rem;
  white-space:nowrap;
  cursor:pointer;
}
.explore-radius-options button:hover{border-color:rgba(157,216,246,.34);color:#fff}
.explore-radius-options button.active{
  border-color:rgba(120,191,232,.22);
  background:rgba(120,191,232,.15);
  color:#9dd8f6;
}
.filter-switch{
  appearance:none;
  width:max-content;
  max-width:100%;
  min-height:40px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:6px 0;
  border:0;
  background:transparent;
  color:#dce4e7;
  font:inherit;
  font-size:.75rem;
  white-space:nowrap;
  cursor:pointer;
}
.filter-switch-track{
  position:relative;
  width:38px;
  height:22px;
  flex:0 0 38px;
  border:1px solid rgba(224,231,233,.18);
  border-radius:999px;
  background:rgba(255,255,255,.045);
  transition:.18s ease;
}
.filter-switch-knob{
  position:absolute;
  top:3px;
  left:3px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#cbd5d9;
  box-shadow:0 1px 5px rgba(0,0,0,.35);
  transition:.18s ease;
}
.filter-switch.active .filter-switch-track{
  border-color:rgba(99,200,255,.42);
  background:rgba(18,152,232,.24);
}
.filter-switch.active .filter-switch-knob{
  transform:translateX(16px);
  background:#dff5ff;
}
.filter-switch:disabled{opacity:.42;cursor:not-allowed}
.filter-switch .heart[hidden]{display:none}

/* Keep explore pages visually tighter below the mobile navigation. */
.page-hero{padding-top:44px;padding-bottom:28px}

@media(max-width:940px){
  .explore-filter-bar{
    grid-template-columns:minmax(0,1.15fr) minmax(145px,.85fr);
    row-gap:12px;
  }
  .explore-filter-block{padding:0 14px}
  .explore-filter-block:nth-child(2){padding-right:0;border-right:0}
  .explore-filter-block:nth-child(3){padding-left:0}
}
@media(max-width:620px){
  .page-hero{padding:26px 0 20px}
  .page-hero h1{margin-bottom:.14em}
  .page-hero p{font-size:.88rem;line-height:1.4}
  .explore-section{padding-top:12px}
  .explore-toolbar{margin-bottom:10px}

  /* Mobile compact variant: two rows, no redundant headings. */
  .explore-filter-bar{
    grid-template-columns:minmax(0,1.3fr) minmax(112px,.7fr);
    padding:8px;
    row-gap:8px;
    margin-bottom:10px;
    border-radius:12px;
  }
  .explore-filter-block{
    padding:0 7px;
    gap:0;
  }
  .explore-filter-block:first-child{padding-left:0}
  .explore-filter-block:nth-child(2){padding-right:0;border-right:0}
  .explore-filter-block:nth-child(3){grid-column:1/2;padding-left:0;border-right:1px solid rgba(224,231,233,.10)}
  .explore-filter-block:nth-child(4){grid-column:2/3;padding-right:0}
  .explore-filter-label{display:none}

  .explore-filter-bar .search-field{
    min-height:35px;
    padding:6px 9px;
    border-radius:8px;
    font-size:.7rem;
  }
  .explore-search-control .search-field{padding-left:32px}
  .explore-search-icon{left:9px;width:15px;height:15px}

  .explore-radius-options{gap:3px}
  .explore-radius-options button{
    min-height:35px;
    padding:5px 3px;
    border-radius:8px;
    font-size:.63rem;
  }

  /* Favorites becomes a compact chip instead of consuming a full row. */
  .filter-switch{
    width:100%;
    min-height:35px;
    justify-content:center;
    gap:5px;
    padding:5px 6px;
    border:1px solid rgba(224,231,233,.11);
    border-radius:8px;
    background:rgba(255,255,255,.018);
    font-size:.64rem;
  }
  .filter-switch-track{display:none}
  .filter-switch::before{content:"♡";font-size:1rem;line-height:1;color:#dce4e7}
  .filter-switch.active{
    border-color:rgba(255,127,145,.30);
    background:rgba(255,127,145,.07);
    color:#fff;
  }
  .filter-switch.active::before{content:"♥";color:#ff8191}
}
@media(max-width:390px){
  .explore-filter-bar{grid-template-columns:minmax(0,1fr) minmax(104px,.65fr)}
  .explore-filter-block{padding:0 5px}
  .explore-radius-options button{font-size:.59rem}
  .filter-switch{font-size:.6rem;padding-left:4px;padding-right:4px}
}
