/* Map Studio: map block on the site and in the editor. */
/* Themes style every button on a page, Twenty Twenty-One even with selectors like button:not(:hover):not(:active).
   Map controls are therefore styled in the layer "devenzi-map", and the shield at the end of this file takes every
   property of these controls from that layer or the browser. Rules outside the layer have no effect on them, which is
   also why MapLibre's own button rules are repeated here. */
@layer devenzi-map {
	:where(.devenzi-map-map) :where(button, input, select, textarea, a.devenzi-map-ib) { box-sizing: border-box; margin: 0; color: inherit; font: inherit; letter-spacing: normal; text-transform: none; text-decoration: none; }
	:where(.devenzi-map-map) :where(button) { padding: 0; border: 0; background: none; cursor: pointer; }
	.maplibregl-ctrl-group button { display: block; width: 29px; height: 29px; padding: 0; border: 0; outline: none; background-color: transparent; cursor: pointer; }
	.maplibregl-ctrl button { -webkit-user-select: none; user-select: none; }
	.maplibregl-ctrl-group button + button { border-top: 1px solid #ddd; }
	@media (forced-colors: active) { .maplibregl-ctrl-group button + button { border-top: 1px solid buttontext; } }
	.maplibregl-ctrl-group button.maplibregl-ctrl-compass { touch-action: none; cursor: grab; }
	.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active { cursor: grabbing; }
	.maplibregl-ctrl-group button:focus { box-shadow: 0 0 2px 2px #0096ff; }
	.maplibregl-ctrl-group button:focus:not(:focus-visible) { box-shadow: none; }
	.maplibregl-ctrl-group button:focus:first-child { border-radius: 4px 4px 0 0; }
	.maplibregl-ctrl-group button:focus:last-child { border-radius: 0 0 4px 4px; }
	.maplibregl-ctrl-group button:focus:only-child { border-radius: inherit; }
	.maplibregl-ctrl button:disabled { cursor: not-allowed; }
	@media (hover: hover) { .maplibregl-ctrl button:not(:disabled):hover { background-color: rgba(0, 0, 0, .05); } }
	.maplibregl-ctrl button:not(:disabled):active { background-color: rgba(0, 0, 0, .05); }
	.maplibregl-popup-close-button { position: absolute; top: 0; right: 0; }
}
.devenzi-map-map { --devenzi-map-accent: #ff7a12; position: relative; }
/* max-width: with aspect-ratio and min-height, a 300 px map at 16/9 would be forced to 533 px wide on phones and push
   the page sideways. Held to the column, it gets taller instead. */
.devenzi-map-stage { position: relative; max-width: 100%; height: 480px; overflow: hidden; border-radius: 18px; background: #ebe8e4; isolation: isolate; }
/* Cap the height on phones so a tall map still leaves page to scroll past it. */
@media (max-width: 600px) { .devenzi-map-stage { max-height: 85vh; max-height: 85svh; } }
/* Beats MapLibre's ".maplibregl-map { position: relative }", which loads later in the block editor and would leave
   the map without height. */
.devenzi-map-stage > .devenzi-map-canvas { position: absolute; inset: 0; }
.devenzi-map-map.is-loading .devenzi-map-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%) #ebe8e4; background-size: 250% 100%; animation: devenzi-map-shimmer 1.4s linear infinite; pointer-events: none; }
@keyframes devenzi-map-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.devenzi-map-map .maplibregl-ctrl-group { border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .16); }
.devenzi-map-map .maplibregl-ctrl-attrib { font-size: 11px; }

/* Heading and text: the map, its list and the heading share one frame, so a heading reads as part of the map. */
.devenzi-map-map.has-heading { padding: 14px; border-radius: 26px; background: #f4f1ed; box-sizing: border-box; }
.devenzi-map-map.has-heading .devenzi-map-stage { border-radius: 14px; }
.devenzi-map-heading { flex: 1 1 100%; order: -2; margin: 0 0 14px; padding: 6px 6px 0; color: #1c191d; }
.devenzi-map-map.has-list-side .devenzi-map-heading { margin: 0; }
.devenzi-map-heading::before { content: ""; display: block; width: 28px; height: 4px; margin-bottom: 12px; border-radius: 2px; background: var(--devenzi-map-accent); }
/* Specific enough to beat theme rules like ".entry-content h2". */
.devenzi-map-map .devenzi-map-heading .devenzi-map-heading-title { margin: 0; padding: 0; border: 0; color: #1c191d; font: 700 clamp(19px, 2.2vw, 24px)/1.25 system-ui, sans-serif; letter-spacing: -.01em; text-transform: none; }
.devenzi-map-map .devenzi-map-heading h3.devenzi-map-heading-title { font-size: clamp(17px, 1.8vw, 19px); }
.devenzi-map-map .devenzi-map-heading .devenzi-map-heading-text { max-width: 70ch; margin: 6px 0 0; color: #5d5650; font: 400 15px/1.55 system-ui, sans-serif; }
.devenzi-map-heading-text p, .devenzi-map-heading-text ul, .devenzi-map-heading-text ol { margin: 0 0 6px; }
.devenzi-map-heading-text ul, .devenzi-map-heading-text ol { padding-left: 20px; }
.devenzi-map-heading-text > :last-child { margin-bottom: 0; }
.devenzi-map-heading-text a { color: #1c191d; font-weight: 600; text-decoration: underline; text-decoration-color: var(--devenzi-map-accent); text-underline-offset: 2px; }
@media (max-width: 600px) { .devenzi-map-map.has-heading { padding: 10px; border-radius: 20px; } }

/* Load after click: nothing is requested from the map server before this button is used. */
.devenzi-map-consent { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 20px; text-align: center; background: radial-gradient(circle at 30% 30%, #f3efe9, #dcd6cf); color: #1c191d; }
.devenzi-map-consent[hidden] { display: none; }
.devenzi-map-consent::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .05) 1px, transparent 1px); background-size: 48px 48px; }
.devenzi-map-consent > div { position: relative; max-width: 340px; padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .88); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35); }
.devenzi-map-consent p { margin: 0 0 14px; color: #5d5650; font-size: 14px; line-height: 1.5; }
@layer devenzi-map {
	.devenzi-map-consent button { padding: 10px 18px; border: 0; border-radius: 11px; background: var(--devenzi-map-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
	.devenzi-map-consent button:focus:not(:focus-visible) { outline: none; }
}
.devenzi-map-consent small { display: block; margin-top: 10px; color: #7a726b; font-size: 12px; line-height: 1.4; }
.devenzi-map-failed { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 20px; text-align: center; background: #ebe8e4; color: #1c191d; }
.devenzi-map-failed[hidden] { display: none; }
.devenzi-map-failed p { margin: 0 0 12px; color: #5d5650; font-size: 14px; line-height: 1.5; }
@layer devenzi-map {
	.devenzi-map-failed button { padding: 8px 16px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 11px; background: #fff; color: #1c191d; font: inherit; font-weight: 600; cursor: pointer; }
}

/* Editor only: the bar shown while an area or route is drawn. */

/* The pin is the marker element itself, so it must stay absolutely positioned like every MapLibre marker. Otherwise
   each pin is pushed down by the ones before it. */
.devenzi-map-pin { position: absolute; top: 0; left: 0; width: 40px; height: 40px; cursor: pointer; }
.devenzi-map-pin-body { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--devenzi-map-accent); box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .55), inset 0 0 0 3px rgba(255, 255, 255, .92); transition: transform .2s; }
.devenzi-map-pin:hover .devenzi-map-pin-body { transform: rotate(-45deg) scale(1.08); }
.devenzi-map-pin-body > * { transform: rotate(45deg); }
.devenzi-map-pin svg { width: 18px; height: 18px; fill: none; stroke: var(--devenzi-map-pin-ink, #fff); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.devenzi-map-pin img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.devenzi-map-pin-shadow { position: absolute; left: 50%; bottom: -6px; width: 14px; height: 6px; margin-left: -7px; border-radius: 50%; background: rgba(0, 0, 0, .25); filter: blur(2px); }

/* Popup card. */
.devenzi-map-map .maplibregl-popup-content { padding: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); }
@layer devenzi-map {
	.devenzi-map-map .maplibregl-popup-close-button { display: grid; place-items: center; width: 28px; height: 28px; margin: 6px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #8f8780; font: 300 22px/1 system-ui, sans-serif; cursor: pointer; transition: color .2s, background .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
	.devenzi-map-map .maplibregl-popup-close-button:hover { background: rgba(0, 0, 0, .06); color: #1c191d; transform: rotate(90deg); }
	.devenzi-map-map .maplibregl-popup-content:has(.devenzi-map-card > :is(img, .devenzi-map-gallery):first-child) .maplibregl-popup-close-button { background: rgba(0, 0, 0, .35); color: #fff; }
}
/* Above every pin, highlighted ones included; below the map controls (z-index 2, later in the DOM). */
.devenzi-map-map .maplibregl-popup { z-index: 2; animation: devenzi-map-pop .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes devenzi-map-pop { from { opacity: 0; } }
.devenzi-map-card img { display: block; width: 100%; max-width: 280px; height: 130px; object-fit: cover; }
.devenzi-map-card-body { padding: 12px 14px 14px; color: #1c191d; font-size: 14px; line-height: 1.45; }
.devenzi-map-card-body > b { display: block; font-size: 15px; }
.devenzi-map-card > .devenzi-map-card-body:first-child > b { padding-right: 26px; }
.devenzi-map-card-body span { display: block; margin-top: 2px; color: #6b635d; white-space: pre-line; }
/* Directions of a planned route: folded in the route's popup, one row per step. */
.devenzi-map-steps-box { margin-top: 8px; }
.devenzi-map-steps-box summary { display: flex; align-items: center; gap: 6px; color: #3d3833; font-size: 13px; font-weight: 600; list-style: none; cursor: pointer; }
.devenzi-map-steps-box summary::-webkit-details-marker { display: none; }
.devenzi-map-steps-box summary::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.devenzi-map-steps-box[open] summary::after { transform: rotate(-135deg) translate(-2px, 0); }
.devenzi-map-steps { max-height: 230px; margin: 6px -4px 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.devenzi-map-steps li { margin: 0; padding: 0; }
/* Buttons take their look only from this layer (see "the shield" below). */
@layer devenzi-map {
	.devenzi-map-steps button { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: start; width: 100%; margin: 0; padding: 5px 4px; border: 0; border-radius: 8px; background: none; color: #2b2622; font: inherit; font-size: 12.5px; line-height: 1.35; text-align: left; cursor: pointer; }
	.devenzi-map-steps button:hover { background: rgba(0, 0, 0, .05); }
}
.devenzi-map-steps svg { width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: var(--devenzi-map-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.devenzi-map-card-body .devenzi-map-steps span { margin: 0; color: inherit; white-space: normal; }
.devenzi-map-steps small { color: #8a817a; font-size: 11.5px; white-space: nowrap; }
.devenzi-map-card-body span.is-rich { white-space: normal; }
.devenzi-map-card-body span.devenzi-map-card-addr { margin: 4px 0 2px; font-size: 13px; }
.devenzi-map-card-body span.is-rich p { margin: 0 0 6px; }
.devenzi-map-card-body span.is-rich ul, .devenzi-map-card-body span.is-rich ol { margin: 4px 0 6px; padding-left: 18px; }
.devenzi-map-card-body span.is-rich a { display: inline; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-weight: 600; text-decoration: underline; }
.devenzi-map-hours { margin: 6px 0 2px; font-size: 13px; }
.devenzi-map-hours summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; color: #4b4540; }
.devenzi-map-hours summary::-webkit-details-marker { display: none; }
.devenzi-map-hours summary::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border: solid #9a918b; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.devenzi-map-hours[open] summary::after { transform: rotate(-135deg); }
.devenzi-map-hours summary b { display: inline; font-size: 13px; }
.devenzi-map-hours i, .devenzi-map-list-hours::before { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #d64545; }
.devenzi-map-hours i.is-open, .devenzi-map-list-hours.is-open::before { background: #1f9d55; }
.devenzi-map-hours table { width: 100%; margin-top: 6px; border-collapse: collapse; }
.devenzi-map-hours th, .devenzi-map-hours td { padding: 2px 0; font-weight: 400; text-align: left; color: #6b635d; }
.devenzi-map-hours th { width: 44px; }
.devenzi-map-hours tr.is-today th, .devenzi-map-hours tr.is-today td { color: #1c191d; font-weight: 700; }
.devenzi-map-card-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.devenzi-map-card-body a { display: inline-block; padding: 7px 12px; border-radius: 9px; background: var(--devenzi-map-accent); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .2s, filter .2s; }
.devenzi-map-card-buttons a:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); filter: brightness(1.05); }
.devenzi-map-card-buttons a:active { transform: translateY(0) scale(.97); }

.devenzi-map-pin-label { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .94); color: #1c191d; font: 600 12px/1.4 system-ui, sans-serif; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); pointer-events: none; }

/* Place list beside or below the map. */
.devenzi-map-map.has-list-side { display: flex; flex-wrap: wrap; gap: 14px; }
.devenzi-map-map.has-list-side .devenzi-map-list { order: -1; flex: 1 1 240px; max-height: var(--devenzi-map-h, 480px); overflow: auto; }
.devenzi-map-map.has-list-side .devenzi-map-stage { flex: 999 1 440px; }
/* Too narrow for a side list: map first, list below. The map's own width decides, not the viewport. */
.devenzi-map-map.has-list-side { container-type: inline-size; }
@container (max-width: 693px) { .devenzi-map-map.has-list-side .devenzi-map-list { order: 1; flex-basis: 100%; min-height: 0; max-height: min(var(--devenzi-map-h, 480px), 60vh); contain: none; } }
.devenzi-map-map.has-format .devenzi-map-stage { height: auto; }
/* With a format the side list takes no height of its own and scrolls within the map's. */
.devenzi-map-map.has-format.has-list-side .devenzi-map-list { max-height: none; min-height: 200px; contain: size; }
.devenzi-map-map.has-format.has-list-side .devenzi-map-stage { align-self: flex-start; }
.devenzi-map-map.has-list-below .devenzi-map-list { margin-top: 14px; }
.devenzi-map-map.has-list-below .devenzi-map-list ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.devenzi-map-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
/* Themes indent content lists (Kadence: ".entry-content ul"); the place list sits flush. */
.devenzi-map-map .devenzi-map-list ul:not(#devenzi-map-none) { margin: 0; padding: 0; list-style: none; }
.devenzi-map-list li[hidden] { display: none; }
@layer devenzi-map {
	.devenzi-map-list li button { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 12px; background: #fff; color: #1c191d; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .2s cubic-bezier(.2, .8, .2, 1); }
	.devenzi-map-list li button:hover { border-color: var(--devenzi-map-accent); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .3); transform: translateY(-1px); }
	.devenzi-map-list li button:focus:not(:focus-visible) { outline: none; }
}
.devenzi-map-pin:focus { outline: none; }
.devenzi-map-pin:focus-visible .devenzi-map-pin-body { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--devenzi-map-accent, #f97316); }
/* The places as text for screen readers when the map shows no list. */
.devenzi-map-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.devenzi-map-list b { display: block; font-size: 14px; }
.devenzi-map-list small { display: block; margin-top: 1px; color: #6b635d; font-size: 12.5px; }
.devenzi-map-list-hours { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; font-style: normal; font-weight: 600; color: #4b4540; }
.devenzi-map-list-hours::before { content: ""; width: 7px; height: 7px; }
.devenzi-map-list-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--devenzi-map-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--devenzi-map-accent) 20%, transparent); }
.devenzi-map-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
@layer devenzi-map {
	.devenzi-map-chips button { padding: 5px 12px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 99px; background: #fff; color: #1c191d; font: 600 13px/1.4 system-ui, sans-serif; cursor: pointer; transition: border-color .15s, background .2s, color .2s, transform .15s; }
	.devenzi-map-chips button:hover { border-color: var(--devenzi-map-accent); }
	.devenzi-map-chips button:active { transform: scale(.95); }
	.devenzi-map-chips button[aria-pressed="true"] { border-color: var(--devenzi-map-accent); background: var(--devenzi-map-accent); color: #fff; }
	/* Explicit size: inherited, it picked up the theme's text size (22 px in Twenty Twenty-Five). */
	.devenzi-map-search { width: 100%; margin: 0 0 10px; padding: 9px 12px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 10px; font: 400 14px/1.4 system-ui, sans-serif; box-sizing: border-box; }
}

@media (prefers-reduced-motion: reduce) {
	.devenzi-map-map *, .devenzi-map-map .maplibregl-popup { transition: none !important; animation: none !important; }
}

.devenzi-map-gallery { position: relative; width: 280px; max-width: 100%; }
.devenzi-map-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.devenzi-map-slides::-webkit-scrollbar { display: none; }
.devenzi-map-slides img { flex: 0 0 100%; width: 100%; height: 150px; object-fit: cover; scroll-snap-align: start; }
@layer devenzi-map {
	.devenzi-map-gallery button { position: absolute; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); cursor: pointer; opacity: 0; transition: opacity .2s, transform .2s; }
}
.devenzi-map-gallery button::before { content: ""; width: 7px; height: 7px; border: solid #1c191d; border-width: 0 2px 2px 0; }
@layer devenzi-map {
	.devenzi-map-gal-prev { left: 8px; }
}
.devenzi-map-gal-prev::before { transform: translateX(1px) rotate(135deg); }
@layer devenzi-map {
	.devenzi-map-gal-next { right: 8px; }
}
.devenzi-map-gal-next::before { transform: translateX(-1px) rotate(-45deg); }
@layer devenzi-map {
	.devenzi-map-gallery:hover button { opacity: 1; }
	.devenzi-map-gallery button:hover { transform: scale(1.1); }
	.devenzi-map-gallery.is-first .devenzi-map-gal-prev, .devenzi-map-gallery.is-last .devenzi-map-gal-next { opacity: 0 !important; pointer-events: none; }
}
.devenzi-map-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.devenzi-map-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: width .25s, background .25s, border-radius .25s; }
.devenzi-map-dots i.is-on { width: 16px; border-radius: 3px; background: #fff; }
@layer devenzi-map {
	@media (hover: none) { .devenzi-map-gallery button { display: none; } }
}

/* Pin size comes from --s, set per pin. */
.devenzi-map-pin { width: var(--s, 40px); height: var(--s, 40px); }
.devenzi-map-pin svg { width: calc(var(--s, 40px) * .45); height: calc(var(--s, 40px) * .45); }
.devenzi-map-pin img { width: calc(var(--s, 40px) - 8px); height: calc(var(--s, 40px) - 8px); }
.devenzi-map-pin-label { top: calc(var(--s, 40px) + 6px); }
/* A label that would cover another one (tidyLabels in frontend.js); hover or focus still shows it. */
.devenzi-map-pin-label.is-crowded { visibility: hidden; }
.devenzi-map-pin:hover .devenzi-map-pin-label.is-crowded, .devenzi-map-pin:focus-visible .devenzi-map-pin-label.is-crowded { visibility: visible; z-index: 3; }
.devenzi-map-pin.is-big { z-index: 1; }
.devenzi-map-pin--circle .devenzi-map-pin-body, .devenzi-map-pin--square .devenzi-map-pin-body, .devenzi-map-pin--icon .devenzi-map-pin-body { transform: none; }
.devenzi-map-pin--circle .devenzi-map-pin-body > *, .devenzi-map-pin--square .devenzi-map-pin-body > *, .devenzi-map-pin--icon .devenzi-map-pin-body > * { transform: none; }
.devenzi-map-pin--circle .devenzi-map-pin-body { border-radius: 50%; }
.devenzi-map-pin--square .devenzi-map-pin-body { border-radius: 30%; }
.devenzi-map-pin--circle:hover .devenzi-map-pin-body, .devenzi-map-pin--square:hover .devenzi-map-pin-body, .devenzi-map-pin--icon:hover .devenzi-map-pin-body { transform: scale(1.1); }
.devenzi-map-pin--circle .devenzi-map-pin-shadow, .devenzi-map-pin--square .devenzi-map-pin-shadow, .devenzi-map-pin--icon .devenzi-map-pin-shadow { display: none; }
.devenzi-map-pin--icon .devenzi-map-pin-body { background: transparent; box-shadow: none; }
.devenzi-map-pin--icon svg { width: calc(var(--s, 40px) * .75); height: calc(var(--s, 40px) * .75); stroke: var(--devenzi-map-accent); stroke-width: 2.4; filter: drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 1.2px #fff) drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.devenzi-map-pin--icon img { border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(0, 0, 0, .3); }

@layer devenzi-map {
	.devenzi-map-near { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 7px 12px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 99px; background: #fff; color: #1c191d; font: 600 13px/1.3 system-ui, sans-serif; cursor: pointer; transition: border-color .15s, background .2s, color .2s, transform .15s; }
}
.devenzi-map-near::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--devenzi-map-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--devenzi-map-accent) 25%, transparent); }
@layer devenzi-map {
	.devenzi-map-near:hover { border-color: var(--devenzi-map-accent); transform: translateY(-1px); }
	.devenzi-map-near.is-on { border-color: var(--devenzi-map-accent); }
}
.devenzi-map-near.is-busy::before { animation: devenzi-map-pulse 1s ease-in-out infinite; }
.devenzi-map-near-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
.devenzi-map-near-bar .devenzi-map-near { margin: 0; }
.devenzi-map-near-find { position: relative; flex: 1 1 150px; min-width: 0; margin: 0; }
@layer devenzi-map {
	.devenzi-map-near-find input { width: 100%; margin: 0; padding: 7px 38px 7px 12px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 99px; background: #fff; color: #1c191d; font: 400 13px/1.3 system-ui, sans-serif; box-sizing: border-box; }
	.devenzi-map-near-find input:focus { border-color: var(--devenzi-map-accent); outline: 2px solid color-mix(in srgb, var(--devenzi-map-accent) 30%, transparent); outline-offset: 0; }
	.devenzi-map-near-find button { position: absolute; top: 3px; right: 3px; bottom: 3px; display: grid; place-items: center; width: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--devenzi-map-accent); color: #fff; cursor: pointer; transition: transform .15s; }
	.devenzi-map-near-find button:hover { transform: scale(1.08); }
	.devenzi-map-near-from { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin: 0 0 8px; padding: 5px 8px 5px 12px; border: 1px solid var(--devenzi-map-accent); border-radius: 99px; background: color-mix(in srgb, var(--devenzi-map-accent) 10%, #fff); color: #1c191d; font: 600 13px/1.3 system-ui, sans-serif; text-align: left; cursor: pointer; }
}
.devenzi-map-near-find svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.devenzi-map-near-find.is-busy button { opacity: .5; cursor: progress; }
.devenzi-map-near-find input::-webkit-search-cancel-button { display: none; }
.devenzi-map-near-from span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.devenzi-map-near-from span:last-child { font-size: 16px; line-height: 1; opacity: .6; }
.devenzi-map-near-msg { margin: 0 0 8px; color: #b42318; font: 400 12px/1.4 system-ui, sans-serif; }
.devenzi-map-near-msg:empty { display: none; }
@keyframes devenzi-map-pulse { 50% { transform: scale(.5); } }
.devenzi-map-list-dist { display: inline-block; margin: 2px 8px 0 0; color: var(--devenzi-map-accent); font-size: 12px; font-style: normal; font-weight: 700; }

/* Elementor editor placeholder. */
.devenzi-map-builder { position: relative; }
.devenzi-map-builder-edit { position: absolute; top: 12px; left: 12px; z-index: 6; padding: 8px 14px; border-radius: 99px; background: #1c191d; color: #fff !important; font: 700 13px/1.2 system-ui, sans-serif; text-decoration: none !important; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.devenzi-map-builder:hover .devenzi-map-builder-edit { opacity: 1; transform: none; }
.devenzi-map-builder-empty { padding: 28px; border: 2px dashed #d9d3cc; border-radius: 14px; color: #6b635d; font: 14px/1.5 system-ui, sans-serif; text-align: center; }

.devenzi-map-card-body .devenzi-map-head { display: flex; align-items: center; gap: 12px; padding-right: 24px; }
.devenzi-map-card-body .devenzi-map-head + * { margin-top: 10px; }
.devenzi-map-card-body .devenzi-map-head-ic { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--devenzi-map-ic, var(--devenzi-map-accent)) 13%, #fff); color: var(--devenzi-map-ic, var(--devenzi-map-accent)); }
.devenzi-map-card-body .devenzi-map-head-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.devenzi-map-card-body .devenzi-map-head-name { min-width: 0; }
.devenzi-map-card-body .devenzi-map-head-name small { display: block; margin: 0; color: #8a817a; font-size: 12px; font-weight: 500; line-height: 1.3; }
.devenzi-map-card-body .devenzi-map-head-name b { display: block; font-size: 15px; font-weight: 650; line-height: 1.3; }

@layer devenzi-map {
	.devenzi-map-card .devenzi-map-ib { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 12px; background: rgba(15, 23, 42, .06); color: #1c191d; font-size: 13px; font-weight: 700; box-shadow: none; text-decoration: none; cursor: pointer; transition: background .12s, transform .12s cubic-bezier(.2, .8, .2, 1); }
	.devenzi-map-card .devenzi-map-ib:hover { background: rgba(15, 23, 42, .11); transform: translateY(-1px); filter: none; box-shadow: none; }
	.devenzi-map-card .devenzi-map-ib:active { transform: scale(.94); }
}
.devenzi-map-card .devenzi-map-ib svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@layer devenzi-map {
	.devenzi-map-card .devenzi-map-ib.is-main { background: var(--devenzi-map-accent); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--devenzi-map-accent) 70%, transparent); }
	.devenzi-map-card .devenzi-map-ib.is-main:hover { background: var(--devenzi-map-accent); filter: brightness(1.06); }
	.devenzi-map-card .devenzi-map-ib:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(15, 23, 42, .14); }
}
.devenzi-map-card .devenzi-map-ib[data-tip]:is(:hover, :focus-visible)::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; z-index: 2; padding: 5px 8px; border-radius: 8px; background: #0f172a; color: #fff; font: 600 12px/1.2 system-ui, sans-serif; white-space: nowrap; pointer-events: none; transform: translateX(-50%); animation: devenzi-map-pop .12s; }
.devenzi-map-card .devenzi-map-ib[data-tip]:first-child::after { left: 0; transform: none; }
.devenzi-map-card .devenzi-map-ib[data-tip]:last-child:not(:first-child)::after { right: 0; left: auto; transform: none; }
.devenzi-map-card-buttons > a:not(.devenzi-map-ib) { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 12px; }
/* Stays white without underline, even against a theme's "content a" or "a:hover". */
.devenzi-map-map .devenzi-map-card-buttons > a:not(.devenzi-map-ib):not(#devenzi-map-none) { color: #fff; text-decoration: none; }

.devenzi-map-card[style*="width"] img, .devenzi-map-card[style*="width"] .devenzi-map-gallery { width: 100%; max-width: none; }
/* Studio only: handle to drag the popup width. */
.devenzi-map-map .maplibregl-popup-content .devenzi-map-pw { position: absolute; top: 0; right: 0; bottom: 0; z-index: 3; width: 12px; cursor: ew-resize; touch-action: none; }
.devenzi-map-map .maplibregl-popup-content .devenzi-map-pw::after { content: ""; position: absolute; top: 50%; right: 4px; width: 4px; height: 30px; margin-top: -15px; border-radius: 2px; background: rgba(15, 23, 42, .22); opacity: 0; transition: opacity .12s; }
.devenzi-map-map .maplibregl-popup-content:hover .devenzi-map-pw::after { opacity: 1; }

/* Found photos (Wikimedia, Mapillary) must carry their credit. */
.devenzi-map-photo, .devenzi-map-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.devenzi-map-slide img { width: 100%; }
.devenzi-map-credit { position: absolute; right: 6px; bottom: 6px; display: flex; align-items: center; max-width: calc(100% - 12px); height: 20px; overflow: hidden; border-radius: 99px; background: rgba(0, 0, 0, .45); color: #fff; font: 500 10px/20px system-ui, sans-serif; white-space: nowrap; cursor: default; outline: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.devenzi-map-credit b { flex: none; width: 20px; font-size: 11px; font-weight: 700; text-align: center; }
.devenzi-map-card-body .devenzi-map-credit small, .devenzi-map-credit small { display: block; max-width: 0; overflow: hidden; color: inherit; font: inherit; text-overflow: ellipsis; transition: max-width .25s ease, padding .25s ease; }
/* Opens on hover (a tap counts on phones) or keyboard focus, not on the focus the popup sets itself. */
.devenzi-map-credit:hover small, .devenzi-map-credit:focus-visible small, .devenzi-map-credit:has(a:focus-visible) small { max-width: 240px; padding-right: 8px; }
.devenzi-map-credit:focus-visible { box-shadow: 0 0 0 2px #fff; }
.devenzi-map-card .devenzi-map-credit a { display: inline; padding: 0; border-radius: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* The shield: the controls take every property from the layer "devenzi-map" or the browser. The two ids that never
   exist add more specificity than any theme's button selector. */
.devenzi-map-map :is(button, input, select, textarea, a.devenzi-map-ib):not(#devenzi-map-none):not(#devenzi-map-none) { all: revert-layer; }
