/* bt-map: solo regole funzionali. L'aspetto delle mappe nel sito (carta, cornice fileteado,
   segnaposto, fumetti, pulsanti) sta nel tema (wp.css, sezione "Mappe"). */
.bt-mapframe[hidden] { display: none; }
.bt-map__marker { background: none; border: 0; }

/* Anteprima nel campo "Dove" (admin): semplice, senza grafica del sito. */
.bt-place__map { margin-top: 10px; }
.bt-place__canvas { height: 220px; border: 1px solid #c3c4c7; border-radius: 4px; }
.bt-place__map .bt-map__pin { display: block; width: 30px; height: 40px; color: #8E1B1B; }
.bt-place__map .bt-pin__body { fill: currentColor; stroke: #fff; stroke-width: 2; }
.bt-place__map .bt-pin__dot { fill: #fff; }

/* Marker degli eventi: goccia bordeaux con il pittogramma del tipo in bianco */
.bt-map__marker--ev { background: none; border: 0; }
.bt-map__ev {
	position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 0;
	rotate: -45deg; background: #8b1e1e; border: 2px solid #fffaf1; box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.bt-map__ev i {
	display: block; width: 20px; height: 20px; rotate: 45deg; background-color: #fffaf1;
	-webkit-mask: var(--bt-ev-icon, var(--bt-svg-calendario)) center / contain no-repeat;
	        mask: var(--bt-ev-icon, var(--bt-svg-calendario)) center / contain no-repeat;
}
.bt-map__marker--ev:hover .bt-map__ev, .bt-map__marker--ev:focus .bt-map__ev { background: #2a1d18; }

/* Fumetto dell'evento */
.bt-map__popup .leaflet-popup-content { margin: 12px 14px; font-size: 14px; line-height: 1.4; }
.bt-map__pop-type { display: flex; align-items: center; gap: .35rem; margin: 0 0 .25rem; color: #8b1e1e; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bt-map__pop-type::before { content: ""; width: 16px; height: 16px; background-color: currentColor; -webkit-mask: var(--bt-ev-icon) center / contain no-repeat; mask: var(--bt-ev-icon) center / contain no-repeat; }
.bt-map__pop-title { display: block; margin: 0 0 .35rem; font-size: 16px; font-weight: 700; line-height: 1.2; color: #2a1d18; text-decoration: none; }
.bt-map__pop-title:hover { color: #8b1e1e; text-decoration: underline; }
.bt-map__pop-meta { margin: 0; color: #4a3d36; }
.bt-map__pop-dates { margin: .35rem 0 0; padding: 0; list-style: none; font-size: 13px; }
.bt-map__pop-dates li { padding: .15rem 0; border-top: 1px solid #eee3d0; }
.bt-map__pop-more { display: inline-block; margin-top: .5rem; font-weight: 700; color: #8b1e1e; }
.bt-map__tip { font-weight: 600; }

