/*
 * Weingüter-Kompass advanced search (#4080).
 * Lightweight layout for the select2 multi-select faceted search on the new
 * (WTC-style) VineyardProfile list. Works alongside the global select2.css.
 */
.weingueter-kompass__search {
    margin-bottom: 1.5rem;
}

/*
 * Map with profile-linking pins (#4079). The new list view does not load
 * guide-tour.css, so the responsive aspect-ratio box for the Leaflet map is
 * declared here (mirrors the .guide-tour__map rules from guide-tour.css).
 */
.weingueter-kompass__map {
    position: relative;
    height: 0;
    width: 100%;
    margin: 0 0 2rem;
    padding-bottom: 56.25%;
}

.weingueter-kompass__map .guide-tour__map-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.weingueter-kompass__search .select2-container {
    width: 100% !important;
}

/* Let the chosen facets/tags wrap freely on small screens. */
.weingueter-kompass__search .select2-container--default .select2-selection--multiple {
    min-height: 42px;
}

.weingueter-kompass__search #vineyard-search-reset {
    margin-top: 0.5rem;
}

@media (max-width: 767px) {
    .weingueter-kompass__search #vineyard-search-reset {
        display: block;
        width: 100%;
        text-align: center;
    }
}
