body { margin: 0; padding: 0; }
#map { width: 100%; 
    height: 700px !important;      
    display: block !important;
    position: relative !important;
    }
#legend {
    position: absolute;
    z-index: 10;
    bottom: 10px;
    left: 10px;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(2px);
    padding-top: 6px;     
    padding-right: 6px;   
    padding-bottom: 6px;   
    padding-left: 6px;
    border-radius: 3px;
    font-family: courier;
    font-size: 11.7px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
        }
#legend div {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    cursor: pointer;
}
#legend div[data-category="all"] {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}
/* color dots */
#legend span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}
/* active selection */
#legend .active {
    font-weight: bold;
}
/* inactive categories */
#legend .inactive {
    text-decoration: line-through;
    opacity: 1;
}
    .mapboxgl-popup-content {
    background: transparent;
    padding:0;
    box-shadow: none;
}

.mapboxgl-popup-tip {
    display: none;
}

/* Container */
.popup-container {
    position: relative;
    width: 150px;
    overflow: hidden;

}

/* Image */
.popup-image {
    width: 100%;
    object-fit: cover; 
    display: block;
    border-radius: 0px;

}

/* TEXT OVER IMAGE */
.popup-text {
    position: absolute;
    color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;   
    text-align: center;
    font-size: 12px;
    font-family: courier;
    line-height: 1.5;
    pointer-events: none;
}
.text-highlight {
    background: rgba(0, 0, 0, 0.9);
    padding: 1px 1px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.text-highlight a {
    color: inherit;
    text-decoration: underline;
}
.popup-text { pointer-events: auto; }
.popup-image { pointer-events: none; }

/* Resize the control box */
.mapboxgl-ctrl-fullscreen {
    width: 22px !important;   /* Default is 29px */
    height: 22px !important;  /* Default is 29px */
}

/* Resize the icon graphic inside */
.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon {
    background-size: 20px 20px !important; /* Adjust icon graphic size */
}
.entry-content, .post-body, #map-container {
    overflow: visible !important;
},

