/* Vandresteder – limited accessibility and functional filter refinements.
 * Existing approved design, colors, navigation, cards and map remain unchanged. */
.vdr-geo-search{display:inline-flex;justify-content:center;align-items:center;gap:7px;cursor:pointer;white-space:nowrap;min-height:46px}
.vdr-geo-search svg{width:17px;height:17px;flex:none}
.vdr-geo-search:disabled{opacity:.65;cursor:progress}
.vdr-geo-message{font-size:12px;line-height:1.4;flex-basis:100%;color:inherit}
.vdr-geo-message:empty{display:none}
.vdr-reference-hero-filters .vdr-geo-search{background:#fff;color:#244f39;border-radius:12px;border:1px solid #fff;padding:10px 14px;font-weight:750}
.vdr-directory-filter .vdr-geo-search{border:1px solid #c9d9ce;border-radius:11px;background:#fff;color:#29513d;font-weight:750;padding:10px 12px}
.vdr-directory-filter .vdr-near-radius select{width:100%}
.vdr-map-reset{display:inline-flex;align-items:center;gap:6px;border:1px solid #d7e6db;background:#fff;color:#285b43;border-radius:9px;padding:8px 10px;font-size:12px;font-weight:700;cursor:pointer}
.vdr-map-reset svg{width:14px;height:14px}
.vdr-map-reset:hover,.vdr-geo-search:hover{filter:brightness(.96)}
@media(max-width:900px){.vdr-reference-hero-filters .vdr-geo-search{flex:1 1 100%;width:100%}.vdr-map-reset{order:4}}
@media(max-width:600px){.vdr-map-reset{min-height:40px}.vdr-directory-filter .vdr-geo-search{width:100%;grid-column:1/-1}.vdr-directory-filter .vdr-near-radius{grid-column:1/-1}.vdr-directory-filter .vdr-geo-message{grid-column:1/-1}.vdr-reference-hero-filters .vdr-geo-search{min-height:46px}}
/* Keep the approved filter panel tidy with the newly added location controls. */
.vdr-directory-filter .vdr-directory-filter-fields,
.vdr-directory-filter .vdr-directory-filter-fields:has(select[name="type"]){grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.vdr-directory-filter-fields .vdr-geo-message{grid-column:1/-1}
.vdr-directory-filter-fields .vdr-geo-search{font-size:13px;min-height:48px;white-space:normal}
.vdr-directory-filter-fields .vdr-near-radius select{padding-left:12px}
@media (min-width:901px){
 .vdr-directory-filter-fields .vdr-geo-search{grid-column:3/4}
 .vdr-directory-filter-fields button[type="submit"]{grid-column:4/5}
}
@media (max-width:900px){
 .vdr-directory-filter .vdr-directory-filter-fields,
 .vdr-directory-filter .vdr-directory-filter-fields:has(select[name="type"]){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
 .vdr-directory-filter .vdr-directory-filter-fields,
 .vdr-directory-filter .vdr-directory-filter-fields:has(select[name="type"]){grid-template-columns:1fr}
 .vdr-directory-filter-fields label:nth-child(n){grid-column:1/-1}
 .vdr-directory-filter-fields .vdr-geo-search,.vdr-directory-filter-fields button[type="submit"]{grid-column:1/-1}
}

/* 1.0.2.6 – Home hero: restore three balanced fields and ONE primary CTA.
   Geolocation remains available inside the place field, never as a second main button.
   Scope strictly to the homepage hero; all directory controls remain as before. */
.vdr-reference-hero-filters>.vdr-hero-place-field{
 flex:1 1 160px;min-width:0;display:flex;flex-direction:column;
 justify-content:center;gap:2px;padding:5px 15px;
 border-right:1px solid var(--line);
}
.vdr-reference-hero-filters>.vdr-hero-place-field>label{
 display:flex;flex:none;flex-direction:row;align-items:center;gap:7px;
 min-height:0;min-width:0;margin:0;padding:0;border:0;
 font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap;
 justify-content:flex-start;align-self:stretch;width:100%;text-align:left;
}
.vdr-reference-hero-filters>.vdr-hero-place-field>label .vdr-icon{
 width:15px;height:15px;color:var(--accent);flex:none;
}
.vdr-hero-place-input-row{display:flex;align-items:center;gap:5px;min-height:30px;min-width:0}
.vdr-hero-place-input-row>input{flex:1 1 auto;min-width:0;max-width:100%}
.vdr-reference-hero-filters .vdr-hero-place-input-row>.vdr-hero-place-geo{
 flex:0 0 34px;width:34px;height:34px;min-height:34px;
 display:grid;place-items:center;margin:0;padding:0;
 color:#234b36!important;background:#e3eee5;border:1px solid #c4d9c9;border-radius:50%;
 box-shadow:none;cursor:pointer;
}
.vdr-reference-hero-filters .vdr-hero-place-input-row>.vdr-hero-place-geo svg{
 width:17px;height:17px;flex:none;
}
.vdr-reference-hero-filters .vdr-hero-place-input-row>.vdr-hero-place-geo:hover,
.vdr-reference-hero-filters .vdr-hero-place-input-row>.vdr-hero-place-geo:focus-visible{
 background:#e1eee5;color:#214c39!important;border-color:#b5d1be;filter:none;
}
.vdr-reference-hero-filters .vdr-hero-place-input-row>.vdr-hero-place-geo:focus-visible{
 outline:2px solid #25583b;outline-offset:2px;
}
.vdr-reference-hero-filters>.vdr-geo-message:not(:empty){
 position:absolute;left:50%;top:calc(100% + 12px);transform:translateX(-50%);
 width:max-content;max-width:calc(100% - 16px);padding:7px 12px;
 border-radius:9px;background:rgba(13,32,22,.88);color:#fff;
 text-align:center;font-size:12px;line-height:1.5;z-index:6;pointer-events:none;
}
@media(max-width:900px){
 .vdr-reference-hero-filters .vdr-hero-place-input-row>.vdr-hero-place-geo{
  flex:0 0 34px;width:34px;min-height:34px;
 }
}
@media(max-width:767px){
 .vdr-reference-hero-filters>.vdr-hero-place-field{
  flex:1 1 100%;min-height:59px;padding:8px 12px;
  border-right:0;border-bottom:0;
 }
 .vdr-reference-hero-filters>.vdr-hero-place-field>label{min-height:0;padding:0;border:0}
 .vdr-reference-hero-filters .vdr-hero-place-input-row>.vdr-hero-place-geo{
  width:40px;height:40px;flex:0 0 40px;min-height:40px;
 }
}
@media(max-width:500px){
 .vdr-reference-hero-filters>.vdr-hero-place-field{padding:7px 9px}
 .vdr-reference-hero-filters>.vdr-hero-place-field>label{font-size:10px}
}
@media(max-width:359px){
 .vdr-reference-hero-filters>.vdr-geo-message:not(:empty){
  top:calc(100% + 4px);padding:4px 8px;font-size:11px;line-height:1.35;
 }
}
