.e-con:has(> .vgf-filter-row) {
  row-gap: 10px;
  overflow-anchor: none;
}
.e-con-inner:has(> .e-con > .vgf-filter-row) {
  padding-block: 12px;
}
.vgf-filter-row ~ .elementor-widget-shortcode[hidden] {
  display: none !important;
}
.vgf-filter-row + .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

.vgf-filter-row {
  display: grid;
  grid-template-columns: calc((100% - 36px) / 4) minmax(0, 1fr);
  gap: 6px 12px;
  align-items: start;
  width: 100%;
  scroll-margin-top: 110px;
}
.vgf-filter-row > .elementor-widget {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.vgf-filter-row .vgf-locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.vgf-filter-row.vgf-location-only {
  grid-template-columns: minmax(0, 1fr);
}
.vgf-filter-row label,
.vgf-filter-row .vgf-filter-label {
  display: block;
  font-weight: 600;
  line-height: 1.4;
}
.vgf-filter-row label select,
.vgf-filter-row .select2-container {
  display: block;
  width: 100% !important;
  margin-top: 4px;
}
.vgf-filter-row .lgefep-filter-bar-wrapper {
  width: 100% !important;
}
.vgf-filter-row .lgefep-filter-bar-wrapper,
.vgf-filter-row .select2-container,
.vgf-filter-row .select2-selection--single {
  min-width: 0 !important;
  max-width: 100%;
}
.vgf-filter-row label select,
.vgf-filter-row .lgefep-dropdown .select2-selection--single {
  height: 44px;
  border-radius: 6px;
}
.vgf-filter-row .lgefep-dropdown .select2-selection--single {
  height: 44px !important;
  background-color: #fff !important;
}
.vgf-filter-row .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
}
.vgf-filter-row .select2-selection--single .select2-selection__arrow {
  height: 42px;
}
.vgf-filter-summary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vgf-filter-row .vgf-clear-filters {
  margin-left: auto;
  padding: 5px 10px;
  min-height: 32px;
  font-size: 14px;
  line-height: 1.3;
}
.vgf-result-count {
  font-size: 14px;
  font-weight: 600;
}
.vgf-result-count:empty {
  display: none;
}
.vgf-clear-filters[hidden] {
  display: none !important;
}
@media (max-width: 767px) {
  .vgf-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8px;
  }
  .vgf-filter-row .vgf-locations {
    display: contents;
  }
  .vgf-filter-row.vgf-location-only {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vgf-filter-row label {
    min-width: 0;
  }
}
