/* 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); }
/* The map's credit, as small as it may be: one line of small type on a light, see-through ground, close to the
   corner and never wider than its words. After a moment it folds into its "i" (see the map script). */
.devenzi-map-map .maplibregl-ctrl-attrib { font-size: 10.5px; line-height: 1.6; }
.devenzi-map-map .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 18px; margin: 0 6px 6px 0; padding: 0 18px 0 0; border-radius: 9px; background-color: rgba(255, 255, 255, .7); }
.devenzi-map-map .maplibregl-ctrl-attrib.maplibregl-compact-show { padding: 1px 22px 1px 8px; background-color: rgba(255, 255, 255, .82); }
.devenzi-map-map .maplibregl-ctrl-attrib-inner { white-space: nowrap; }
/* Narrower than its words: then it may take a second line. */
@container (max-width: 300px) { .devenzi-map-map .maplibregl-ctrl-attrib-inner { white-space: normal; } }
.devenzi-map-map .maplibregl-ctrl-attrib-button { right: 0; bottom: 0; width: 18px; height: 18px; border-radius: 9px; background-size: 18px 18px; opacity: .75; }
.devenzi-map-map .maplibregl-ctrl-attrib-button:hover, .devenzi-map-map .maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button { opacity: 1; }
.devenzi-map-map .maplibregl-ctrl-attrib.maplibregl-compact::after { width: 18px; height: 18px; background-size: 18px 18px; }
/* A finger needs more to hit than 18 px: the "i" answers in a wider field around it. */
.devenzi-map-map .maplibregl-ctrl-attrib-button::before { content: ""; position: absolute; inset: -11px -6px -6px -11px; }
/* The scale bar (setControls in the map script): a bracket as long as the distance it names, on a light ground with a
   light seam like the buttons, so it reads on dark maps too, in the lower left corner. Its corner is not lifted over the map like MapLibre's other
   corners, so an open popup or sheet covers the bar instead of the bar standing on the popup. */
