.ues-map {
    min-block-size: 20rem;
    background: #f3efea;
    color: #18181b;
    font-family: "Instrument Sans", sans-serif;
}

/* Let the map handle navigation to an out-of-frame keyboard focus target. */
.ues-map.maplibregl-map {
    overflow: clip;
}

.ues-map .ues-map__pin {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    inline-size: 44px;
    block-size: 44px;
    padding: 0;
    border: 1px solid #fdfcfb;
    border-radius: 0;
    background: #18181b;
    color: #fdfcfb;
    font: bold 20px/1 "Instrument Sans", sans-serif;
    cursor: pointer;
}

.ues-map .ues-map__pin[aria-pressed="true"] {
    z-index: 1;
    background: #a24a2c;
}

.ues-map .ues-map__pin:focus-visible,
.ues-map .maplibregl-ctrl-attrib a:focus-visible {
    outline: 2px solid #18181b;
    outline-offset: 2px;
}

.ues-map .ues-map__pin:focus-visible {
    z-index: 2;
}

.ues-map .maplibregl-ctrl-attrib {
    background: #fdfcfb;
    color: #18181b;
    border-radius: 0;
}

.ues-map .maplibregl-ctrl-attrib a {
    color: #18181b;
    text-decoration: underline;
}

.ues-map .ues-map__pin[hidden] {
    display: none;
}

/* A group of story places that would overlap at this zoom. */
.ues-map .ues-map__cluster {
    inline-size: auto;
    min-inline-size: 44px;
    padding: 0 10px;
    border: 2px solid #18181b;
    background: #fdfcfb;
    box-shadow: 3px 3px 0 -1px #fdfcfb, 3px 3px 0 1px #18181b;
    color: #18181b;
    font-size: 16px;
    white-space: nowrap;
}

.ues-map .ues-map__cluster-unit {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ues-map .ues-map__cluster.has-selected-place {
    border-color: #a24a2c;
    box-shadow: 3px 3px 0 -1px #fdfcfb, 3px 3px 0 1px #a24a2c;
    color: #a24a2c;
}
