.vt-location-finder {
  position: relative;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid rgba(36, 97, 51, 0.2);
  border-radius: 0.75rem;
  background: #f4faf5;
  box-shadow: 0 0.35rem 1.2rem rgba(31, 71, 40, 0.08);
}

.vt-finder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.vt-finder-heading h2 {
  margin-top: 0 !important;
}


.vt-near-me {
  flex: 0 0 auto;
  white-space: nowrap;
}

.vt-finder-controls,
.vt-combobox {
  position: relative;
}
.vt-search-filters {
  display: grid;
  grid-template-columns: minmax(8rem, 0.65fr) minmax(13rem, 1.35fr);
  gap: 0.75rem;
}

.vt-search-filters[hidden] {
  display: none;
}

.vt-search-filters label {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  color: #284d31;
  font-size: 0.9rem;
  font-weight: 700;
}

.vt-advanced-search {
  border: 1px solid #d8e4da;
  border-radius: 0.65rem;
  background: #fff;
}

.vt-advanced-search-summary {
  padding: 1rem 1.25rem;
  color: #174d26;
  cursor: pointer;
  font-weight: 700;
}

.vt-advanced-search[open] .vt-advanced-search-summary {
  border-bottom: 1px solid #d8e4da;
}

.vt-advanced-search .em-search-form {
  margin: 0;
  padding: 1.25rem;
}


.vt-suggestions {
  position: absolute;
  z-index: 1060;
  top: calc(100% + 0.25rem);
  right: 0;
  left: 0;
  max-height: 22rem;
  overflow-y: auto;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.16);
}

.vt-suggestion {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 1px solid #edf0ed;
  background: #fff;
  color: #212529;
  text-align: left;
}
.vt-finder-status:empty,
.vt-nearby-results:empty {
  display: none;
}

.vt-advanced-search #recherche {
  display: none;
}


.vt-suggestion:last-child {
  border-bottom: 0;
}

.vt-suggestion:hover,
.vt-suggestion:focus,
.vt-suggestion.is-active {
  outline: 0;
  background: #e9f5ec;
}

.vt-suggestion-label {
  font-weight: 600;
}

.vt-suggestion-type {
  flex: 0 0 auto;
  color: #687269;
  font-size: 0.8rem;
}

.vt-finder-status {
  min-height: 1.5rem;
  color: #5b635d;
  font-size: 0.9rem;
}

.vt-finder-status.is-error {
  color: #a61b29;
}

.vt-finder-status.is-success {
  color: #246133;
}

.vt-event-tabs .nav-link {
  color: #174d26 !important;
  background: #f4f8f5;
  font-weight: 700;
}

.vt-event-tabs .nav-link:hover,
.vt-event-tabs .nav-link:focus {
  color: #0f361a !important;
  background: #e7f1e9;
}

.vt-event-tabs .nav-link.active {
  color: #fff !important;
  border-color: #246133;
  background: #246133;
}

.vt-event-tab-content {
  padding: 1rem;
  border: 1px solid #dee2e6;
  border-top: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  background: #fff;
}

.vt-event-list {
  display: grid;
  gap: 0.75rem;
}

.vt-event-item {
  position: relative;
  padding: 0.85rem 1rem;
  border-left: 0.3rem solid #3f864d;
  border-radius: 0.35rem;
  background: #f6f8f6;
}

.vt-event-date {
  margin-bottom: 0.15rem;
  color: #45604a;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.vt-event-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.vt-event-title a {
  color: #174d26;
  text-decoration: none;
}

.vt-event-title a:hover,
.vt-event-title a:focus {
  color: #0f361a;
  text-decoration: underline;
}

.vt-event-place,
.vt-event-distance {
  margin-top: 0.2rem;
  color: #5b635d;
  font-size: 0.88rem;
}

.vt-event-distance {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  margin-top: 0;
  color: #246133;
  font-weight: 700;
}

.vt-region-count-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.65rem;
}

.vt-region-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid #d8e4da;
  border-radius: 0.45rem;
  background: #fff;
  color: #24532f;
  text-decoration: none;
}

.vt-region-count:hover,
.vt-region-count:focus {
  border-color: #3f864d;
  background: #edf7ef;
  color: #183d21;
}

.vt-region-count strong {
  display: inline-grid;
  min-width: 2rem;
  min-height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: #3f864d;
  color: #fff;
  font-size: 0.85rem;
}

@media (max-width: 575.98px) {
  .vt-finder-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .vt-near-me {
    width: 100%;
  }
  .vt-search-filters {
    grid-template-columns: 1fr;
  }


  .vt-event-tabs .nav-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vt-event-tabs .nav-item,
  .vt-event-tabs .nav-link {
    width: 100%;
  }

  .vt-event-tabs .nav-link {
    border-radius: 0;
    text-align: left;
  }

  .vt-event-tab-content {
    border-top: 1px solid #dee2e6;
  }

  .vt-event-distance {
    position: static;
    margin-top: 0.2rem;
  }

  .vt-region-count-grid {
    grid-template-columns: 1fr;
  }
}
