/* Post Map Container Styles */
#post-map,
#post-map-container,
#location-map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

/* Ensure Leaflet popups don't break layout */
.leaflet-popup-content {
    margin: 10px 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.leaflet-popup-content strong {
    color: #333;
}

/* Custom marker class to avoid default Leaflet icon styling */
.post-map-marker {
    background: transparent;
    border: none;
}

/* Responsive map height */
@media (max-width: 768px) {
    #post-map,
    #post-map-container,
    #location-map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    #post-map,
    #post-map-container,
    #location-map-container {
        height: 250px;
    }
}
