/* Single Location Map Styles */

.fp-single-location {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.fp-single-location__aspect-ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.fp-single-location__map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Popup styles */
.fp-single-location__popup {
    padding: 16px;
    max-width: 300px;
}

.fp-single-location__popup h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.fp-single-location__popup p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fp-single-location__aspect-ratio {
        padding-bottom: 75%; /* Taller aspect ratio on mobile */
    }
    
    .fp-single-location__popup {
        max-width: 250px;
        padding: 12px;
    }
    
    .fp-single-location__popup h3 {
        font-size: 16px;
    }
    
    .fp-single-location__popup p {
        font-size: 13px;
    }
}

/* MapLibre popup customization */
.maplibregl-popup-content {
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.maplibregl-popup-close-button {
    font-size: 18px !important;
    color: #6b7280 !important;
    padding: 8px !important;
}

.maplibregl-popup-close-button:hover {
    color: #374151 !important;
    background-color: #f3f4f6 !important;
}
