/* ==========================================================================
   ELISEE SCOUT — Macroarea Mappa
   Sistema globale di variabili di tema (condiviso con Hero / Chi siamo / Bacheca)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --panel: #f7f8fb;
  --text: #0e1830;
  --text-dim: #667085;
  --line: #e4e7ee;
  --blue: #1d4fd6;
  --track: #e4e7ee;

  /* Alias per compatibilità con le variabili preesistenti */
  --es-bg: var(--bg);
  --es-panel: var(--panel);
  --es-panel-2: var(--panel);
  --es-border: var(--line);
  --es-text: var(--text);
  --es-text-muted: var(--text-dim);
  --es-accent: var(--blue);
  --es-accent-soft: rgba(29, 79, 214, 0.12);
  --es-map-search-bg: #ffffff;
  --es-map-search-fg: #0e1830;
  --es-map-search-ph: #334155;
  --es-map-search-bd: rgba(15, 23, 42, 0.28);
  --es-hq: #f59e0b;
  --es-font: 'Inter', -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e1a;
    --panel: #12162a;
    --text: #eef0f7;
    --text-dim: #9aa1b8;
    --line: #232840;
    --blue: #4f83ff;
    --track: #232840;

    --es-bg: var(--bg);
    --es-panel: var(--panel);
    --es-panel-2: #161b32;
    --es-border: var(--line);
    --es-text: var(--text);
    --es-text-muted: var(--text-dim);
    --es-accent: var(--blue);
    --es-accent-soft: rgba(79, 131, 255, 0.15);
    --es-map-search-bg: #0d1626;
    --es-map-search-fg: #f8fafc;
    --es-map-search-ph: #e7edf7;
    --es-map-search-bd: rgba(255, 255, 255, 0.55);
  }
}

html[data-theme="light"],
html[data-theme="mimetico-chiaro"] {
  --bg: #ffffff;
  --panel: #f7f8fb;
  --text: #0e1830;
  --text-dim: #667085;
  --line: #e4e7ee;
  --blue: #1d4fd6;
  --track: #e4e7ee;

  --es-bg: var(--bg);
  --es-panel: var(--panel);
  --es-panel-2: #edf0f7;
  --es-border: var(--line);
  --es-text: var(--text);
  --es-text-muted: var(--text-dim);
  --es-accent: var(--blue);
  --es-accent-soft: rgba(29, 79, 214, 0.12);
  --es-map-search-bg: #ffffff;
  --es-map-search-fg: #0e1830;
  --es-map-search-ph: #334155;
  --es-map-search-bd: rgba(15, 23, 42, 0.28);
}

html[data-theme="dark"],
html[data-theme="vault-neon"] {
  --bg: #0b0e1a;
  --panel: #12162a;
  --text: #eef0f7;
  --text-dim: #9aa1b8;
  --line: #232840;
  --blue: #4f83ff;
  --track: #232840;

  --es-bg: var(--bg);
  --es-panel: var(--panel);
  --es-panel-2: #161b32;
  --es-border: var(--line);
  --es-text: var(--text);
  --es-text-muted: var(--text-dim);
  --es-accent: var(--blue);
  --es-accent-soft: rgba(79, 131, 255, 0.15);
  --es-map-search-bg: #0d1626;
  --es-map-search-fg: #f8fafc;
  --es-map-search-ph: #e7edf7;
  --es-map-search-bd: rgba(255, 255, 255, 0.55);
}

html, body {
  margin: 0;
}

#view-mappa,
#mappa-portal,
.es-map-page,
.es-map {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--text) !important;
  min-height: 0;
  color-scheme: normal;
  font-family: var(--es-font);
}

body.is-view-mappa,
body.view-mappa {
  background-color: transparent;
}

body.is-view-mappa header.main-header,
body.is-view-mappa .portfolio-header {
  border: 0 !important;
  box-shadow: none !important;
}

.es-map-page,
.es-map {
  padding: calc(var(--nav-h, 64px) + 28px) 24px 96px;
  font-family: var(--es-font);
  color: var(--text);
  max-width: 100%;
  margin: 0;
}

.es-map-page__container {
  max-width: 1180px;
  margin: 0 auto;
}

