#annonce-map {
    height: 70dvh;
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
}

#annonce-map.hidden {
    display: none;
}

/* Popup MapLibre */
.maplibregl-popup-content {
    padding: 0;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    min-width: 220px;
    max-width: 260px;
}

.maplibregl-popup-close-button {
    font-size: 1.2rem;
    padding: 4px 8px;
    color: #fff;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

.map-popup-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.map-popup-noimg {
    width: 100%;
    height: 80px;
    background: var(--bs-secondary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary-color);
    font-size: .85rem;
}

.map-popup-body {
    padding: .6rem .75rem;
}

.map-popup-type {
    font-size: .8rem;
    color: var(--bs-secondary-color);
    margin-bottom: .15rem;
}

.map-popup-ville {
    font-weight: 600;
    margin-bottom: .25rem;
}

.map-popup-details {
    font-size: .85rem;
    color: var(--bs-secondary-color);
    margin-bottom: .35rem;
}

.map-popup-prix {
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: .4rem;
}

.map-popup-link {
    display: inline-block;
    font-size: .8rem;
}
