.elementor-2367 .elementor-element.elementor-element-6f4e4cf{--display:flex;}.elementor-2367 .elementor-element.elementor-element-df4756a{--display:grid;--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-2367 .elementor-element.elementor-element-7d4891e{width:100%;max-width:100%;top:0px;}body:not(.rtl) .elementor-2367 .elementor-element.elementor-element-7d4891e{left:0px;}body.rtl .elementor-2367 .elementor-element.elementor-element-7d4891e{right:0px;}@media(max-width:1024px){.elementor-2367 .elementor-element.elementor-element-df4756a{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-2367 .elementor-element.elementor-element-df4756a{--e-con-grid-template-columns:repeat(1, 1fr);--grid-auto-flow:row;}}/* Start custom CSS *//* =========================================
   SEZIONE
========================================= */
#contenitore-fumetti{
    height: 100%;
}
.estate-map {
  padding: 40px 20px 60px;
}

/* =========================================
   TITOLI
========================================= */

.estate-map h1 {
  margin-top: 40px;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #3f3a2f;
}

.subtitle {
  font-style: italic;
  font-size: 18px;
  color: #7a7263;
  margin-bottom: 50px;
}

/* =========================================
   MAP CONTAINER
========================================= */

.map-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: visible; /* importante */
  z-index: 1;
}

/* IMMAGINE */

.map-image {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

/* Overlay leggero */
.map-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* =========================================
   HOTSPOT LAYER
========================================= */

#hotspots-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* =========================================
   LABEL
========================================= */

.hotspot-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background-color: #f6f1e7;
  padding: 12px 26px;
  border-radius: 40px;
  font-size: 20px;
  color: #5a4633;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,0.05);
  z-index: 4;
}

.hotspot-label:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background-color: #ffffff;
}

/* =========================================
   POPUP (SOLIDO)
========================================= */

.popup {
  position: absolute;
  transform: translate(-50%, -120%);
  z-index: 9999;
  animation: popupFade 0.25s ease forwards;
}

.popup-content {
  background-color: #ffffff !important;
  opacity: 1 !important;
  backdrop-filter: none !important;

  padding: 30px;
  width: 320px;
  border-radius: 18px;

  box-shadow:
    0 35px 70px rgba(0,0,0,0.25),
    0 10px 20px rgba(0,0,0,0.12);

  text-align: left;
  font-family: Georgia, serif;
  position: relative;
  color: #2f2a20;
}

/* Freccia popup */

.popup-content::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.popup-content h3 {
  margin: 0 0 12px 0;
  font-size: 22px;
  color: #2f2a20;
}

.popup-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #4a4336;
}

.popup-content img {
  width: 100%;
  border-radius: 12px;
  margin-top: 12px;
}

.popup-content button {
  padding: 8px 16px;
  background: #c65d3b;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-family: Georgia, serif;
  transition: background 0.2s ease;
}

.popup-content button:hover {
  background: #a9442b;
}

/* =========================================
   CTA
========================================= */

.cta-wrapper {
  margin: 70px 0 20px;
}

.cta-button {
  display: inline-block;
  padding: 18px 48px;
  background: #7a8260;
  color: white;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #62694d;
}

/* =========================================
   ANIMAZIONE
========================================= */

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translate(-50%, -110%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -120%) scale(1);
  }
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

  .hotspot-label {
    font-size: 16px;
    padding: 8px 18px;
  }

  .popup-content {
    width: 240px;
    padding: 20px;
  }

}

@media (max-width: 600px) {

  .estate-map h1 {
    font-size: 32px;
  }

  .subtitle {
    font-size: 15px;
  }

  .hotspot-label {
    font-size: 14px;
    padding: 6px 14px;
  }

  .popup-content {
    width: 200px;
  }

}/* End custom CSS */