/* ---- Barra info sopra la mappa ---- */
.es-map-topbar,
.mappa-counter-bar,
.es-map-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Stessa pillola della navbar pubblica (landing-unify .main-nav). */
.es-map-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  padding: 8px 16px;
  font-size: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  line-height: 1.35;
  flex-wrap: wrap;
}

.es-map-banner p {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  margin: 0;
  color: var(--text);
  font-weight: 400;
  line-height: 1.4;
  flex-wrap: wrap;
}

html[data-theme="mimetico-chiaro"] .es-map-info {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #334155;
}

.es-map-badge-update {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 12.5px;
  font-weight: 400;
  margin-left: 2px;
}

.es-map-info svg,
.es-map-banner p svg {
  color: rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
}

html[data-theme="mimetico-chiaro"] .es-map-info svg {
  color: #334155;
}

.es-map-info strong,
.es-map-banner p strong {
  color: #ffffff;
  font-weight: 600;
}

html[data-theme="mimetico-chiaro"] .es-map-info strong {
  color: #0f172a;
}

html[data-theme="mimetico-chiaro"] .es-map-info .es-map-badge-update {
  color: #64748b !important;
}

/* ---- CTA "Sei un club?": stessa faccia scura di Accedi. L'anello è .glow-wrap. ---- */
#mappa-portal .es-map-geo-wrap {
  justify-self: start;
  align-self: center;
  width: max-content;
  max-width: 100%;
  margin-left: 0;
}

.mappa-cta,
.es-map-cta,
.es-map-geobtn,
#es-map-geobtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 44px;
  height: auto !important;
  background: #0d1017 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-family: var(--es-font);
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.2;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 6px 14px rgba(0, 0, 0, 0.5),
    0 2px 0 rgba(0, 0, 0, 0.4) !important;
}

.mappa-cta:hover,
.es-map-cta:hover,
.es-map-geobtn:hover,
#es-map-geobtn:hover {
  transform: none !important;
  filter: brightness(1.1);
  color: #ffffff !important;
}

.es-map-cta:active,
.es-map-geobtn:active,
#es-map-geobtn:active {
  transform: translateY(2px) scale(0.99) !important;
}

#es-map-geobtn:focus-visible {
  outline: 2px solid #2fe0c8;
  outline-offset: 3px;
}

#es-map-geobtn:focus:not(:focus-visible) {
  outline: none;
}

.es-map-cta svg,
.es-map-geobtn svg {
  flex-shrink: 0;
}

/* ---- Ricerca club: overlay flottante DENTRO la mappa ---- */
.es-map-search {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 500;
  width: min(440px, calc(100% - 32px));
  max-width: calc(100% - 32px);
}

.es-map-search__bar {
  display: flex;
  align-items: center;
  min-height: 44px;
  background: var(--es-map-search-bg) !important;
  background-color: var(--es-map-search-bg) !important;
  border: 1px solid var(--es-map-search-bd) !important;
  border-radius: 999px;
  overflow: hidden;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: border-color .2s ease, box-shadow .2s ease !important;
}

.es-map-search__bar:focus-within {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(29, 79, 214, .15) !important;
}

.es-map-search__icon {
  display: flex;
  align-items: center;
  padding: 0 6px 0 16px;
  color: var(--es-map-search-fg);
  flex-shrink: 0;
}

.es-map-search__bar input[type="text"] {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 12px 16px 12px 4px !important;
  color: var(--es-map-search-fg) !important;
  caret-color: var(--es-map-search-fg);
  font-family: var(--es-font) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.es-map-search__bar input[type="text"]::placeholder {
  color: var(--es-map-search-ph) !important;
  font-weight: 600;
  opacity: 1;
}

.es-map-search__bar input[type="text"]:focus {
  outline: none !important;
}

.es-map-search__clear {
  background: none;
  border: none;
  color: var(--text-dim) !important;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.es-map-search__clear:hover {
  color: var(--text) !important;
}

.es-map-search__clear.is-visible {
  display: inline-flex;
}

.es-map-search__results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px;
  overflow: hidden;
  /* Smooth open/close via opacity + scale instead of display:none toggle */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scaleY(0.97);
  transform-origin: top center;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  /* Custom thin scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(29, 79, 214, 0.35) transparent;
}

.es-map-search__results::-webkit-scrollbar {
  width: 4px;
}
.es-map-search__results::-webkit-scrollbar-track {
  background: transparent;
}
.es-map-search__results::-webkit-scrollbar-thumb {
  background: rgba(29, 79, 214, 0.35);
  border-radius: 4px;
}

.es-map-search__results.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

/* Fade-bottom mask — indica che ci sono altri risultati sotto */
.es-map-search__results-wrap {
  position: relative;
}
.es-map-search__results-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--panel));
  border-radius: 0 0 14px 14px;
  pointer-events: none;
  /* Hidden by default, shown only when scrollable */
  opacity: 0;
  transition: opacity 0.2s ease;
}
.es-map-search__results-wrap.has-overflow::after {
  opacity: 1;
}

