.elementor-kit-30{--e-global-color-primary:#CF4A89;--e-global-color-secondary:#99C7ED;--e-global-color-text:#272727;--e-global-color-accent:#61CE70;--e-global-color-1d3fc73:#FAD76A;--e-global-color-ec5abdc:#DA7A19;--e-global-color-fc189a1:#FFFFFF;--e-global-color-8d27f10:#858585;--e-global-color-de2005e:#B1A798;--e-global-color-3dc22b4:#004996;--e-global-color-37de51b:#004996;--e-global-color-a5eab7c:#EFEFEF;--e-global-color-0f8aa16:#8096FF;--e-global-color-3952f79:#4F609B;--e-global-color-d150e1d:#4D1B35;--e-global-typography-primary-font-family:"Merriweather";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Blinker";--e-global-typography-secondary-font-weight:600;--e-global-typography-text-font-family:"Blinker";--e-global-typography-text-font-size:18px;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.2em;--e-global-typography-accent-font-family:"Blinker";--e-global-typography-accent-font-weight:500;}.elementor-kit-30 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Mappa scala di grigi con tinte rosa */
.leaflet-tile {
  filter: grayscale(100%) sepia(30%) hue-rotate(300deg) saturate(80%) brightness(108%);
}

/* =========================================================
   JETENGINE MAP LISTING POPUP - FIX SPAZI AGGRESSIVO
   ========================================================= */

/* Reset wrapper popup Leaflet / JetEngine */
.leaflet-popup,
.leaflet-popup-content-wrapper,
.leaflet-popup-content,
.jet-map-listing-popup,
.jet-map-listing .leaflet-popup-content,
.leaflet-popup-content .jet-listing-grid__item {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Evita che Leaflet/JetEngine imposti dimensioni strane */
.leaflet-popup-content {
  width: auto !important;
  min-width: 360px !important;
  max-width: 780px !important;
  overflow: visible !important;
}

/* Reset Elementor dentro il popup */
.leaflet-popup-content .elementor,
.leaflet-popup-content .elementor-section,
.leaflet-popup-content .elementor-container,
.leaflet-popup-content .elementor-column,
.leaflet-popup-content .elementor-widget-wrap,
.leaflet-popup-content .e-con,
.leaflet-popup-content .e-con-inner {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

/* Forza tutti i container Elementor del popup a non distribuire gli spazi */
.leaflet-popup-content .e-con,
.leaflet-popup-content .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  align-items: stretch !important;
  gap: 0 !important;
  row-gap: 0 !important;
}

/* Container principale del listing */
.leaflet-popup-content .elementor-element-32dc832 {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  align-items: stretch !important;

  gap: 12px !important;
  row-gap: 12px !important;

  margin: 0 !important;
  padding: 26px 34px !important;
  box-sizing: border-box !important;
}

/* Reset dei widget interni */
.leaflet-popup-content .elementor-element-32dc832 .elementor-widget,
.leaflet-popup-content .elementor-element-32dc832 .elementor-element {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box !important;
}

/* Reset contenitori dei widget */
.leaflet-popup-content .elementor-element-32dc832 .elementor-widget-container {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Reset testi */
.leaflet-popup-content .elementor-element-32dc832 .elementor-heading-title,
.leaflet-popup-content .elementor-element-32dc832 h1,
.leaflet-popup-content .elementor-element-32dc832 h2,
.leaflet-popup-content .elementor-element-32dc832 h3,
.leaflet-popup-content .elementor-element-32dc832 h4,
.leaflet-popup-content .elementor-element-32dc832 h5,
.leaflet-popup-content .elementor-element-32dc832 h6,
.leaflet-popup-content .elementor-element-32dc832 p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.22em !important;
}

/* Titolo */
.leaflet-popup-content .elementor-element-32dc832 .elementor-element-3e00ff5 .elementor-heading-title {
  line-height: 1.12em !important;
}

/* Riga prenotazione / bottone */
.leaflet-popup-content .elementor-element-32dc832 .elementor-element:last-child {
  margin-top: 4px !important;
}

/* Se il bottone/freccia è dentro un container separato */
.leaflet-popup-content .elementor-element-32dc832 .elementor-element:last-child,
.leaflet-popup-content .elementor-element-32dc832 .elementor-element:last-child .e-con,
.leaflet-popup-content .elementor-element-32dc832 .elementor-element:last-child .e-con-inner {
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 14px !important;
}

/* Evita spazi generati da min-height di Elementor */
.leaflet-popup-content [class*="elementor-element-"] {
  min-height: 0 !important;
}

/* Rimuove eventuale spazio sotto il contenuto */
.leaflet-popup-content-wrapper {
  padding: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
  .leaflet-popup-content {
    min-width: 280px !important;
    max-width: 90vw !important;
  }

  .leaflet-popup-content .elementor-element-32dc832 {
    gap: 10px !important;
    row-gap: 10px !important;
    padding: 22px 22px !important;
  }

  .leaflet-popup-content .elementor-element-32dc832 .elementor-heading-title,
  .leaflet-popup-content .elementor-element-32dc832 p {
    line-height: 1.2em !important;
  }
}/* End custom CSS */