/* ===========================================================================
   Place picker menu — the dropdown assets/shared/place-picker.js fills.

   Lived in search.css while the search page was its only caller; it moved here
   when the homepage location card became the second, because the widget can
   build its own menu and a menu it builds has to look the same wherever it
   lands.

   Positioned against the box it belongs to, so that box must be a positioning
   context (position: relative). Colours and radii are site.css's tokens; this
   file adds none of its own.
   =========================================================================== */

/* Each row says which KIND of place it is, because that is the only thing
   telling Cleveland the city from Cleveland the county. */
.gq-places {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px;
    list-style: none;
    max-height: 340px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--gq-line);
    border-radius: var(--gq-radius);
    box-shadow: var(--gq-shadow);
    text-align: left;
}
.gq-places li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--gq-charcoal);
    cursor: pointer;
}
.gq-places li:hover,
.gq-places li.is-on { background: var(--gq-blue-tint); }
.gq-places li .lbl { flex: 1 1 auto; min-width: 0; }
.gq-places li .kind {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gq-cloud);
    color: var(--gq-mist);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.gq-places li.is-empty { color: var(--gq-mist); cursor: default; }
.gq-places li.is-empty:hover { background: none; }