/* Count pill inside the search bar */
.es-map-search__count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(29, 79, 214, 0.15);
  color: var(--blue, #1d4fd6);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--es-font);
  flex-shrink: 0;
  margin-right: 4px;
}
.es-map-search__count.is-visible {
  display: inline-flex;
}

.es-map-search__result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--line) !important;
  transition: background 0.15s ease;
  outline: none;
}

.es-map-search__result:last-child {
  border-bottom: none !important;
}

.es-map-search__result:hover,
.es-map-search__result.is-focused {
  background: rgba(29, 79, 214, 0.08) !important;
}

.es-map-search__result-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text) !important;
}

.es-map-search__result-meta {
  font-size: 11px;
  color: var(--text-dim) !important;
}

.es-map-search__empty {
  padding: 14px;
  font-size: 12px;
  color: var(--text-dim) !important;
}

@media (prefers-reduced-motion: reduce) {
  .es-map-search__results {
    transition: none;
  }
}

/* ---- Contenitore Mappa ---- */
.es-map-frame,
.es-map-wrap {
  position: relative;
  border: 1px solid var(--line) !important;
  border-radius: 12px;
  overflow: hidden;
  height: clamp(380px, 58vh, 600px);
  background: var(--panel) !important;
  margin-bottom: 8px;
  box-shadow: none;
}

#es-map-canvas {
  width: 100%;
  height: 100%;
  background: var(--panel) !important;
}

.es-map.is-full .es-map-wrap,
.es-map.is-full .es-map-frame {
  position: fixed;
  inset: 0;
  z-index: 80;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  margin-bottom: 0;
}

.map-zoom-btn,
.es-map-fs {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 500;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  background: var(--panel) !important;
  color: var(--text) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .18s ease, color .2s ease, border-color .2s ease !important;
}

.map-zoom-btn:hover,
.es-map-fs:hover {
  background: var(--panel) !important;
  color: var(--blue) !important;
  border-color: var(--blue) !important;
  transform: scale(1.06) !important;
}

.es-map-attribution-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 11px;
  color: var(--text-dim) !important;
  margin-bottom: 38px;
  padding: 0 4px;
}

.es-map-attribution-footer a {
  color: var(--text-dim) !important;
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.es-map-attribution-footer a:hover {
  color: var(--blue) !important;
  border-bottom-color: var(--blue) !important;
}

.leaflet-control-attribution {
  display: none !important;
}

/* ==========================================================================
   LEAFLET OVERRIDE (Zoom & Marker Cluster)
   ========================================================================== */
.leaflet-control-zoom,
.leaflet-touch .leaflet-control-zoom,
.leaflet-bar,
.leaflet-touch .leaflet-bar {
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  background: var(--panel) !important;
  margin-top: 70px !important;
  margin-left: 16px !important;
  display: flex !important;
  flex-direction: column !important;
}

.map-zoom-btn,
.leaflet-control-zoom a,
.leaflet-touch .leaflet-control-zoom a,
.leaflet-bar a,
.leaflet-touch .leaflet-bar a {
  background-color: var(--panel) !important;
  color: var(--text) !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  font-size: 1.15rem !important;
  line-height: 34px !important;
  width: 34px !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .2s ease, transform .18s ease, color .2s ease !important;
  text-decoration: none !important;
}

.leaflet-control-zoom a:last-child,
.leaflet-touch .leaflet-control-zoom a:last-child,
.leaflet-bar a:last-child,
.leaflet-touch .leaflet-bar a:last-child {
  border-bottom: none !important;
}

.map-zoom-btn:hover,
.leaflet-control-zoom a:hover,
.leaflet-touch .leaflet-control-zoom a:hover,
.leaflet-bar a:hover,
.leaflet-touch .leaflet-bar a:hover {
  background-color: var(--panel) !important;
  color: var(--blue) !important;
  transform: scale(1.06) !important;
}

.leaflet-control-zoom a.leaflet-disabled,
.leaflet-touch .leaflet-control-zoom a.leaflet-disabled,
.leaflet-bar a.leaflet-disabled,
.leaflet-touch .leaflet-bar a.leaflet-disabled {
  background-color: #070b14 !important;
  color: #475569 !important;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background-color: rgba(59, 125, 255, 0.25) !important;
  border-radius: 50%;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background-color: var(--es-accent) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-family: var(--es-font) !important;
  border-radius: 50%;
}

/* Custom Marker Pin & Cluster */
.es-map-pin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--es-panel);
  border: 2px solid var(--es-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--es-accent);
  font-size: 0.78rem;
}

