.ebmw{--line:#e7dacb;--ink:#2c241f;--muted:#7c6d62;--brand:#8a1726;width:min(96vw,1760px)!important;max-width:min(96vw,1760px)!important;margin:0!important;padding:18px;position:relative!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;float:none!important;clear:both}.ebmw-wrap,.elementor-widget-shortcode:has(.ebmw),.elementor-shortcode:has(.ebmw){width:100%!important;max-width:100%!important}.ebmw *{box-sizing:border-box}.ebmw .box{background:linear-gradient(180deg,#fbf7f2 0%,#f4eee7 100%);border:1px solid var(--line);border-radius:28px}.ebmw .hero,.ebmw .map-shell,.ebmw .results,.ebmw .links{margin-bottom:18px}.ebmw .hero{padding:28px}.ebmw .k{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#b35b66}.ebmw h1{margin:10px 0 12px;font-size:68px;line-height:.92;letter-spacing:-.06em;color:var(--ink);max-width:930px}.ebmw .sub{margin:0 0 18px;color:#5e5047;font-size:18px;line-height:1.5;max-width:950px}.ebmw .controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px}.ebmw .near,.ebmw .go{height:56px;border:0;border-radius:999px;padding:0 22px;background:var(--brand);color:#fff;font-weight:800;cursor:pointer}.ebmw .search-wrap{position:relative}.ebmw .search{width:100%;height:56px;border:1px solid #d9c9b8;border-radius:999px;background:#fff;padding:0 22px;font-size:16px}.ebmw .search-list{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 40px rgba(26,18,14,.10);display:none;max-height:280px;overflow:auto;z-index:40}.ebmw .search-list.open{display:block}.ebmw .search-item{padding:14px 18px;border-bottom:1px solid #f1e8df;cursor:pointer}.ebmw .search-item:last-child{border-bottom:0}.ebmw .search-item strong{display:block;color:var(--ink)}.ebmw .search-item span{display:block;font-size:12px;color:#8d736e;margin-top:3px}.ebmw .radius{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.ebmw .pill{height:50px;padding:0 22px;border:1px solid #d8c6b6;background:#fff;border-radius:999px;font-weight:800;cursor:pointer}.ebmw .pill.on{background:var(--brand);color:#fff;border-color:var(--brand)}.ebmw .map-shell{padding:20px}.ebmw .map-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start;margin-bottom:12px}.ebmw .title{margin:8px 0 6px;font-size:54px;line-height:.95;letter-spacing:-.055em;color:var(--ink)}.ebmw .muted{margin:0;color:var(--muted);font-size:16px}.ebmw .actions{display:flex;gap:10px;flex-wrap:wrap}.ebmw .btn{height:48px;border:1px solid #dccabb;background:#fff;color:var(--brand);border-radius:999px;padding:0 18px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;cursor:pointer}.ebmw .layers{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 14px}.ebmw .layer{height:42px;border:1px solid #dfccbb;background:#fff;border-radius:999px;padding:0 14px;font-size:14px;font-weight:800;display:inline-flex;align-items:center;gap:8px}.ebmw .layer.on{background:#fff5f6;color:var(--brand)}.ebmw .layer.off{opacity:.55}.ebmw .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.ebmw .stat{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px 18px}.ebmw .stat small{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#a86a73;margin-bottom:8px}.ebmw .stat strong{display:block;font-size:34px;line-height:1;color:var(--ink)}.ebmw .stat span{display:block;color:var(--muted);margin-top:6px;font-size:14px}.ebmw .map{height:760px;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#efe9e1}.ebmw .results{padding:16px}.ebmw .head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.ebmw .head strong{font-size:24px;color:var(--ink)}.ebmw .count{color:var(--brand)}.ebmw .chip{height:42px;border:1px solid #decabb;background:#fff;border-radius:999px;padding:0 16px;font-size:14px;font-weight:800;color:var(--brand);display:inline-flex;align-items:center}.ebmw .cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ebmw .card{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:10px;text-decoration:none}.ebmw .card img{width:110px;height:96px;object-fit:cover;border-radius:14px}.ebmw .card h3{margin:0 0 5px;font-size:22px;line-height:1.02;color:var(--ink)}.ebmw .card p{margin:0 0 7px;color:var(--muted);font-size:14px}.ebmw .dist{font-weight:800;color:var(--brand);font-size:14px}.ebmw .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.ebmw .tag{font-size:11px;font-weight:700;border-radius:999px;background:#f7eee7;color:#8a1726;border:1px solid #ecd7c8;padding:4px 8px}.ebmw .count-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;border:1px solid #ead7c8;background:#fff8f5;color:#6f4f46;font-size:12px;font-weight:800}.ebmw .links{padding:18px}.ebmw .links h3{margin:0 0 12px;font-size:28px;color:var(--ink)}.ebmw .links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.ebmw .link-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;text-decoration:none}.ebmw .link-card strong{display:block;color:var(--ink);font-size:20px;margin-bottom:6px}.ebmw .link-card span{display:block;color:var(--muted);font-size:14px}.ebmw .leaflet-popup-content-wrapper{border-radius:22px;box-shadow:0 18px 42px rgba(26,18,14,.16)}.ebmw .leaflet-popup-content{margin:14px 16px;min-width:310px}.ebmw .popup img{width:100%;height:144px;object-fit:cover;border-radius:14px;display:block;margin:0 0 10px}.ebmw .popup h4{margin:0 0 6px;font-size:22px;line-height:1.02}.ebmw .popup h4 a{text-decoration:none;color:var(--ink)}.ebmw .popup p{margin:0 0 6px;color:var(--muted)}.ebmw .popup .d{font-weight:800;color:var(--brand);margin-bottom:10px}.ebmw .popup-grid{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}.ebmw .popup .cta{display:inline-flex;width:100%;justify-content:center;text-decoration:none;border-radius:999px;padding:11px 12px;background:var(--brand);color:#fff!important;font-weight:800;font-size:14px}.ebmw .marker-cluster-small,.ebmw .marker-cluster-medium,.ebmw .marker-cluster-large{background:rgba(138,23,38,.15)!important}.ebmw .marker-cluster-small div,.ebmw .marker-cluster-medium div,.ebmw .marker-cluster-large div{background:var(--brand)!important;color:#fff!important;font-weight:800;font-size:18px}.ebmw .v-marker{width:22px!important;height:22px!important;border-radius:999px;background:var(--brand);border:3px solid #fff;box-shadow:0 8px 20px rgba(138,23,38,.28)}.ebmw.full{position:fixed!important;inset:0!important;left:0!important;right:0!important;transform:none!important;z-index:999999!important;background:rgba(27,19,15,.42)!important;width:100vw!important;max-width:none!important;margin:0!important;padding:20px!important;display:block!important;overflow:auto!important}.ebmw.full .hero,.ebmw.full .results,.ebmw.full .links{display:none!important}.ebmw.full .map-shell{width:min(96vw,1760px)!important;max-width:min(96vw,1760px)!important;margin:0 auto!important;min-height:calc(100vh - 40px)!important;display:flex;flex-direction:column}.ebmw.full .map{height:calc(100vh - 230px)!important;min-height:520px}.ebmw.full .map-head{position:sticky;top:0;background:linear-gradient(180deg,#fbf7f2 0%,#f4eee7 100%);z-index:5;padding-bottom:10px}.ebmw.full .layers,.ebmw.full .stats{position:relative;z-index:5}body.ebmw-lock{overflow:hidden}@media(max-width:1200px){.ebmw h1{font-size:56px}.ebmw .controls{grid-template-columns:1fr}.ebmw .title{font-size:42px}.ebmw .cards,.ebmw .links-grid{grid-template-columns:1fr}}@media(max-width:767px){.ebmw{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;padding:10px 10px 24px;left:50%!important;transform:translateX(-50%)!important}.ebmw h1{font-size:40px}.ebmw .sub{font-size:16px}.ebmw .map-head{grid-template-columns:1fr}.ebmw .title{font-size:34px}.ebmw .stats{grid-template-columns:1fr}.ebmw .map{height:460px}.ebmw .cards,.ebmw .links-grid{grid-template-columns:1fr}.ebmw .card{grid-template-columns:88px 1fr}.ebmw .card img{width:88px;height:82px}.ebmw .card h3{font-size:18px}.ebmw .leaflet-popup-content{min-width:230px}.ebmw.full{padding:8px!important}.ebmw.full .map-shell{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;min-height:calc(100vh - 16px)!important}.ebmw.full .map{height:calc(100vh - 260px)!important;min-height:360px}}

.ebmw .popup-lists{margin-top:12px;border-top:1px solid #eadfD4;padding-top:10px}
.ebmw .popup-group{margin-top:10px}
.ebmw .popup-group-title{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8a1726;margin:0 0 6px}
.ebmw .popup-list{margin:0;padding:0;list-style:none}
.ebmw .popup-list li{margin:0 0 4px}
.ebmw .popup-list li:nth-child(n+6){display:none}
.ebmw .popup-group.open .popup-list li{display:list-item}
.ebmw .popup-list a{color:#1f1f1f !important;text-decoration:none !important;font-size:14px;line-height:1.35}
.ebmw .popup-list a:hover{color:#8a1726 !important;text-decoration:none !important}
.ebmw .popup-show-more{display:inline-block;margin-top:6px;font-size:13px;cursor:pointer;color:#8a1726;font-weight:700}
.ebmw .popup-loading{font-size:13px;color:#8d736e;margin-top:6px}
.ebmw .layer{cursor:default}

/* FIX mappa: non deve sbordare */
.ebmw .map-shell{
	overflow:hidden !important;
}

.ebmw .map,
.ebmw .leaflet-container{
	overflow:hidden !important;
	border-radius:24px;
}

/* Popup sopra la mappa ma senza rompere il layout */
.ebmw .leaflet-popup-pane{
	z-index:750 !important;
	pointer-events:auto !important;
}

.ebmw .leaflet-popup{
	z-index:900 !important;
	pointer-events:auto !important;
}

.ebmw .leaflet-popup-content-wrapper,
.ebmw .leaflet-popup-content{
	pointer-events:auto !important;
}

.ebmw .leaflet-popup-content-wrapper{
	max-width:340px;
	border-radius:18px;
	overflow:visible !important;
}

.ebmw .leaflet-popup-content{
	margin:14px 16px;
	max-height:420px;
	overflow-y:auto;
	overflow-x:hidden;
}

/* Mobile */
@media (max-width: 600px){
	.ebmw .map{
		height:520px !important;
		min-height:520px !important;
	}

	.ebmw .leaflet-popup-content-wrapper{
		max-width:280px !important;
	}

	.ebmw .leaflet-popup-content{
		max-height:330px !important;
		margin:12px;
		overflow-y:auto !important;
		overflow-x:hidden !important;
	}
}