.elementor-7194 .elementor-element.elementor-element-ce1158b{--display:flex;}.elementor-7194 .elementor-element.elementor-element-02389c3.xpro-widget-bg-overlay:before{transition:background 0.3s;}.elementor-7194 .elementor-element.elementor-element-3bc48da.xpro-widget-bg-overlay:before{transition:background 0.3s;}/* Start custom CSS for html, class: .elementor-element-02389c3 *//* --- 1. BASE MAP STYLES & TEXT --- */
#usmapbase svg { width: 100%; height: auto; }
#usmapbase .washington-dc { visibility: visible !important; fill-opacity: 1 !important; cursor: pointer !important; }
#usmapbase #usvisns text { fill: #dddddd !important; font-weight: 500; pointer-events: none; }

/* --- 2. BUTTON STYLING --- */
.map-filters { margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px; font-family: sans-serif; }
.map-filters .filter-btn { 
    padding: 10px 20px; cursor: pointer; background-color: #ffffff; 
    border-radius: 4px; font-weight: bold; border: 2px solid #ddd; transition: all 0.2s ease; 
}

/* Inactive Borders/Text */
.map-filters .filter-btn[data-filter="all"] { border-color: #333; color: #333; }
.map-filters .filter-btn[data-filter="green"] { border-color: #1e8b43; color: #1e8b43; }
.map-filters .filter-btn[data-filter="purple"] { border-color: #351E75; color: #351E75; }
.map-filters .filter-btn[data-filter="gray"] { border-color: #8e908f; color: #8e908f; }

/* Active & Hover States */
.map-filters .filter-btn.active[data-filter="all"], 
.map-filters .filter-btn:hover[data-filter="all"] { background-color: #333 !important; color: #fff !important; }

/* Dual-Color Gradient for the "Available" (Purple) Button */
.map-filters .filter-btn.active[data-filter="purple"], 
.map-filters .filter-btn:hover[data-filter="purple"] { 
    background: linear-gradient(90deg, #1e8b43 0%, #351E75 100%) !important; 
    color: #fff !important; border-color: transparent;
}

.map-filters .filter-btn.active[data-filter="green"], 
.map-filters .filter-btn:hover[data-filter="green"] { background-color: #1e8b43 !important; color: #fff !important; }

.map-filters .filter-btn.active[data-filter="gray"], 
.map-filters .filter-btn:hover[data-filter="gray"] { background-color: #8e908f !important; color: #fff !important; }

/* --- 3. CATEGORY BASE COLORS --- */
#usmapbase .green { fill: #1e8b43 !important; }
#usmapbase .purple { fill: #351E75 !important; }
#usmapbase .gray { fill: #8e908f !important; }

/* --- 4. FILTER ACTIVATION LOGIC (DIMMING & HIGHLIGHTING) --- */
#usmapbase.filtering path { fill: #f0f0f0 !important; opacity: 0.4; }

/* Dual Highlight Logic (Now triggered by the 'purple' button) */
#usmapbase.filter-active-purple path.green,
#usmapbase.filter-active-purple path.purple { opacity: 1 !important; }
#usmapbase.filter-active-purple path.green { fill: #1e8b43 !important; }
#usmapbase.filter-active-purple path.purple { fill: #351E75 !important; }

/* Single Highlight Logic */
#usmapbase.filter-active-green path.green { opacity: 1 !important; fill: #1e8b43 !important; }
#usmapbase.filter-active-gray path.gray { opacity: 1 !important; fill: #8e908f !important; }

/* --- 5. INTERACTIVE HOVER EFFECTS --- */
#usmapbase path { transition: all 0.2s ease-in-out; cursor: pointer; outline: none; }
#usmapbase path:hover {
    filter: brightness(1.1) drop-shadow(0px 4px 6px rgba(0,0,0,0.3));
    transform: scale(1.02); transform-origin: center; position: relative; z-index: 10;
}
#usmapbase:has(path:hover) path:not(:hover) { opacity: 0.8; }

/* --- MAP PINS STYLING --- */
#usmapbase path.map-pin {
    fill: #2c3e50 !important; /* Dark color for contrast */
    stroke: #ffffff !important;
    stroke-width: 1.5px !important;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.4));
    pointer-events: none; /* Prevents the pin from blocking hover effects */
}

/* Force the pins to keep their dark color when filtered */
#usmapbase[class*="filter-active-"] path.map-pin {
    fill: #2c3e50 !important;
}
/* --- 7. MODAL OVERLAY & POPUP --- */

/* The dark background that covers the screen */
/* The dark background that covers the screen */
.map-popup-overlay {
    position: fixed;
    top: 0; left: 0; 
    width: 100vw; height: 100vh;
    
    /* UPDATED: Changed from 0.6 to 0.85 for a deeper dark shade */
    background: rgba(0, 0, 0, 0.85); 
    
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.map-popup-overlay.show { opacity: 1; }

/* The centered modal box */
.map-popup {
    position: fixed; /* Changed from absolute to fixed */
    top: 50% !important; 
    left: 50% !important;
    transform: translate(-50%, -45%); /* Centers it perfectly */
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 20px 30px 20px 20px; 
    box-shadow: 0px 15px 40px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 400px; /* Slightly wider for a nice modal feel */
    z-index: 1000;
    pointer-events: auto !important;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: sans-serif;
    display: none;
}

/* Subtle pop-in animation */
.map-popup.show { 
    opacity: 1; 
    transform: translate(-50%, -50%); 
}

/* Close Icon */
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
}
.close-popup:hover { color: #333; }

.map-popup h4 { margin: 0 0 5px 0; font-size: 22px; color: #333; }
.map-popup .status { font-weight: bold; font-size: 14px; margin-bottom: 15px; display: inline-block; }

.map-popup .loc-list { 
    margin: 0; padding: 0; list-style: none; 
    max-height: 250px; /* Made taller for the modal */
    overflow-y: auto !important; 
    padding-right: 5px;
}
.map-popup .loc-list::-webkit-scrollbar { width: 5px; }
.map-popup .loc-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.map-popup .loc-list li { margin-bottom: 12px; border-bottom: 1px solid #eee; padding-bottom: 8px; }
.map-popup .loc-list li:last-child { border-bottom: none; }
.map-popup .loc-title { font-weight: bold; font-size: 15px; color: #111; display: block; }
.map-popup .loc-address { font-size: 14px; color: #666; display: block; margin-top: 4px; line-height: 1.4; }/* End custom CSS */