/* Trail Map — "Trails picked on this listing" (Attraction template) */
.dmp-trail-widget.is-mode-attraction { width: 100%; }
.dmp-trail-widget.is-mode-attraction .dmp-trail-mapbox { border-radius: 14px; }
.dmp-trail-widget.is-mode-attraction .dmp-trail-canvas { min-height: 200px; }

/* Beside the trail list in a flexbox row the widget had no width of its own and
   collapsed to nothing — give it its share of the row (full width when stacked). */
.elementor-widget-trail_map_7b2e4d11:has(> .elementor-widget-container > .is-mode-attraction),
.elementor-widget-trail_map_7b2e4d11:has(> .is-mode-attraction) {
    flex: 1 1 45%;
    width: 100%;
    min-width: 0;
    align-self: stretch;
}

/* Give the section that holds the trail list + map the CSS class "dmp-trails-section"
   and it hides itself on listings with no trails picked. */
body:not(.elementor-editor-active) .dmp-trails-section:not(.elementor-widget):not(:has(.e-loop-item)) { display: none !important; }