.es-map-pin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--es-panel);
}

.es-map-cluster {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--es-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 3px solid rgba(59, 125, 255, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  font-family: var(--es-font);
}

/* Marker Sede Centrale Foggia */
.es-map-pin--hq {
  border: 2.5px solid var(--es-hq) !important;
  background: #0f172a !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5) !important;
  animation: es-hq-pulse 2.5s infinite;
}

.es-map-hq-badge {
  color: var(--es-hq);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

@keyframes es-hq-pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Tooltip Marker Personalizzati */
.es-map-tooltip {
  background: var(--es-panel) !important;
  border: 1px solid var(--es-border) !important;
  border-radius: 8px !important;
  color: var(--es-text) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 5px 9px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  white-space: nowrap !important;
  font-family: var(--es-font) !important;
}

.es-map-tooltip::before {
  border-top-color: var(--es-border) !important;
}

/* Popups Leaflet */
.leaflet-popup-content-wrapper {
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.es-map-pop {
  min-width: 180px;
  text-align: center;
  font-family: var(--es-font);
}

.es-map-pop strong {
  display: block;
  color: #0b4f7a;
  margin-bottom: 0.2rem;
}

.es-map-pop span {
  color: #5a7390;
  font-size: 0.82rem;
}

.es-map-pop .es-sc-actions {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

/* ---- Panoramica Territoriale ---- */
.es-territory,
.es-map-regions {
  margin-top: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.es-territory__head,
.es-map-regions__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line) !important;
}

.es-territory__eyebrow,
.es-map-regions__tag {
  color: var(--blue) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  display: block;
  text-transform: none;
}

.es-territory__head h2,
.es-map-regions__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
  color: var(--text) !important;
  line-height: 1.25;
  text-transform: none !important;
}

.es-territory__head p,
.es-map-regions__subtitle {
  font-size: 13px;
  color: var(--text-dim) !important;
  margin: 0;
  line-height: 1.4;
}

/* Bottone Ripristina: stessa pillola vetro della navbar. */
.es-map-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  font-family: var(--es-font);
  line-height: 1;
}

.es-map-reset-btn:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.es-map-reset-btn:focus-visible {
  outline: 2px solid #2fe0c8;
  outline-offset: 2px;
}

.es-map-reset-btn:focus:not(:focus-visible) {
  outline: none;
}

html[data-theme="mimetico-chiaro"] .es-map-reset-btn {
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #334155 !important;
}

html[data-theme="mimetico-chiaro"] .es-map-reset-btn:hover {
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
  background: rgba(255, 255, 255, 0.86) !important;
}

.es-map-reset-btn svg {
  color: var(--blue) !important;
  flex-shrink: 0;
}

/* Stat "20 regioni coperte" — numero grande + etichetta sotto, senza contenitore colorato */
.es-territory__stat,
.es-map-regions__badge {
  text-align: right;
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  min-width: auto;
}

.es-territory__stat strong,
.es-map-regions__badge-val {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--blue) !important;
  line-height: 1;
}

.es-territory__stat span,
.es-map-regions__badge-lbl {
  display: block;
  font-size: 11px;
  color: var(--text-dim) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Card regioni: hover + layout responsive */
.regions-grid,
.es-region-grid,
.es-map-regions__grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
}

