/* Responsive container */
.shm-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    text-align: center;
}
.shm-header {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Map wrapper – the SVG scales to 100% width */
.shm-map-wrapper svg {
    width: 100%;
    height: auto;
    max-width: 800px; /* optional max width */
}

/* Tooltip (simple) */
.shm-tooltip {
    position: absolute;
    padding: 5px 8px;
    background: rgba(0,0,0,.7);
    color: #fff;
    border-radius: 3px;
    pointer-events: none;
    font-size: .9rem;
    white-space: nowrap;
    z-index: 9999;
}

/* Legend */
.shm-legend {
    margin-top: 15px;
    font-size: .9rem;
}
.shm-legend .color-box {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Total posts counter */
.shm-total-posts {
    margin-top: 10px;
    font-weight: bold;
}
/* Map wrapper – the SVG scales to 100% width */
.shm-map-wrapper svg path {
    cursor: pointer;          /* makes the mouse cursor change */
    pointer-events: all;      /* ensures the SVG can receive mouse events */
}