    :root {
      --color-verde-acqua: #3dd4ab;
      --color-azzurro: #66e5ff;
      --color-viola-urbano: #546eff;
      --color-blu: #17308f;
      --color-lilla: #9c8cff;
      --color-ghiaccio: #cce5ff;
      --color-rosa: #ff70b5;
      --color-rosso: #ed1c4f;
      --color-arancione: #fa691a;
      --color-giallo: #f7d417;
      --color-grigio: #f0f0f0;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: var(--font-family-sans-serif);
      background-color: #ffffff;
      color: #000000;
    }

    .map-section.full-viewport-section {
      padding: 24px;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .map-section h1 {
      margin: 0 0 16px;
      font-size: 28px;
      font-weight: 500;
      text-transform: uppercase;
    }

    .map-container {
      width: 100%;
      height: 80vh;
      min-height: 500px;
      position: relative;
      border: 2px solid #000000;
      background-color: #ffffff;
      overflow: hidden;
    }

    #map {
      width: 100%;
      height: 100%;
      background-color: #ffffff;
    }

    /* Pinpoint personalizzato */
    .custom-pin {
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 38px;
    }

    .custom-pin svg {
      transition: transform 0.2s ease;
    }

    .custom-pin:hover svg {
      transform: scale(1.2) translateY(-2px);
    }

    /* Popup stile grafico netto */
    .maplibregl-popup-content {
      border-radius: 0px !important;
      border: 1px solid #000000 !important;
      padding: 14px !important;
      max-height: 300px;
      overflow-y: auto;
      font-family: inherit;
    }

    .maplibregl-popup-close-button {
      font-size: 25px;
      font-weight: 500;
      padding: 4px 8px;
      color: black;
      border: none;
    }

    .popup-venue {
      font-size: var(--font-size-base);
      font-weight: 500;
      text-transform: uppercase;
      margin-bottom: 5px;
      padding-bottom: 4px;
      padding-right: 16px;
      line-height: 1.5;
    }

    .popup-address {
      font-size: var(--font-size-sm);
      color: black;
      margin-bottom: 10px;
    }

    .popup-event {
      margin-bottom: 12px;
      padding-left: 8px;
      border-left: 4px solid #000000;
    }

    .popup-event:last-child {
      margin-bottom: 0;
    }

    .popup-badge {
      display: inline-block;
      font-size: var(--font-size-sm);
      font-weight: 500;
      padding: 5px 5px;
      text-transform: uppercase;
      margin-block: 5px;
      color: #000000;
      border: 1px solid #000000;
    }

    .popup-title {
      font-weight: 500;
      font-size: var(--font-size-sm);
      line-height: 1.5;
      margin: 2px 0;
    }

    .popup-meta {
      font-size: var(--font-size-sm);
      line-height: 1.5; 
    }

    /* Legenda */
    .map-legend {
      position: absolute;
      bottom: 20px;
      left: 20px;
      z-index: 10;
      background-color: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(3px) brightness(1);
      border: 2px solid #000000;
      padding: 20px 20px;

    }

    .legend-item {
      display: flex;
      align-items: center;
      margin-bottom: 5px;
      font-size: var(--font-size-sm);
      font-weight: 500;
    }

    .legend-item:last-child {
      margin-bottom: 0;
    }

    .legend-dot {
      width: 20px;
      height: 20px;
      margin-right: 10px;
      display: inline-block;
      flex-shrink: 0;
      border: 1px solid #000000;
    }

    @media (max-width: 640px) {
      .map-legend {
        bottom: 10px;
        left: 10px;
        right: 10px;
        font-size: 11px;
      }
    }