/**
 * Raadhuis Ambassadeurs Kaart - Maps Styles
 */
#raadhuis-ambassadeurs-map-container {
    position: relative;
    z-index: 9;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.link {
    text-decoration: underline;
    color: var(--wp--preset--color--primary);
}

.map-card {
    position: absolute;
    z-index: 401; /* OSM using 400 */
    top: 80px;
    left: 80px;
    padding: 28px;
    border-radius: 6px;
    background-color: white;
    width: 100%;
    max-width: 400px;
    color: black;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

#raadhuis-ambassadeurs-map {
    width: 100%;
    height: 100%;
    background-color: #dfdfdf;
    margin: 0;
    padding: 0;
}

.ambassadeur-info-window {
    max-width: 300px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    z-index: 9999;
}

.ambassadeur-info-window h4 {
    margin: 0 0 8px 0;
    color: #007cba;
    font-size: 16px;
}

.ambassadeur-info-window p {
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.4;
}

.ambassadeur-info-window a {
    color: #007cba;
    text-decoration: none;
}

.ambassadeur-info-window a:hover {
    text-decoration: underline;
}

.ambassadeur-info-window img {
    border-radius: 4px;
    margin-bottom: 8px;
}

/* Cluster styling */
.cluster {
    background-color: #007cba;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cluster:hover {
    background-color: #005a87;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #raadhuis-ambassadeurs-map {
        height: 50vh;
    }

    .ambassadeur-info-window {
        max-width: 250px;
    }

    .ambassadeur-info-window img {
        max-width: 60px;
    }
}