.devenzi-map-map .maplibregl-ctrl-bottom-left { z-index: auto; }
.devenzi-map-map .maplibregl-ctrl-bottom-left .maplibregl-ctrl-scale { box-sizing: border-box; height: 17px; margin: 0 0 8px 8px; padding: 0 5px; border: 2px solid #3d3734; border-top: 0; border-radius: 0 0 3px 3px; background-color: rgba(255, 255, 255, .86); color: #2b2724; font: 600 10.5px/15px system-ui, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .86), 0 2px 8px rgba(0, 0, 0, .18); pointer-events: none; }

/* 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 var(--devenzi-map-pin-border, 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: block; width: 32px; height: 32px; margin: 4px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #8f8780; font-size: 0; line-height: 0; cursor: pointer; transition: color .15s, background-color .15s; }
	/* Drawn instead of the × character, whose place in its box differs per font: this one is exactly in the middle. */
	.devenzi-map-map .maplibregl-popup-close-button::before, .devenzi-map-map .maplibregl-popup-close-button::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; margin: -1px 0 0 -8px; border-top: 2px solid currentColor; border-radius: 1px; transform: rotate(45deg); }
	.devenzi-map-map .maplibregl-popup-close-button::after { transform: rotate(-45deg); }
	.devenzi-map-map .maplibregl-popup-close-button:hover { background: transparent; color: #1c191d; }
	.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; }
	.devenzi-map-map .maplibregl-popup-content:has(.devenzi-map-card > :is(img, .devenzi-map-gallery):first-child) .maplibregl-popup-close-button:hover { background: rgba(0, 0, 0, .6); }
}
/* 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; } }
/* A short message on the map (e.g. "You are outside the area of this map" after locating), above the controls. */
.devenzi-map-note { position: absolute; z-index: 3; top: 12px; left: 50%; max-width: calc(100% - 120px); padding: 9px 14px; border-radius: 12px; background: rgba(23, 19, 15, .86); color: #fff; font-size: 13.5px; line-height: 1.35; text-align: center; transform: translateX(-50%); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); animation: devenzi-map-pop .22s cubic-bezier(.2, .8, .2, 1); transition: opacity .3s; pointer-events: none; }
.devenzi-map-note.is-gone { opacity: 0; }
/* Narrow maps (phones): the open popup is a sheet along the bottom edge of the map (frontend.js, sheetMode), never cut
   off at the pin; its pin stands out above it. The photo gets shorter so the text has room. */
/* Always a column: with the pin left or right of the popup MapLibre lays it out as a row (anchor-left/-right), which
   shrank the sheet to its text and pushed it into a corner. */
.devenzi-map-map .is-sheet .maplibregl-popup { top: auto !important; right: 8px; bottom: 8px; left: 8px !important; max-width: none !important; transform: none !important; flex-direction: column; animation: none; }
.devenzi-map-map .is-sheet .maplibregl-popup-tip { display: none; }
.devenzi-map-map .is-sheet .maplibregl-popup-content { max-height: var(--devenzi-map-sheet-max, 60vh); overflow: auto; overscroll-behavior: contain; box-shadow: 0 -8px 40px -12px rgba(0, 0, 0, .45); animation: devenzi-map-sheet .26s cubic-bezier(.2, .8, .2, 1); }
.devenzi-map-map .is-sheet .devenzi-map-card img { max-width: none; height: 96px; }
.devenzi-map-map .is-sheet .maplibregl-marker.is-sheet-pin { z-index: 3; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); }
@keyframes devenzi-map-sheet { from { opacity: 0; transform: translateY(18px); } }
.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; }
/* The buttons stand apart from the head and text above them, behind a thin line; small, each with its words. */
.devenzi-map-card-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(15, 23, 42, .09); }
.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: devenzi-map-box / 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; }
/* Below the map (phones) there is no map height to scroll within: the list has its own, or its filters fill it. */
@container (max-width: 693px) { .devenzi-map-map.has-format.has-list-side .devenzi-map-list { min-height: 0; max-height: min(var(--devenzi-map-h, 480px), 60vh); contain: none; } }
.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; }
/* Until when it is open, or when it opens next - as in the popup. */
/* Distance and hours share a line of their own and wrap close together where the entry is narrow. */
.devenzi-map-list-meta { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; }
.devenzi-map-list-meta .devenzi-map-list-dist { display: inline; margin: 0 8px 0 0; }
.devenzi-map-list-hours { display: inline; margin: 0; }
.devenzi-map-list-hours::before { display: inline-block; margin-right: 5px; vertical-align: 1px; }
.devenzi-map-list-hours span { margin-left: 4px; color: #6b635d; font-weight: 400; }
/* The categories of a place (what it offers) as small marks in its entry. */
.devenzi-map-list-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.devenzi-map-list-tags i { padding: 1px 7px; border-radius: 99px; background: rgba(28, 25, 29, .06); color: #4b4540; font: 500 11px/1.5 system-ui, sans-serif; white-space: nowrap; }
.devenzi-map-list-ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; overflow: hidden; border-radius: 8px; background: var(--devenzi-map-accent); box-shadow: 0 2px 6px -2px color-mix(in srgb, var(--devenzi-map-accent) 60%, transparent); }
.devenzi-map-list-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.devenzi-map-list-ic img { width: 100%; height: 100%; object-fit: cover; }
.devenzi-map-list-ic[style*="--devenzi-map-pin-icon"] svg { width: calc(28px * var(--devenzi-map-pin-icon)); height: calc(28px * var(--devenzi-map-pin-icon)); }
.devenzi-map-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
@layer devenzi-map {
	.devenzi-map-chips button { flex: none; white-space: nowrap; 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 { display: block; width: 100%; height: 40px; margin: 0; padding: 0 12px 0 34px; border: 1px solid rgba(28, 25, 29, .16); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b635d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.4-4.4'/%3E%3C/svg%3E") 11px 50% / 16px 16px no-repeat; color: #1c191d; font: 400 14px/1.4 system-ui, sans-serif; box-sizing: border-box; }
	.devenzi-map-search:focus { border-color: var(--devenzi-map-accent); outline: 2px solid color-mix(in srgb, var(--devenzi-map-accent) 30%, transparent); outline-offset: 0; }
}

@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) * var(--devenzi-map-pin-icon, .45)); height: calc(var(--s, 40px) * var(--devenzi-map-pin-icon, .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); }
/* While its popup hangs below the pin, the name sits above it (see frontend.js). */
.is-label-up .devenzi-map-pin-label { top: auto; bottom: calc(100% + 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) * var(--devenzi-map-pin-icon, .75)); height: calc(var(--s, 40px) * var(--devenzi-map-pin-icon, .75)); stroke: var(--devenzi-map-pin-fg, var(--devenzi-map-accent)); stroke-width: 2.4; filter: drop-shadow(0 0 1.2px var(--devenzi-map-pin-border, #fff)) drop-shadow(0 0 1.2px var(--devenzi-map-pin-border, #fff)) drop-shadow(0 0 1.2px var(--devenzi-map-pin-border, #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 var(--devenzi-map-pin-border, #fff), 0 4px 10px rgba(0, 0, 0, .3); }
/* Slim pin (02.12.2026): a round head with a tapering point below it, close to the classic map pin – it marks a spot
   and covers little of the map. Pushpin: a small head on a thin needle, the head a little higher up. In both the tip is
   the element's bottom edge, which sits on the place (anchor "bottom" in frontend.js). --h is the head's size. */
.devenzi-map-pin--slim { --h: calc(var(--s, 40px) * .74); width: var(--h); height: calc(var(--h) * 34 / 24); }
.devenzi-map-pin--needle { --h: calc(var(--s, 40px) * .6); width: var(--h); height: calc(var(--s, 40px) * 1.25); }
.devenzi-map-pin--needle .devenzi-map-pin-body { inset: 0 auto auto 0; width: var(--h); height: var(--h); border-radius: 50%; transform: none; transform-origin: 50% 100%; }
.devenzi-map-pin--needle .devenzi-map-pin-body > * { transform: none; }
/* The pushpin's head is a little glass ball: a highlight up on the left. */
.devenzi-map-pin--needle .devenzi-map-pin-body { background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 46%), var(--devenzi-map-accent); }
.devenzi-map-pin--slim:hover .devenzi-map-pin-body, .devenzi-map-pin--needle:hover .devenzi-map-pin-body { transform: scale(1.08); }
/* The slim pin is one shape, as the classic map pin: a round head whose sides run on into the point without a seam
   (Marius, 02.12.2026: "an ice-cream cone with its scoop"). Drawn as one silhouette (a mask in the pin's colour), the
   shadow round it all; the icon or photo sits in the middle of the head. */
.devenzi-map-pin--slim .devenzi-map-pin-body, .devenzi-map-pin--slim.is-small .devenzi-map-pin-body { inset: 0; width: auto; height: auto; border-radius: 0; transform: none; transform-origin: 50% 100%; background: none; box-shadow: none; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.devenzi-map-pin--slim .devenzi-map-pin-body::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--devenzi-map-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 34'%3E%3Cpath d='M12 0C5.37 0 0 5.37 0 12c0 3.73 1.62 6.86 3.9 9.82C6.67 25.4 10.05 29.1 12 34c1.95-4.9 5.33-8.6 8.1-12.18C22.38 18.86 24 15.73 24 12 24 5.37 18.63 0 12 0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 34'%3E%3Cpath d='M12 0C5.37 0 0 5.37 0 12c0 3.73 1.62 6.86 3.9 9.82C6.67 25.4 10.05 29.1 12 34c1.95-4.9 5.33-8.6 8.1-12.18C22.38 18.86 24 15.73 24 12 24 5.37 18.63 0 12 0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.devenzi-map-pin--slim .devenzi-map-pin-body > * { position: absolute; left: 50%; top: calc(var(--h) / 2); transform: translate(-50%, -50%); }
.devenzi-map-pin--slim img { border-radius: 50%; }
.devenzi-map-pin--needle .devenzi-map-pin-body::before { content: ""; position: absolute; z-index: -1; left: 50%; top: calc(var(--h) * .82); width: 2.4px; height: calc(var(--s, 40px) * 1.25 - var(--h) * .82); margin-left: -1.2px; border-radius: 0 0 1.2px 1.2px; background: linear-gradient(90deg, #8b919c, #3b3f47 60%, #23262c); box-shadow: 1px 1px 2px rgba(0, 0, 0, .25); }
.devenzi-map-pin--slim svg { width: calc(var(--h) * var(--devenzi-map-pin-icon, .5)); height: calc(var(--h) * var(--devenzi-map-pin-icon, .5)); }
.devenzi-map-pin--needle svg { width: calc(var(--h) * var(--devenzi-map-pin-icon, .5)); height: calc(var(--h) * var(--devenzi-map-pin-icon, .5)); }
.devenzi-map-pin--slim img, .devenzi-map-pin--needle img { width: calc(var(--h) - 6px); height: calc(var(--h) - 6px); }
.devenzi-map-pin--slim .devenzi-map-pin-shadow, .devenzi-map-pin--needle .devenzi-map-pin-shadow { bottom: -3px; width: 10px; height: 4px; margin-left: -5px; }
.devenzi-map-pin--slim .devenzi-map-pin-label { top: calc(var(--h) * 34 / 24 + 6px); }
.devenzi-map-pin--needle .devenzi-map-pin-label { top: calc(var(--s, 40px) * 1.25 + 6px); }
.devenzi-map-pin--slim.is-list-hot .devenzi-map-pin-body, .devenzi-map-pin--needle.is-list-hot .devenzi-map-pin-body { transform: scale(1.18); }

@layer devenzi-map {
	/* The line for the visitor's position has a look of its own, the same on every site: neutral field and frame, and
	   the blue of the visitor's dot on the map (--devenzi-map-here) for "my location" and the focus. The map's own
	   colour is kept for the list below it. Field and button are one line: same height, same corners. */
	.devenzi-map-near { display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 7px; height: 40px; margin: 0; padding: 0 14px; border: 1px solid rgba(28, 25, 29, .16); border-radius: 10px; background: #fff; color: #1c191d; font: 600 13.5px/1.2 system-ui, sans-serif; white-space: nowrap; cursor: pointer; box-sizing: border-box; transition: border-color .15s, background .2s, color .2s; }
}
.devenzi-map-near svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--devenzi-map-here); stroke-width: 2; stroke-linecap: round; }
@layer devenzi-map {
	.devenzi-map-near:hover { border-color: var(--devenzi-map-here); }
	.devenzi-map-near:focus-visible { border-color: var(--devenzi-map-here); outline: 2px solid color-mix(in srgb, var(--devenzi-map-here) 30%, transparent); outline-offset: 0; }
	/* In use: still white with the blue sign - a blue frame and the dot of the sign filled say so. */
	.devenzi-map-near.is-on { border-color: var(--devenzi-map-here); }
}
.devenzi-map-near.is-on svg circle:first-child { fill: var(--devenzi-map-here); }
.devenzi-map-near.is-busy svg { animation: devenzi-map-pulse 1s ease-in-out infinite; }
.devenzi-map-near-bar { display: flex; flex: 2 1 260px; flex-wrap: wrap; align-items: stretch; gap: 6px; min-width: 0; margin: 0; }
.devenzi-map-near-find { position: relative; flex: 999 1 210px; min-width: 0; margin: 0; }
.devenzi-map-near-find::before { content: ""; position: absolute; top: 50%; left: 11px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b635d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E") 50% / contain no-repeat; transform: translateY(-50%); pointer-events: none; }
@layer devenzi-map {
	.devenzi-map-near-find input { width: 100%; height: 40px; margin: 0; padding: 0 40px 0 34px; border: 1px solid rgba(28, 25, 29, .16); border-radius: 10px; background: #fff; color: #1c191d; font: 400 14px/1.3 system-ui, sans-serif; box-sizing: border-box; }
	.devenzi-map-near-find input:focus { border-color: var(--devenzi-map-here); outline: 2px solid color-mix(in srgb, var(--devenzi-map-here) 30%, transparent); outline-offset: 0; }
	/* Sending the typed place: a plain arrow in the field, grey, darker once there is something to send. */
	.devenzi-map-near-find > button { position: absolute; top: 4px; right: 4px; bottom: 4px; display: grid; place-items: center; width: 32px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #9a928b; cursor: pointer; transition: color .15s, background .15s; }
	.devenzi-map-near-find input:focus + button, .devenzi-map-near-find input:not(:placeholder-shown) + button { color: #1c191d; }
	.devenzi-map-near-find > button:hover, .devenzi-map-near-find > button:focus-visible { background: rgba(28, 25, 29, .07); color: #1c191d; }
	.devenzi-map-near-from { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin: 0; padding: 5px 8px 5px 12px; border: 1px solid var(--devenzi-map-here); border-radius: 99px; background: #fff; color: #1c191d; font: 600 13px/1.3 system-ui, sans-serif; text-align: left; cursor: pointer; }
}
.devenzi-map-near-find > button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; 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-map .devenzi-map-near-msg { flex: 1 1 100%; margin: 0; padding: 0; color: #b42318; font: 400 12px/1.4 system-ui, sans-serif; }
.devenzi-map-near-msg:empty { display: none; }
/* "Near me" limited to a distance: chips with the number of places in reach. */
.devenzi-map-radius button span { margin-left: 2px; font-weight: 500; opacity: .65; }
.devenzi-map-list-none { margin: 0 0 8px; color: #6b6259; font: 400 13px/1.4 system-ui, sans-serif; }
.devenzi-map-list-none[hidden] { display: none; }
/* "Open now": a switch of its own next to the categories. */
/* Suggestions while typing a place: part of the list, so a scrolling list never cuts them off. */
/* The suggestions for a typed place: a menu that hangs from the field and floats above the list. */
.devenzi-map-near-sug { position: absolute; top: calc(100% + 4px); right: 0; left: 0; z-index: 6; display: grid; gap: 2px; margin: 0; padding: 4px; border: 1px solid rgba(28, 25, 29, .12); border-radius: 12px; background: #fff; box-shadow: 0 14px 34px -12px rgba(28, 25, 29, .38), 0 2px 6px rgba(28, 25, 29, .08); }
.devenzi-map-near-sug[hidden] { display: none; }
/* A place's phone number: one tap in the list and in the popup. */
.devenzi-map-list li.has-call { position: relative; }
/* Beside an entry: its phone and, once the visitor's position is known, the way there. */
.devenzi-map-list-acts { position: absolute; top: 50%; right: 8px; display: grid; gap: 6px; transform: translateY(-50%); }
.devenzi-map-list li.is-nearest .devenzi-map-list-acts { top: 38px; }
.devenzi-map-list-call { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--devenzi-map-accent) 12%, #fff); color: var(--devenzi-map-accent); }
.devenzi-map-list-call:hover { background: var(--devenzi-map-accent); color: #fff; }
.devenzi-map-list-call svg, .devenzi-map-card-tel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.devenzi-map-card-body a.devenzi-map-card-tel { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0; padding: 0; border-radius: 0; background: none; color: inherit; font-size: 13px; font-weight: 600; text-decoration: none; }
.devenzi-map-card-body a.devenzi-map-card-tel:hover { text-decoration: underline; }
/* Address check above the map: "Do we deliver to you?". */
.devenzi-map-check { flex: 1 1 100%; order: -2; box-sizing: border-box; margin: 0 0 12px; padding: 14px; border-radius: 14px; background: #f6f4f1; color: #1c191d; font: 400 13.5px/1.4 system-ui, sans-serif; }
.devenzi-map-map.has-list-side .devenzi-map-check { margin: 0; }
.devenzi-map-check-q { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.devenzi-map-check-row { display: flex; flex-wrap: wrap; gap: 6px; }
.devenzi-map-check-form { display: flex; flex: 1 1 260px; gap: 6px; min-width: 0; margin: 0; }
.devenzi-map-check-form.is-busy { opacity: .6; }
.devenzi-map-check-res { display: grid; gap: 3px; justify-items: start; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff; }
.devenzi-map-check-res[hidden] { display: none; }
.devenzi-map-check-res span { color: #6b6259; font-size: 12.5px; }
.devenzi-map-check-res.is-in { background: #e7f6ec; color: #14532d; }
.devenzi-map-check-res.is-edge { background: #fef3c7; color: #713f12; }
.devenzi-map-check-res.is-out { background: #fdecea; color: #7f1d1d; }
/* Buttons belong in the layer: the guard against theme styles below reverts every button rule outside it. */
@layer devenzi-map {
	.devenzi-map-check-form input { flex: 1; width: auto; min-width: 0; padding: 8px 12px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 10px; background: #fff; color: #1c191d; font: 400 13.5px/1.3 system-ui, sans-serif; }
	.devenzi-map-check-form 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-check-form button { padding: 8px 16px; border-radius: 10px; background: var(--devenzi-map-accent); color: #fff; font: 600 13.5px/1.3 system-ui, sans-serif; }
	.devenzi-map-check-gps { padding: 8px 12px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 10px; background: #fff; color: #1c191d; font: 600 13px/1.3 system-ui, sans-serif; }
	.devenzi-map-check-gps.is-busy { opacity: .6; }
	.devenzi-map-check :disabled { opacity: .55; cursor: default; }
	.devenzi-map-check-res button { margin-top: 3px; color: inherit; font: 600 13px/1.3 system-ui, sans-serif; text-decoration: underline; }
	.devenzi-map-radius button:disabled, .devenzi-map-open-now:disabled { opacity: .4; cursor: default; }
	.devenzi-map-near-sug button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 7px 10px; border-radius: 8px; color: #1c191d; font: 400 13px/1.3 system-ui, sans-serif; text-align: left; }
	.devenzi-map-near-sug button:hover, .devenzi-map-near-sug button.is-on { background: rgba(28, 25, 29, .07); }
	.devenzi-map-list li.has-call > button { padding-right: 48px; }
}
.devenzi-map-card-tel svg { width: 14px; height: 14px; color: var(--devenzi-map-accent); }
@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; }
.devenzi-map-ib-t { display: none; }
@layer devenzi-map {
	.devenzi-map-card .devenzi-map-card-buttons .devenzi-map-ib { display: inline-flex; gap: 6px; width: auto; height: 30px; padding: 0 11px 0 9px; border-radius: 9px; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
}
.devenzi-map-card .devenzi-map-card-buttons .devenzi-map-ib svg { width: 15px; height: 15px; }
.devenzi-map-card-buttons .devenzi-map-ib-t { display: inline; margin: 0; color: inherit; font: inherit; white-space: nowrap; }
.devenzi-map-card .devenzi-map-card-buttons .devenzi-map-ib[data-tip]::after { content: none; }
@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: 30px; padding: 0 12px; border-radius: 9px; font-size: 12.5px; }
/* 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; }

/* A popup too big for a small map: a card right below it, its pin marked (frontend.js, dockPopup). */
.devenzi-map-dock { flex: 1 1 100%; min-width: 0; margin-top: 12px; container-type: inline-size; }
.devenzi-map-map.has-list-side .devenzi-map-dock { order: -1; flex: 1 1 240px; max-height: var(--devenzi-map-h, 480px); margin-top: 0; overflow: auto; }
@container (max-width: 693px) { .devenzi-map-map.has-list-side .devenzi-map-dock { order: 1; flex-basis: 100%; max-height: none; } }
.devenzi-map-list.is-dock-away { display: none !important; }
.devenzi-map-map.has-dock-side { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 14px; }
.devenzi-map-map.has-dock-side > * { flex: 1 1 100%; min-width: 0; }
.devenzi-map-map.has-dock-side > .devenzi-map-link { flex: none; }
.devenzi-map-map.has-dock-side > .devenzi-map-stage { flex: 1 1 0; }
.devenzi-map-map.has-dock-side > .devenzi-map-dock { flex: 0 0 340px; margin-top: 0; overflow: auto; }
.devenzi-map-dock-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #6b635d; font-size: 13px; }
.devenzi-map-dock-bar[hidden] { display: none; }
.devenzi-map-dock-pager { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.devenzi-map-map .devenzi-map-dock .maplibregl-popup-content::after { content: ""; position: absolute; z-index: 2; top: 0; right: 0; left: 0; height: 3px; background: var(--devenzi-map-link, #ff7a12); pointer-events: none; }
.devenzi-map-map .devenzi-map-dock[data-edge="left"] .maplibregl-popup-content::after { right: auto; bottom: 0; width: 3px; height: auto; }
.devenzi-map-map .devenzi-map-dock[data-edge="right"] .maplibregl-popup-content::after { left: auto; bottom: 0; width: 3px; height: auto; }
.devenzi-map-link { position: absolute; z-index: 4; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(1px 3px 3px rgba(15, 23, 42, .28)); transition: opacity .34s ease; }
.devenzi-map-link.is-out { opacity: 0; }
.devenzi-map-link path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.devenzi-map-link .is-halo { stroke: rgba(255, 255, 255, .92); stroke-width: 4.5; }
.devenzi-map-link .is-line { stroke: var(--devenzi-map-link, #ff7a12); stroke-width: 2; }
.devenzi-map-link circle { fill: #fff; stroke: var(--devenzi-map-link, #ff7a12); stroke-width: 2.5; }
.devenzi-map-link.is-in path { stroke-dasharray: 1; animation: devenzi-map-link .42s cubic-bezier(.3, .7, .3, 1); }
@keyframes devenzi-map-link { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.devenzi-map-pin.is-tug .devenzi-map-pin-body { animation: devenzi-map-tug .4s ease-out; }
@keyframes devenzi-map-tug { 35% { scale: 1.16; } 70% { scale: .96; } }
@media (prefers-reduced-motion: reduce) {
	.devenzi-map-link { display: none !important; }
	.devenzi-map-pin.is-tug .devenzi-map-pin-body { animation: none; }
}
.devenzi-map-dock[hidden] { display: none; }
.devenzi-map-map .devenzi-map-dock .maplibregl-popup { position: relative; top: auto !important; left: auto !important; z-index: auto; display: block; width: 100%; max-width: none !important; transform: none !important; animation: none; }
.devenzi-map-map .devenzi-map-dock .maplibregl-popup-tip, .devenzi-map-map .devenzi-map-dock .devenzi-map-pw { display: none; }
.devenzi-map-map .devenzi-map-dock .maplibregl-popup-content { border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .4); animation: devenzi-map-sheet .22s cubic-bezier(.2, .8, .2, 1); }
.devenzi-map-dock .devenzi-map-card { width: auto !important; }
.devenzi-map-dock .devenzi-map-card img { max-width: none; }
.devenzi-map-map .maplibregl-marker.is-dock-pin, .devenzi-map-map .maplibregl-marker.is-nearest { z-index: 3; }
/* The pin of the list entry under the pointer or with the focus. */
.devenzi-map-map .maplibregl-marker.is-list-hot { z-index: 4; }
.devenzi-map-pin--circle.is-list-hot .devenzi-map-pin-body, .devenzi-map-pin--square.is-list-hot .devenzi-map-pin-body, .devenzi-map-pin--icon.is-list-hot .devenzi-map-pin-body { transform: scale(1.18); }
.devenzi-map-map:has(.is-dock-pin) .devenzi-map-pin.is-nearest:not(.is-dock-pin)::before { display: none; }
.devenzi-map-me { z-index: 2; width: 22px; height: 22px; box-sizing: border-box; border: 3px solid #fff; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 1px rgba(15, 23, 42, .18), 0 3px 8px rgba(15, 23, 42, .4); pointer-events: none; }
.devenzi-map-me::after { content: ""; position: absolute; inset: -13px; border-radius: 50%; background: rgba(37, 99, 235, .22); z-index: -1; }
@media (prefers-reduced-motion: no-preference) {
	/* Twice, to catch the eye; then it rests. */
	.devenzi-map-me::after { animation: devenzi-map-me 1.6s ease-out 2 backwards; }
}
@keyframes devenzi-map-me { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }
.devenzi-map-nearest-acts { display: flex; align-items: center; gap: 6px; padding: 5px 8px 6px 12px; border: 1px solid color-mix(in srgb, var(--devenzi-map-accent) 50%, #fff); border-top: 0; border-radius: 0 0 12px 12px; background: color-mix(in srgb, var(--devenzi-map-accent) 8%, #fff); }
.devenzi-map-nearest-acts > span { margin-right: auto; color: color-mix(in srgb, var(--devenzi-map-accent) 72%, #000); font-size: 12px; font-weight: 700; }
/* Controls: in the layer, or the shield at the end of this file takes their look away. */
@layer devenzi-map {
	.devenzi-map-list li.is-nearest > button { border-color: color-mix(in srgb, var(--devenzi-map-accent) 50%, #fff); border-bottom-color: transparent; border-radius: 12px 12px 0 0; }
	.devenzi-map-nearest-acts .devenzi-map-ib { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; min-height: 0; padding: 0; border: 0; border-radius: 9px; background: var(--devenzi-map-accent); color: #fff; cursor: pointer; }
	.devenzi-map-nearest-acts .devenzi-map-ib:hover { filter: brightness(1.08); }
	.devenzi-map-nearest-acts .devenzi-map-ib:focus-visible { outline: 2px solid var(--devenzi-map-accent); outline-offset: 2px; }
	.devenzi-map-nearest-acts .devenzi-map-ib svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}
/* The chosen place glows on the ground under the pin; the pin itself stays as it is. The map's tilt flattens the glow. */
.devenzi-map-pin { --devenzi-map-spot-y: 100%; }
.devenzi-map-pin--drop { --devenzi-map-spot-y: calc(100% + var(--s, 40px) * .16); }
.devenzi-map-pin--icon { --devenzi-map-spot-y: 92%; }
.devenzi-map-pin.is-dock-pin::before, .devenzi-map-pin.is-nearest::before, .devenzi-map-pin.is-ground-mark::before, .devenzi-map-pin.ps-picked::before, .devenzi-map-pin.is-active::before, .devenzi-map-pin.is-list-hot::before { content: ""; position: absolute; top: var(--devenzi-map-spot-y); left: 50%; width: calc(var(--s, 40px) * 1.05); height: calc(var(--s, 40px) * 1.05); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--devenzi-map-accent, #f97316) 82%, #fff) 0 20%, color-mix(in srgb, var(--devenzi-map-accent, #f97316) 58%, transparent) 44%, color-mix(in srgb, var(--devenzi-map-accent, #f97316) 22%, transparent) 72%, transparent 100%); transform: translate(-50%, -50%) scaleY(var(--devenzi-map-spot-squash, .62)); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
	.devenzi-map-pin.is-dock-pin::before, .devenzi-map-pin.is-nearest::before, .devenzi-map-pin.is-ground-mark::before, .devenzi-map-pin.ps-picked::before, .devenzi-map-pin.is-active::before, .devenzi-map-pin.is-list-hot::before { animation: devenzi-map-spot .28s ease-out; }
}
@keyframes devenzi-map-spot { from { opacity: 0; transform: translate(-50%, -50%) scale(.45, calc(var(--devenzi-map-spot-squash, .62) * .45)); } }
/* Located outside a locked area: where you are, and the way back. */
.devenzi-map-you { width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #1d8cf8; box-shadow: 0 0 0 6px rgba(29, 140, 248, .25), 0 2px 6px rgba(0, 0, 0, .35); }
@layer devenzi-map {
	.devenzi-map-back { position: absolute; z-index: 3; bottom: 14px; left: 50%; padding: 9px 16px; border-radius: 99px; background: var(--devenzi-map-accent, #f97316); color: #fff; font: 600 13.5px/1.3 system-ui, sans-serif; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); cursor: pointer; transform: translateX(-50%); }
}
@layer devenzi-map {
	.devenzi-map-dock[data-at="list"] .maplibregl-popup-close-button { display: none; }
	.devenzi-map-dock-all { padding: 6px 10px; 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; }
	.devenzi-map-dock-all:hover { border-color: var(--devenzi-map-link, #ff7a12); }
	.devenzi-map-dock-pager button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(0, 0, 0, .12); border-radius: 50%; background: #fff; color: #1c191d; font: 500 19px/1 system-ui, sans-serif; cursor: pointer; }
	.devenzi-map-dock-pager button:hover { border-color: var(--devenzi-map-link, #ff7a12); }
}
/* Booths: the floor plan on the map is what visitors click (frontend.js, boothsGeo); the pin element only anchors the
   popup and the name, centred on the booth. In the studio it is a small grip to drag and pick the booth. */
.devenzi-map-pin--booth { --s: 14px; cursor: pointer; }
.devenzi-map-pin--booth .devenzi-map-pin-shadow { display: none; }
.devenzi-map-pin--booth .devenzi-map-pin-body { visibility: hidden; transform: none; border-radius: 50%; }
.devenzi-map-pin--booth .devenzi-map-pin-body > * { display: none; }
.devenzi-map-pin--booth.is-edit .devenzi-map-pin-body { visibility: visible; background: var(--devenzi-map-accent); box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0, 0, 0, .35); }
.devenzi-map-pin--booth .devenzi-map-pin-label { top: 50%; transform: translate(-50%, -50%); padding: 1px 6px; font-size: 11px; }
.devenzi-map-pin--booth.is-edit .devenzi-map-pin-label { top: calc(100% + 4px); transform: translateX(-50%); }
/* A booth's name carries its icon. From afar the group names replace the single ones (frontend.js, boothDistance). */
.devenzi-map-pin--booth .devenzi-map-pin-label { display: inline-flex; align-items: center; gap: 4px; }
.devenzi-map-pin--booth .devenzi-map-pin-label svg { flex: none; width: 12px; height: 12px; fill: none; stroke: var(--devenzi-map-accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.is-booths-far .devenzi-map-pin--booth .devenzi-map-pin-label { display: none; }
.is-booths-far .devenzi-map-pin--booth:not(.is-edit) { pointer-events: none; }
/* With many booths the list folds into one group per category (frontend.js, listItems). */
.devenzi-map-list .devenzi-map-list-group { grid-column: 1 / -1; }
.devenzi-map-list-group > details > summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .04); color: #1c191d; font: 600 14px/1.3 system-ui, sans-serif; cursor: pointer; list-style: none; }
.devenzi-map-list-group > details > summary::-webkit-details-marker { display: none; }
.devenzi-map-list-group > details > summary::before { content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 2px 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.devenzi-map-list-group > details[open] > summary::before { transform: rotate(45deg); margin-bottom: 4px; }
.devenzi-map-list-group > details > summary span { flex: 1; }
.devenzi-map-list-group > details > summary em { font-style: normal; font-weight: 600; font-size: 12px; padding: 1px 8px; border-radius: 99px; background: #fff; color: rgba(28, 25, 29, .7); font-variant-numeric: tabular-nums; }
.devenzi-map-list-group > details > ul { margin-top: 6px; }

/* Zoomed out beyond the map's own view, pins shrink with the map (farPins in frontend.js sets --s). Their names go
   first (.is-far on the map); hover or focus still shows one. A pin under 24 px is drawn simpler (.is-small): a thin
   ring outside instead of the wide one inside, the icon larger in it and with a heavier line, so that it can still
   be told, and a larger area to hit. */
.devenzi-map-pin-label { transition: opacity .2s; }
.is-far .devenzi-map-pin-label { opacity: 0; }
.is-far .devenzi-map-pin:hover .devenzi-map-pin-label, .is-far .devenzi-map-pin:focus-visible .devenzi-map-pin-label { opacity: 1; visibility: visible; z-index: 3; }
.devenzi-map-pin.is-small .devenzi-map-pin-body { box-shadow: 0 0 0 1.5px var(--devenzi-map-pin-border, #fff), 0 1px 4px 1px rgba(0, 0, 0, .4); }
.devenzi-map-pin.is-small .devenzi-map-pin-shadow { display: none; }
.devenzi-map-pin.is-small svg { width: calc(var(--s, 40px) * .66); height: calc(var(--s, 40px) * .66); stroke-width: 2.8; }
.devenzi-map-pin.is-small img { width: 100%; height: 100%; }
.devenzi-map-pin--icon.is-small .devenzi-map-pin-body { border-radius: 50%; background: var(--devenzi-map-pin-fg, var(--devenzi-map-accent)); }
.devenzi-map-pin--icon.is-small svg { stroke: #fff; filter: none; }
.devenzi-map-pin.is-small::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
/* The list is a container of its own: its head and entries follow its width - a narrow column beside the map, the
   full width below it or on a phone. */
.devenzi-map-list { --devenzi-map-here: #2563eb; container: devenzi-map-list / inline-size; }
/* Beside a wide map the list gets room for its pictures. */
@container (min-width: 900px) { .devenzi-map-map.has-list-side .devenzi-map-list { flex-basis: 320px; } }
/* Head, part one: where the visitor is. One field for a typed place, the GPS button right at it. */
.devenzi-map-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; padding: 12px; border: 1px solid rgba(28, 25, 29, .08); border-radius: 14px; background: rgba(28, 25, 29, .035); }
.devenzi-map-map .devenzi-map-find-title { flex: 1 1 170px; margin: 0; padding: 0; color: #1c191d; font-size: 15px; font-weight: 700; line-height: 1.3; }
/* Head, part two: the list's own - how many places, the search in them, the filters - right above the entries. */
/* Head, part two: the list's own, all on one grid with the field above (fields 40 px high, 10 px corners, 8 px
   apart): the filters, then the search right above the entries it looks through, then - once fewer places are listed
   than there are - a quiet line that says how many, with the way back to all. */
.devenzi-map-list-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 8px; }
.devenzi-map-list-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 24px; }
.devenzi-map-list-top.is-all { position: absolute; width: 1px; height: 1px; min-height: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.devenzi-map-list-head .devenzi-map-chips { margin-bottom: 0; }
.devenzi-map-list-count { color: #5d5650; font-size: 13px; font-weight: 500; line-height: 1.4; }
@layer devenzi-map {
	/* In the column beside the map, where height is short, the GPS button is its icon right at the field; its name
	   stays for screen readers and as a tooltip. Below the map and on a phone it keeps its name and, where the line
	   is too short for both, takes the next one. */
	@container devenzi-map-box (min-width: 694px) {
		.devenzi-map-map.has-list-side .devenzi-map-near-find + .devenzi-map-near { flex: none; width: 36px; padding: 0; }
		/* The fields are a little lower there, all three alike. */
		.devenzi-map-map.has-list-side .devenzi-map-near, .devenzi-map-map.has-list-side .devenzi-map-near-find input, .devenzi-map-map.has-list-side .devenzi-map-search, .devenzi-map-map.has-list-side .devenzi-map-filters-btn, .devenzi-map-map.has-list-side .devenzi-map-filters-go { height: 36px; }
		.devenzi-map-map.has-list-side .devenzi-map-near-find > button { top: 3px; right: 3px; bottom: 3px; }
	}
	/* Phones zoom into a field with text under 16 px. */
	@media (pointer: coarse) {
		.devenzi-map-search, .devenzi-map-near-find input { font-size: 16px; }
	}
	/* Where the list is sorted from: in the block of the field - beside the map in the row of the filters instead. */
	.devenzi-map-near-from.is-row { display: none; }
	.devenzi-map-list-chosen .devenzi-map-near-from.is-row { padding: 3px 8px 3px 10px; font-size: 12.5px; }
	@container devenzi-map-box (min-width: 694px) {
		.devenzi-map-map.has-list-side .devenzi-map-find .devenzi-map-near-from { display: none; }
		.devenzi-map-map.has-list-side .devenzi-map-near-from.is-row { display: inline-flex; flex: none; order: -2; max-width: 220px; padding: 4px 8px 4px 12px; }
	}
	/* The way back from the map's frame to all places. */
	.devenzi-map-list-all { flex: none; padding: 0; border: 0; background: none; color: color-mix(in srgb, var(--devenzi-map-accent) 78%, #000); font: 600 13px/1.4 system-ui, sans-serif; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
	.devenzi-map-list-all:hover { text-decoration-thickness: 2px; }
	.devenzi-map-list-all.is-alone { margin: 0 0 10px; }
	.devenzi-map-list-all[hidden] { display: none; }
	/* An entry with a picture: the photo fills its left edge at a fixed width, so nothing moves when it arrives. */
	.devenzi-map-list li.has-pic > button { align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
}
@container devenzi-map-box (min-width: 694px) {
	.devenzi-map-map.has-list-side .devenzi-map-near-find + .devenzi-map-near span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@container devenzi-map-list (max-width: 299px) {
	.devenzi-map-list-pic { width: 72px; }
}
.devenzi-map-list-pic { position: relative; display: grid; place-items: center; flex: none; width: 88px; min-height: 88px; overflow: hidden; background: color-mix(in srgb, var(--devenzi-map-accent) 16%, #fff); }
.devenzi-map-list-pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* The place's icon in its colour stays as a small mark on the photo, so the list and the pins match. */
.devenzi-map-list-pic .devenzi-map-list-ic { position: absolute; bottom: 6px; left: 6px; width: 24px; height: 24px; outline: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.devenzi-map-list-pic .devenzi-map-list-ic svg { width: 14px; height: 14px; }
.devenzi-map-list-pic .devenzi-map-list-ic[style*="--devenzi-map-pin-icon"] svg { width: calc(24px * var(--devenzi-map-pin-icon)); height: calc(24px * var(--devenzi-map-pin-icon)); }
/* No photo (or one that did not load): the icon alone, on a tint of the place's colour. */
.devenzi-map-list-pic.is-empty .devenzi-map-list-ic { position: static; width: 40px; height: 40px; border-radius: 12px; outline: 0; }
.devenzi-map-list-pic.is-empty .devenzi-map-list-ic svg { width: 22px; height: 22px; }
.devenzi-map-list-pic.is-empty .devenzi-map-list-ic[style*="--devenzi-map-pin-icon"] svg { width: calc(40px * var(--devenzi-map-pin-icon)); height: calc(40px * var(--devenzi-map-pin-icon)); }
.devenzi-map-list li.has-pic > button > span:last-child { flex: 1; align-self: center; min-width: 0; padding: 10px 12px; }
.devenzi-map-list li.has-pic.has-call > button > span:last-child { padding-right: 48px; }
.devenzi-map-map.has-list-below .devenzi-map-list.has-pics ul { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
/* Beside the map the list is as high as the map, so its head stays low and the entries show: the field without its
   frame and heading (the heading stays for screen readers), and the fields a little lower. */
@container devenzi-map-box (min-width: 694px) {
	.devenzi-map-map.has-list-side .devenzi-map-list-head { gap: 6px; margin-bottom: 6px; }
	.devenzi-map-map.has-list-side .devenzi-map-find { margin: 0 0 6px; padding: 0; border: 0; background: none; }
	.devenzi-map-map.has-list-side .devenzi-map-find-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Entries of one row are equally high (the grid stretches them, the card fills its entry): the photo fills the height,
   the phone sits at the same height in each, and the marks stand at the bottom. A long name takes two lines at most. */
.devenzi-map-list li[data-i]:not([hidden]) { display: flex; flex-direction: column; }
@layer devenzi-map {
	.devenzi-map-list li[data-i] > button { flex: 1 1 auto; }
}
.devenzi-map-list li[data-i] > button > span:last-child { display: flex; flex: 1; flex-direction: column; justify-content: center; align-self: stretch; min-width: 0; }
.devenzi-map-list li[data-i] b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.devenzi-map-list-tags { margin-top: auto; padding-top: 6px; }
/* The photos stand back a little, so a list of them stays calm: some colour taken out under a light veil. The entry
   under the pointer or with the focus, the one whose pin is under the pointer, the open place and the one nearest
   to the visitor show their photo in full colour. The pin's mark on the photo always keeps its colour. */
.devenzi-map-list-pic .devenzi-map-list-ic { z-index: 1; }
.devenzi-map-list-pic img { filter: saturate(.6); }
.devenzi-map-list-pic:not(.is-empty)::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .12); pointer-events: none; }
.devenzi-map-list li:is(:hover, :focus-within, .is-hot, .is-open, .is-nearest) .devenzi-map-list-pic img { filter: none; }
.devenzi-map-list li:is(:hover, :focus-within, .is-hot, .is-open, .is-nearest) .devenzi-map-list-pic::after { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	.devenzi-map-list-pic img { transition: filter .15s ease; }
	.devenzi-map-list-pic::after { transition: opacity .15s ease; }
}
@layer devenzi-map {
	/* The entry of the pin under the pointer, and of the open place: marked like an entry under the pointer. */
	.devenzi-map-list li:is(.is-hot, .is-open) > button { border-color: var(--devenzi-map-accent); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .3); }
}
/* The filters: a button beside the search opens their panel - distance (once the position is known), "Open now",
   categories. It hangs from the head and floats above the entries, so nothing moves; every change in it shows at
   once in the list and on the map. What is chosen stands below the search as marks to take away again. */
.devenzi-map-list-head { position: relative; }
.devenzi-map-list-bar { display: flex; gap: 6px; min-width: 0; }
@layer devenzi-map {
	.devenzi-map-list-bar .devenzi-map-search { flex: 1 1 0; width: auto; min-width: 0; }
	.devenzi-map-filters-btn { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 7px; height: 40px; margin: 0; padding: 0 12px; border: 1px solid rgba(28, 25, 29, .16); border-radius: 10px; background: #fff; color: #1c191d; font: 600 13.5px/1.2 system-ui, sans-serif; white-space: nowrap; cursor: pointer; box-sizing: border-box; transition: border-color .15s, background .2s, box-shadow .15s; }
	.devenzi-map-filters-btn:hover { border-color: rgba(28, 25, 29, .4); }
	/* The button, its number and the panel's own buttons belong to the fixed look, like the line of the position:
	   dark and neutral on every site. The map's colour is kept for what the visitor chose - the chips, the marks. */
	.devenzi-map-filters-btn.is-on { border-color: #1c191d; }
	.devenzi-map-filters-btn[aria-expanded="true"] { border-color: #1c191d; box-shadow: 0 0 0 2px rgba(28, 25, 29, .1); }
	.devenzi-map-filters-btn:focus-visible, .devenzi-map-filters button:focus-visible, .devenzi-map-tag:focus-visible { outline: 2px solid #1c191d; outline-offset: 2px; }
	/* In the panel the distances are one segmented control, "Open now" is a switch, the categories are chips. */
	.devenzi-map-filters .devenzi-map-radius button { flex: 1 1 auto; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent; color: #4b4540; font: 600 13px/1.4 system-ui, sans-serif; text-align: center; white-space: nowrap; cursor: pointer; }
	.devenzi-map-filters .devenzi-map-radius button[aria-pressed="true"] { background: #fff; color: #1c191d; box-shadow: 0 1px 3px rgba(28, 25, 29, .22); }
	.devenzi-map-open-now { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: #1c191d; font: 600 13.5px/1.35 system-ui, sans-serif; text-align: left; cursor: pointer; }
	.devenzi-map-filters-reset { margin: 0; padding: 4px 0; border: 0; background: none; color: #4b4540; font: 600 13px/1.4 system-ui, sans-serif; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
	.devenzi-map-filters-reset:disabled { opacity: .4; cursor: default; }
	.devenzi-map-filters-go { height: 40px; margin: 0; padding: 0 16px; border: 0; border-radius: 10px; background: #1c191d; color: #fff; font: 600 13.5px/1.2 system-ui, sans-serif; white-space: nowrap; cursor: pointer; box-sizing: border-box; transition: background .15s, transform .15s; }
	.devenzi-map-filters-go:hover { background: #38333a; }
	.devenzi-map-filters-go:active { transform: scale(.97); }
	.devenzi-map-tag { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 0; padding: 3px 8px 3px 10px; border: 0; border-radius: 99px; background: color-mix(in srgb, var(--devenzi-map-accent) 12%, #fff); color: color-mix(in srgb, var(--devenzi-map-accent) 70%, #000); font: 600 12.5px/1.4 system-ui, sans-serif; white-space: nowrap; cursor: pointer; transition: background .15s; }
	.devenzi-map-tag:hover { background: color-mix(in srgb, var(--devenzi-map-accent) 22%, #fff); }
}
.devenzi-map-filters-btn svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.devenzi-map-filters-n { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #1c191d; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; box-sizing: border-box; }
.devenzi-map-filters-n[hidden] { display: none; }
.devenzi-map-filters { position: absolute; top: 46px; right: 0; left: 0; z-index: 6; padding: 14px; border: 1px solid rgba(28, 25, 29, .12); border-radius: 14px; background: #fff; box-shadow: 0 18px 44px -14px rgba(28, 25, 29, .45), 0 2px 6px rgba(28, 25, 29, .08); box-sizing: border-box; }
.devenzi-map-filters[hidden] { display: none; }
/* Wide enough (below a wide map): the panel hangs under its button, not across the whole list. */
@container devenzi-map-list (min-width: 700px) { .devenzi-map-filters { left: auto; width: 380px; } }
@container devenzi-map-box (min-width: 694px) { .devenzi-map-map.has-list-side .devenzi-map-filters { top: 42px; } }
.devenzi-map-filters-sec + .devenzi-map-filters-sec { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(28, 25, 29, .08); }
.devenzi-map-map .devenzi-map-filters-h { margin: 0 0 8px; padding: 0; color: #6b635d; font: 700 11px/1.3 system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.devenzi-map-filters .devenzi-map-chips { margin: 0; }
.devenzi-map-filters .devenzi-map-radius { gap: 0; padding: 3px; border-radius: 10px; background: rgba(28, 25, 29, .06); }
.devenzi-map-chips button i { margin-left: 3px; font-style: normal; font-weight: 500; opacity: .6; }
.devenzi-map-open-txt small { display: block; margin-top: 1px; color: #6b635d; font-size: 12px; font-weight: 400; }
.devenzi-map-open-n { margin-left: 3px; font-weight: 500; opacity: .55; }
.devenzi-map-sw { position: relative; flex: none; width: 36px; height: 20px; border-radius: 10px; background: #cfc9c3; transition: background .15s; }
.devenzi-map-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: left .15s; }
.devenzi-map-open-now[aria-pressed="true"] .devenzi-map-sw { background: var(--devenzi-map-accent); }
.devenzi-map-open-now[aria-pressed="true"] .devenzi-map-sw::after { left: 18px; }
@media (prefers-reduced-motion: reduce) { .devenzi-map-sw, .devenzi-map-sw::after { transition: none; } }
.devenzi-map-filters-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
/* How many places the filters leave: a quiet line that counts along, left of "Reset" and "Close". */
.devenzi-map-filters-left { flex: 1 1 auto; min-width: 0; color: #5d5650; font: 500 13px/1.3 system-ui, sans-serif; }
.devenzi-map-list-chosen { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.devenzi-map-list-chosen:not(:has(.devenzi-map-tag)) { display: none; }
@container devenzi-map-box (min-width: 694px) { .devenzi-map-map.has-list-side .devenzi-map-list-chosen:has(button) { display: flex; } }
.devenzi-map-tag span:last-child { font-size: 15px; font-weight: 400; line-height: 1; opacity: .7; }
/* A place's popup on one grid (.devenzi-map-place): the place's sign and name; whether it is open, as a line of its
   own; then address and phone behind one column of signs (26 px), every line starting on the same edge, signs of one
   size and stroke; the text; what one can do, as buttons of one size; and the way there. The fixed controls are
   neutral, colour is kept for the place's sign and for open / closed. */
.devenzi-map-place .devenzi-map-card-body { display: flex; flex-direction: column; padding: 14px; font-size: 13.5px; line-height: 1.45; }
.devenzi-map-place .devenzi-map-card-body > * { flex: none; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-head + * { margin-top: 12px; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-head-name b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; font-size: 16px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-head-name small { color: #6b635d; }
.devenzi-map-place .devenzi-map-hours { margin: 12px 0 0; padding: 8px 10px; border-radius: 10px; background: rgba(214, 69, 69, .09); font-size: 13.5px; }
.devenzi-map-place .devenzi-map-hours.is-open { background: rgba(31, 157, 85, .1); }
.devenzi-map-place .devenzi-map-hours summary { gap: 8px; color: #1c191d; border-radius: 6px; }
.devenzi-map-place .devenzi-map-hours summary:focus { outline: none; }
.devenzi-map-place .devenzi-map-hours summary:focus-visible { outline: 2px solid rgba(28, 25, 29, .45); outline-offset: 4px; }
.devenzi-map-place .devenzi-map-hours summary b { font-size: 13.5px; font-weight: 700; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-hours summary span { margin: 0; color: #4b4540; white-space: normal; }
.devenzi-map-place .devenzi-map-hours summary::after { margin-left: auto; margin-right: 3px; border-color: #6b635d; }
.devenzi-map-place .devenzi-map-hours table { margin: 8px 0 2px 16px; width: calc(100% - 16px); font-size: 12.5px; }
.devenzi-map-place .devenzi-map-hours th, .devenzi-map-place .devenzi-map-hours td { color: #4b4540; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 0; margin: 0; padding: 7px 0; border-radius: 0; background: none; color: #1c191d; font-size: 13.5px; font-weight: 400; white-space: normal; transform: none; box-shadow: none; filter: none; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-row > svg { width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: #6b635d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: #6b635d; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-row > span, .devenzi-map-place .devenzi-map-card-body .devenzi-map-row > b { display: block; margin: 0; color: #1c191d; white-space: normal; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-row > b { font-weight: 600; }
.devenzi-map-place .devenzi-map-card-body a.devenzi-map-row:hover > b { text-decoration: underline; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-head + .devenzi-map-row, .devenzi-map-place .devenzi-map-card-body .devenzi-map-hours + .devenzi-map-row { margin-top: 6px; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-row + .devenzi-map-row { border-top: 1px solid rgba(28, 25, 29, .07); }
.devenzi-map-place .devenzi-map-card-body > span:not(.devenzi-map-row) { margin-top: 8px; color: #4b4540; line-height: 1.5; }
.devenzi-map-place .devenzi-map-card-body > span.is-rich b, .devenzi-map-place .devenzi-map-card-body > span.is-rich strong { color: #1c191d; }
/* What one can do: buttons of one size, white with a fine frame; a button of an extension keeps its square. */
.devenzi-map-place .devenzi-map-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 0; border-top: 0; }
/* Under a photo the button that closes sits on the photo: the name has the whole line. */
.devenzi-map-place:has(> .devenzi-map-gallery, > img) .devenzi-map-card-body .devenzi-map-head { padding-right: 0; }
.devenzi-map-map .devenzi-map-place .devenzi-map-acts > a.devenzi-map-act:not(#devenzi-map-none) { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 7px; min-width: 84px; max-width: 100%; height: 38px; padding: 0 10px; border: 1px solid rgba(28, 25, 29, .16); border-radius: 10px; background: #fff; color: #1c191d; font-size: 13px; font-weight: 600; text-decoration: none; box-sizing: border-box; box-shadow: none; filter: none; transition: border-color .15s, background .15s; }
.devenzi-map-map .devenzi-map-place .devenzi-map-acts > a.devenzi-map-act:not(#devenzi-map-none):hover { border-color: rgba(28, 25, 29, .45); background: rgba(28, 25, 29, .03); transform: none; }
.devenzi-map-place .devenzi-map-act:focus-visible { outline: 2px solid rgba(28, 25, 29, .55); outline-offset: 2px; }
.devenzi-map-place .devenzi-map-act svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.devenzi-map-place .devenzi-map-card-body .devenzi-map-act span { display: block; min-width: 0; margin: 0; overflow: hidden; color: inherit; text-overflow: ellipsis; white-space: nowrap; }
@layer devenzi-map {
	.devenzi-map-card.devenzi-map-place .devenzi-map-acts .devenzi-map-ib { display: inline-grid; flex: none; gap: 0; width: 38px; height: 38px; padding: 0; border-radius: 10px; }
}
.devenzi-map-card.devenzi-map-place .devenzi-map-acts .devenzi-map-ib svg { width: 18px; height: 18px; }
.devenzi-map-place .devenzi-map-acts .devenzi-map-ib-t { display: none; }
.devenzi-map-card.devenzi-map-place .devenzi-map-acts .devenzi-map-ib[data-tip]:is(:hover, :focus-visible)::after { content: attr(data-tip); }
/* The way there: one track of three ways to travel; the one under the pointer or chosen is lifted out of it. */
.devenzi-map-go { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(28, 25, 29, .09); }
.devenzi-map-map .devenzi-map-go .devenzi-map-go-h { margin: 0 0 8px; padding: 0; color: #6b635d; font: 700 11.5px/1.3 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.devenzi-map-go-modes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 3px; border-radius: 11px; background: rgba(28, 25, 29, .07); }
.devenzi-map-map .devenzi-map-go-modes > :is(a, button):not(#devenzi-map-none) { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; height: 32px; margin: 0; padding: 0 6px; border: 0; border-radius: 8px; background: transparent; color: #4b4540; font: 500 13px/1.2 system-ui, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none; filter: none; transform: none; transition: background .15s, box-shadow .15s, color .15s; }
.devenzi-map-map .devenzi-map-go-modes > :is(a, button):not(#devenzi-map-none):is(:hover, :focus-visible, .is-on, [aria-pressed="true"]) { background: #fff; color: #1c191d; font-weight: 700; box-shadow: 0 1px 2px rgba(28, 25, 29, .2), 0 4px 10px -3px rgba(28, 25, 29, .35); }
.devenzi-map-go-modes :is(a, button):focus-visible { outline: 2px solid rgba(28, 25, 29, .55); outline-offset: 1px; }
.devenzi-map-go-modes svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.devenzi-map-go-modes :is(a, button):is(:hover, :focus-visible, .is-on, [aria-pressed="true"]) svg { stroke-width: 2.3; }
.devenzi-map-card-body .devenzi-map-go-modes span { display: inline; margin: 0; color: inherit; white-space: nowrap; }
.devenzi-map-map .devenzi-map-go .devenzi-map-go-note { margin: 6px 0 0; padding: 0; color: #6b635d; font: 400 11.5px/1.4 system-ui, sans-serif; }
/* A popup as high as the map scrolls inside its card: the button that closes it stays where it is. A low map shows
   a lower photo. */
.devenzi-map-map .maplibregl-popup-content:has(> .devenzi-map-place) { display: flex; flex-direction: column; }
.devenzi-map-map .maplibregl-popup-content > .devenzi-map-place { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.devenzi-map-map .maplibregl-popup-content.is-low .devenzi-map-place img { height: 84px; }
/* The visitor's own place says who it is: a small sign under the dot ("You", or the place they typed). */
.devenzi-map-me span { position: absolute; top: calc(100% + 7px); left: 50%; padding: 1px 8px; border-radius: 99px; background: #2563eb; color: #fff; font: 700 11.5px/1.6 system-ui, sans-serif; white-space: nowrap; box-shadow: 0 2px 6px rgba(15, 23, 42, .3); transform: translateX(-50%); pointer-events: auto; }
/* A typed place may be long: at most 160 px, then cut. Above the dot where the place or the line is below it. */
.devenzi-map-me span i { display: block; max-width: 144px; overflow: hidden; font-style: normal; text-overflow: ellipsis; }
.devenzi-map-me.is-up span { top: auto; bottom: calc(100% + 7px); }
.devenzi-map-me.is-up span::before { top: auto; bottom: -3px; }
.devenzi-map-me span::before { content: ""; position: absolute; top: -3px; left: 50%; width: 8px; height: 8px; margin-left: -4px; background: #2563eb; transform: rotate(45deg); z-index: -1; }
/* The distance on the dashed line to the nearest place, with the words that say what the line is. */
.devenzi-map-beeline { z-index: 1; padding: 1px 8px; border: 1px solid rgba(37, 99, 235, .35); border-radius: 99px; background: rgba(255, 255, 255, .95); color: #5d5650; font: 500 10.5px/1.7 system-ui, sans-serif; white-space: nowrap; box-shadow: 0 2px 6px rgba(15, 23, 42, .18); pointer-events: none; }
.devenzi-map-beeline b { margin-right: 2px; color: #1d4ed8; font-size: 11.5px; font-weight: 700; }
/* A popup that scrolls inside shows it: a soft fade where more follows (below, and above once scrolled), so that no
   line seems cut off at the edge. The end of what scrolls keeps the popup's own margin. */
.devenzi-map-map .maplibregl-popup-content:has(> .devenzi-map-place)::before, .devenzi-map-map .maplibregl-popup-content:has(> .devenzi-map-place)::after { content: ""; position: absolute; right: 0; left: 0; z-index: 1; height: 34px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.devenzi-map-map .maplibregl-popup-content:has(> .devenzi-map-place)::before { top: 0; border-radius: inherit; border-bottom-right-radius: 0; border-bottom-left-radius: 0; background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, 0)); }
.devenzi-map-map .maplibregl-popup-content:has(> .devenzi-map-place)::after { bottom: 0; height: 44px; border-radius: inherit; border-top-right-radius: 0; border-top-left-radius: 0; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .97) 78%); }
.devenzi-map-map .maplibregl-popup-content.has-more-above::before, .devenzi-map-map .maplibregl-popup-content.has-more-below::after { opacity: 1; }
.devenzi-map-map .maplibregl-popup-content .maplibregl-popup-close-button { z-index: 2; }
.devenzi-map-place .devenzi-map-card-body::after { content: ""; flex: none; height: 2px; }

/* A group of pins ("Group nearby places"): a bubble with its number, as the map drew it before - the map's colour, a
   white ring of 5 px, 18/22/28 px radius from 10 and 50 places on. The marker is the hit area; the bubble inside it is
   what grows and shrinks while pins run into it (frontend.js, groupAim). */
.devenzi-map-group { width: calc(var(--r, 18px) * 2); height: calc(var(--r, 18px) * 2); cursor: pointer; }
.devenzi-map-group > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--devenzi-map-accent, #f97316); box-shadow: 0 0 0 5px rgba(255, 255, 255, .85); color: var(--devenzi-map-group-ink, #fff); font: 500 14px/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