@media (max-width: 1024px) {
  .regions-grid,
  .es-region-grid,
  .es-map-regions__grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .regions-grid,
  .es-region-grid,
  .es-map-regions__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.region-card,
.es-region-card,
.es-map-reg-card {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  padding: 14px 26px !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font-family: var(--es-font);
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), background 150ms ease, border-color 150ms ease, box-shadow 150ms ease !important;
}

.region-card:hover,
.es-region-card:hover,
.es-map-reg-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.region-card:focus-visible,
.es-region-card:focus-visible,
.es-map-reg-card:focus-visible {
  outline: 2px solid #2fe0c8;
  outline-offset: 2px;
}

.region-card:focus:not(:focus-visible),
.es-region-card:focus:not(:focus-visible),
.es-map-reg-card:focus:not(:focus-visible) {
  outline: none;
}

.region-card.is-selected,
.es-region-card.is-selected {
  border-color: rgba(0, 245, 212, 0.35) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

html[data-theme="mimetico-chiaro"] .region-card,
html[data-theme="mimetico-chiaro"] .es-region-card,
html[data-theme="mimetico-chiaro"] .es-map-reg-card {
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #0f172a;
}

html[data-theme="mimetico-chiaro"] .region-card:hover,
html[data-theme="mimetico-chiaro"] .es-region-card:hover,
html[data-theme="mimetico-chiaro"] .es-map-reg-card:hover {
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

html[data-theme="mimetico-chiaro"] .region-card.is-selected,
html[data-theme="mimetico-chiaro"] .es-region-card.is-selected {
  background: rgba(2, 132, 199, 0.08) !important;
  border-color: rgba(2, 132, 199, 0.28) !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.es-region-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
}

.es-region-card__name,
.es-map-reg-card__name {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
  color: var(--text) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.es-region-card__count,
.es-map-reg-card__count {
  font-size: 13px;
  color: #ffffff !important;
  font-weight: 600;
  margin: 0;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

html[data-theme="mimetico-chiaro"] .es-region-card__count,
html[data-theme="mimetico-chiaro"] .es-map-reg-card__count {
  color: #0f172a !important;
}

.es-region-card__count span,
.es-map-reg-card__count span {
  color: var(--text-dim) !important;
  font-weight: 400;
  margin-left: 3px;
  font-size: 11px;
}

/* Barra orizzontale proporzionale */
.region-card .bar-track,
.es-region-card__bar-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  margin-top: 8px;
}

html[data-theme="mimetico-chiaro"] .region-card .bar-track,
html[data-theme="mimetico-chiaro"] .es-region-card__bar-track {
  background: rgba(15, 23, 42, 0.08) !important;
}

.region-card .bar-fill,
.es-region-card__bar {
  height: 100%;
  background: linear-gradient(90deg, #2fe0c8, #38bdf8) !important;
  border-radius: 999px !important;
  transition: width .6s ease !important;
}

.region-card.is-selected .bar-fill,
.es-region-card.is-selected .es-region-card__bar {
  background: linear-gradient(90deg, #2fe0c8, #38bdf8) !important;
  box-shadow: 0 0 8px rgba(47, 224, 200, 0.45);
}

/* ---- Pannello squadre della regione cliccata: spans tutta la riga
   della griglia (grid-column: 1/-1), quindi appare come una riga
   intera subito sotto la card cliccata, non come un popup isolato. ---- */
.es-region-teams {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px;
  padding: 18px 22px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  animation: es-region-teams-fade 0.2s ease-out;
}

html[data-theme="mimetico-chiaro"] .es-region-teams {
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

@keyframes es-region-teams-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.es-region-teams__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.es-region-teams__head h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: var(--text) !important;
  letter-spacing: -0.01em;
}

.es-region-teams__head h3 span {
  color: var(--text-dim) !important;
  font-weight: 400;
  margin-left: 4px;
}

.es-region-teams__close {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72) !important;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.es-region-teams__close:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.es-region-teams__close:focus-visible {
  outline: 2px solid #2fe0c8;
  outline-offset: 2px;
}

.es-region-teams__close:focus:not(:focus-visible) {
  outline: none;
}

html[data-theme="mimetico-chiaro"] .es-region-teams__close {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155 !important;
}

html[data-theme="mimetico-chiaro"] .es-region-teams__close:hover {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

.es-region-teams__list-wrap {
  position: relative;
}

/* Fade-bottom mask per la lista chip squadre */
.es-region-teams__list-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(6, 11, 19, 0.55));
  border-radius: 0 0 8px 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.es-region-teams__list-wrap.has-overflow::after {
  opacity: 1;
}

.es-region-teams__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
  padding-bottom: 4px;
  /* Custom thin scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(29, 79, 214, 0.35) transparent;
}

.es-region-teams__list::-webkit-scrollbar {
  width: 4px;
}
.es-region-teams__list::-webkit-scrollbar-track {
  background: transparent;
}
.es-region-teams__list::-webkit-scrollbar-thumb {
  background: rgba(29, 79, 214, 0.35);
  border-radius: 4px;
}

html[data-theme="mimetico-chiaro"] .es-region-teams__list-wrap::after {
  background: linear-gradient(to bottom, transparent, rgba(248, 250, 252, 0.88));
}

@media (prefers-reduced-motion: reduce) {
  .es-region-teams,
  .es-region-card,
  .es-map-reg-card,
  .region-card {
    animation: none;
    transition: none;
    transform: none;
  }
  .es-region-teams__list-wrap::after {
    transition: none;
  }
}

.es-region-team-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: var(--es-font);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  text-align: left;
}

.es-region-team-chip:hover {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.es-region-team-chip:focus-visible {
  outline: 2px solid #2fe0c8;
  outline-offset: 2px;
}

.es-region-team-chip:focus:not(:focus-visible) {
  outline: none;
}

html[data-theme="mimetico-chiaro"] .es-region-team-chip {
  background: rgba(255, 255, 255, 0.72) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="mimetico-chiaro"] .es-region-team-chip:hover {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
  color: #0f172a !important;
}

.es-region-team-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.es-region-team-name {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.es-region-show-more-btn {
  background: rgba(59, 125, 255, 0.12);
  border: 1px solid rgba(59, 125, 255, 0.4);
  color: #60a5fa;
  font-family: var(--es-font);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.es-region-show-more-btn:hover {
  background: var(--es-accent);
  border-color: var(--es-accent);
  color: #ffffff;
}

.es-region-teams__note {
  font-size: 11px;
  color: var(--es-text-muted);
  margin-top: 12px;
  margin-bottom: 0;
}

/* Responsive Media Queries */
@media (max-width: 980px) {
  .es-map-topbar,
  .es-map-banner {
    grid-template-columns: 1fr;
  }
  #mappa-portal .es-map-geo-wrap {
    justify-self: stretch;
    width: 100%;
  }
  #mappa-portal #es-map-geobtn {
    width: 100%;
    white-space: normal;
  }
  .es-region-grid,
  .es-map-regions__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .es-map-page,
  .es-map {
    padding: 30px 16px 64px;
  }
  .es-region-grid,
  .es-map-regions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .es-territory__head,
  .es-map-regions__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .es-territory__stat,
  .es-map-regions__badge {
    text-align: left;
    margin-top: 10px;
  }
}

/* ---- Modale geolocalizzazione: vetro come la navbar, campi opachi e leggibili ---- */
.es-geo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 8, 16, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.es-geo-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.es-geo-modal-sheet {
  width: 100%;
  max-width: 560px;
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 22px 22px 18px;
  color: rgba(248, 250, 252, 0.92);
  background: rgba(8, 14, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transform: translateY(12px);
  transition: transform 0.15s ease;
}

.es-geo-modal-backdrop.is-open .es-geo-modal-sheet {
  transform: translateY(0);
}

.es-geo-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.es-geo-modal-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.es-geo-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: #2fe0c8;
  border: 1px solid rgba(47, 224, 200, 0.35);
  border-radius: 999px;
  background: rgba(47, 224, 200, 0.08);
}

.es-geo-modal-header h3 {
  margin: 0;
  color: #2fe0c8;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.es-geo-modal-header p {
  margin: 4px 0 0;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

.es-geo-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  margin: -8px -8px 0 0;
  padding: 0;
  color: rgba(248, 250, 252, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  cursor: pointer;
}

.es-geo-close-btn:hover {
  color: #ffffff;
}

.es-geo-close-btn:focus-visible,
.es-geo-gps:focus-visible,
.es-geo-btn:focus-visible,
.es-geo-field input:focus-visible,
.es-geo-suggest__item:focus-visible {
  outline: 2px solid #2fe0c8;
  outline-offset: 2px;
}

.es-geo-close-btn:focus:not(:focus-visible),
.es-geo-gps:focus:not(:focus-visible),
.es-geo-btn:focus:not(:focus-visible),
.es-geo-field input:focus:not(:focus-visible),
.es-geo-suggest__item:focus:not(:focus-visible) {
  outline: none;
}

.es-geo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.es-geo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.es-geo-field {
  min-width: 0;
}

.es-geo-field label,
.es-geo-coords__head > span {
  display: block;
  margin-bottom: 6px;
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
}

.es-geo-field input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  color: #f8fafc;
  background: #0d1626;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font: inherit;
  font-size: 0.92rem;
}

.es-geo-coords {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.es-geo-coords__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.es-geo-coords__head > span {
  margin: 0;
  color: #2fe0c8;
}

.es-geo-gps,
.es-geo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.es-geo-gps {
  color: #2fe0c8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(47, 224, 200, 0.45);
}

.es-geo-gps:disabled {
  cursor: wait;
  opacity: 0.7;
}

.es-geo-suggest {
  margin: 6px 0 0;
  padding: 6px;
  max-height: 220px;
  overflow-y: auto;
  background: #0d1626;
  border: 1px solid rgba(47, 224, 200, 0.28);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 224, 200, 0.55) #0d1626;
}

.es-geo-suggest[hidden] {
  display: none;
}

.es-geo-suggest::-webkit-scrollbar {
  width: 10px;
}

.es-geo-suggest::-webkit-scrollbar-thumb {
  background: rgba(47, 224, 200, 0.45);
  border: 2px solid #0d1626;
  border-radius: 999px;
}

.es-geo-suggest__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.es-geo-suggest__item.is-active,
.es-geo-suggest__item:hover {
  background: rgba(47, 224, 200, 0.12);
}

.es-geo-suggest__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.es-geo-suggest__meta {
  flex: 0 0 auto;
  color: #2fe0c8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.es-geo-msg {
  margin: 0;
  color: #2fe0c8;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.es-geo-msg.is-error {
  color: #fb7185;
}

.es-geo-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.es-geo-btn--ghost {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.es-geo-btn--save {
  color: #06221c;
  background: linear-gradient(180deg, #2fe0c8 0%, #0d9488 100%);
  border: 0;
}

html[data-theme="mimetico-chiaro"] .es-geo-modal-sheet {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="mimetico-chiaro"] .es-geo-modal-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="mimetico-chiaro"] .es-geo-modal-header p,
html[data-theme="mimetico-chiaro"] .es-geo-field label {
  color: #475569;
}

html[data-theme="mimetico-chiaro"] .es-geo-close-btn,
html[data-theme="mimetico-chiaro"] .es-geo-btn--ghost,
html[data-theme="mimetico-chiaro"] .es-geo-gps {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="mimetico-chiaro"] .es-geo-field input,
html[data-theme="mimetico-chiaro"] .es-geo-suggest {
  color: #0f172a;
  background: #ffffff;
  border-color: rgba(13, 148, 136, 0.28);
  scrollbar-color: rgba(13, 148, 136, 0.55) #ffffff;
}

html[data-theme="mimetico-chiaro"] .es-geo-suggest__item {
  color: #0f172a;
}

html[data-theme="mimetico-chiaro"] .es-geo-coords {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(15, 23, 42, 0.08);
}

@media (max-width: 640px) {
  .es-geo-modal-backdrop {
    padding: 12px;
    align-items: flex-end;
  }
  .es-geo-grid,
  .es-geo-coords__head,
  .es-geo-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
  .es-geo-btn,
  .es-geo-gps {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .es-geo-modal-backdrop,
  .es-geo-modal-sheet,
  .es-geo-btn,
  .es-geo-gps,
  .es-geo-suggest__item {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #mappa-portal .es-map-geo-wrap,
  #mappa-portal .es-map-geo-wrap::before,
  #mappa-portal .es-map-geo-wrap::after,
  #mappa-portal #es-map-geobtn {
    animation: none !important;
    transition: none !important;
  }
}
